RE: [PHP] I'm really getting annoyed with PHP
| From: | Gabriel Guzman | Date: | Thu, 24 Jul 2003 00:03:39 +0000 |
| Subject: | RE: [PHP] I'm really getting annoyed with PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-156563@lists.php.net to get a copy of this message | ||
On Thu, 2003-07-24 at 15:12, Beauford.2005 wrote:
> FYI. I did this login page for another website last month and I used the
> code from it to do this one. The other one works perfectly. I checked
> that code again today and there is ABSOLUTELY no differnce. I even used
> the same variables and session names. The only difference between the
> two sites is that the one that works is running IIS on Windows 2000
> Server. The broken one is on a Linux box running Apache. Both PHP and
> MySQL are the same versions. Remember also that the Header redirect is
> working in the redirect.inc page, which is even more confusing.
just a thought, but if you copied the code from a windows box to a unix
box... there may be some extra line breaks in the php code on the unix
side. \r's or some such that might not be showing up in your editor.
> I have really given up on it. It just ain't gonna work - no matter what
> I do. I thought I finally had it working again, but of course - another
> f*** up.
i know the feeling... sucks.
> Can you explain this? Along with my other code I used a little piece of
> javascript to do the redirect, and lo and behold it worked. But now my
> paths are all screwed up. I just don't get it.
>
> In the example I tried, the page I am redirected to has a form on it.
> When I click submit it should go to the page specified in the action,
> which is season_write.php.
>
> <FORM onSubmit="return checkrequired(this)" ACTION="season_write.php"
> action="post" name="seasons">
don't you mean -- method="post" -- instead of a second -- action="post"
--
sorry things aren't working out for ya...
gabe.