Page 1 of 1
PHP what for?
Posted: Sun Mar 15, 2009 8:32 am
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
Re: PHP what for?
Posted: Mon Mar 16, 2009 12:39 am
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?