I tried a test file with this, and the form is sent, and the nph-test2.php
file returns this

Status: 302
Content-type: text/html
X-Powered-By: PHP/4.3.0
Location: test.php
Set-Cookie: testcookie=test


Here is my code:

<?php
header("HTTP/1.0 302 Redirect");
header("Location: test.php");
header("Set-Cookie: testcookie=test");
?>

Thanks for your time.

Mike


"Michael Sims" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
[top-posting fixed]

>"Jason K Larson" <[EMAIL PROTECTED]> wrote in message
>[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>> Discussion on this list has suggested that it can work if PHP is set to
>> run as ISAPI, not CGI.
>>
>Do you know how do do this?

Although using the ISAPI dll version of PHP would definitely work,
that's a bit of a drastic solution.  Chris has pointed you in the
direction of a workaround.  Why don't you give it a shot and if you
can't get it working send another message to myself or the list:

http://marc.theaimsgroup.com/?l=php-general&m=102929828515647&w=2



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

Reply via email to