Advertisement
Crecket

Untitled

Aug 2nd, 2015
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. if(isset($_POST['submit1'])) {
  2. $errors = array();
  3.  
  4. $prod = urlencode(trim($_POST['auctionid']));
  5. $uid = urlencode(trim($_POST['uid']));
  6.  
  7.  
  8. //run queries knowing that your connection is alive....
  9. if (!headers_sent()) {
  10. header("Location: paypal.php?prod=". $prod. "&uid=".$uid);
  11. exit;
  12. } else {
  13. die("Error: Headers already sent. Please reload page.: " . mysql_error());
  14. }
  15. }else{
  16. if($returndata == false){
  17. header('Location: http://donate.creative-scape.net/');
  18. }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement