Re: [PHP] Posting to oneself

2001-08-29 Thread Alexander Skwar
So sprach »Johnson, Kirk« am 2001-08-29 um 17:37:27 -0600 : > Check if register_globals is off in php.ini. If it is, you will need to Easiest to check this (and a load of other settings), is to create a small PHP file, which contains nothing but: Alexander Skwar -- How to quote: http://lear

RE: [PHP] Posting to oneself

2001-08-29 Thread Johnson, Kirk
PM > To: Jason Bell; [EMAIL PROTECTED] > Subject: Re: [PHP] Posting to oneself > > > At 03:18 PM 8/29/01 -0700, you wrote: > >if you are within a function, try doing this first: > > > >global $PHP_SELF; -- PHP General Mailing List (http://www.php.net/) To u

Re: [PHP] Posting to oneself

2001-08-29 Thread John Meyer
At 03:18 PM 8/29/01 -0700, you wrote: >if you are within a function, try doing this first: > >global $PHP_SELF; Tried that, same error. BTW, FYI: Apache 1.3.20 (Win32) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: [PHP] Posting to oneself

2001-08-29 Thread Alexander Skwar
So sprach »John Meyer« am 2001-08-29 um 16:15:07 -0700 : > I am getting this error: > > Undefined variable: PHP_SELF Uh? Uhmm... Is this inside a function? Or is the server running PHP in safe mode (dunno if this has anything to do with it...)? Alexander Skwar -- How to quote: http://lear

Re: [PHP] Posting to oneself

2001-08-29 Thread Jason Bell
if you are within a function, try doing this first: global $PHP_SELF; - Original Message - From: "John Meyer" <[EMAIL PROTECTED]> To: "Alexander Skwar" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, August 29, 2001 4:15 PM Subject: Re: [P

Re: [PHP] Posting to oneself

2001-08-29 Thread John Meyer
At 12:07 AM 8/30/01 +0200, you wrote: >So sprach »John Meyer« am 2001-08-29 um 15:57:02 -0700 : > > Two questions: > > 1. Can I tell a form to post to itself without specifying the name of the > > web page? > > I am getting this error: Undefined variable: PHP_SELF -- PHP General Mailing List

Re: [PHP] Posting to oneself

2001-08-29 Thread Alexander Skwar
So sprach »John Meyer« am 2001-08-29 um 15:57:02 -0700 : > Two questions: > 1. Can I tell a form to post to itself without specifying the name of the > web page? > 2. If I have a function on one page called by another, will this resolve > correctly? If you include() the file, yes. Alexand

[PHP] Posting to oneself

2001-08-29 Thread John Meyer
Two questions: 1. Can I tell a form to post to itself without specifying the name of the web page? 2. If I have a function on one page called by another, will this resolve correctly? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c