Recent content by hjfxghd7

  1. H

    PHP account SESSION-help?

    I am receiving the following error Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/user/public_html/development/load/account.php on line 9 <?php session_start(); ?> <html xmlns="http://www.w3.org/1999/xhtml"> <head>...
  2. H

    PHP help- user SESSION variable?

    I want to check if the user is logged in, if so echo $name. How would I do this
  3. H

    login form not working-PHP-?

    The login form is not working correctly, when I type Invalid credentials, It is still redirecting to account.php <?php include("dbsettings.php"); // Connect to server and select database. mysql_connect("$host", "$username", "$password")or die("cannot connect")...
  4. H

    When a user is logged in-PHP?

    <?php echo "$_SESSION['charName']"; ?> Would this be correct, on the login page. I started a session and then I want to say, Welcome, name.
  5. H

    PHP login form error messages?

    Warning: session_register() [function.session-register]: Cannot send session cookie - headers already sent by (output started at /home/friendko/public_html/habitualdarkness/checklogin.php:3) in /home/friendko/public_html/habitualdarkness/checklogin.php on line 37 Warning: session_register()...
  6. H

    registration form not working--PHP--?

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Habitual Darkness</title> <link...
  7. H

    check field input php help?

    I making a form with the following fields: Character Name Race Class Level Primary Profession Secondary Profession Email Password Retype Password I want to check to see if fields are empty, if password is shorter that 6 char, password/retype password are equal, lvl less than or equal...
  8. H

    validate email using php?

    when a user enters an email on the signup form, before its sent to the database, check to see if its the correct format...has valid chars, has '@' symbol
  9. H

    help code error. signup.php?

    Parse error: syntax error, unexpected '(', expecting ']' in /home/friendko/public_html/habitualdarkness/signup.php on line 42 <input type="hidden" name="activation_key" value="<?php echo "function genRandomString() { $length = 10; $characters = ’0123456789abcdefghijklmnopqrstuvwxyz’...
Back
Top