Jump to content

kp112

Active Members
  • Posts

    114
  • Joined

  • Last visited

Everything posted by kp112

  1. am reusit cu urmatoarea valoare if (isset($_SERVER['REQUEST_METHOD']) == 'POST' && $_POST['submit'] == "submit" ) oricum multumesc AlStar pt ajutor
  2. Primesc urmatoarea eroare : Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in public_html/installer/index.php on line 27 ma poate ajuta cineva <?php @set_time_limit( 0 ); define( "DS", DIRECTORY_SEPARATOR ); define( "BaseUrl", dirname( dirname( __FILE__ ) ) ); if ( $_SERVER['SCRIPT_NAME'] != "" ); { $add = $_SERVER['SCRIPT_NAME']; $parts = explode( "/", $add ); array_pop( $parts ); array_pop( $parts ); $origadd = implode( "/", $parts ); } $site_name = "http://".$_SERVER['HTTP_HOST']; $site_name = trim( $site_name, "/" ); $site_name = $site_name.$origadd."/"; $admin_site_name = $site_name."manager/"; include_once( BaseUrl.DS."includes".DS."db_inc.php" ); if ( defined( "INSTALLED" ) ) { header( "location:".$site_name ); exit( ); } define( "IS_ENV_PRODUCTION", true ); define( "DS", DIRECTORY_SEPARATOR ); error_reporting( E_ALL | E_STRICT ); ini_set( "display_errors", !IS_ENV_PRODUCTION ); if ( isset( "_POST" ) && $_POST['submit'] == "submit" ) { $db_host = trim( $_POST['host'] ); $db_name = trim( $_POST['database_name'] ); $db_pass = trim( $_POST['database_password'] ); $db_user = trim( $_POST['database_user'] ); $flag = 0; exit( "Database connection error: Please check the host name, user name and password you provided" ); if ( TRUE ) { if ( mysql_select_db( $db_name, $con ) ) { $message .= "Successfully connected to database<br>"; $flag = 1; } else { $message .= "Database connection error: Please check the database name you provided<br>"; } } else { $message .= "Database connection error: Please check the host name, user name and password you provided<br>"; } if ( $flag == 1 ) { $fp = fopen( BaseUrl.DS."includes".DS."db_inc.php", "w" ); $string = "<?php"; $string .= "\n"; $string .= "error_reporting(E_ALL | E_STRICT);\n"; $string .= "ini_set('display_errors', 0);\n"; $string .= "define('DS',DIRECTORY_SEPARATOR);\n"; $string .= "\$DB_HOST="."'{$db_host}';\n"; $string .= "\$DB_USER="."'{$db_user}';\n"; $string .= "\$DB_PASS="."'{$db_pass}';\n"; $string .= "\$DB_NAME="."'{$db_name}';\n"; $string .= "\$siteName="."'{$site_name}';\n"; $string .= "\$AdminSiteName="."'{$admin_site_name}';\n"; $string .= "\$basefilepath=".( "dirname(dirname(__FILE__)).DS;\n" ); $string .= "define('INSTALLED','1');\n"; $string .= "?>"; if ( fwrite( $fp, $string ) ) { $message .= "configuration file successfully created.<br>"; } else { echo "unable to write to config file. Please check the file permission of includes/db_inc.php<br>"; } $file_content = file( BaseUrl.DS."installer".DS."filecash.sql" ); $query = ""; $sql = explode( ";", file_get_contents( BaseUrl.DS."installer".DS."filecash.sql" ) ); foreach ( $sql as $query ) { mysql_query( $query ); } $message .= "Database tables successfully created.<br>"; $message .= "Please remove the install folder. After you are done with removing the folder, please click <a href='{$site_name}'>here</a> to go to home page"; } echo $message; } else { echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n<title>Untitled Document</title>\n</head>\n\n<body>\n<form method=\"post\" action=\"\">\n<table border=\"1\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\">\n\n\t\n\t<tr>\n \t<th colspan"; echo "=\"2\">Database Info</th>\n </tr>\n \n \n <tr>\n \t<td>Host:</td>\n <td><input type=\"text\" name=\"host\" value=\""; echo $_POST['host']; echo "\" /></td>\n </tr>\n \n <tr>\n \t<td>Database Name:</td>\n <td><input type=\"text\" name=\"database_name\" value=\""; echo $_POST['database_name']; echo "\" /><br />\n <p>Please create the database first if you have not created it already.</p>\n </td>\n </tr>\n \n <tr>\n \t<td>Database User:</td>\n <td><input type=\"text\" name=\"database_user\" value=\""; echo $_POST['database_user']; echo "\" /></td>\n </tr>\n \n <tr>\n \t<td>Database Password:</td>\n <td><input type=\"text\" name=\"database_password\" value=\""; echo $_POST['database_password']; echo "\" /></td>\n </tr> \n \n <tr>\n \t<td></td>\n <td><input type=\"submit\" name=\"submit\" value=\"submit\" /></td>\n </tr> \n \n \n</table> \n</form>\n</body>\n</html>\n"; } ?>
  3. mai usor este cu hfs server
  4. Hello this hosting is new , so they offer free unlimited accounts the offer is time limitted Register from this 3 Jelly , Free Unlimited Space Disk , Unlimited Bandwidth , Free Email Addresses , Free Ftp , Free Databases , Free Domain From 3 Jelly Unlimted Storage Space Unlimted Monthly Bandwidth Unlimted Sub-Domains Unlimted Domains Unlimted E-mail Accounts Control Panel & FTP No Shared 128bit SSL Enjoy /RO Hosting Nelimitat & Domeniu Salutare Site-u este nou , ofera conturi nelimitate de hosting si domeniu Oferta este Limitata Inregistrare aici 3 Jelly , Free Unlimited Space Disk , Unlimited Bandwidth , Free Email Addresses , Free Ftp , Free Databases , Free Domain From 3 Jelly Bafta !
  5. site-u este confirmat ca si SCAM de foarte multa lume si dovezile care le gasiti peste tot sunt 100% fake asa ca nu va mai chinuiti din 2012 octombrie astept o plata de 62 $ care au fost facut real fara track de boti sau alte chesti ..... mentionez prin faptu ca trebuie sa ai paypalu verifica in cazu meu OK iar banii nu au venit nici in ziua de azi .
  6. kp112

    Un sfat...

    https://www.paypal.com/us/webapps/mpp/security/reporting-security-issues sau https://www.thepaypalblog.com/2012/06/paypal-bug-bounty-program/ daca te ajuta cu ceva
  7. kp112

    Un sfat...

    asta se aplica si in cazu facebook
  8. invata sa vorbesti prietene viq si limbaju asta colorat al tau da dovada ca esti zlab ps: am dat si peste program care le completeaza automat am citit cateva reply`uri si 90% sunt multumiti de program
  9. 3OOB 3OOC 3OOD 3OOE 3OOF 3OOG 3OOH 3OOI 3OOJ 3OOK am mai creat si eu cateva coduri daca va ajuta
×
×
  • Create New...