Amazon Simple Storage Service-Create Bucket in PHP





ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

« Previous 1 2  ...  7 8 9 10 11 12 13 14 15 Next »
11
Date Submitted Sun. Oct. 29th, 2006 12:52 PM
Revision 1
Scripter SCoon
Tags JavaScript | PHP | Web
Comments 0 comments
Enforce loadig fresh script code for the external javascript files. Compatible with HTTP 1.0.
9
Date Submitted Sat. Mar. 11th, 2006 4:52 PM
Revision 1
Helper Scriptsentials
Tags PHP | Ports | Sockets
Comments 0 comments
This is a simple PHP script that will show whether a certain port/socket of a certain computer is currently open/active.
-5
Date Submitted Sat. Mar. 11th, 2006 7:28 PM
Revision 1
Helper Scriptsentials
Tags "Random Generation" | PHP | Random
Comments 3 comments
This multiple-use PHP script will randomly generate content based on a randomly generated number.
10
Date Submitted Sun. May. 20th, 2007 5:27 AM
Revision 1
Scripter SecondV
Tags Online | PHP | URL
Comments 1 comments
This simple function will check if a url is valid (going by parse_url()) and if it's 'online' - by seeing if it returns a 302, 301, or 200 status code.
5
Date Submitted Sun. May. 20th, 2007 10:58 PM
Revision 1
Scripter SecondV
Tags allow | deny | DOMAIN | PHP | post
Comments 3 comments
This small snippet will not allow _POST requests from a 'foreign' domain. It relies on the HTTP_REFERER variable.
7
Date Submitted Mon. May. 21st, 2007 12:22 AM
Revision 1
Scripter SecondV
Tags "register globals" register_globals, | PHP
Comments 0 comments
This function will reverse the affects of register_globals
12
Date Submitted Mon. Oct. 9th, 2006 7:04 AM
Revision 1
Helper serpentskiss
Tags PHP
Comments 2 comments
Here's a little snippet I got from SitePoint that I now use all the time. Add the code below to the start of each script.

Basically, what this does is checks to see if magic_quotes_gpc() is enabled on the server, and if it is, then it gets rid of all the slashes that magic_quotes_gpc() adds to input from $_GET, $_POST and $_COOKIES globals.

It's a good snippet to use, because it negates the bad programming practices that having magic_quotes_gpc() lets you get away with, and means that you don't really on PHP to validate your input; you get to do it all yourself ;-)
-17
Date Submitted Mon. Oct. 9th, 2006 7:07 AM
Revision 1
Helper serpentskiss
Tags PHP
Comments 3 comments
A little function that does some basic checking for data input by a user. Should get rid of code injection ;-)
8
Date Submitted Tue. Nov. 14th, 2006 1:24 PM
Revision 1
Scripter shachi
Tags File | PHP | splitter
Comments 0 comments
This function simply splits a file based on the splitter supplied and returns an array with the values. It's pretty much like the file() function. This script could be helpful in section editings.
12
Date Submitted Mon. Oct. 9th, 2006 8:18 AM
Revision 1
Helper shell
Tags PHP
Comments 1 comments
Over the summer, I worked on a project in which I needed to parse logfiles which were in the following format:

IP|USE|TIME>IP2|USE2|TIME2>

and so on.

When I parsed them to display the log file in a user-friendly fashion, I used the following code:
« Previous 1 2  ...  7 8 9 10 11 12 13 14 15 Next »