I'm having a little trouble understanding the whole concept of PHP. I know that it's used in "server-sided" programming, but does it have to be on a server?
what I'm saying is, do you have to have your html page on a server that can recognize PHP, or can i.e execute it.
I know a lot of code in php and how to use it, the problem is i dont know how to get i.e to execute my php script. Like I'll have some script in the html page but nothing will happen. Do I need to put the script in a file: file.php, and just call it throught the form action="" or what?
I have a book, but it doesn't really go into to much detail about what you need to run php script, just the syntax and other stuff like that.
Yes, the file must be on a server running a php-aware web server. Apache, for example, has a plugin to interpret php.
The server interprets the php in order to send the resulting HTML page to the browser. Without the server to interpret the php, the file is delivered to the browser as is. [ October 24, 2007: Message edited by: Bear Bibeault ]