Web Design Forum: register.php not working! - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

register.php not working! Rate Topic: -----

#1 User is offline   apprentice 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 27
  • Joined: 06-June 09
  • Reputation: 0
  • Location:somewhere over the rainbow..
  • Experience:Beginner
  • Area of Expertise:I'm Learning

Posted 09 August 2009 - 12:06 PM

i have a simple form to register a user into mssql.
<form action="register.php" method="post">
Desired Username: <input name="Username" type="text"     value="Username" > <br>
Desired Password: <input name="Password" type="password" value="Password" > <br>
Confirm Password: <input name="Confirm" type="password" value="Password" > <br>
<input type="submit" value="Register"><br>
</form>

but when it runs "register.php" the browser just shows me "register.php" the code.

Is there anyway to solve this?
0

#2 User is offline   Thomas Thomassen 

  • HTTP 503
  • PipPipPipPipPip
  • Group: Members
  • Posts: 2,254
  • Joined: 30-April 07
  • Reputation: 10
  • Gender:Male
  • Location:Trondheim, Norway
  • Experience:Advanced
  • Area of Expertise:Designer/Coder

Posted 09 August 2009 - 12:15 PM

Sounds like you don't have PHP enabled on your server.
0

#3 User is offline   apprentice 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 27
  • Joined: 06-June 09
  • Reputation: 0
  • Location:somewhere over the rainbow..
  • Experience:Beginner
  • Area of Expertise:I'm Learning

Posted 09 August 2009 - 12:17 PM

how do i do that?
0

#4 User is offline   Thomas Thomassen 

  • HTTP 503
  • PipPipPipPipPip
  • Group: Members
  • Posts: 2,254
  • Joined: 30-April 07
  • Reputation: 10
  • Gender:Male
  • Location:Trondheim, Norway
  • Experience:Advanced
  • Area of Expertise:Designer/Coder

Posted 09 August 2009 - 12:30 PM

You would need a host that supports it. What host do you have?
0

#5 User is offline   apprentice 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 27
  • Joined: 06-June 09
  • Reputation: 0
  • Location:somewhere over the rainbow..
  • Experience:Beginner
  • Area of Expertise:I'm Learning

Posted 09 August 2009 - 12:32 PM

I'm just opening the file from my computer "register.html".
0

#6 User is offline   Thomas Thomassen 

  • HTTP 503
  • PipPipPipPipPip
  • Group: Members
  • Posts: 2,254
  • Joined: 30-April 07
  • Reputation: 10
  • Gender:Male
  • Location:Trondheim, Norway
  • Experience:Advanced
  • Area of Expertise:Designer/Coder

Posted 09 August 2009 - 12:36 PM

To make PHP work on your local computer you would need to install PHP and a server package. The most common is the *AMP package. On Windows it's WAMP, on OSX it's MAMP, on linux LAMP. It will give you a package of Apache server, MySQL database and PHP.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users