[PHP] Re: Passing variables with include()

2002-01-14 Thread Tino Didriksen
include(http://www.someremote.server/calculate_drivers.php;); Very simple really: You cannot include remote files... --|-- Tino Didriksen http://ProjectJJ.dk/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] Re: Passing variables with include()

2002-01-14 Thread Stefan Rusterholz
- Original Message - From: Tino Didriksen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 14, 2002 1:53 PM Subject: [PHP] Re: Passing variables with include() include(http://www.someremote.server/calculate_drivers.php;); Very simple really: You cannot include remote

[PHP] Re: Passing variables with include()

2002-01-14 Thread Imar de Vries
A lot of different answers, which I will respond to: - The variable is definately set before the include call is made, there is no doubt about that at all :) - Including remote files *is* possible. The php manual does not mention this does not work, and when I add the variable to the call

[PHP] Re: Passing variables with include()

2002-01-14 Thread Imar de Vries
Imar De Vries wrote: - Including remote files *is* possible. The php manual does not mention this does not work, and when I add the variable to the call (include /calculate_drivers?serie_id=3.php) the code is processed perfectly. The thing is, I can not pass the variable with the call,

[PHP] Re: Passing variables with include()

2002-01-14 Thread Martin Wickman
Imar De Vries wrote: Imar De Vries wrote: - Including remote files *is* possible. The php manual does not mention this does not work, and when I add the variable to the call (include /calculate_drivers?serie_id=3.php) the code is processed perfectly. The thing is, I can not pass the

Re: [PHP] Re: Passing variables with include()

2002-01-14 Thread Scott Houseman
Hi Al. While we are on topic, what are the key differences between include() require() ? Cheers Scott - Original Message - From: Martin Wickman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 14, 2002 3:40 PM Subject: [PHP] Re: Passing variables with include() Imar

Re: [PHP] Re: Passing variables with include()

2002-01-14 Thread Stefan Rusterholz
- From: Scott Houseman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, January 13, 2002 2:54 PM Subject: Re: [PHP] Re: Passing variables with include() Hi Al. While we are on topic, what are the key differences between include() require() ? Cheers Scott - Original Message

Re: [PHP] Re: Passing variables with include()

2002-01-14 Thread Martin Wickman
Scott Houseman wrote: Hi Al. While we are on topic, what are the key differences between include() require() ? Unlike include(), require() will always read in the target file, even if the line it's on never executes. If you want to conditionally include a file, use include(). The

Re: [PHP] Re: Passing variables with include()

2002-01-14 Thread Stefan Rusterholz
Scott Houseman wrote: Hi Al. While we are on topic, what are the key differences between include() require() ? Unlike include(), require() will always read in the target file, even if the line it's on never executes. If you want to conditionally include a file, use include(). The