![]() |
PHP Header Help
ok on some forms i have after you submit it uses the function header... but it won't work. When you submit the form it just refreshes the page istead of going to the header loction. Is there some setting on the PHP itself that you can change to make the header function work?
|
Re: PHP Header Help
the function must be runned before the headers are sent..
so it must be runned very early in the script.. |
Re: PHP Header Help
ok i beleive you but it worked before the servers went down and when they came back up it didn't work... lemme try moving it up futher hang on
[EDIT] No that didn't work, also i am not talking about headers i am talking about header[/EDIT] |
Re: PHP Header Help
can you post your code ? usually when something's wrong it's much easier for people to spot out bugs when they see the code.
|
Re: PHP Header Help
note this is the action page
PHP Code:
|
Re: PHP Header Help
|
Re: PHP Header Help
register_globals is also a great way of making PHP Scripts exploitable :/
PHP Code:
PHP Code:
always make sure you die(); after your HTTP headers are sent, this stops PHP sending output which will then make the header ignored by browsers (I've hit this problem before ;)) So: PHP Code:
|
Re: PHP Header Help
Thanks for the stuff man works great, it is on my hosting upgrade stuff.
Thank you very much. |
Re: PHP Header Help
Glad we could help :rockon:
|
All times are GMT +2. The time now is 11:52. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.