Re: Re: Opening a Dynamic Pop Up Window
| From: | Kevin Stone | Date: | Thu, 29 May 2003 23:02:23 +0000 |
| Subject: | Re: Re: Opening a Dynamic Pop Up Window | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-149503@lists.php.net to get a copy of this message | ||
In 4.06 you have to use $HTTP_GET_VARS in place of $_GET. It's the same
thing, just a different name.
Ditto with $_SERVER, $_POST and $_SESSION
- Kevin
----- Original Message -----
From: "Jeffrey L. Fitzgerald" <mailgroups@jlfx.com>
To: <php-general@lists.php.net>
Sent: Thursday, May 29, 2003 4:05 PM
Subject: Re: [PHP] Re: Opening a Dynamic Pop Up Window
>
> Actually, I just found out we run PHP 4.0.6... Will the query
> string/GET process still work? Right now it's not and I thought I saw in
> the docs that the POST/GET isn't in pre 4.1...
>
>
> >Just add some Javascript to the links around your thumbnails, like this:
> >
> ><a
> >href="javascript:window.open('show_photo.php?img=image.jpg');">
> >
> >Then you need to create a script called show_photo.php that takes the
"img"
> >var passed by the Javascript above and loads that image onto the page.
> >
> >$image = $_GET['img'];
> >
> >echo "<img src='$image' border=0>";
> >
> >Hope that helps.
> >
> >Monty
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>