AV1611 Posted March 3, 2008 Share Posted March 3, 2008 I need to do a header after a successful query. normally, it's header('Location: domain.com') Can I do it so it just goes to index.php?sql=good ??? I don't want to use the domain, cause the script is not going to stay on this server... Link to comment https://forums.phpfreaks.com/topic/94169-header/ Share on other sites More sharing options...
budimir Posted March 3, 2008 Share Posted March 3, 2008 Yes you can! Try it!!!!!!! Link to comment https://forums.phpfreaks.com/topic/94169-header/#findComment-482351 Share on other sites More sharing options...
AV1611 Posted March 3, 2008 Author Share Posted March 3, 2008 I've had problems before. is it header('Location: index.php?whatever=whatever') ? Link to comment https://forums.phpfreaks.com/topic/94169-header/#findComment-482354 Share on other sites More sharing options...
revraz Posted March 3, 2008 Share Posted March 3, 2008 Yep, unless output has already been sent to the browser. Link to comment https://forums.phpfreaks.com/topic/94169-header/#findComment-482357 Share on other sites More sharing options...
AV1611 Posted March 3, 2008 Author Share Posted March 3, 2008 header() doesn't bring and _POST data that was on it's referer, right? Link to comment https://forums.phpfreaks.com/topic/94169-header/#findComment-482363 Share on other sites More sharing options...
kkeim Posted March 3, 2008 Share Posted March 3, 2008 no Link to comment https://forums.phpfreaks.com/topic/94169-header/#findComment-482415 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.