want to join us? register, it's easy | help

news


CodeLovely.com starts beta testing

Hi folks, I've launched a new website called codelovely where developers and web designers can get together and share links. It's like goodphptutorials, but users get to vote up or down links that are posted. So, sign up posts some links, snapshots, code or ask questions.

 

tutorials


category icon

Marrying Smarty and PHP Doctrine

in PHP added by prodevtips, on 20/8/2008 advanced tutorials mvc oo programming php5

Tutorial with source code describing how to create a small MVC framework where PHP doctrine is responsible for the models and Smarty for the views. The controller we make ourselves.

comment save report
category icon

PHP Doctrine introduction for dummies

in PHP added by prodevtips, on 18/8/2008 database oo programming php5

Short tutorial on how to create tables in a database and fetch information from said database with the Doctrine Object Relational Mapper.

comment save report
category icon

Build a Featured Posts Section for WordPress

in PHP added by goodphptutorials, on 12/8/2008 CMS wordpress

WordPress is awesome. Even more awesome is the fact that it can be customized to power any type of site you like! Here, we'll be learning how to create a featured and "latest posts" section - easily a 'must-have' for all good News/Magazine themes. We'll also go over using the 'Custom Fields' to their fullest potential.

comment save report
category icon

Mini Message Board

in PHP added by Dale, on 8/8/2008 board discussion forum mysql

Want to learn how to make your own PHP and MySQL message board? This tutorial will show you pretty much some of the basics of a bog-standard message board.

comment save report
category icon

Execute Linux commands in PHP by using backticks

in PHP added by rvdavid, on 1/8/2008 back ticks command line linux

You can execute linux commands within a php script - all you have to do is put the command line in backticks (`). Recently, I had to upload an archive to a server which did not allow ssh. For files that I need to transfer, I just package them up in a neat archive and transfer the archive file via scp. Not having ssh access however, I uploaded the archive file via ftp and created a script which extracts the file the file looks like the following:

comment save report
category icon

Submit A Form Without Page Refresh using jQuery

in PHP added by goodphptutorials, on 30/7/2008 AJAX JavaScript jquery

Previously on NETTUTS, Philo showed how you can use jQuery to add form validation to wordpress comments that works without any page reload. Another great way of utlizing jQuery to enhance user experience is to not just validate, but to submit your form entirely without a page refresh. In this tutorial I'll show you how easy it is to do just that -- submit a contact form that sends an email, without page refresh using jQuery! (The actual email is sent with a php script that processes in the background). Let's get started.

comment save report
category icon

Using Search Engine Friendly URLs for your Dynamic Pages

in PHP added by clearnetwork, on 29/7/2008 beginner tutorials mod rewrite seo

"Search Engine Friendly URLs" or "User Friendly URLs" are a much better way of constructing your URLs for dynamic pages. In this article I will discuss some basic ways of doing this, with a little help from mod_rewrite.

comment save report
category icon

Generating Search Engine Friendly Titles for your URL

in PHP added by clearnetwork, on 29/7/2008 beginner tutorials seo

For most dynamic websites you will want to create "Search Engine Friendly" or "User Friendly" URLs, rather than using ugly and meaningless strings or IDs to reference your content. The way you interpret the URLs and use them to get your content is for another article and I won't go into that right now, what I want to talk about is how to turn your page titles into versions that can be used in your URL.

comment save report
category icon

Bot Detection with PHP

in PHP added by charliepage, on 21/7/2008 bot detection bots general

Bots or Crawlers, are basically search engines crawling around the internet. This is how you get your pages on search engines (well, a major way). Bot Detection isn't something super vital, but if your CMS or website already has practically everything, then you need Bot Detection.

comment save report
category icon

PHP Thumbnail Generation Script

in PHP added by clearnetwork, on 18/7/2008 advanced tutorials gd images

This tutorial focuses on a thumbnail generation script. Rather than generating a smaller representation of the image, it cuts out a section of the photograph to create an obscure snapshot of the photo itself.

comment save report
category icon

Random Password Generation

in PHP added by clearnetwork, on 15/7/2008 beginner tutorials general random security

A common feature found on many websites upon user registration are random passwords. This tutorial will walk you through a script that generates a random password to a given length.

comment save report
category icon

The Truth About PHP Variables

in PHP added by porteightyeight, on 8/7/2008 advanced tutorials internal memory

This article examines how PHP handles passing of variables internally, as well as how this relates to memory usage. This information is can be very useful for any professional PHP developer as it shows how passing variables by reference will normally result in more (not less) memory being used.

comment save report
category icon

PHP framework comparison benchmarks

in PHP added by goodphptutorials, on 3/7/2008 benchmark framework

The tests were run on a 1.8Ghz AMD sempron computer with 512Mb RAM running Ubuntu Gutsy (7.10) Desktop.

comment save report
category icon

How to encrypt user info with php

in PHP added by jinxit, on 2/7/2008 encryption md5 salt security

If you run a serious webpage where you save login information for your members to a database it is generally a very good idea to perform some kind of encryption on these password to prevent the information to be shared in case your datebase would be hacked. This tutorial shows you how to do this.

comment save report
category icon

Combining jQuery with the Zend Framework and Smarty

in PHP added by prodevtips, on 25/6/2008 AJAX advanced tutorials php5

Showcasing how jQuery can be used in combination with the most popular templating engines for PHP and a popular PHP framework with a simple example.

comment save report