22858 total geeks with 3297 solutions
Recent challengers:
best bread maker
 Welcome, you are an anonymous user! [register] [login] Get a yourname@osix.net email address 

Articles

GEEK

User's box
Username:
Password:

Forgot password?
New account

Shoutbox
sefo
anilg, new comments are deleted automaticall y because of some abuse recently
anilg
this is plain wierd. I submitted comments twice to article 950, and they dont seem to be there. Something wrong with the comment code?
CodeX
shout-boxes in general are old + the staff thing happened to everyone after an issue 2 months ago
anilg
/me is no longer staff :(
anilg
Also, osix's shoutbox predated twitter. Heh.

Donate
Donate and help us fund new challenges
Donate!
Due Date: Sep 30
September Goal: $40.00
Gross: $0.00
Net Balance: $0.00
Left to go: $40.00
Contributors


News Feeds
The Register
Washington Supremes
deliver death
sentence to betting
site
Google faces
antitrust
investigation in
Texas
It"s alive! Duke
Nukem Forever
breaks out of
vapour trail
Ubuntu "Maverick
Meerkat" erects own
App Store
Doctor Who goes to
the Proms
Unity ? iPhone code
swap approved by
Jobs (for now)
Nigerian man gets
12 years for $1.3m
419 scam
Oz school in
homosexual
kookaburra rumpus
All the week"s
Reg Hardware
reviews
Gordon Brown joins
World Wide Web
Foundation
Slashdot
NASA Preps
Closest-Ever Sun
Mission
Software (and
Appropriate Input
Device) For a
Toddler?
Brazil Considering
Legalizing File
Sharing
Game Publishers
Using Stealth P2P
Clients
Winnie-the-Pooh
Parodied In
Wookie-the-Chew
2010 May Be the
First Year YouTube
Turns a Profit
VISA Pulls Plug On
ePassporte, Porn
Webmasters
New and Old
Experiments Combine
To Help the Search
For Life On Mars
NVIDIA Announces
New Line of
Fermi-Based Mobile
Chips
Where Does Dell Go
After Losing 3Par?
Articles in topic

PHP

PHP: Cross site AJAX
by: MaxMouse - 2009-10-29 10:18:42
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?
2358 bytes more - viewed 2362 times - comments - zero rated
PHP: Replace PHP variables with custom error page (Apache)
by: MaxMouse - 2009-08-21 11:20:34
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.
4577 bytes more - viewed 2057 times - comments - zero rated
PHP: Getting a System IP Address
by: irah - 2009-05-13 05:28:55
This article is for PHP programmers.
812 bytes more - viewed 3016 times - comments - rated
PHP: How to make a custom error handler
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.
3056 bytes more - viewed 1678 times - comments - rated
PHP: Creating a PHP based IRC Bot
by: auzzie - 2008-12-26 15:30:39
How to create a simple IRC bot within the PHP scripting language.
13606 bytes more - viewed 3971 times - comments - rated
PHP: Simple Site Maintenance Module in PHP
by: GOATRIDER - 2006-07-12 09:45:44
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.
1168 bytes more - viewed 3212 times - comments - rated
PHP: Object passing (with and without serialization) in php
by: sfabriz - 2006-01-10 15:34:32
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.
11013 bytes more - viewed 19325 times - comments - rated
PHP: Dynamic file download
by: sfabriz - 2006-01-09 00:44:55
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).
4281 bytes more - viewed 13493 times - comments - rated
PHP: Proxy Detection with PHP
by: noimnot - 2005-12-18 02:40:59
This guide shows you how to detect proxies using various methods; it also provides crucial information on improving your online security.
5930 bytes more - viewed 46578 times - comments - rated
PHP: Random Sentence Script
by: noimnot - 2005-11-12 18:00:56
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.
2134 bytes more - viewed 11435 times - comments - zero rated
PHP: Sending special characters to MSSQL
by: sliptop - 2005-10-05 19:26:49
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.
791 bytes more - viewed 10340 times - comments - zero rated
PHP: dynamic errorhandling with apache/PHP
by: nihil - 2005-06-28 15:59:25
Create your own HTTP Error Messages, using PHP
this script also provides a workaround for the apache error 301 problem
3830 bytes more - viewed 4749 times - comments - zero rated
PHP: Using LDAP in PHP (linux)
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.
32634 bytes more - viewed 40322 times - comments - rated
PHP: An unusual counter...
by: sfabriz - 2005-02-09 18:24:53
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.
2939 bytes more - viewed 10884 times - comments - rated
PHP: The changing avatar
by: sfabriz - 2005-02-09 01:34:58
This article is about how we can have a dynamic avatar using PHP and Apache's .htaccess
2145 bytes more - viewed 13731 times - comments - rated
PHP: MySQL Fundamentals in PHP
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.
35000 bytes more - viewed 8944 times - comments - rated
PHP: Encryption Techniques in PHP
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.
6899 bytes more - viewed 31354 times - comments - rated
PHP: PHP Web Services using SOAP
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.
20474 bytes more - viewed 24973 times - comments - rated
PHP: Dynamic Colors and Alpha Channels With PHP and the GD Library
by: pyroinfernia - 2004-01-04 23:40:47
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.
7000 bytes more - viewed 10569 times - comments - zero rated
PHP: Preventing Browsers and Proxies from Caching
by: dimport - 2003-06-30 19:59:30
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...
991 bytes more - viewed 7126 times - comments - zero rated
PHP: A Basic MySQL-Class in PHP
by: dimport - 2003-06-21 07:19:46
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.)
3183 bytes more - viewed 7808 times - comments - rated
PHP: Security Flaw in PHP
by: dimport - 2003-06-21 07:19:46
A severe bug, rated as "critical", has been found in all versions of PHP, including 3.x and 4.x.
762 bytes more - viewed 3949 times - comments - zero rated
PHP: PHP-Nuke Coding I - Modules
by: dimport - 2003-06-21 07:19:46
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 :)
4631 bytes more - viewed 7075 times - comments - rated
PHP: PHP-Nuke Coding II - Blocks
by: dimport - 2003-06-21 07:19:46
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 ;)
1937 bytes more - viewed 7037 times - comments - rated
PHP: Learning PHP: Storing Basic Information
by: dimport - 2003-06-21 07:19:46
Heres a great introduction to the PHP Web development language, which should get you firing on all cylinders in no time!
12276 bytes more - viewed 8416 times - comments - rated
PHP: PHP Form Field Data Validation Example/Tutorial
by: dimport - 2003-06-21 07:19:46
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.
2181 bytes more - viewed 22281 times - comments - zero rated
PHP: PHP Authentication using sessions and MySQL
by: dimport - 2003-06-21 07:19:46
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.
1077 bytes more - viewed 10805 times - comments - rated
PHP: Handling forms and writing to files in PHP
by: dimport - 2003-06-21 07:19:46
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).
4619 bytes more - viewed 6163 times - comments - zero rated
PHP: PHP slash stripper made easy
by: dimport - 2003-06-21 07:19:46
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...
260 bytes more - viewed 4668 times - comments - zero rated
PHP: Using cookies in php.
by: dimport - 2003-06-21 07:19:46
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
2563 bytes more - viewed 9153 times - comments - rated
PHP: file handles with PHP
by: dimport - 2003-06-21 07:19:46
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 :).
3001 bytes more - viewed 7436 times - comments - rated
PHP: Sending email from PHP
by: dimport - 2003-06-21 07:19:46
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.
589 bytes more - viewed 6152 times - comments - rated
PHP: Connecting and Retrieving Data Using PHP/MySQL
by: dimport - 2003-06-21 07:19:46
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.
5196 bytes more - viewed 15775 times - comments - rated
PHP: Follow-up to Connecting and Retrieving Data Using PHP and MySQL
by: dimport - 2003-06-21 07:19:46
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.
3975 bytes more - viewed 6774 times - comments - rated
PHP: Mod_php from within php
by: dimport - 2003-06-21 07:19:46
Mod php for php http servers yeah i know too many "p"s
2848 bytes more - viewed 6096 times - comments - zero rated
PHP: Dealing with cookies in PHP - Introduction
by: dimport - 2003-06-21 07:19:46
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.
2529 bytes more - viewed 3810 times - comments - rated
PHP: Connecting to a server using PHP sockets
by: dimport - 2003-06-21 07:19:46
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...
2446 bytes more - viewed 6203 times - comments - rated
PHP: Creating servers with sockets in PHP
by: dimport - 2003-06-21 07:19:46
Didn't think it was possible to create servers using PHP? Well it is...
4853 bytes more - viewed 7307 times - comments - zero rated
PHP: Advanced: Sessions
by: dimport - 2003-06-21 07:19:46
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).
4852 bytes more - viewed 9268 times - comments - zero rated

