[nycphp-talk] PHP REDIRECT
Daniel Convissor
danielc at analysisandsolutions.com
Wed Sep 5 08:19:05 EDT 2007
On Wed, Sep 05, 2007 at 11:26:02AM +0100, PaulCheung wrote:
> header('Location: http://localhost/mainmenu.php);
> With this PHP gets really ticked-off giving me a long error message and
> points to a line which contains the following coding.
> <script language="JavaScript" type="text/javascript"> As to why, I haven't
> a clue.
You're getting distracted by the end of the error message. Read the first
seven words of the warning again, CAREFULLY. It's VERY explicit. If you
still don't get it, Google for those words. This has been explained
thousands of times.
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
More information about the talk
mailing list