dowg.nate@gmail.com Posted March 11, 2006 Share Posted March 11, 2006 Okay, as the title said, I am new. I just have a couple of questions.My main purpose for PHP with be for people being able to sign up for accounts on my website.I am using www.addyour.net as a server. And [a href=\"http://www.freewebs.com\" target=\"_blank\"]www.freewebs.com[/a] as a web host. I see some sites sometimes end with .php. How do I make this happen, or do I need to.With the server I am using, I am unsure about how to enable my pages on the server. (Mine is [a href=\"http://www.wettire.itsmyland.com\" target=\"_blank\"]www.wettire.itsmyland.com[/a]) What I am trying to figure out, how do I get the php codes to go to that certian page with the php codes on it. [b][u]For Example[/u][/b]<html><head><title>Login</title></head><body><h1>Please log in below:</h1><p><form action="login.php" method="post">Username: <input type="text" name="user" size="20"><br />Password: <input type="password" name="pass" size="20"></form></p></body></html>How do I get login.php to go to that certian page. Is it as easy as putting in the website URL?I was also confused on what pages of to be of php format. And for [a href=\"http://www.freewebs.com\" target=\"_blank\"]freewebs.com[/a], how do I make those pages .php.Thank-you--Nate[a href=\"mailto:dowg.nate@gmail.com\"]dowg.nate@gmail.com[/a] Quote Link to comment Share on other sites More sharing options...
AV1611 Posted March 11, 2006 Share Posted March 11, 2006 Question 1:Do you know if you webserver is PHP enabled?If not, you don't run PHP. Period. Quote Link to comment Share on other sites More sharing options...
.-INSANE-. Posted March 11, 2006 Share Posted March 11, 2006 and if your server can run PHP then you ok and i dont really understand you question but what i think you want is where do u put the login script well all you need to do is search on this site and youll find it trust me Quote Link to comment Share on other sites More sharing options...
dowg.nate@gmail.com Posted March 11, 2006 Author Share Posted March 11, 2006 What file do I put my pages in. eg = Shell, HTML, Text?And 1 more question, how do I know that my page is a php? such as www.example.com/join/php Quote Link to comment Share on other sites More sharing options...
AV1611 Posted March 11, 2006 Share Posted March 11, 2006 Whoa! Back the truck up!Let me do some 'splaining for you...First, Your webserver should have a default document name that it will display automatically whenever someone goes to your site... Actually, usually several name.For example,my server looks for index.htmlif it does not find it thenindex.phpthenwhatever....If it doesn't find one on the list, you get page not found... even if you have other files there...So...You need to find out what your default doc name/names are...Then, if it's not a PHP name, and you wish to run PHP (assuming you're on a PHP enabled server), then you will have to forward the user to your .PHP page.Now you are ready to start building your script... Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted March 11, 2006 Share Posted March 11, 2006 [b]Wants to Learn [/b]are you hosted at freewebs.com? If you are then you cannot use php as it not available to you quotef from freewebs.com's FAQ's:[quote]What about MySQL, MSACCESS, and PHP?Unfortunately, Freewebs does not offer these functions.[/quote] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.