View Full Version : Simple Question -Not So Simple Answer


PandaRoo82
06-11-2006, 04:16 AM
Hey There! Thanks for taking time to try to answer my question...

Well, Im not sure that you know:confused:, but there are some sites that use .php files to make many layouts (for thier site). The thing is I would like to get this code and I don't know where to get it or how to get (yes, I have googled it). Oh, and Im not very familiar with php or .php files.

One of the sites that does or use this php code to have various layouts, is my favorite site, broken-beautiful.net (http://broken-beautiful.net/)...

If you know any info that would help me with this I would greatly appreciate it... Thanks for taking your time to read this..

~PandaRoo82 [pandaroo eighty-two]

J to the izzosh
06-11-2006, 04:34 AM
Files with the .php extension aren't really special files per se, they're just regular text documents. What's special about them is how they can be interpreted. PHP is a server-side scripting language, meaning that it is a language used to tell a web server (if that server has a PHP module installed) how to output data and what data to output. PHP is unique in that the text files that contain PHP code delimit that code with special tags. Anything outside of those tags is just output as regular text. This makes it very easy to embed into regular HTML and also makes PHP an ideal language for web-based applications.

If you're interested in learning PHP, you should prepare yourself for learning a (more or less) fully featured object oriented programming language. You can find extensive documentation at www.php.net, maintained by the people who write and otherwise contribute to PHP. In fact, you can begin the manual here (http://www.php.net/manual/en/introduction.php) and get a general understanding of what PHP is and can do. There are also many books (http://www.php.net/books.php) on the subject to aid your efforts.

Best of luck!