On Friday 09 February 2001 20:39, John Vanderbeck wrote:
> Why are you echoing it twice? Also, the first line, shouldn't it be:
>
>
> Looks liek you dropped the semi colon
The semicolon is optional if a closing PHP tag ("?>") follows.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lg
Thx, I forgot to set the register_globals to On !!!
-Original Message-
From: Steve Edberg [mailto:[EMAIL PROTECTED]]
Sent: vrijdag 9 februari 2001 20:41
To: Steve Haemelinck
Cc: PHP Mailing Listl (E-mail)
Subject:RE: [PHP] [Newbie] PHP Variables
At 8:06 PM +0100 2
i colon
- John Vanderbeck
- Admin, GameDesign
>
> It should display HOME? But it does not !
>
>
> -Original Message-
> From: Brian V Bonini [mailto:[EMAIL PROTECTED]]
> Sent: donderdag 8 februari 2001 23:55
> To: Steve Haemelinck
> Subject: RE: [PHP] [Newbie] PHP Va
manual/en/function.ini-get.php
for more info.
- steve
>
> -Original Message-
>From: Brian V Bonini [mailto:[EMAIL PROTECTED]]
>Sent: donderdag 8 februari 2001 23:55
>To:Steve Haemelinck
>Subject: RE: [PHP] [Newbie] PHP Variables
>
>you can,
Nothing at all
Go tho following page a see for yourself
http://213.224.136.110:8080/test.php?a=HOME
-Original Message-
From: Dustin Vannatter [mailto:[EMAIL PROTECTED]]
Sent: vrijdag 9 februari 2001 20:23
To: 'Steve Haemelinck'
Subject: RE: [PHP] [Newbie] PHP Variables
Haemelinck
Subject:RE: [PHP] [Newbie] PHP Variables
you can, what's the rest of your script look like.
> -Original Message-
> From: Steve Haemelinck [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 08, 2001 3:49 PM
> To: PHP Mailing Listl (E-mail)
> Subject
// Index.php file.
// Page header
// Page footer
... Difficult to tell what's going wrong with just a url.
James.
> I thought you can pass variables in PHP as in CGI.
>
> http://www.xy.com/index.php?contents=HOME
>
> contents should be available as variable, but it does not seem to work.
If register_globals is turned off, that will not work. See :
http://www.php.net/manual/en/configuration.php#ini.register-globals
Check phpinfo()
For details on your settings, perhaps it is off. Try :
And it should display : HOME : for you.
Regards,
Philip Olson
http://www.
That should work just fine.
Make sure that HOME doesn't have any spaces and is urlencode()'d
--Joe
On Thu, Feb 08, 2001 at 09:49:18PM +0100, Steve Haemelinck wrote:
> I thought you can pass variables in PHP as in CGI.
>
> http://www.xy.com/index.php?contents=HOME
>
> contents should be availa
I thought you can pass variables in PHP as in CGI.
http://www.xy.com/index.php?contents=HOME
contents should be available as variable, but it does not seem to work. Doe
anyone has an idea why not?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
10 matches
Mail list logo