[Release] PHP Register Website

Page 2 of 4 FirstFirst 1234 LastLast
Results 16 to 30 of 54
  1. #16
    Member darksanji is offline
    MemberRank
    May 2006 Join Date
    in bedLocation
    64Posts
    nice esqo

  2. #17
    Member zell_11 is offline
    MemberRank
    Aug 2005 Join Date
    ScotlandLocation
    98Posts
    gd i was goignt o do one of these tonight lol saves me doing it now. Nice script dude

    alsoa I ahve done ur edits and it still gives me mssql error
    Last edited by zell_11; 02-01-07 at 01:10 AM.

  3. #18
    Account Upgraded | Title Enabled! dantemibu is offline
    MemberRank
    Apr 2006 Join Date
    FloridaLocation
    324Posts
    hmm, when i try to register on mine it gives me a error on line 28 having to do with this. $msconnect=mssql_connect("$host","$alogin","$apass"); heres what my config.php looks like.

    <?php

    $xa = getenv('REMOTE_ADDR');
    $badwords = array(";","'","\"","*","union","del","DEL","insert","update","drop","sele","memb","set","$","res3t","wareh","&#37;","--");

    foreach($_POST as $value)
    foreach($badwords as $word)
    if(substr_count($value, $word) > 0)
    die("AN ATTEMPT OF INVASION WAS DETECTED TO COMMUNITY OF ALREADY THIS SEGURANCA OF MUTRIPLOX.VAI.LA TAKING YOU PROVIDE THEM SO THAT WE CAN HAVE AN EVERY TIME BETTER MU AND WITHOUT LAMMERS FDP IN OUR SERVER !");

    // Enter the IP or DSN of the database server to connect to
    // Change to your server IP (if remote only) works with DNS
    $dbhost = "localhost";

    // Enter the username to connect to the db
    $dbuser = "sa";

    // Enter the password for the SQL Server
    $dbpasswd = "pass";
    //Database Name
    $db = 'GunZDB';

    //Host. IP If working remotely
    $host = 'http://exe.hexguard.com/gunz';

    $ip = "localhost";

    $msconnect=mssql_connect("$host","$alogin","$apass");
    $msdb=mssql_select_db("$db",$msconnect);

    ?>

  4. #19
    Account Upgraded | Title Enabled! Esqo is offline
    MemberRank
    Oct 2006 Join Date
    Behind a WallLocation
    209Posts
    Maybe change the following line?

    $host = 'http://exe.hexguard.com/gunz';

  5. #20
    Account Upgraded | Title Enabled! dantemibu is offline
    MemberRank
    Apr 2006 Join Date
    FloridaLocation
    324Posts
    Nah still gives me
    Fatal error: Call to undefined function mssql_connect() in C:\AppServ\www\config.php on line 28
    Last edited by dantemibu; 02-01-07 at 10:43 PM.

  6. #21
    Account Upgraded | Title Enabled! Esqo is offline
    MemberRank
    Oct 2006 Join Date
    Behind a WallLocation
    209Posts
    You sure you edited the connection information?
    // Enter the IP or DSN of the database server to connect to
    // Change to your server IP (if remote only) works with DNS
    $dbhost = "localhost";

    // Enter the username to connect to the db
    $dbuser = "sa";

    // Enter the password for the SQL Server
    $dbpasswd = "pass";
    //Database Name
    $db = 'GunZDB';

  7. #22
    Account Upgraded | Title Enabled! dantemibu is offline
    MemberRank
    Apr 2006 Join Date
    FloridaLocation
    324Posts
    The pass part or the localhost? Yeah i switched the pass part back.

  8. #23
    Account Upgraded | Title Enabled! Esqo is offline
    MemberRank
    Oct 2006 Join Date
    Behind a WallLocation
    209Posts
    Well you have to edit what I posted to your settings...

  9. #24
    Account Upgraded | Title Enabled! dantemibu is offline
    MemberRank
    Apr 2006 Join Date
    FloridaLocation
    324Posts
    Do I keep this part..

    <?php

    $xa = getenv('REMOTE_ADDR');
    $badwords = array(";","'","\"","*","union","del","DEL","insert","update","drop","sele","memb","set","$","res3t","wareh","&#37;","--");

    foreach($_POST as $value)
    foreach($badwords as $word)
    if(substr_count($value, $word) > 0)
    die("AN ATTEMPT OF INVASION WAS DETECTED TO COMMUNITY OF ALREADY THIS SEGURANCA OF MUTRIPLOX.VAI.LA TAKING YOU PROVIDE THEM SO THAT WE CAN HAVE AN EVERY TIME BETTER MU AND WITHOUT LAMMERS FDP IN OUR SERVER !");

  10. #25
    Account Upgraded | Title Enabled! Esqo is offline
    MemberRank
    Oct 2006 Join Date
    Behind a WallLocation
    209Posts
    Yes..

  11. #26
    Account Upgraded | Title Enabled! dantemibu is offline
    MemberRank
    Apr 2006 Join Date
    FloridaLocation
    324Posts
    Well I don't know if it will help you any but try it for yourself.. Also is it any problem to be using AppServ for my php and editing my ip site. Btw here it is TNY GunZ

    And my config looks as follows.
    <?php

    $xa = getenv('REMOTE_ADDR');
    $badwords = array(";","'","\"","*","union","del","DEL","insert","update","drop","sele","memb","set","$","res3t","wareh","&#37;","--");

    foreach($_POST as $value)
    foreach($badwords as $word)
    if(substr_count($value, $word) > 0)
    die("AN ATTEMPT OF INVASION WAS DETECTED TO COMMUNITY OF ALREADY THIS SEGURANCA OF MUTRIPLOX.VAI.LA TAKING YOU PROVIDE THEM SO THAT WE CAN HAVE AN EVERY TIME BETTER MU AND WITHOUT LAMMERS FDP IN OUR SERVER !");

    // Enter the IP or DSN of the database server to connect to
    // Change to your server IP (if remote only) works with DNS
    $dbhost = "localhost";

    // Enter the username to connect to the db
    $dbuser = "sa";

    // Enter the password for the SQL Server
    $dbpasswd = "pass";
    //Database Name
    $db = 'GunZDB';

    //Host. IP If working remotely
    $host = 'http://exe.hexguard.com/gunz';

    $ip = "localhost";

    $msconnect=mssql_connect("$host","$alogin","$apass");
    $msdb=mssql_select_db("$db",$msconnect);

    ?>
    Last edited by dantemibu; 02-01-07 at 11:39 PM.

  12. #27
    Account Upgraded | Title Enabled! dantemibu is offline
    MemberRank
    Apr 2006 Join Date
    FloridaLocation
    324Posts
    I have tried everything and nothing is working..

  13. #28
    Account Upgraded | Title Enabled! Esqo is offline
    MemberRank
    Oct 2006 Join Date
    Behind a WallLocation
    209Posts
    You still didnt edit

    //Host. IP If working remotely
    $host = 'http://exe.hexguard.com/gunz';

  14. #29
    Account Upgraded | Title Enabled! dantemibu is offline
    MemberRank
    Apr 2006 Join Date
    FloridaLocation
    324Posts
    This is good ?
    <?php

    $xa = getenv('REMOTE_ADDR');
    $badwords = array(";","'","\"","*","union","del","DEL","insert","update","drop","sele","memb","set","$","res3t","wareh","&#37;","--");

    foreach($_POST as $value)
    foreach($badwords as $word)
    if(substr_count($value, $word) > 0)
    die("AN ATTEMPT OF INVASION WAS DETECTED TO COMMUNITY OF ALREADY THIS SEGURANCA OF MUTRIPLOX.VAI.LA TAKING YOU PROVIDE THEM SO THAT WE CAN HAVE AN EVERY TIME BETTER MU AND WITHOUT LAMMERS FDP IN OUR SERVER !");

    // Enter the IP or DSN of the database server to connect to
    // Change to your server IP (if remote only) works with DNS
    $dbhost = "localhost";

    // Enter the username to connect to the db
    $dbuser = "sa";

    // Enter the password for the SQL Server
    $dbpasswd = "pass";
    //Database Name
    $db = 'GunZDB';

    //Host. IP If working remotely
    $host = 'http://tnygunz.no-ip.info';

    $ip = "localhost";

    $msconnect=mssql_connect("$host","$alogin","$apass");
    $msdb=mssql_select_db("$db",$msconnect);

    ?>

  15. #30
    Meh Matt is offline
    MemberRank
    Aug 2006 Join Date
    Ontario, CanadaLocation
    1,745Posts
    PHP Code:
    // Enter the IP or DSN of the database server to connect to
    // Change to your server IP (if remote only) works with DNS
    $dbhost "localhost";

    // Enter the username to connect to the db
    $dbuser "sa";

    // Enter the password for the SQL Server
    $dbpasswd "pass";
    //Database Name
    $db 'GunZDB';

    //Host. IP If working remotely
    $host 'http://tnygunz.no-ip.info';

    $ip "localhost";

    $msconnect=mssql_connect("$host","$alogin","$apass ");
    $msdb=mssql_select_db("$db",$msconnect); 
    1) Where's the $alogin variable?
    2) Where's the $apass variable?

    Edit C:\WINDOWS\php.ini, look for:
    ;extension_php-mssql.dll
    and remove the ;



Page 2 of 4 FirstFirst 1234 LastLast

Advertisement