 |
| |
| by: auzzie - 2011-04-20 14:00:29 |
|
| Online calendars can be useful and can vary in complexity from a simple calendar to a full blown online booking system. In this tutorial i am going to cover the former of the two.
First thing that needs to be done is to work out what information we will need to collect and display... |
|
| |
|  |
 |
| |
| |
| | While developing across several domains I found AJAX lacking, in that I could only request an XML document from the same domain the script was currently executing from. Since I required some data to be shared across several domains I ended up with duplicate XML documents, updating them meant updating the master local XML document then uploading it to all of the different servers one after another. The following is a demonstration on cross site AJAX using a PHP proxy, pAJAX anyone? |
|
| |
|  |
 |
| |
| |
| | Recently i was trying to improve search engine spidering on a website, and read several articles regarding spiders, do they like something.php?somevar=foo&anotherVar=bar do they follow them using the entire querystring or not? well the jury is still out, there is evidence google (for example) does at least make a passing effort to spider them. But this wasn't good enough for me, the following article explains how to use custom 404 error pages to serve pages that do not exist. |
|
| |
|  |
 |
| |
| by: irah - 2009-05-13 05:28:55 |
|
| | This article is for PHP programmers. |
|
| |
|  |
 |
| |
| by: auzzie - 2009-02-22 13:31:11 |
|
| | Anyone that uses PHP enough has at least on one occasion been tired of having to deal with PHP's built in errors and having to write a lot of code as a work around to instigate their own error message. |
|
| |
|  |
 |
| |
| by: auzzie - 2008-12-26 15:30:39 |
|
| | How to create a simple IRC bot within the PHP scripting language. |
|
| |
|  |
 |
| |
| |
| | Sometimes, site administrators may need to bring their sites down to the public for routine maintenance, but still be able to access them to make sure changes are taking place. This small bit of code works wonders in that respect. |
|
| |
|  |
 |
| |
| |
| | This article will show you how to handle in a proper way a very common situation: a user logs in your site and you want to keep trace of his details while he browses around your site using just one session var. |
|
| |
|  |
 |
| |
| |
| | This article will show you how to let your users download a file with some content inside taken from a dynamic resource (e.g. a database). |
|
| |
|  |
 |
| |
| |
| | This guide shows you how to detect proxies using various methods; it also provides crucial information on improving your online security. |
|
| |
|  |
 |
| |
| |
| I wrote this script yesterday evening after I found OxymoronList.com (http://www.oxymoronlist.com/). I wanted to import the oxymorons and display a random oxymoron once a day on some sites of mine; so i wrote a script that would allow one to import sentences and also query random entries from it.
|
|
| |
|  |
 |
| |
| |
| | Are you getting tired with struggling to send a single quote to the database from a large amount of posted variables? This small code snippet loops through all _POST vars and then strips the php added slashes, and adds an escape char to the _POST var. |
|
| |
|  |
 |
| |
| by: nihil - 2005-06-28 15:59:25 |
|
| |
| |
|  |
 |
| |
| by: TroPe - 2005-03-10 17:51:16 |
|
| | Lightweight Directory Access Protocol (LDAP) provides an easy and efficient way for databases to handle common queries. In this article I will attempt to explain how to use the LDAP server in PHP. I'll describe how to use the LDAP server on the Linux platform and how to run an LDAP server and use its services from a PHP application. |
|
| |
|  |
 |
| |
| |
| | Ever wanted to get that "You are visitor n° 7777777" written in an cool original way? Here's the article for you. From Italy a brand new old-fashioned counter written like Ancient Romans used to write numbers. |
|
| |
|  |
 |
| |
| |
| | This article is about how we can have a dynamic avatar using PHP and Apache's .htaccess |
|
| |
|  |
 |
| |
| by: TroPe - 2004-12-26 14:39:42 |
|
| In this article you will learn all of the basic skills of working with a MySQL database within PHP. We'll learn to create a database, add tables, view records, update records, and more. Working with MySql was suprisingly easy - I think you will come to that conclusion, too.
This should serve as a solid intro if you're just starting out with MySql. This article will be ideal for those who are ready to start learning via code examples. |
|
| |
|  |
 |
| |
| by: TroPe - 2004-11-07 17:19:02 |
|
| | This article will explain how to use one-way encryption, symmetric encryption, and asymmetric encryption in PHP. |
|
| |
|  |
 |
| |
| by: TroPe - 2004-11-06 17:35:33 |
|
| This tutorial will explain how to send and receive SOAP messages using NuSOAP (an open source set of classes) by building a web service from scratch. This tutorial should benefit both the beginner and intermediate PHP programmer interested in developing / consuming web services in PHP.
One example we'll look at is how you, as a Soprano mobster, can use a web service to quickly identify the life status of your enemy crime bosses so you don't expend useless hours planning their demise. |
|
| |
|  |
 |
| |
| |
| | This script uses a colorlist of all of the css2 "named" colors to dynamically generate all/user-selected colors with all/user-selected values of alpha transparency. You would only have to use the name of the color as a variable, with the number of the desired alpha transparency, instead of having to define, by hand, each color and each permutation of alpha transparency for each color to use in your image. |
|
| |
|  |
 |
| |
| |
| If you produce dynamic webpages in PHP, it is often important not to allow the client to cache the pages, because they change all the time anyway. The users wouldn't like to press "Refresh" every time something changes. On www.php.net I've found something very useful...
|
|
| |
|  |
 |
| |
| |
| | In order to simplify the use of the PHP built-in MySQL functions, I wrote a basic class providing easy-to-use database functions. (Still, there is much space for improvisations.) |
|
| |
|  |
 |
| |
| |
| | A severe bug, rated as "critical", has been found in all versions of PHP, including 3.x and 4.x. |
|
| |
|  |
 |
| |
| |
| For those who don't know what PHP-Nuke is and what it does, don't bother to read any further. (Just one sentence: This page has been created with PHP-Nuke.) For those who do have a clue, I got a question: Ever thought about coding your own enhancements for PHP-Nuke? If you answered this question with yes, read on :) |
|
| |
|  |
 |
