RE: [PHP] include() with cmd line paramters
| From: | Christopher Thompson | Date: | Sat, 23 Sep 2000 05:46:33 +0000 |
| Subject: | RE: [PHP] include() with cmd line paramters | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-18299@lists.php.net to get a copy of this message | ||
From the manual:
include ("file.inc?varone=1&vartwo=2"); /* Won't work. */
$varone = 1;
$vartwo = 2;
include ("file.inc"); /* $varone and $vartwo will be available in file.inc
*/
> -----Original Message-----
> From: root@adaptanet.com.br [mailto:root@adaptanet.com.br]On Behalf Of
> Marcio Ghiraldelli
> Sent: Wednesday, September 20, 2000 12:17 PM
> To: php-general@lists.php.net
> Subject: [PHP] include() with cmd line paramters
>
>
> Hello, experts... :)
> How do I include a file passing parameters? Kind ARGV in Perl....?
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>