Ok, if it has worked on one machine then the problem is not "with" PHP.
Programming languages always do exactly what they are told (but,
unfortunately not what we think we have told them).

One important difference between most windows and linux setups is is case
sensitivity.  Windows sees $x and $X as the same variable but Linux does
not.  so it could be a case issue.

If you could send me the original code and errors (off list) I will be happy
to look at it for you.

Daryl

-----Original Message-----
From: Chris Shiflett [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 23, 2003 5:21 PM
To: Miles Thompson; Petre Agenbag; Beauford.2005
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] I'm really getting annoyed with PHP


--- Petre Agenbag wrote:
> If you want to "use PHP", then you must use the headers() function.
> BUT, with the header function, you MUST make sure that there will be
> absolutely NO output to the page before the header() function is
> called, not even a space...
> Otherwise, you can simply use a meta refresh...

The meta tag just allows you to specify HTTP headers in your content, and
most
browsers try to interpret them as if they were included in the proper
section
of the response.

Since we are all PHP users, there is no reason not to put headers in the
header
section of our responses. If you want to add a Refresh header, you can do
something like this:

header('Refresh: 3; url=http://www.google.com/');

Hope that helps.

Chris

=====
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/

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



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

Reply via email to