LIVE TECH CHAT
# 41 PHP optimization tips in Optimization 10-15-2007 2:08 pm
# Talk like a pirate text filter suite by Dougal Campbell in Wordpress 09-19-2007 8:56 am
# Formatting numbers with sprintf in Formatting, Functions 04-04-2007 7:43 pm
# Date and time page last updated in one liners, How To 03-29-2007 11:22 am
# PHP still #4 programming language, Ruby on the move in TIOBE index in News, Information 03-15-2007 5:14 am
# How to use MySQL REPLACE function in How To, MySQL, Functions 03-14-2007 12:02 pm
# Yahoo has PHP programming positions available in Employment, Information 01-31-2007 7:44 pm
# Perl to PHP cheatsheet in Information 01-25-2007 7:39 pm
# How to build a how many days in the future script with timezone offset in Date and Time, How To 12-21-2006 1:31 pm
# How to randomize, return and remove numbers from a pool in Random, How To 12-11-2006 12:30 pm
LIVE TECH RADIO
New! Search Google and all our Script Sites
Online Tech radio released! Our parent site, tdscripts.com has released scriptschool.com which will be devoted to developing weekly radio shows on tech-related topics and the technical side of webmastering. These shows will be streamed live from our office over the internet every Friday from 2-4pm Pacific Standard Time and will include interviews with key webmasters, programmers, developers and entrepreneurs on the net and off. You can view a real-time countdown to the next live show at http://www.scriptschool.com/radio/
THE PHP PROJECT ...
When I was first learning Perl programming, I did most of it offline, studying books, visiting references online, making notes, then writing and testing code and then uploading and testing. I have since tried to share some Perl tutorials and references at TD Scripts so that other programmers and Webmasters interested in writing Perl CGI scripts could benefit. When I decided on Monday December 13, 1999 that I was going to learn PHP, I thought it would be cool to do my studying online. Thus allowing you, Joe and Jane surfer, to actually follow my diary accounts, and coding, as I learn this language. It will be almost like you are sitting next to me as I learn this language. You may not want to do this (heck, you may decide you don't even like me), you may prefer to go out and purchase a book, or download the PHP docs and go that route. There is no perfect way to learn a programming language. Along the way I will be giving you URLs of other websites I've learned from, links to books I'm using to learn, etc. Let me start this off by stating my sole objectives for learning PHP:
I am interested in using PHP to enhance websites dynamically and intergrate with databases, especially for higher end applications or where traffic load is high, like 100,000+ hits a day. Can PHP do this? I've heard it can, I'm going to find out, and if you come along for the ride with me, you'll find out too.
Have you written down your objective like I did above for learning PHP? Knowing where to start is half the battle of actually starting anything.
This is and yet isn't really a tutorial, per se, it is more like a look over a programmer's shoulder and see how one programmer learned this language. Most times I'll try to follow a logical path something like:
1. I will go into depth about what I want
The only assumptions I am making is I want to learn PHP and I want to learn it fast, and I don't need to know who designed PHP or some of the more esoteric functions that I'll never use. I will buy a reference book for that. I want to know how to do the things I know how to do in Perl in PHP. In fact I want to be able to do some of these things more efficiently and faster using PHP. I will probably draw some comparisons to Perl along the way, but this is not going to be an exercise in how to program in Perl. Visit TD Scripts.com for that kind of stuff.
I am not saying that the way that I'm going to go about learning PHP will be the textbook or the only way to learn PHP, but I will say that it will be useful for those that run a website and want to integrate PHP into their site, because that is my interest in PHP. Have no illusions that you will read all about the things I've screwed up in my testing so you can avoid making the same mistakes.
If you aren't interested in my learning adventures, but are interested in obtaining original PHP CGI scripts I will be writing, then bookmark this URL and come back in a month or two. It may take me longer, or not even this long, but at least you can check up on my progress. Some days I work 18 hours a day and have no time for learning, other days I spend most of the day in a shell reading and learning. One thing is for sure, if you follow this website, you will know what I did for PHP every day I learned something and when I sat down and tried to learn something :)
At the bottom or top or side there will be navigational links:
School.com - LIVE tech radio every Friday at 2pm PST. Come listen to TDavid live with
guests on the technical side of webmastering and programming, occasional script giveaways
Diary - this is my
overview account by date of what I did to further my learning in PHP, including code
examples, uses, etc.
Ok, click a link to the left and get started :) Thanks for coming along. Oh, one last thing, there maybe will be some blank pages you find, that's because this project is in about as close to real time as I can get. Also, I am not trying to be an HTML guru, so you may find some of my pages visually stale. This isn't about designing a web site though, this is about learning PHP :)
updated 6/19/04: made some minor link and text adjustments
12/30/02: Many new things brewing here at php-scripts.com including some XML syndication options, and a new homeroom forum at our sister site Script School to discuss php-scripts diary entries.
1/21/01: Wow, looking back over the last year since I started this website, I've learned a ton about PHP, but I am still learning almost every day. I haven't been able to update my diary as often as I had originally hoped, but I have been able to get a good chunk of useful information in there and from the reader reviews a lot of what I've put in there has been useful to you. I will be adding more to this diary in the future including the ability to add your comments to new diary entries, but at the same time I encourage you to visit Script School and stop by my weekly radio show for even more constant updates.
Recent PHP Versions
PHP version 5.1.0 RC1
PHP version 4.4.0
Guts Or Glory Poker is inspired by the popular casino game Let It Ride(tm) This game written entirely in PHP is now publically available at click here or you can play (demo) it here and let us know what you think. It uses real card graphics, true casino odds, auto shuffles the cards, and only uses one deck of cards. 9's or better to win. Click the 9 of hearts to play! Valid email address is required.
Total Games Played
Number Of Players
Top 10 High Scores
Top 5 Most
Copyright 1999-2004 php-scripts.com 1,921,689
No part of this website may be reproduced, copied
and/or distributed in any medium without express written permission