Jump to content


This topic is now archived and is closed to further replies.


Hello, I am New, And I have Some Q's

Recommended Posts

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]
<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>

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.

[a href=\"mailto:dowg.nate@gmail.com\"]dowg.nate@gmail.com[/a]

Share this post

Link to post
Share on other sites
Question 1:

Do you know if you webserver is PHP enabled?

If not, you don't run PHP. Period.

Share this post

Link to post
Share on other sites
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

Share this post

Link to post
Share on other sites
Back the truck up!

Let me do some 'splaining for you...


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.html
if it does not find it then

If it doesn't find one on the list, you get page not found... even if you have other files there...


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...

Share this post

Link to post
Share on other sites
[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]

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.