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 04-25-2012, 10:26 AM
theseller theseller is offline
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 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

  #63  
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
  #64  
Old 05-08-2012, 11:12 AM
primalhost primalhost is offline
Newbie
 
Join Date: Apr 2012
Posts: 9
Great topic for the learners

  #65  
Old 05-18-2012, 11:39 AM
Godzkiller Godzkiller is offline
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 06-08-2012, 02:21 PM
wardpeet wardpeet is offline
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 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.

  #68  
Old 06-27-2012, 09:07 AM
Juvani Marco Juvani Marco is offline
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 08-15-2012, 02:11 PM
RokaHost RokaHost is offline
Newbie
 
Join Date: Jul 2012
Posts: 15
this will help beginner to start and they can continue with w3schools too

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

  #71  
Old 10-10-2012, 07:37 PM
melodys melodys is offline
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 10-16-2012, 08:02 PM
Seb_A Seb_A is offline
Newbie
 
Join Date: Sep 2012
Location: Frankfurt
Posts: 22
Pretty nice topic for beginners.

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

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

  #75  
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?

Reply

Related posts from TheWhir.com
Title Type Date Posted
Web.com Acquires UK Online Business Directory Scoot Web Hosting News 2014-08-01 07:28:40
Web.com Hits Halifax as Part of Small Business Summit Series Web Hosting News 2014-07-01 11:04:29
Poor Website Performance Influences Online Purchasing Decisions: PEER 1 Study Web Hosting News 2013-12-17 14:43:39
6Scan Sees Surge of Malicious Attempts During WordPress Attack Web Hosting News 2013-04-18 18:36:19
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
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

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?