Procedural File: tighturl.php
Source Location: /tighturl.php
Page Details:
TightURL :: A blind redirection service
Copyright (c) 2004, Ron Guerin <ron@vnetworx.net> portions Copyright (c) 2002,2003 Free Software Foundation This file implements a blind redirection service named TightURL. TightURL is Free Software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. TightURL is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. If you are not able to view the LICENSE, which should always be possible within a valid and working TightURL release, please write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA to get a copy of the GNU General Public License or to report a possible license violation.
Tags:
string $dbhost [line 53]
strgin $dbpass [line 65]
string $dbtable [line 77]
string $dbuser [line 59]
int $FOFMethod [line 84]
int $Reserved [line 90]
REQUIRED_PHP_VERSION [line 43]
VERSION [line 38]
countSubstrs [line 255]
void countSubstrs(
mixed $haystack, mixed $needle)
|
|
Counts the number of times a substring is contained in a given string.
initialize_service [line 155]
void initialize_service(
)
|
|
main [line 124]
Main. Process whatever the incoming request is.
nice_addslashes [line 230]
void nice_addslashes(
mixed $string)
|
|
addslashes wrapper to check for gpc_magic_quotes
Tags:
On_Reserve [line 302]
void On_Reserve(
mixed $id)
|
|
Checks to see if a given URL is a Reserved URL. Returns TRUE if the ID is listed as a Reserved URL.
On_URIBL [line 264]
void On_URIBL(
mixed $url)
|
|
Checks to see if a given URL is on a URI blacklist. Currently this means SURBL. http://www.surbl.org Returns TRUE if the domain is listed on any configured URIBLs.
sanitize_sql_string [line 242]
void sanitize_sql_string(
mixed $string, [mixed $min = ''], [mixed $max = ''])
|
|
sanitize a string for SQL input (simple slash out quotes and slashes)
wincheckdnsrr [line 214]
void wincheckdnsrr(
mixed $host, [mixed $rtype = ''])
|
|
Windows version of the *nix-only PHP function checkdnsrr.
|