Carmen
Forum Replies Created
-
Forum: Installing WordPress
In reply to: New to MySQL, PHP and WordPressThank you for the help. Still have some questions:
Where do I upload if I want it to be appear at “www.example.com”? What is htdocs and public_html? I don’t have that.
Where do I run the files from?
I – for now- created a folder called “word” and uploaded all the files there. I canged the config and ran install, but the same thing happened a before. I see a bunch of code and text, and there simply are no steps because it runs through the whole thing. And it doesn’t give me a password and it cannot “guess” my site.
Example on how it looks:
“Step 3
query($query); } // $query = “DROP TABLE IF EXISTS $tableusers”; // $q = mysql_query($query) or mysql_doh(“doh, can’t drop the table \”$tableusers\” in the database.”); $query = ” CREATE TABLE $tableusers ( ID int(10) unsigned NOT NULL auto_increment, user_login varchar(20) NOT NULL default ”, user_pass varchar(64) NOT NULL default ”, user_firstname varchar(50) NOT NULL default ”, user_lastname varchar(50) NOT NULL default ”, user_nickname varchar(50) NOT NULL default ”, user_icq int(10) unsigned NOT NULL default ‘0’, user_email varchar(100) NOT NULL default ”, user_url varchar(100) NOT NULL default ”, user_ip varchar(15) NOT NULL default ”, user_domain varchar(200) NOT NULL default ”, user_browser varchar(200) NOT NULL default ”, dateYMDhour datetime NOT NULL default ‘0000-00-00 00:00:00’, user_level int(2) unsigned NOT NULL default ‘0’, user_aim varchar(50) NOT NULL default ”, user_msn varchar(100) NOT NULL default ”, user_yim varchar(50) NOT NULL default ”, user_idmode varchar(20) NOT NULL default ”, PRIMARY KEY (ID), UNIQUE KEY (user_login) ) “; $q = $wpdb->query($query); $random_password = substr(md5(uniqid(microtime())),0,6); $query = “INSERT INTO $tableusers (ID, user_login, user_pass, user_firstname, user_lastname, user_nickname, user_icq, user_email, user_url, user_ip, user_domain, user_browser, dateYMDhour, user_level, user_aim, user_msn, user_yim, user_idmode) VALUES ( ‘1’, ‘admin’, MD5(‘$random_password’), ”, ”, ‘site admin’, ‘0’, ‘$admin_email’, ”, ‘127.0.0.1’, ‘127.0.0.1’, ”, ’00-00-0000 00:00:01′, ’10’, ”, ”, ”, ‘nickname’)”; $q = $wpdb->query($query); // Do final updates upgrade_all(); ?>
User setup successful!”
Thank you for all the help!
Carmen