<p><fontface="times new roman"style="font-size: 39px;">blogger2<imgsrc="b2-img/b2minilogo.png"width="50"height="50"border="0"alt="b2"align="top"/></font></p>
<p>Theimporterisrunning...</p>
<ul>
<?php
$connexion=mysql_connect($server,$loginsql,$passsql)ordie("Oops, MySQL connection error ! Couldn't connect to $server with the username $loginsql");
$bdd=mysql_select_db($dbname,$connexion)ordie("Oops, can't find any database named $dbname here !");
$sql="SELECT * FROM $tableusers WHERE user_login = '$post_author'";
$result=mysql_query($sql);
if(!mysql_num_rows($result)){// seems s/he's not, so let's register
$user_ip="127.0.0.1";
$user_domain="localhost";
$user_browser="server";
$user_joindate="1979-06-06 00:41:00";// that's my birthdate (gmt+1) - I could choose any other date. You could change the date too. Just remember the year must be >=1970 or the world would just randomly fall on your head (everything might look fine, and then blam! major headache!)
$user_login=addslashes($post_author);
$pass1=addslashes("password");
$user_nickname=addslashes($post_author);
$user_email=addslashes("user@cafelog.com");
$user_url=addslashes("");
$user_joindate=addslashes($user_joindate);
$query="INSERT INTO $tableusers (user_login,user_pass,user_nickname,user_email,user_url,user_ip,user_domain,user_browser,dateYMDhour,user_level,user_idmode) VALUES ('$user_login','$pass1','$user_nickname','$user_email','$user_url','$user_ip','$user_domain','$user_browser','$user_joindate','1','nickname')";
$result=mysql_query($query);
if($result==false){
die("<b>ERROR</b>: couldn't register an user... please contact the <a href=\"mailto:$admin_email\">webmaster</a>!");
}
echo": registered user <i>$user_login</i>";
}
$sql="SELECT * FROM $tableusers WHERE user_login = '$post_author'";
<p><fontface="times new roman"style="font-size: 39px;">blogger2<imgsrc="b2-img/b2minilogo.png"width="50"height="50"border="0"alt="b2"align="top"/></font></p>
CheckinyourFTPthatyou've got the archive files published. They should look like this example: <i>2001_10_01_cafelog.php</i>. If they aren'tthere,redotherepublishprocess.<br/><br/>You'redonewiththehardpart.:)</p>