You are here: redirect after auto script « PHP Programming Language « IT news, forums, messages
redirect after auto script

Posted by Josselin on 02/18/06 00:52

I have a page 'pni.php' to which paypal is redirecting after payment
thsi page contains a db update script, no problem it's running well

but once this script is executed (transparently for the use, as there
is nothing to display)
how can I redirect to another page ?

header redirect can only be placed at the beginning of the page... not
at the end
I've already writen redirection but only when there was a form inside
and a user action.. to refresh the page , this is not the case ... :-((

pni.php
<?
DN update script from Paypal _POST data
....
(no display, no user action)
...
auto redirect to another page ? -> index.php
?>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация