Jump to content
  • Advertisement
Sign in to follow this  
elijahtheworm

PHP question...

This topic is 3783 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

If I'm writing PHP for a MySQL server... Do I write the code directly into the server Command Line? Or do I write it on something like notepad and import it?

Share this post


Link to post
Share on other sites
Advertisement
You write in a word proccessor, such as Notpad, save it with a .php extension, upload to your site, and whenever someone accesses it, the server will automaticly parse it.

Share this post


Link to post
Share on other sites
download the apache web server, there are TONS of tutorials on how to set the two up together.

they're part of the free system LAMP (Linux, Apache, mySQL and PHP)

apache basicly turns your computer into a web server, also is you're using windows there's... ISS? i think thats what it's called, its the microsoft web server

Share this post


Link to post
Share on other sites
Quote:
Original post by godsenddeath
they're part of the free system LAMP (Linux, Apache, mySQL and PHP)

apache basicly turns your computer into a web server, also is you're using windows there's... ISS? i think thats what it's called, its the microsoft web server


Or WAMP (Windows, Apache, mySQL and PHP)...

I use a WAMP-style setup and home and it's great. Screw ISS ;)


After getting Apache installed (and getting it to play nice with mod_PHP5), you just save your page to the web-server's directory (something like C:\program files\Apache Group\Apache2\htdocs) and open up your browser and can view your PHP pages by typing in something like: http://localhost/mytestpage.php

[EDIT] If you don't like the idea of installing Apache/PHP/MySQL yourself (and configuring them to all work together), then google should be able to locate you an all-in-one installer, such as this one.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!