#1 (permalink)  
Old 05-30-2007, 10:50 AM
Flubb10 Flubb10 is offline
New In Town
 
Join Date: May 2007
Location: Bay Area
Posts: 42
iTrader: (0)
Flubb10 is on a distinguished road
Default Php

So I've noticed that there are a lot of pages that end in php. What exactly is php and how do I use it. What are the advantages of using this instead of another language? And where do I learn more about this?
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-15-2007, 11:12 PM
TonyB's Avatar
TonyB TonyB is offline
I'm known by many
 
Join Date: Mar 2007
Posts: 115
iTrader: (0)
TonyB is on a distinguished road
Default

more and more people are coding in php instead of other codes. it's a lot cleaner code than others out there which helps rankings for the search engines.
Reply With Quote
  #3 (permalink)  
Old 10-10-2007, 12:18 PM
dansgalaxy dansgalaxy is offline
New In Town
 
Join Date: Oct 2007
Location: Swindon, UK
Posts: 19
iTrader: (0)
dansgalaxy is on a distinguished road
Send a message via MSN to dansgalaxy Send a message via Yahoo to dansgalaxy
Default

PHP which means Php - Hypertext - Preprocessor

is a server side language and can actually THINK do calculations and a hell of alot more.
__________________
I'm Admin on: MusicMuscle | WowCheaters
Owner: Swindon Recyclers
Reply With Quote
  #4 (permalink)  
Old 01-20-2008, 03:41 PM
TonyB's Avatar
TonyB TonyB is offline
I'm known by many
 
Join Date: Mar 2007
Posts: 115
iTrader: (0)
TonyB is on a distinguished road
Default

really, i didn't know it went off calcualtions.
Reply With Quote
  #5 (permalink)  
Old 01-21-2008, 02:22 AM
dansgalaxy dansgalaxy is offline
New In Town
 
Join Date: Oct 2007
Location: Swindon, UK
Posts: 19
iTrader: (0)
dansgalaxy is on a distinguished road
Send a message via MSN to dansgalaxy Send a message via Yahoo to dansgalaxy
Default

*roll eyes*

Lol,

Okay in html/CSS you cant do simple things like:

1+1=2 and have it work it out

but in php you can do something like:

$total = 1+1;

echo $total (will show 2)

and thats the simple stuff...

HTML/CSS/XHTML is ONLY a display/Markup lanagage which controls the look at layout, all the server does to a html file is simple send it to the browser.

if the server reconises it as PHP it will put it through the PHP parser which works it all out and if you like it creates the final set of html and THEN apache sends it to the browser...

:D
__________________
I'm Admin on: MusicMuscle | WowCheaters
Owner: Swindon Recyclers
Reply With Quote
  #6 (permalink)  
Old 02-05-2008, 10:28 PM
Chainsawkitten's Avatar
Chainsawkitten Chainsawkitten is offline
New In Town
 
Join Date: Jan 2008
Location: Sweden
Posts: 9
iTrader: (0)
Chainsawkitten is on a distinguished road
Send a message via MSN to Chainsawkitten
Default

Actually, it doesn't wait until all the code has been finished. It sends html every time you use echo.

Then why should we use PHP to echo the answer of 1+1 instead of just writing 2 in a html file? The answer is that that was just a simple example. PHP can do much more advanced stuff like getting things from databases etc. This forum is coded in PHP which allows the users to create and answer in different threads. How would you let the user create a thread in pure html?
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 05:08 PM.
vBSkinworks


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd. © FreelanceGossip.com