RE: [PHP] Pls Help: Moving script from Win to Linux

2002-12-10 Thread Craig Thomas
t;>-Original Message- >>From: Jason Wong [mailto:[EMAIL PROTECTED]] >>Sent: Tuesday, December 10, 2002 2:04 PM >>To: [EMAIL PROTECTED] >>Subject: Re: [PHP] Pls Help: Moving script from Win to Linux >> >> >>On Wednesday 11 December 2002 02:38, Craig Thomas

Re: [PHP] Pls Help: Moving script from Win to Linux

2002-12-10 Thread Jason Wong
On Wednesday 11 December 2002 02:38, Craig Thomas wrote: > If you do not want to re-write all your code and your web server is Apache > and your host allows the use of .htaccess files you can turn > register_globals = on programmatically: > > http://www.php.net/manual/en/configuration.directives.ph

RE: [PHP] Pls Help: Moving script from Win to Linux

2002-12-10 Thread Craig Thomas
think. Just a thought, -Craig >>-Original Message- >>From: Rodney Green [mailto:[EMAIL PROTECTED]] >>Sent: Tuesday, December 10, 2002 11:35 AM >>To: Shane; [EMAIL PROTECTED] >>Subject: Re: [PHP] Pls Help: Moving script from Win to Linux >> >> >

Re: [PHP] Pls Help: Moving script from Win to Linux

2002-12-10 Thread Rodney Green
Needs to be changed to the following if your forms are using the GET HTTP method: if(!isset($_GET["var"])){ // do nothing }else{ // VAR IS SET.. DO SOMETHING } If your forms use the POST HTTP method then it needs to be changed to: if(!isset($_POST["var"])){ // do nothing }else{ // VAR IS SET..

RE: [PHP] Pls Help: Moving script from Win to Linux

2002-12-10 Thread Shane
/manual/en/language.variables.predefined.php - Original Message - From: "Shane" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 10, 2002 11:08 AM Subject: [PHP] Pls Help: Moving script from Win to Linux Greetings gang. You know me, I never ask

RE: [PHP] Pls Help: Moving script from Win to Linux

2002-12-10 Thread Shane
> I can pass variables till I am blue in the face, even > see them in the URL but they are still showing up as (!isset) Are you accessing these variables through $var or $_GET["var"]? I am accessing them as $var. Example (from memory) if(!isset($var)){ // do nothing }else{ // VAR IS SET.. DO S

Re: [PHP] Pls Help: Moving script from Win to Linux

2002-12-10 Thread Rodney Green
ecember 10, 2002 11:08 AM Subject: [PHP] Pls Help: Moving script from Win to Linux Greetings gang. You know me, I never ask for help if I haven't checked all my other options, but this is day two, and I'm getting spanked on this one. Some recently moved scripts from a WIN2K server ru

Re: [PHP] Pls Help: Moving script from Win to Linux

2002-12-10 Thread Adam Williams
is register globals enabled? On Tue, 10 Dec 2002, Shane wrote: > Greetings gang. > > You know me, I never ask for help if I haven't checked all my other options, but >this is day two, and I'm getting spanked on this one. > > Some recently moved scripts from a WIN2K server running PHP 4.2.1 to an

RE: [PHP] Pls Help: Moving script from Win to Linux

2002-12-10 Thread Jon Haworth
Hi Shane, > I can pass variables till I am blue in the face, even > see them in the URL but they are still showing up as (!isset) Are you accessing these variables through $var or $_GET["var"]? Cheers Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

[PHP] Pls Help: Moving script from Win to Linux

2002-12-10 Thread Shane
Greetings gang. You know me, I never ask for help if I haven't checked all my other options, but this is day two, and I'm getting spanked on this one. Some recently moved scripts from a WIN2K server running PHP 4.2.1 to an Apache PHP 4.2.3 setup have stop accepting HTML Form Variables. I can p