2levelsabove Posted March 17, 2008 Share Posted March 17, 2008 I get a header error 302. Any ways I can disable it. (its a long story why i am getting it but I have to live with it for now (some stupid incompatibility between Macs and SFW upload ) Thanks guys Link to comment https://forums.phpfreaks.com/topic/96600-any-way-to-suppress-header-errors/ Share on other sites More sharing options...
papaface Posted March 17, 2008 Share Posted March 17, 2008 Add: error_reporting(0); to the top of your page. Link to comment https://forums.phpfreaks.com/topic/96600-any-way-to-suppress-header-errors/#findComment-494327 Share on other sites More sharing options...
2levelsabove Posted March 17, 2008 Author Share Posted March 17, 2008 That just suppresses PHP errors. I am talking about Server header errors like 300, 302 etc Link to comment https://forums.phpfreaks.com/topic/96600-any-way-to-suppress-header-errors/#findComment-494345 Share on other sites More sharing options...
trq Posted March 17, 2008 Share Posted March 17, 2008 Then your in the wrong board. What server are you using? the only thing I can think of would be to create a custom error page. Link to comment https://forums.phpfreaks.com/topic/96600-any-way-to-suppress-header-errors/#findComment-494352 Share on other sites More sharing options...
2levelsabove Posted March 17, 2008 Author Share Posted March 17, 2008 apache. Its this stupid file upload flash script that is only having issues with macs. Everything goes OK but i just get the 302 error. If I didnt get it, everything would be perfect. Link to comment https://forums.phpfreaks.com/topic/96600-any-way-to-suppress-header-errors/#findComment-494361 Share on other sites More sharing options...
trq Posted March 17, 2008 Share Posted March 17, 2008 I would suggest fixing whatever is causing the issue. Link to comment https://forums.phpfreaks.com/topic/96600-any-way-to-suppress-header-errors/#findComment-494368 Share on other sites More sharing options...
PFMaBiSmAd Posted March 17, 2008 Share Posted March 17, 2008 Searching for that error and SWF upload gives a lot of information. It would appear that the problem is a Mac Flash Player bug. Link to comment https://forums.phpfreaks.com/topic/96600-any-way-to-suppress-header-errors/#findComment-494380 Share on other sites More sharing options...
2levelsabove Posted March 17, 2008 Author Share Posted March 17, 2008 Ahh youre a smart man/woman . Thats the problem......I have managed to hack it to where it works with IE AND FF on PC. Works fine for mac also but I get that 302 header. anyways thanks a lot for you help guys . Its gonna be another long night Link to comment https://forums.phpfreaks.com/topic/96600-any-way-to-suppress-header-errors/#findComment-494385 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.