RE: Redirect.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Don't know if I fully understand your question, but, in general, you can
handle redirects with the header() function, e.g., 

header("Location:
http://www.yoursite.com/yourscript.php?msg=0&storyID=".$newstory."";);

As you can see, you can include variable=value pairs at the end of the URL
as well (msg and storyID in the example above).

Check for the header() function in the documentation on php.net for
additional information. PHP-GENERAL, as suggested by another user, is the
most appropriate and possibly more helpful mailing list for your particular
question.

HTH,
Rich

> -----Original Message-----
> From: gfmb@xxxxxxxxx [mailto:gfmb@xxxxxxxxx]
> Sent: Tuesday, December 02, 2003 6:19 AM
> To: php-db@xxxxxxxxxxxxx
> Subject:  Redirect.
> Importance: High
> 
> 
> Hi all,
> I have a problem.How can I redirect from a PHP script to 
> another script in asp, php or a HTML page? 
> This script redirect to another script in function of the 
> values of a variable.
> Thanks in advance
> Francesco
> francesco@xxxxxxxxxxxxxxxxxx
> 

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux