Jump to content

How to you put the php on your site?


28rain

Recommended Posts

It depends on your server.  Apache? IIS? Using cpanel? there are 100 questions that would need to be answered. That's like asking where/how to change the oil in your car but not telling us what year/make/model/etc.. your car is.

 

Anyways, I don't think you really want to have your html files parse as php. Assuming your server even has php installed, it would be easier for you to just rename your file.

Link to comment
Share on other sites

localhost == your computer

If you want your site to be visible in the Internet, you have to

1. Upload it to remote hosting company

or

2. Turn your computer into a web server... which I'm pretty sure you both don't want and are not ready to.

Link to comment
Share on other sites

If i want to put my database on the website? So it can be accessed by the pages

 

Okay here's the bottom line: You went and setup some database locally, which doesn't really help you out at all, as far as having a database on a server, except that I suppose you can export the structure and data and import it (hopefully, if it's compatible) into the server's database.  You went and got some scripts that theoretically interact with this database, but judging from your questions, I wouldn't doubt if you just got some random script and you have no idea whether it can interact with database or not. 

 

On top of that, you went and got a host that offers some webspace for like what, $5 a year?  You are not going to be able to setup a database and run scripts on a server with a plan like that.  Quick skim of that place and it looks like they basically let you upload some static files to make a static website.  I think they might actually let you use some perl scripting if you upgrade.  I didn't look that far into it.

 

Point is, at the very least, you're going to have to get a better hosting plan.  And after that, you're going to need to make an effort to learn how everything works together, or else hire someone to do it for you.  It's not some easy 1-2-3 easy process, unless you know the environment in the first place.

 

(edited to fix some grammar)

Link to comment
Share on other sites

Actually Crayon i didnt get the web hosting, and havnt made the database, and even if i had i have made enough php for it to be a 5 minute process. Just there is verry little explanation for my query, seeing as im trying to learn from a very narrow source.

Im going to get http://www.eukhost.com/cpanel-web-hosting.php copper it should be fine, and thanks for all your help I had no idea, now i have very little lol x

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.