954,173 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Saving Code in PHP

PHP Saving

I just bought a book to learn PHP/My SQL.

It does not thoroughly explain how to install PHP an SQL
on my server( However I did use the accompanying cd
to start download of files).

My problem is , after I write source code in notepad
and save it as PHP extension, it does not bring up a webpage.
I only see original source code.

Any hint as to what problem might be? Right now
I save the file in a directory on c: drive.

Any help would be appreciated :D

BeyerCorpuz
Newbie Poster
10 posts since Aug 2004
Reputation Points: 10
Solved Threads: 0
 

Have you installed a web server like Apache yet? You need one to be able to translate your code using the PHP engine. The PHP engine doesn't directly translates your code; but instead it goes through a web server such as Apache (free) - find it on Google :)

Gary King
PHP/vBulletin Guru
Team Colleague
417 posts since Nov 2003
Reputation Points: 53
Solved Threads: 5
 

Erm by the way, which book do you have? It might have a thing or two about Apache already.

Gary King
PHP/vBulletin Guru
Team Colleague
417 posts since Nov 2003
Reputation Points: 53
Solved Threads: 5
 

If you are using windows, you can use the IIS to run your scripts.
You can also upload it to some free servers to try with. Save your time and you can always find solution from web hosting's FAQs or knowledgebase!

zippee
Posting Whiz in Training
294 posts since Jan 2005
Reputation Points: 10
Solved Threads: 7
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You