Re: [PHP] header("Location: ") problem

2004-09-22 Thread Marek Kilimajer
[EMAIL PROTECTED] wrote: hi, is there a way of setting a target property for header("Location: thanks.htm")? my form is in an iframe so when i hit submit, my php page redirects the user to thanks.htm but this is rendered within the iframe not in a fresh page. No, you have to use target in the form

Re: [PHP] header("Location: ") problem

2004-09-22 Thread John Nichel
[EMAIL PROTECTED] wrote: hi, is there a way of setting a target property for header("Location: thanks.htm")? No. Not in php. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] header("Location: ") problem

2004-09-22 Thread luke
hi, is there a way of setting a target property for header("Location: thanks.htm")? my form is in an iframe so when i hit submit, my php page redirects the user to thanks.htm but this is rendered within the iframe not in a fresh page. any ideas? thanks, luke. -- PHP General Mailing List (htt

RE: [PHP] header("Location:") problem with Netscape

2002-03-14 Thread Matt Schroebel
It's not $PHP_SELF that's the issue here -- well it was probably blank because either register_globals is off or you were in a function and didn't global it. The real trouble is that. IE < v6.0 is forgiving and if the action="" is blank sends the request to the current page. So you feel comfy

Re: [PHP] header("Location:") problem with Netscape

2002-03-14 Thread Steven Walker
Jeff, I just had this problem! Using $PHP_SELF did not work with Netscape 4.7 for some reason. I was using it in form submissions and kept getting the error 'Method Not Allowed'. My fix was simple, I just hard coded the action url since. If you really need $PHP_SELF, I don't know what the fix

[PHP] header("Location:") problem with Netscape

2002-03-14 Thread Jeff Bearer
I'm working on a app that uses the header("Location") is the middle of the file, but since I'm using output buffering it shouldn't matter. The application works fine in Mozilla, Konqueror, and IE, but not in Netscape 4 or 6. I don't get the error that the "headers have already been written" erro

[PHP] Header Location problem with PHP as CGI

2001-05-19 Thread Bert
Hello, I'm desperate here... I hope this question hasn't been asked a million times before (I sure did not find an answer in the archives) I'm developing a site that runs perfectly on a surver with the PHP module in apache. The problem is that the site will be hosted on a server with PHP as CGI