note 2210 deleted from include by torben

From: Date: Sat, 19 Aug 2000 06:43:51 +0000
Subject: note 2210 deleted from include by torben
Groups: php.notes 
Request: Send a blank email to php-notes+get-2637@lists.php.net to get a copy of this message
<B>include</B> loads and runs a PHP3 Script <B>But</B> the included script will <B>not</B> receive <I>any</I> CGI variables unless you make the <I>web server</I> load and run it by calling <B>include</B> with a URL instead of the local file name. Instead of: <BR> <PRE> include("myscript.inc?arg=val"); </PRE> use: <BR> <PRE> include("http://my.server.com/cgi-bin/myscript.php3?arg=val"); </PRE> or whatever URL would make that work on your server. This is an alternate solution for those who aren't using Apache mod_php3.

« previous php.notes (#2637) next »