Jump to content

rbatista

Members
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

1 Neutral

About rbatista

  • Rank
    Newbie
  1. Hey !!! I fixed everything adding this at the begining of the script ob_start(); Thanks everyone for your support...
  2. This is the error showing : Warning: Cannot modify header information - headers already sent by (output started at /home/aprendaa/public_html/includes/head.php:30) in /home/aprendaa/public_html/login.php on line48 THIS IS HEAD.PHP <!DOCTYPE html> <html lang="en"> <head> <title>Aprenda Ahora</title> <meta charset="utf-8"> <link rel="stylesheet" href="css/reset.css" type="text/css" media="all"> <link rel="stylesheet" href="css/layout.css" type="text/css" media="all"> <link rel="stylesheet" href="css/style.css" type="text/css" media="al
  3. ok... I will, thanks, I will let you know...
  4. Thanks all for your comments... What I mean is, that with that codes everything is working fine on the same script..... that script is name : admissions.php and if everything works fine then it calls itself. That's working perfect, but in my side.... I mean, working fine using my PC, but when I uploaded to my hosting, then the only thing that fails is that part : header("Location: admissions.php?success"); that part is not reloading the page again, or in other words, no calling again the script admissions.php with ?success .
  5. Hi, I'm new programming with PHP and I am having this problem : Here are the codes : <?php if (isset($_GET['success']) && empty($_GET['success'])) { echo "<br>"; echo "<h4>You have been registered successfully.</h4>"; } else { if (empty($_POST) === false && empty($errors) === true) { // $register_data = array ( 'username' => $_POST['username'], 'password' => $_POST['password'], 'first_name' => $_POST['first_name'], 'last_name' => $_POST['last_name'], 'email' => $_POST['email'] ); register_user($register_data); heade
×
×
  • Create New...