So it seems to be that your header is failing then.

try using the full URL:
http://localhost/.../success.php
instead of just
"success.php"

and verify that it's spelled correctly and
is lowercase (if on a *nix system)

Balaji Ankem wrote:
> No it z not failing if I replace it.
> 
> -----Original Message-----
> From: scott furt [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, March 19, 2002 5:49 PM
> To: php
> Subject: Re: [PHP] 100% repeatable problem with PHP 4.0.1 in WIN2k
> environment.
> 
> 
> Try replacing header("Location: success.php")
> with something like echo "Here we are";
> 
> does it still fail?
> 
> (I cannot run your code here, becuase without
> your database schema, the mysql queries will
> all fail)
> 
> At a glance, I don't see any glaring errors
> with your script..
> 
> Balaji Ankem wrote:
> 
>>Hi scott,
>>      
>>Yes I examined..
>>It z dying in if loop (if $n==2) at the statement header("Location: 
>>success.php");
>> 
>>It will be helpful to me if u try to execute those files as I told.
>>
>>Thanks in advance
>>Balaji
>>
>>-----Original Message-----
>>From: scott furt [mailto:[EMAIL PROTECTED]]
>>Sent: Tuesday, March 19, 2002 5:26 PM
>>To: php
>>Subject: Re: [PHP] 100% repeatable problem with PHP 4.0.1 in WIN2k
>>environment.
>>
>>
>>Have you examined the PHP error logs?
>>
>>Have you turned up error reporting to the max (E_ALL)
>>and examined what it returned?
>>
>>Have you examined $php_errmsg (if configured in php.ini)?
>>
>>Have you tried putting echo statements every few lines
>>to see exactly where and why the script dies?
>>
>>Balaji Ankem wrote:
>>
>>
>>>Hi,
>>> I am able to produce the following problem 100% in WINDOWS.
>>>
>>> Problem is u can not produce success message in new browser context
>>>..
>>>
>>>     Error: php.exe has generated some errors and will be closed by
>>>windows.
>>>
>>> I am facing this problem from last 1 year.
>>>
>>>
>>>
>>
>>
>>----------------------------------------------------------------------
>>--
>>
>>**************************Disclaimer**********************************
>>**
>>      
>>
>>
>>Information contained in this E-MAIL being proprietary to Wipro 
>>Limited is 'privileged' and 'confidential' and intended for use only 
>>by the individual or entity to which it is addressed. You are notified
>>
> 
>>that any use, copying or dissemination of the information contained in
>>
> 
>>the E-MAIL in any manner whatsoever is strictly prohibited.
>>
>>
>>
>> ********************************************************************
>>
>>
>>
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> **************************Disclaimer************************************
>       
> 
> 
> Information contained in this E-MAIL being proprietary to Wipro Limited
> is 'privileged' and 'confidential' and intended for use only by the
> individual or entity to which it is addressed. You are notified that any
> use, copying or dissemination of the information contained in the E-MAIL
> in any manner whatsoever is strictly prohibited.
> 
> 
> 
>  ********************************************************************
> 



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

Reply via email to