Forum Statistics

  • Forum Members: 2,694
  • Total Threads: 3,046
  • Total Posts: 13
There are 1 users currently browsing forums.
Reply
Old 05-30-2007, 10:50 AM   #1 (permalink)
 
Status: On a mission
Join Date: May 2007
Location: Bay Area
Posts: 42

Rep Power: 16 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?
Flubb10 is offline Add Infraction for Flubb10   Reply With Quote
Old 06-15-2007, 11:12 PM   #2 (permalink)
 
TonyB's Avatar
 
Status: FG know it all
Join Date: Mar 2007
Posts: 128

Rep Power: 25 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.
TonyB is offline Add Infraction for TonyB   Reply With Quote
Old 10-10-2007, 12:18 PM   #3 (permalink)
 
Status: Newbie
Join Date: Oct 2007
Location: Swindon, UK
Posts: 23

Rep Power: 12 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.
__________________
Honest, Personal UK Webhosting
Get 25% of ANY shared package for life ~ Promo: freelancegossip
.::XDnet.co.uk::.
dansgalaxy is offline Add Infraction for dansgalaxy   Reply With Quote
Old 01-20-2008, 04:41 PM   #4 (permalink)
 
TonyB's Avatar
 
Status: FG know it all
Join Date: Mar 2007
Posts: 128

Rep Power: 25 TonyB is on a distinguished road



Default

really, i didn't know it went off calcualtions.
TonyB is offline Add Infraction for TonyB   Reply With Quote
Old 01-21-2008, 03:22 AM   #5 (permalink)
 
Status: Newbie
Join Date: Oct 2007
Location: Swindon, UK
Posts: 23

Rep Power: 12 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
__________________
Honest, Personal UK Webhosting
Get 25% of ANY shared package for life ~ Promo: freelancegossip
.::XDnet.co.uk::.
dansgalaxy is offline Add Infraction for dansgalaxy   Reply With Quote
Old 02-05-2008, 11:28 PM   #6 (permalink)
 
Chainsawkitten's Avatar
 
Status: Newbie
Join Date: Jan 2008
Location: Sweden
Posts: 8

Rep Power: 9 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?
Chainsawkitten is offline Add Infraction for Chainsawkitten   Reply With Quote
Old 06-05-2008, 06:01 PM   #7 (permalink)
Sarahlee
 
Status: Guest
Posts: n/a



Default

Good question.

Php is so much more advanced than HTML. HTML is for those who are just starting out in coding websites....PHP is for advanced users. I'm not at all really familiar with PHP very much but in this forum, I figure some things out just by lookin at the code
  Edit/Delete Message Reply With Quote
Old 06-07-2008, 03:57 PM   #8 (permalink)
 
RandyC's Avatar
 
Status: FG Secondary Admin
Join Date: Sep 2007
Location: The Closet
Posts: 131

Rep Power: 10 RandyC is on a distinguished road

Send a message via MSN to RandyC


Default

I can code PHP however I rarely ever use it anymore I have moved to using java, javascript, and other web coding formats. PHP is more cleaner and simple then all the others however there are too many ways to hack it and get into it, that the creators need to fix and quickly. PHP is basically what makes the internet run now adays. almost every website you visit uses PHP weather it is a simple include function or something as complex as an internet content management system/forum.
__________________
Logic Depths Network Homepage
RandyC is offline   Reply With Quote
Old 06-10-2008, 03:53 AM   #9 (permalink)
 
Status: Newbie
Join Date: Oct 2007
Location: Swindon, UK
Posts: 23

Rep Power: 12 dansgalaxy is on a distinguished road

Send a message via MSN to dansgalaxy Send a message via Yahoo to dansgalaxy


Default

Quote:
Originally Posted by Chainsawkitten View Post
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?
I did say it was a very simple example, of course it can be used for much much more, i personally have great fun with it

Love helping people out, especially when the services are paid ;)

Dan :-)
__________________
Honest, Personal UK Webhosting
Get 25% of ANY shared package for life ~ Promo: freelancegossip
.::XDnet.co.uk::.
dansgalaxy is offline Add Infraction for dansgalaxy   Reply With Quote
Old 06-10-2008, 07:26 PM   #10 (permalink)
 
Status: Super Moderator
Join Date: Jun 2008
Location: PH
Posts: 88

Rep Power: 16 web_doctor is on a distinguished road



Default

PHP is one of the great web programming language we can use on the internet, its codes are pretty simple. you can learn them in php.net.

A lot of tutorials for a beginner programmers.
web_doctor is offline   Reply With Quote


Reply

Bookmarks

Tags
None


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

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


Search Engine Optimization by vBSEO 3.5.0 RC2