Reply to Re: php redirect doesnt work

Your name:

Reply:


Posted by Jerry Stuckle on 10/08/07 02:43

Jack wrote:
> Hi,
> I have a problem that I've been stuck on for while now.
> Here is my code
>
<snipped>

Jack,

First of all, enable all errors and display errors in your PHP.INI file.
If you don't have access to this file, you can use ini_set to set
them, but it's much easier to do it in the php.ini file (also this way
works even if you have syntax errors in your code).

Once you get this, I'm pretty sure you'll get a message about "header
already sent...". I don't remember the exact message off hand (you'd
think I would, the number of times I've seen it! :-) ), but it comes
because you've send output before this time. It could only be blank
space - but you've sent SOME data.

And you should also get a message indicating "output started in file xxx
at line yyy". This is where you need to took to find why output has
previously been sent.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original 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

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