| |
| |
| | Here's part II of my PHP-Nuke Coding series. This time, I'll cover blocks. If you don't know what blocks are: you can see some left and right of this article ;) |
|
| |
|  |
 |
| |
| |
| | Heres a great introduction to the PHP Web development language, which should get you firing on all cylinders in no time! |
|
| |
|  |
 |
| |
| |
| | This is a simple script to illustrate the of a function, field_validator(), which I modified from an original piece of code submitted on the devshed forums. |
|
| |
|  |
 |
| |
| |
| | I've just tidied up a set of scripts I've used as a basis for a few multi-user PHP sites and they're available if anyone wants to look at them. |
|
| |
|  |
 |
| |
| |
| | OK here is a quick primer to those getting started with php, besically a guide to writing a simple form, that writes and reads variables to a flat file (ie. not a database). |
|
| |
|  |
 |
| |
| |
| | just a little thing i picked up about PHP the other day...a slash striper...i noticed my signature ended up having a slash in in where there shouldn't be one... |
|
| |
|  |
 |
| |
| |
| | Hello and welcome to my little tutorial about cookies, they are small and good, and IE collect a fuckload of them if you don't set your settings correctly. :P |
|
| |
|  |
 |
| |
| |
| | You must admit that reading/writing files is a big part of any programming language you learn, almost everything you code will have to save something(spec cgi) until next time. Therefore it's extra important to understand it, I recomment you to click the link at the end of each section or drop me a "private message"(Don't exept a polite response but you still can :). |
|
| |
|  |
 |
| |
| |
| It's easy to get php to mail you when someone hits *that* page that only the few should have access to. The script below emails them and you, you'll need to do your own form though. |
|
| |
|  |
 |
| |
| |
| | PHP and SQL have become hugely popular of late, this is due to the boring and old nature of static sites, and the need for more dynamic content, which can be easily managed. This tutorial will introduce you to retrieving information from a MySQL table using the PHP scripting language. |
|
| |
|  |
 |
| |
| |
| | First of all, I just want to make it really clear that I'm not trying to blast SlipTop's tutorial in any way. He did a pretty good job providing some info on the basics of using PHP and MySQL together. I just felt that if someone was going to take this and use it as a basis for learning about the two, some clarifications should be made. I know these are things that I've found useful in my foray with PHP/MySQL and would've been very helpful to have learned from the onset. |
|
| |
|  |
 |
| |
| |
| | Mod php for php http servers yeah i know too many "p"s |
|
| |
|  |
 |
| |
| |
| | Ever wondered how to store user preferences of your site on the user's pc so he sees the site how he customized it before? Read further to get to know an easy way of dealing with cookies in PHP. |
|
| |
|  |
 |
| |
| |
| | Ever got to the stage in PHP scripting where you wanted to connect to a server and issue a few commands directly at socket level? Well nows the time to learn... |
|
| |
|  |
 |
| |
| |
| | Didn't think it was possible to create servers using PHP? Well it is... |
|
| |
|  |
 |
| |
| |
| | In this small tutorial i'll cover three different types of assigning a user a session id while he surfs around your website. These solutions are different of the two PHP built in (trans-sid and cookies). |
|
| |
|  |
 |