hosted by liquidweb


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

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
  #61  
Old
Newbie
 
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
  #62  
Old
New Member
 
Join Date: Apr 2010
Location: USA
Posts: 1
Thank you for good topic

  #63  
Old
New Member
 
Join Date: May 2012
Posts: 0
Good short, tutorial, good for new people wanting to learn PHP.

Sponsored Links
  #64  
Old
Newbie
 
Join Date: Apr 2012
Posts: 9
Great topic for the learners

  #65  
Old
Newbie
 
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.

  #66  
Old
Junior Guru Wannabe
 
Join Date: Aug 2010
Location: Belgium
Posts: 45
Quote:
Originally Posted by horizon View Post
Nice block from SNC. However, I'd state this line:

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

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)

Quote:
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.

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

Code:
<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.

  #67  
Old
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.

  #68  
Old
Newbie
 
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?

  #69  
Old
Newbie
 
Join Date: Jul 2012
Posts: 15
this will help beginner to start and they can continue with w3schools too

  #70  
Old
Newbie
 
Join Date: Sep 2012
Posts: 25
Nice topic. Definately going to get some use of it later.

  #71  
Old
Disabled
 
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.

  #72  
Old
Newbie
 
Join Date: Sep 2012
Location: Frankfurt
Posts: 22
Pretty nice topic for beginners.

  #73  
Old
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.

  #74  
Old
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
http[://]phpden.blogspot.in/2012/09/php-basic-syntax.html

  #75  
Old
New Member
 
Join Date: Jan 2013
Posts: 2
Nice, great PHP tutorial for beginners. Do you intend to create more parts of this tutorial?

Reply

Related posts from TheWhir.com
Title Type Date Posted
SolidFire Raises $82 Million in Series D Funding Web Hosting News 2014-10-07 11:44:29
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
Web.com 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


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
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
WHT Host Brief Email:

We respect your privacy. We will never sell, rent, or give away your address to any outside party, ever.

Advertisement:
Web Hosting News:
WHT Membership
WHT Membership



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com 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?