Computer Science Canada What is php? |
Author: | kythoon [ Sat Jun 14, 2003 11:54 am ] |
Post subject: | What is php? |
I have seen it around alot but dont really know what it is |
Author: | Homer_simpson [ Sat Jun 14, 2003 12:01 pm ] |
Post subject: | |
It's a very dynamic webpage programming language...you can even make games with php... and if u hadn't noticed this forum website is made with php as well |
Author: | kythoon [ Sat Jun 14, 2003 1:47 pm ] |
Post subject: | |
how is it different from html? |
Author: | Homer_simpson [ Sat Jun 14, 2003 2:29 pm ] |
Post subject: | |
lol... it's nothing like html... it has it's own syntax... you can declare variables have loop or if statements , u can access databases and a hell lot more... |
Author: | octopi [ Sat Jun 14, 2003 2:56 pm ] | ||||
Post subject: | |||||
Html is static. Php is dynamic. They are very different. Php can output html if you want.
which would output this:
Php can make things like simple counters, login programs, and anything to shopping carts, or as homer said games. |
Author: | PaddyLong [ Sat Jun 14, 2003 4:00 pm ] |
Post subject: | |
think of it this way.... in programming there are three main phases... input, processing, output HTML can only do the input and output phases... PHP pretty much adds the processing stage to it |
Author: | Homer_simpson [ Sat Jun 14, 2003 5:40 pm ] |
Post subject: | |
here : http://www.vtc.com/php.htm?ppc you can learn all the basics of php in less than 30 mins in these videos... and after you know the basics... http://php.net is the place to go... =) i know php pretty good so i'll help you if you need help with anything... |
Author: | kythoon [ Sat Jun 14, 2003 6:41 pm ] |
Post subject: | |
ic now thanks |
Author: | Amailer [ Sun Jun 22, 2003 2:59 pm ] |
Post subject: | !?! |
If you are into makign sites and etc...PHP IN THE BEST LANGUAGE FOR IT! Nothing else is better! |
Author: | Blade [ Sun Jun 22, 2003 4:32 pm ] | ||
Post subject: | |||
octopi wrote: Php can output html if you want.
it can be simpler than that, you dont really need the header line.. |
Author: | krishon [ Sun Jun 22, 2003 7:15 pm ] |
Post subject: | |
well u could add html and javascript together to make it dynamic...couldn't u? |
Author: | Amailer [ Sun Jun 22, 2003 7:31 pm ] | ||
Post subject: | |||
you could, but its just extra. Really not needed Now things that might be needed sometimes [[ well... everything is needed at some point ]] is like this
|
Author: | PaddyLong [ Sun Jun 22, 2003 10:37 pm ] |
Post subject: | |
krishon wrote: well u could add html and javascript together to make it dynamic...couldn't u?
you might be referring to dHTML which is just javascript and CSS used together to make dynamic stuff happen in real time. as far as making PHP dynamic... it's dynamic at the time the page is loaded... so like you could have some variable to determine whether a bit of HTML is used a main thing you notice when viewing a PHP page is that if you view the source, you don't see any PHP code...this is because any PHP code is exectuded when the page is loaded and then the HTML displayed based on what the PHP code did.... hence why it is called hypertext preprocessor |
Author: | Amailer [ Sun Jun 22, 2003 11:09 pm ] |
Post subject: | |
Well, the only problem with php is that its only for the web , BUT STILL INSTED of that, its the best one [[ i ever ]] used to make my web sites, i mean its amazing, and its so easy. |
Author: | octopi [ Thu Jun 26, 2003 10:29 pm ] |
Post subject: | |
php is not only for the web. I have it set up on my server so I can access it in something similar to a dos window. Although, you are correct, it is AIM'ed mainly for web development usages. |
Author: | PaddyLong [ Fri Jun 27, 2003 12:00 pm ] |
Post subject: | |
yeah, I also have it running on a local webserver... I use it mostly for like writing website with it before I upload them... I also use it for writing little programs, usually like file management ones (like mass renaming or creating lists or whatever) |