![]() | | ||||||||
| | #1 |
| Senior Warrior Member Join Date: May 2009
Posts: 1,128
Thanks: 17
Thanked 46 Times in 44 Posts
|
I need to learn PHP - how do I start out and what do I need?
|
| | |
| | |
| | #2 |
| Advanced Warrior War Room Member Join Date: May 2004 Location: Perth, Australia.
Posts: 717
Thanks: 4
Thanked 182 Times in 138 Posts
|
You can learn PHP programming without spending a cent. All you have to do is go down to your local local library and get a few books on PHP. Then go to http://www.apachefriends.org/en/index.html and download yourself a copy of XAMPP! This will let you setup a development platform for local testing. It will install a copy of : Apache web server, PHP, MySQL plus phpMyAdmin Using this lot, you can develop away to your hearts content. I hope this helps Bruce |
| ----------------- Get Your Backlinks indexed quicker at BackLinks2RSS Create Full Text Feeds from Partial RSS Feeds at FeedExpander.com. See the WarriorForum post about it here | |
| | |
| | #3 |
| Senior Warrior Member War Room Member Join Date: Mar 2007 Location: London, England
Posts: 3,769
Thanks: 1,005
Thanked 523 Times in 339 Posts
|
If you're a visual learner, Leigh Mac over at PHP Video Tutorials - Like to watch the video instead of reading the book? has some great free (and paid for) videos. He actually manages to make PHP entertaining! HTH, Steve |
| | |
| | |
| | #4 |
| Advanced Warrior War Room Member Join Date: Aug 2009 Location: Cardiff, United Kingdom
Posts: 772
Thanks: 171
Thanked 147 Times in 103 Posts
|
Whilst you can learn 100% for free online, I personally recommend buying a book, especially if you haven't done any scripting language before. PHP can be tricky at first and there's a lot to take in; hence why I recommend learning it via a book. |
| "If you are clear where you are going and you take several steps in that direction every day, you eventually have to get there." | |
| | |
| | #5 |
| Webweaver Join Date: Aug 2009
Posts: 119
Thanks: 4
Thanked 2 Times in 2 Posts
|
i think w3schools is also having good resources about php you should start from beginner level and move on.
|
| | |
| | |
| | #6 |
| HyperActive Warrior Join Date: Jan 2009
Posts: 196
Thanks: 7
Thanked 10 Times in 10 Posts
|
I got a book...and learned enough to be dangerous. At that point I just decided I was going to code a project & when I ran into something I didn't know how to do, I just went googling to find out. Some people just have to learn by actually doing it, and I'm one of them. Todd |
| | |
| | #7 | |
| Advanced Warrior War Room Member Join Date: Aug 2009 Location: Cardiff, United Kingdom
Posts: 772
Thanks: 171
Thanked 147 Times in 103 Posts
| Quote:
A book can teach you quite a lot, but you also need to then go out and create some basic scripts too (as some of the books do suggest, to be fair)
| |
| "If you are clear where you are going and you take several steps in that direction every day, you eventually have to get there." | ||
| | |
| | #8 |
| Ultimate Warrior Join Date: Sep 2009
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
| |
| | |
| | |
| | #9 |
| article-writer-pro.com War Room Member Join Date: Oct 2007 Location: , , United Kingdom.
Posts: 1,330
Thanks: 23
Thanked 124 Times in 106 Posts
|
I agree with Todd. Buy a couple of different books. Say a reference type book and one that has basic scripts, fuctions and tutorials. Then start from the bootom up. Once you have learnt some of the basics (a matter or hours / days) just use what you have learnt to write a couple of your own scripts. It doesn't matter what these scripts do, as long as you write them and they work. Then keep learning more. Expect some headaches along the way but when you solve a problem or find an error it's a good feeling. Make sure you have error reporting enabled. Good luck. |
| INDEX CHECKER v2.0 SOFTWARE: Probably the most accurate Google index checker available WATCH THE DEMO VIDEO TODAY PC Desktop Application - Built-In Backlink Verification Feature - Supports Proxies - Integrate Into Your Backlinks Indexer Account - Includes Proxy Scraper Software - Extremely Accurate ONLY $17 ONE-TIME FEE! | |
| | |
| | #10 |
| Warrior Member Join Date: Oct 2009 Location: Manchester, UK
Posts: 21
Thanks: 1
Thanked 2 Times in 2 Posts
|
I third Andy and Todd - books are a good starting point. I like the PHP/MySQL bible, but even the PHP for Dummies books are pretty decent. Also, the Lynda dot com training videos are really good - lots of good practice and their latest ones are all about the Object Orientated Programming. Abook or a training course is a lot more structured than reading a bunch of websites - but set up a testing server on your local machine like Bruce said as soon as possible and get started. As for websites, w3schools is a good starting point, and net dot tutsplus dot com often have well written, comprehensive tutorials. Programming PHP and MySQL is a lot of fun! Good luck! Si |
|
Create stunning InfoProducts mini-sites in under 10 minutes with our amazing FREE WordPress theme: http://www.infoproductstheme.com | |
| | |
| | #11 |
| Active Warrior War Room Member Join Date: Oct 2009
Posts: 56
Thanks: 31
Thanked 5 Times in 3 Posts
|
I'd go with shaddai's approach. You learn a lot about php by actually doing it, I believe. Makes me reflect how much learning php is actually very close to learning IM, the 'learning via doing' route. Hope that helps. |
| | |
| | #12 |
| Senior Warrior Member War Room Member Join Date: Dec 2005 Location: http://QuickMinisiteBuilder.com
Posts: 2,944
Blog Entries: 26 Thanks: 265
Thanked 168 Times in 119 Posts
|
Do you have a background in Programming? Try to visit w3schools.com and buy a PHP book on the nearest bookstore on your town. After that, install XAMPP of apache friends so that you have PHP, Apache and Mysql on your PC to test what you've learned on the book.
|
| WSO: Create KILLER Websites in Minutes(Adsense,Clickbank,Amazon,Ebay) New Version - Viral WSO:[DIMESALE] Selling WSOs * WSO: [DIMESALE] 21 Days List Profit * WSO:Best Membership Script Membership Blueprint $47 (Now FREE!) * My Blog * Internet Marketing eBooks FREE Download Be My JV Partner! * Review Script * My FIVERR Gigs ($5 Buy One Take One) | |
| | |
| | #13 |
| Warrior Member Join Date: Oct 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
if you want to learn PHP,you can visit more site related put keyword PHP in search engine of google , you will get e-book and site also,,i also done this like there will be get tutorial. thanks |
| | |
| | |
| | #14 |
| Active Warrior War Room Member Join Date: Oct 2009
Posts: 88
Thanks: 8
Thanked 10 Times in 8 Posts
|
Check out the "Learning" series of books published by O'Reilly. "Learning PHP" is good and takes you step by step through the process.
|
| | |
| | #15 |
| Warrior Member Join Date: Oct 2009 Location: Nashville, TN - Costa Rica
Posts: 12
Thanks: 0
Thanked 2 Times in 2 Posts
|
the php website helped me a ton, just looking thru their examples
|
| | |
| | |
| | #16 |
| Minisite/eCover/Designer War Room Member Join Date: Jul 2009 Location: Kansas City, MO
Posts: 1,463
Thanks: 53
Thanked 233 Times in 127 Posts
| |
| | |
| | |
| | #17 |
| e.calabio Join Date: Nov 2009
Posts: 44
Thanks: 7
Thanked 1 Time in 1 Post
|
What code is used to make a visitor counter in php? I'm not sure what it's called, a counter that holds the number of all visitors who went to your website.
|
| | |
| | #18 |
| Active Warrior War Room Member Join Date: Jan 2009
Posts: 77
Thanks: 10
Thanked 5 Times in 5 Posts
|
This is the one you want: Learning PHP, MySQL, and JavaScript - O'Reilly Media Absolutely awesome guide, will get you from PHP newbie to an advanced coder in no time at all. |
| | |
| | #19 |
| HyperActive Warrior Join Date: Nov 2009 Location: Aboyne, Scotland
Posts: 125
Thanks: 5
Thanked 13 Times in 12 Posts
|
have you tried W3Schools? d |
| | |
| | #20 |
| HyperActive Warrior War Room Member Join Date: May 2006 Location: Ballarat, Victoria , Australia.
Posts: 305
Thanks: 10
Thanked 17 Times in 14 Posts
|
Three tips: 1. If you are using MySQL with your programming learn about mysql_real_escape_string() and use it on all user supplied data. See PHP Security Consortium: PHP Security Guide: Databases and SQL 2. Always encrypt passwords and generate a new password from your 'lost password' page. If passwords are encrypted then they are pretty much useless to a hacker. 3. Learn about session hijacking and session fixation. See PHP Security Consortium: PHP Security Guide: Sessions That's really only scraping the surface, but being mindful of security while you are learning will definitely help in the long term. There are plenty of good texts and tutorials on the internet that cover PHP scripts and how to make them more secure. |
|
Gary Smith PHP Developer and aging geek | |
| | |
| | #21 | |
| article-writer-pro.com War Room Member Join Date: Oct 2007 Location: , , United Kingdom.
Posts: 1,330
Thanks: 23
Thanked 124 Times in 106 Posts
| Quote:
You'd then just write a bit of php that would (at minimum) increment the count in the database and update it. With every refresh it would retrieve the current count and display it on screen. To count only unique visits you could add the users IP to another database table and query that with each refresh to check whether the users IP already exists in that table before incrementing. The possibilities are endless. | |
| INDEX CHECKER v2.0 SOFTWARE: Probably the most accurate Google index checker available WATCH THE DEMO VIDEO TODAY PC Desktop Application - Built-In Backlink Verification Feature - Supports Proxies - Integrate Into Your Backlinks Indexer Account - Includes Proxy Scraper Software - Extremely Accurate ONLY $17 ONE-TIME FEE! | ||
| | |
| | #22 |
| Active Warrior War Room Member Join Date: Nov 2009 Location: Seattle, WA, USA
Posts: 35
Thanks: 6
Thanked 0 Times in 0 Posts
|
I learned from this book and thought it was really great. There wasn't a bunch of crap to read through it just got to the point of things. Title: PHP 5 Fast & Easy Web Development Won't let me link cause of post count so you'll have to Google it. |
| | |
| | #23 |
| Emails and Inboxing Baby! War Room Member |
i use echo echo and monkeyforums These are how i learned. But truly its best to come up with an idea you want to use a database for a contact list or organize your dvds or movies. make a project you will have fun with. that will encourage you to learn. and push yourself. |
|
Cash Sales Opportunity. CampaignNinja.com | |
| | |
| | #24 |
| Warrior Member Join Date: Nov 2009
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
|
go to php.net there are some pretty good information over there |
| | |
| | #25 |
| Warrior Member Join Date: Nov 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
Once you've learnt the basics the best way to get going with PHP is to just start coding basic stuff. As you do that & get more and more advanced scripts you'll find you learn a lot by just searching through and using the PHP manual. The manual is available here: php.net/manual/en/
|
| | |
| | #26 |
| Warrior Member War Room Member Join Date: Nov 2009
Posts: 26
Thanks: 1
Thanked 4 Times in 4 Posts
|
Someone earlier mentioned the PHP video tutorials website by Leighmac (link above or Google it: I can't link yet ![]() That's an excellent site which actually has 15 or 20 free lessons on it. Well worth your time and an easy way to get started. After that I'd also recommend picking out a project for yourself and just doing it. The best way to learn is to make tons of mistakes, figure out what the errors are, and then promise yourself you'll never pull your hair out by making that particular one again! Seriously, that's the one problem with books and tutorials: they can never drill home the point like doing something for yourself and wading through all the mistakes to finally get something working right. |
| | |
| | #27 |
| Warrior Member Join Date: Nov 2009
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
|
First of all you need to strong your basics it means you should do prctice of html and css first and then you can learn php easily, Thanks, |
| | |
| | |
| | #28 |
| Warrior Member Join Date: Jun 2009
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
|
We have a duplicate board at How PHP can Easy to Learn My recommendations: 1. Before you start with php, you need to understand html. A good starting point is W3Schools Online Web Tutorials as mentioned by other. Don't get distracted by the other tutorials at the site - Learn the basic HTML before moving on. 2. Get the php developer tools, server and basic training for FREE from Eclipse PHP Development Tools - Zend.com - Use their training and sample along with additional php training from w3schools. That should bring you up to speed without any expenses. 3. Thereafter you can consider advanced courses or books. 4. Then contact me. I always have work for php programmers and a veriety of freelancers ![]() Good luck - Good php programmers are always in demand PS: Don't waste time with ASP. I will never use ASP again for any site |
| | |
| | #29 |
| Warrior Member Join Date: Oct 2010
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
|
If you ask me Just follow those optional by our Warriors here, just read the book about PHP while you reading just type the source code in to your PC to easy appreciate how does PHP mechanism.
|
| | |
| | |
| | #30 |
| Warrior Member Join Date: Oct 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
I think you should keep making the tutorials. Your method of teaching is one that is very well orientated towards self education and forcing the student to go out a find the answer as opposed to handing it to them. You can also learn from online on w3schools websites.
|
| | |
| | |
| | #31 |
| Active Warrior Join Date: Aug 2010
Posts: 83
Thanks: 1
Thanked 3 Times in 3 Posts
|
You can learn php only by practice
|
| | |
| | #32 |
| Warrior Member Join Date: Oct 2010
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
|
You can discover PHP programming without expenditure a centime. All you have to do is go down to your local library as well as get a elite books on PHP.
|
| | |
| | |
| | #33 |
| Active Warrior Join Date: Feb 2010
Posts: 52
Thanks: 0
Thanked 1 Time in 1 Post
|
you need tow of them: apache server + php 5
|
| | |
| | #34 |
| Automation Specialist War Room Member Join Date: Dec 2009 Location: Cary, NC
Posts: 153
Blog Entries: 2 Thanks: 33
Thanked 13 Times in 13 Posts
|
I would agree with the book route. There are plenty of excellent tutorials out on the net. I would look into video training if you learn better that way. I would check out the Head First Series of books. SitePoint.com and php.net are among my favorite resources.
|
| | |
| | #35 |
| Warrior Member Join Date: Sep 2010
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
|
If you want to learn about PHP, I think you should first start with the basics. Go to w3c Schools website and learn some basics. After that you can start to code some simple programs in PHP and after that you can post your doubts in this forum and we can help you out |
|
Always do the right. This will gratify some and astonish the rest.
| |
| | |
| | #36 |
| Warrior Member Join Date: Oct 2010 Location: Miami, Fl
Posts: 22
Thanks: 2
Thanked 1 Time in 1 Post
|
1. Download an install MAMP, WAMP or one of those. 2. Go find a nice Hello World tutorial 3. Start expanding. php is the best language.. easy to learn, easy to code. |
|
Samuel Morhaim Twitter: @smorhaim Sites: http://www.smlpro.com - I don't just build websites, I make them popular. | |
| | |
| | #37 |
| Pack Warrior War Room Member Join Date: May 2011 Location: Sunny side of the Alps
Posts: 228
Thanks: 10
Thanked 6 Times in 6 Posts
|
Php is good when you need to get the technical aspects of a function and need to learn how it works, but if you're just starting on php you cant really learn much from php.net thats my experience, but of course its good to have it in the backhand if yuo need to get info about functions!
|
| | |
| | |
![]() |
|
| Tags |
| php |
| Thread Tools | |
| |
![]() |