[PHP] Problem with PHP_SELF

2002-12-10 Thread info
Hello Leif, hello all, i compiled successfully php-4.3-dev deom tarball as CGI on RedHat7.3 register_globals is on And here is how my php behave: When I run the following script: info70.php 1) from commandline then [PHP_SELF] => info70.php is set correctly 2) from browser then PHP_SELF = h

Re: [PHP] Problem with $PHP_SELF on PWS

2002-08-11 Thread Matt
>From: "John Brooks" <[EMAIL PROTECTED]> >Sent: Sunday, August 11, 2002 10:21 AM >Subject: [PHP] Problem with $PHP_SELF on PWS > I have PHP installed on PWS running on a Windows 98SE m/c. > When I invoke everything is fine and the form data is > extracted cor

Re: [PHP] Problem with $PHP_SELF on PWS

2002-08-11 Thread Bas Jobsen
> http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problem with $PHP_SELF on PWS

2002-08-11 Thread John Brooks
Hello All, I have PHP installed on PWS running on a Windows 98SE m/c. When I invoke everything is fine and the form data is extracted correctly. When I try to embed the same script in the body of the form using I get "HTTP Error 405 Method not allowed. The method specified in the request line

Re: [PHP] problem with PHP_SELF

2002-06-24 Thread Jason Wong
On Monday 24 June 2002 22:42, DoL wrote: > Hi All > > I would like to submit a form to call itself, and according to some > references I could use the $PHP_SELF variable in action attribute of the > form element in a HTML document > But it is not working for me, please help. > > I have this line o

Re: [PHP] problem with PHP_SELF

2002-06-24 Thread Erik Price
On Monday, June 24, 2002, at 10:42 AM, DoL wrote: > Can anyone advice what did I missed here? > Would this have anything to do with php or/and apache configuration? Is it possible that your php.ini file is configured for register_globals = off ? If so, you should use: $_SERVER['PHP_SELF'] i

[PHP] problem with PHP_SELF

2002-06-24 Thread DoL
Hi All I would like to submit a form to call itself, and according to some references I could use the $PHP_SELF variable in action attribute of the form element in a HTML document But it is not working for me, please help. I have this line of code in the html source page, I get Can anyone ad

Re: [PHP] Problem with PHP_SELF

2001-09-03 Thread Mark Charette
From: "David Otton" <[EMAIL PROTECTED]> > My other point still stands though (I think) - that marking a variable > as "global" to "pull it in to scope" is a clunky, ass-backwards way of > doing things. Which is why, of course, that parameters were invented "way back when". -- PHP General Maili

Re: [PHP] Problem with PHP_SELF

2001-09-03 Thread David Otton
On Mon, 3 Sep 2001 09:16:00 -0700, you wrote: >I couldn't help but frown at this message... This is typical of this and >hundreds of other lists... instead of learning the language, people just >jump in, try to write code, and then when something doesn't work, it's the >language's fault... It a

RE: [PHP] Problem with PHP_SELF

2001-09-03 Thread Joe Sheble \(Wizaerd\)
d Otton [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 03, 2001 3:21 PM > To: David Otton > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] Problem with PHP_SELF > > > On Mon, 03 Sep 2001 15:11:04 -0700, you wrote: > > Following up my own post (in case someone finds thi

Re: [PHP] Problem with PHP_SELF

2001-09-03 Thread
From: David Otton <[EMAIL PROTECTED]> Date: Mon, Sep 03, 2001 at 03:21:00PM -0700 Message-ID: <[EMAIL PROTECTED]> Subject: Re: [PHP] Problem with PHP_SELF > On Mon, 03 Sep 2001 15:11:04 -0700, you wrote: > > Following up my own post (in case someone finds this in the arch

Re: [PHP] Problem with PHP_SELF

2001-09-03 Thread David Otton
On Mon, 03 Sep 2001 15:11:04 -0700, you wrote: Following up my own post (in case someone finds this in the archives): >Is there any situation where such variables would be available to >phpinfo(), but not the rest of the script? You can't see $PHP_SELF within a function until you declare it glo

[PHP] Problem with PHP_SELF

2001-09-03 Thread David Otton
Hi, small problem : phpinfo() shows all kinds of useful variables like PHP_SELF, PATH_INFO, etc etc but I can't see them from my script. I get a error - "Warning: Undefined variable: PATH_INFO in [scriptname] on line 13" Is there any situation where such variables would be available to phpi

Re: [PHP] Problem with PHP_SELF

2001-05-18 Thread James Holloway
Gah! Forgot an element for that form: Page element. "> :) > Hi Richard. > > Two methods, POST and GET: Post for forms and best works with hidden > elements. > > Get can be put across URL's: > > echo "Next"; > > Or > > " METHOD="POST"> > " VALUE=" ?>"> > > > > Of course form buttons look d

Re: [PHP] Problem with PHP_SELF

2001-05-18 Thread James Holloway
Hi Richard. Two methods, POST and GET: Post for forms and best works with hidden elements. Get can be put across URL's: echo "Next"; Or " METHOD="POST"> " VALUE=""> Of course form buttons look dreadful, so if you use that method, create a graphic to use, or do a javscript work around for

[PHP] Problem with PHP_SELF

2001-05-18 Thread Richard Kurth
I am having a problem with this script. It works perfect if I just do a Query like ("SELECT * FROM customers") but if I call it from another script with a form to set the search criteria for this Query ("SELECT * FROM customers WHERE $metode LIKE '%$search%'") It will show the first pa