hosted by liquidweb

Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Hosting Talk Tutorials : Programming Tutorials : Basics Of PHP

Forum Jump

Basics Of PHP

Reply Post New Thread In Programming Tutorials Subscription
Send news tip View All Posts Thread Tools Search this Thread Display Modes
Old 04-25-2012, 10:26 AM
theseller theseller is offline
Join Date: Apr 2010
Posts: 9
You guys need to buy a book. PHP is really a good language to study as the first language you want to learn.

Sponsored Links
Old 05-02-2012, 12:17 AM
Scalweb Scalweb is offline
New Member
Join Date: Apr 2010
Location: USA
Posts: 1
Thank you for good topic

Old 05-05-2012, 04:50 PM
Mr Lover Mr Lover is offline
New Member
Join Date: May 2012
Posts: 0
Good short, tutorial, good for new people wanting to learn PHP.

Sponsored Links
Old 05-08-2012, 11:12 AM
primalhost primalhost is offline
Join Date: Apr 2012
Posts: 9
Great topic for the learners

Old 05-18-2012, 11:39 AM
Godzkiller Godzkiller is offline
Join Date: Jan 2012
Posts: 10
Nice man. I'm going to have to get more in-depth into this stuff next year of college. Will be good to have a head start with these types of tutorials.

Old 06-08-2012, 02:21 PM
wardpeet wardpeet is offline
Junior Guru Wannabe
Join Date: Aug 2010
Location: Belgium
Posts: 45
Originally Posted by horizon View Post
Nice block from SNC. However, I'd state this line:

PHP Code:
$ip getenv("REMOTE_ADDR"); 

PHP Code:
$ip = (isset($_SERVER['REMOTE_ADDR'])) ? $_SERVER['REMOTE_ADDR'] : getenv("REMOTE_ADDR"); 
You can just do $_SERVER['REMOTE_ADDR'];
isset and getenv will only slow it down, $_SERVER and getenv do just the same, the only difference is that you can do getenv('remote_addr') but function call is slower than array call (#micro optimization)

Originally Posted by risoknop View Post
First of all, I suggest abiding to some coding standards and/or best practices, one line condition statements for example aren't recommended.

Secondly, you should use enctype attribute with HTML forms for security reasons, for instance:

<form enctype="application/x-www-form-urlencoded" method="post" action="/controller/action">
This is false as well, this enctype is default one so you don't have to specify it only if you need something different. The less text in your html the smaller so faster.

Old 06-26-2012, 08:52 AM
superhostsolutions superhostsolutions is offline
Aspiring Evangelist
Join Date: Mar 2012
Posts: 415
Yes, I am agree too. Phpmanual gives all the details along with the exact syntax and needed options for each function so if we study it well there is no need of ebooks.

Old 06-27-2012, 09:07 AM
Juvani Marco Juvani Marco is offline
Join Date: Mar 2012
Posts: 9
Thats pretty basics of PHP, can you point us to place to learn better about all functions and how to use it in PHP?

Old 08-15-2012, 02:11 PM
RokaHost RokaHost is offline
Join Date: Jul 2012
Posts: 15
this will help beginner to start and they can continue with w3schools too

Old 09-20-2012, 04:08 AM
Knoss Knoss is offline
Join Date: Sep 2012
Posts: 25
Nice topic. Definately going to get some use of it later.

Old 10-10-2012, 07:37 PM
melodys melodys is offline
Join Date: Oct 2012
Posts: 21
Great tutorial you have posted and some very knowledgeable replies to go with it. Even if you know PHP, it is still nice to refresh your mind once in a while to remember everything about it. Some very good points made for sure.

Old 10-16-2012, 08:02 PM
Seb_A Seb_A is offline
Join Date: Sep 2012
Location: Frankfurt
Posts: 22
Pretty nice topic for beginners.

Old 12-18-2012, 07:01 AM
markabiyn02 markabiyn02 is offline
New Menber
Join Date: Dec 2012
Posts: 1
PHP is a powerful tool for making dynamic and interactive Web pages.
PHP is the widely-used, free, and efficient alternative to competitors such as Microsoft's ASP.

Old 12-19-2012, 10:14 AM
penna obulesu penna obulesu is offline
New Member
Join Date: Dec 2012
Posts: 1
Thumbs up basics of php tutorial

for best learning of php basics u can see this blog

Old 01-31-2013, 11:59 AM
Mosiro Mosiro is offline
New Member
Join Date: Jan 2013
Posts: 2
Nice, great PHP tutorial for beginners. Do you intend to create more parts of this tutorial?


Related posts from
Title Type Date Posted
Ecommerce Software Provider PrestaShop Expands eBay Partnership in Europe Web Hosting News 2014-09-04 14:09:01
Ecwid Goes Back to Basics with New Ecommerce Starter Site Web Hosting News 2014-08-25 11:44:07 Acquires UK Online Business Directory Scoot Web Hosting News 2014-08-01 07:28:40
Poor Website Performance Influences Online Purchasing Decisions: PEER 1 Study Web Hosting News 2013-12-17 14:43:39
Joomla Hosting Study Shows Speed, Uptime Top Selling Points of a Web Host Web Hosting News 2012-11-07 15:06:36

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Log in with your username and password

Forgot Password?
Web Hosting News:
WHT Membership
WHT Membership



Welcome to

Create your username to jump into the discussion! is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.

(4 digit year)

Already a member?