PHP Advanced Short URL Script

Wednesday, March 18th, 2009
PHP Advanced Short URL Script

This software is most advanced short URL script on the market (see it in action + note: charts and “popular” links are in beta stage). Software requires PHP and MySQL with optional mod_rewrite support.

NEW! Auto spam killer (presented on live site).
NEW! Instant database backup download (not presented in demo).
Main features of short URL script:
* easy [...]

Proxy grabber and checker PHP script

Wednesday, February 4th, 2009

Proxy checker — is a PHP script for searching valid proxies, both anonymous and elite. This system is installed on remote web-server.
Proxy checker automatically search for and tests proxy servers. It saves addresses of existing proxies in the database until they are valid. The system is installed on remote server. As it works permanently a [...]

Speed loadpage script

Tuesday, January 13th, 2009

Copy this code and save as file.php
Upload on server, Include (’/file.php”); in your page footer. Done
<?
//top of your page
$gentime = microtime();
$gentime = explode(’ ‘,$gentime);
$gentime = $gentime[1] + $gentime[0];
$pg_start = $gentime;
?>
<?
//end of your page
$gentime = microtime();
$gentime = explode(’ ‘,$gentime);
$gentime = $gentime[1] + $gentime[0];
$pg_end = $gentime;
$totaltime = ($pg_end - $pg_start);
$showtime = number_format($totaltime, 4, ‘.’, ”);
echo(”This [...]

Google pagerank check script

Tuesday, January 13th, 2009

Copy this code and save as your file .php
<?php
require_once(”pagerank.php”);
?>
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=windows-1252″ />
<title>Pagerank lib test page</title>
</head>
<body>
<form id=”form1″ name=”form1″ method=”get” action=”pagerank_lib.example.php”>
URL :
<input name=”url” type=”text” id=”url” value=”<?php echo $_REQUEST['url']; ?>” />
<input type=”submit” name=”Submit” value=”Submit” />
</form>
<?php
if ((isset($_REQUEST['Submit'])) && ($_REQUEST['url']!=”)) {
?>
<fieldset>
<legend>Query result</legend>
<?php
$url=$_REQUEST['url'];
echo “Technorati rank = “.get_technorati_rank($url, “ee470f3fa8571bc7bc83eddaa35ae153″).”<br />”;
echo “Technorati inblogs(authority) = [...]

How to Custom error pages php ?

Saturday, January 10th, 2009

Copy and paste code after:
<?php
$status = $_SERVER['REDIRECT_STATUS'];
$codes = array(
403 => array(‘403 Forbidden’, ‘The server has refused to fulfill your request.’),
404 => array(‘404 Not Found’, ‘The document/file requested was not found.’),
405 => array(‘405 Method Not Allowed’, ‘The method specified in the Request-Line is not allowed for the specified resource.’),
408 => array(‘408 Request Timeout’, ‘Your browser failed to sent a request in the time allowed by the server.’),
500 => array(‘500 Internal Server Error’, ‘The request was unsuccessful due to an unexpected condition encountered by the server.’),
502 => array(‘502 Bad Gateway’, ‘The server received an invalid response from the upstream server while trying to fulfill the request.’),
504 => array(‘504 Gateway Timeout’, ‘The upstream server failed to send a request in the time allowed by the server.’)
);
$title = $codes[$status][0];
$message = $codes[$status][1];
if ($title == false || strlen($status) != 3) {
$message = ‘Please supply a valid status code.’;
}
echo ‘<p><h1>’ . $title . ‘</h1></p>’ .
‘<p>’ . $message . ‘</p>’;
?>
Save that file sample.php
Also, there is a file called .htaccess there is [...]