I wrote a php script for a page that I hosted on a separate host and it
worked perfectly. I recently installed php 4 onto my windows XP Pro build
2600 computer and it seems to work until I try to use varuables that look to
the address bar for reference.
I wanted to make it so that when somebody
PROTECTED]">news:[EMAIL PROTECTED]...
> how r u getting $game? that's the undefind var.
>
> > -----Original Message-
> > From: Anyang [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, 2 October 2002 11:38 AM
> > To: [EMAIL PROTECTED]
> > Subject: [PH
gt; > include("public.html");
> > > > }
> > > > if ($_GET["game"] != NULL && $op != NULL) {
> > > > include("http://mywebsite.com/example/"; . "$game" . ".html");
> > > > }
>
gt;
> > > >
> > > > include("head.html");
> > > >
> > > > if (!$_GET["game"]) {
> > > > include("public.html");
> > > > }
> > > > if ($_GET["game"] != NULL && $op != NULL
thanks for the help. got it to work
"Brother - Martin Bagge" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Anyang:
>
> > it's giving me this now:
> > Notice: Undefined index: game in C:\Xitami\webpages\index.php
CSa is right, when you refer to your computer you usually have to refer to
it as localhost, same with perl scripts.
"Douglas F. Keim" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I installed PHP and MySQL. Tested PHP and started the MySQL server with
the
>