You are here: Re: Redirecting a page during an xmlRequest script « PHP Programming Language « IT news, forums, messages
Re: Redirecting a page during an xmlRequest script

Posted by Herman on 05/29/06 19:26

So then is this script illegal? If so, how do you redirect a page after
you check to see if the user is logged in?

<?php

if ($_SESSION['cmpid'] == '')
header('Location: http://campaigns.hooplah.ca/Host/noCampaign.htm');
else
$cmpid = $_SESSION['cmpid'];

?>

 

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

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