PHP what for?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
offtheroad
Forum Newbie
Posts: 1
Joined: Sun Mar 15, 2009 8:27 am

PHP what for?

Post by offtheroad »

I know nothing about php and have a very nice Photography template I am working on. It also has xml and I am learning that. What is the purpose of php? I had a person helping me with it and he loaded the php and other stuff in my server. I lost contact with him. I looked at the php in the server and same php file on my desktop that hasen't been touched and couldn't see any difference. Thank You
Jim
User avatar
omniuni
Forum Regular
Posts: 738
Joined: Tue Jul 15, 2008 10:50 pm
Location: Carolina, USA

Re: PHP what for?

Post by omniuni »

Hi, Jim.

PHP is a scripting language. In other words, it's a programming language that is "read" by the computer, which then follows directions, and gives you the result.

The PHP files themselves should not change. What SHOULD change, if anything, is the content that the PHP is reading from.

PHP is used to make dynamic web sites, so that let's say you have a directory full of JPEG images. PHP can automatically create a thumbnail for each image, and add a thumbnail with a link on your website.

Does this help?
Post Reply