Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


if anyone has it...

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
deleted user 111213
Grandmaster Cheater
Reputation: 0

Joined: 09 Nov 2007
Posts: 714

PostPosted: Mon Nov 10, 2008 10:31 am    Post subject: if anyone has it... Reply with quote

could someone give me the code for a decent mysql and registration page. i have searched. i have tried many other tutorials out there but none work for me. always comes up with mysql_connect errors. i cant do it. please could someone help me. if they do they get my rep tomorrow. (i already gave my rep to iagu today.)
Back to top
View user's profile Send private message
--Pillboi--
Grandmaster Cheater Supreme
Reputation: 0

Joined: 06 Mar 2007
Posts: 1383
Location: I don't understand the question. Is this a 1 to 10 thing?

PostPosted: Mon Nov 10, 2008 10:54 am    Post subject: Reply with quote

You need to set up the mysql. Wink
_________________

Enter darkness, leave the light, Here be nightmare, here be fright...
Earth and Water, Fire and Air. Prepare to meet a creature rare.
Enter now if you dare, Enter now the dragon's lair.
Back to top
View user's profile Send private message
deleted user 111213
Grandmaster Cheater
Reputation: 0

Joined: 09 Nov 2007
Posts: 714

PostPosted: Mon Nov 10, 2008 11:00 am    Post subject: Reply with quote

i do have a mysql database on my website.
Back to top
View user's profile Send private message
sloppy
Expert Cheater
Reputation: 0

Joined: 17 Aug 2008
Posts: 123

PostPosted: Mon Nov 10, 2008 1:45 pm    Post subject: Reply with quote

The code you've been using isn't the problem.. it all boils down to providing the correct mysql_connect() details. Who is hosting your website/database? Did you bother to email their support and ask for help?
Back to top
View user's profile Send private message
deleted user 111213
Grandmaster Cheater
Reputation: 0

Joined: 09 Nov 2007
Posts: 714

PostPosted: Mon Nov 10, 2008 2:27 pm    Post subject: Reply with quote

the hosting is freetzi.com. my mysql database is 115886, i emailed them and no response.
Back to top
View user's profile Send private message
sloppy
Expert Cheater
Reputation: 0

Joined: 17 Aug 2008
Posts: 123

PostPosted: Mon Nov 10, 2008 4:43 pm    Post subject: Reply with quote

I created an account and after a bit of mucking around it seems to work fine. Firstly make sure you've done this,
Quote:
Enable your MySQL DataBase via Account Manager ---> use 'Create DB' button.

ATTENTION!!! MySQL password is equal with account password. If you change your account password, don't forget to update configuration file for your php script as mysql password will be changed too.

The following page will look something like this,
Quote:
The MySQL database has been successfully created for your account.

MySQL DataBase name: 101011
MySQL DataBase login username: 101011
MySQL DataBase login password: The same as for FTP and account manager
MySQL DataBase hostname: localhost

Use those details for your connection,
Code:
$dbhost = 'localhost';
$dbuser = '101011';
$dbpass = 'mypass';

$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql');

$dbname = '101011';
mysql_select_db($dbname);

In your case, replace '101011' with '115886' and 'mypass' with your account password. You should be able to get your registration pages working correctly if you update those values.
Back to top
View user's profile Send private message
deleted user 111213
Grandmaster Cheater
Reputation: 0

Joined: 09 Nov 2007
Posts: 714

PostPosted: Tue Nov 11, 2008 1:47 am    Post subject: Reply with quote

fair enough. thanks. i +rep u.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites