Save that as anything you want with a .php extension, and upload it to your webserver. If you see a page displaying information about PHP, then you do. You should know when you sign up for a webhost if they have PHP or not. Chances are, if they're a serious webhosting company, you will have PHP installed.
You can make a file with a .php extension containing the following code: [code=php]<?php phpinfo(); ?> [/code]When you go to that page, if you see a long page full of tables of information, you have php, otherwise you don't.
You most likely don't already have it on your own computer, so you can install [url=http://www.apachefriends.org/en/xampp.html]XAMPP[/url], which will give you a server, php, mysql, and other related applications for using PHP files.
@balloonbuffoonAug 16.2006 — #Yeah, what Scaught said! Sorry about the duplicate info, but as you can see, its the best way to find out if you have php if we're both suggesting it!
@JavaKid93authorAug 16.2006 — #well now on my other comp, its making it so it show as Microsoft Picture it 2001 i saved it to info.php with that code on it and came up with picture it program
@balloonbuffoonAug 16.2006 — #well now on my other comp, its making it so it show as Microsoft Picture it 2001 i saved it to info.php with that code on it and came up with picture it program[/QUOTE] I can't understand a word you're saying. :rolleyes:
@bruisrAug 16.2006 — #you need to take the file that has the <?php phpinfo(); ?> code in it, upload it to your server, then navigate to that page. If you see a lot of text information about PHP, then your server supports it. If you are seeing something about Microsoft Picture It 2001, then you are on an old computer and using windows, and i'd suggest getting a new computer without windows.
You actually don't have PHP on your computer, it's on the server that you are using. Depending on the host for your server depends on if you can use PHP on it. Otherwise you need to download a db server to your computer. The one you need can be found at http://mysql.com/. Set up that server, and go to http://www.php.net and get the latest version of PHP and set it up with you mysql server. From there you can start using a text editor or a web developing software like Dreamweaver, to help you write the code you need and what not.
If you want a great host that has PHP/MySQL support on it, and is very cheap, go to http://www.syhbo.com/host, click any of the links, and go choose the plan that fits your budget and what your needs.
@balloonbuffoonAug 16.2006 — #Of course if you want PHP on your computer, use XAMPP (the link is in a post above). It is by far the easiest way to get started!