Re: [phplib] Site Linking From: Dima Nemchenko (Dima.Nemchenko <email protected>)
Date: 06/23/01

Michael wrote:

> this is probably more of a cgi based question but this is my last resort - i
> cannot find the infomation anywhere else
>
> i'm pretty new to php and cgi and have been looking for a script that will
> enable me to link to other web pages
> for example: http://www.scriptsearch.com/cgi-bin/jump.cgi?ID=34
>
> what kind of script would the link above be used in? - i can't really
> explain it but this is the kind of script i want to use on my site
>
> from what i understand when a link on the web page is pressed it sends the
> variables http://www.scriptsearch.com/cgi-bin/jump.cgi?ID=34 to a jump.cgi
> script then the cgi script returns the user to the corresponding webpage..
> am i right - where can a find a script that will do this for me?
>
> if this can be done in php i would also be interested to find out how it is
> done
>
> thanx
>

Hi Michael,

You can use header("Location: http://some.wesite.com/a_file.html") to redirect
the browser.

Hope this helps,

--

:D_ima Dima Nemchenko <Dima.Nemchenko <email protected>>

"Open source code is like lobster--most people who haven't tried it don't like the way it looks. But those who try it, love it."

--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>