No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
7 Posted Topics
Or use the below code to send them to a new page that says whatever you want: [CODE]<? header("Location: file.php"); ?> [/CODE]
[CODE]$wordpress_user_db_query = mysql_query("INSERT INTO cedsite_wrdp1.wp_users (`user_login`, `user_pass`, `user_nicename`, `user_email`, `user_url`, `user_registered`, `user_activation_key`, `user_status`, `display_name`) VALUES ('".$username."', '".md5($pass)."', '".$username."', '".$email."', '', '".$date."', '', 0, '".$username."');");[/CODE] Using PHP I am trying to do that, but it isn't working. Can someone help?
Here's a snippet of my code: [CODE]<? include("include/session.php"); //include("forum/global.php"); $con = mysql_connect($dbhost,$dbuser,$dbpass); $time = time(); $date = date("Y-n-j H:i:s"); $ip = $_SERVER['REMOTE_ADDR']; $email = $_POST['email']; $lastname = ucwords($_POST['lastname']); $firstname = ucwords($_POST['firstname']); $firstinitial = $firstname[0]; $username = $firstinitial."_".$lastname; $pass = $_POST['password']; // MYBB function generate_salt() { return random_str(8); } function salt_password($password, …
[CODE]$wordpress_user_db_query = mysql_query("INSERT INTO cedsite_wrdp1.wp_users (`user_login`, `user_pass`, `user_nicename`, `user_email`, `user_url`, `user_registered`, `user_activation_key`, `user_status`, `display_name`) VALUES ('".$username."', '".md5($pass)."', '".$username."', '".$email."', '', '".$date."', '', 0, '".$username."');");[/CODE] Using PHP I am trying to do that, but it isn't working. Can someone help?
The cause of the problem (don't yell at me - I know it was stupid): I was restarting Windows (for a update, I think) and it was on the "Shutting Down..." screen for about 30 minutes so I just got annoyed and unplugged it and took out the battery. Right …
I have a Compaq Presario F700 and when I try to turn it on, the power light comes on for a second (I hear the fan), but then shuts off again. The cause is most likely that I was restarting my computer for a Firefox update to take effect, but …
I have an AJAX chat that I am trying to edit. Originally, the users are stored in a php file. I'm trying to make it get users from a database. Here's the original users.php file: [url]http://pastebin.com/mgbQjHyK[/url] Here's what I've tried: [url]http://pastebin.com/kXgVLuyG[/url] Can someone tell me what I'm doing wrong? [hr] …
The End.
Danny247