[GLLUG] [ot]php/javascript web devel

Sean picasso@madflower.com
Sat, 16 Feb 2002 14:58:29 -0500 (EST)


$REQUEST_URI  variable equals the current page.
The referring url variable ($HTTP_REFERER) doesnt always work.
I would probably set $REQUEST_URI == to another value and pass it unless
the referring url isnt going to be a php page.



On Sat, 16 Feb 2002, Mike Szumlinski wrote:

> I'm trying to write a real simple script right now that I see all the time.
> It is basically the "e-mail this to a friend" link you see at the bottom of
> lots of news pages and what not. The actual mail form is simple, but does
> anyone know how to pull the current url (after a post method submit) into a
> php variable? Is it doable with just php, or do I need javascript too?
>
> -Mike
> -=--===---===---===---===-=-
> |Mike Szumlinski           |
> |Michigan State University |
> -=--===---===---===---===-=-
> "We are what we repeatedly do. Excellence, then, is not an act, but a habit"
>
>                                                                  -Aristotle
>
>
> _______________________________________________
> linux-user mailing list
> linux-user@egr.msu.edu
> http://www.egr.msu.edu/mailman/listinfo/linux-user
>