Features

The Forums
Re: unable to
load level 3
images

(CodeX/Geek Tips)
unable to load
level 3 images

(viv0411/Geek Tips)
Re: reverser 8
(Zaphod/Geek Tips)
Re: Bonus 4 -
Sound Waves

(adi2004/Geek Tips)
Re: Level 1
(sajchurchey/Geek Tips)

Recent Blogs
Glad to be back
here in OSIX
Free Laptop
Prams Buggies
and Pushchairs
0 comments
bb's blog
Fri 26th Feb 9am
First one
1 comment
Action's blog
Tue 12th Jan 10pm
A Daily
Profanity at
dailyprofanity.
com
0 comments
bb's blog
Mon 21st Dec 11am

Current Poll
What's an
appropriate
response to a
hacker?

Contact Police/Authorit ies
Give Praise
Do Nothing
Ban Known IPs (but proxy option remains)
Deactivate Account
Delete from HoFs
Hall of Shame
Other (Please Comment)



View Results
(15 Comments)

Site Comments
<p><a
title=2010 pro
bowl
href=h...

(Anonymous / // To print semicolons using C programming without using semicolons any where i / amisauv's blog)
Buy D
(Anonymous / Creating a Lexical Analyzer in C / amisauv's blog)
Fationable
PUMA Run

(Anonymous / agh, the irc java applet / Renegade's blog)
Fationable
PUMA Run

(Anonymous / my tut is uberl33t...read / Renegade's blog)
Fationable
PUMA Run

(Anonymous / hey if i get the power to / Renegade's blog)
Fationable
PUMA Run

(Anonymous / bb: what do you mean NEAR / Renegade's blog)
Fationable
PUMA Run

(Anonymous / my alergy medicine is mak / Renegade's blog)
Fationable
PUMA Run

(Anonymous / ahh, the joy of ham. / Renegade's blog)
Fationable
PUMA Run

(Anonymous / because that's what chris / Renegade's blog)
Fationable
PUMA Run

(Anonymous / damn! caffene rush! put c / Renegade's blog)


     
Your Ad Here
 
Copyright Open Source Institute, 2006