Login | Register | FAQ
Anonymous

Sign up information

+ Post a reply

8 posts Page 1 of 1


Sign up information

by bryce12345 » Wed May 09, 2012 8:10 am

I am creating a website which people can create a account but how do i make a page where people can select their date of birth and the country they live in from drop boxes and create a username and password and then the site adds that username so they can log in with that name and password
User avatar

bryce12345

  • Posts: 10
  • Joined: Sun May 06, 2012 12:09 pm

Re: Sign up information

by XainPro » Thu May 10, 2012 6:26 pm

its called User Management System you can create /design/code your own
by following these simple to the point tutorials
http://net.tutsplus.com/tutorials/php/user-membership-with-php/
User avatar

XainPro

  • Posts: 3536
  • Joined: Fri Feb 17, 2012 8:10 pm

Re: Sign up information

by bryce12345 » Sat May 12, 2012 10:26 am

that tutorial on that website doesn't seem to work is there another one you know by any chance?
User avatar

bryce12345

  • Posts: 10
  • Joined: Sun May 06, 2012 12:09 pm

Re: Sign up information

by XainPro » Sat May 12, 2012 10:57 am

ok try this 1

http://evolt.org/node/60384
User avatar

XainPro

  • Posts: 3536
  • Joined: Fri Feb 17, 2012 8:10 pm

Re: Sign up information

by bryce12345 » Sun May 13, 2012 12:10 am

i follow the tutorial but it keeps showing all the php code and i dont know why i have made a database on phpmyadmin and typed in the mysql hostname and password but it still wont work. Does anyone know why it wont work?
User avatar

bryce12345

  • Posts: 10
  • Joined: Sun May 06, 2012 12:09 pm

Re: Sign up information

by XainPro » Sun May 13, 2012 9:48 am

write simple php code hello world and check is it work
Code: Select all
<?php
echo "Hello World";
?>


if this work then your php is working but if this also show php code then your php is not configured properly.
then you should reinstall your xampp package for xampp installation help you can visit
html.net tutorials on
http://www.html.net/tutorials/php/lesson2b.php
User avatar

XainPro

  • Posts: 3536
  • Joined: Fri Feb 17, 2012 8:10 pm

Re: Sign up information

by bryce12345 » Mon May 14, 2012 2:29 am

when i try to run my register.php it comes up with the following:

Warning: mysql_connect() [function.mysql-connect]: Host 'CPE-58-164-166-153.lnse4.woo.bigpond.net.au' is not allowed to connect to this MySQL server in C:\xampp\htdocs\TheBubble\database.php on line 6
Host 'CPE-58-164-166-153.lnse4.woo.bigpond.net.au' is not allowed to connect to this MySQL server

how can i fix it?
User avatar

bryce12345

  • Posts: 10
  • Joined: Sun May 06, 2012 12:09 pm

Re: Sign up information

by XainPro » Mon May 14, 2012 5:51 am

well you are trying to connect from local to remote mysql server.
By default its not allowed to connect from local computer's apache and php to remote mysql server but you can enable this option by using control panel of your remote domain.
Which is not recommended you should use local host instead of
remote
[quote="bryce12345"]when i try to run my register.php it comes up with the following:
replacing the host
CPE-58-164-166-153.lnse4.woo.bigpond.net.au
by
localhost will do the job.

I hope you understand what i am talking about.
XainPro
User avatar

XainPro

  • Posts: 3536
  • Joined: Fri Feb 17, 2012 8:10 pm


+ Post a reply

Page 1 of 1