TightURL
[ class tree: TightURL ] [ index: TightURL ] [ all elements ]

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:

link:  TightURL
version:  0.1
filesource:  Source Code for this file
copyright:  Copyright &copy; 2004 Ron Guerin
license:  GNU Public License
author:  Ron Guerin <ron@vnetworx.net>





string $dbhost [line 53]

MySQL variables

Default value:   "localhost"


[ Top ]



strgin $dbpass [line 65]

MySQL variables

Default value:   "dbpass"


[ Top ]



string $dbtable [line 77]

MySQL variables

Default value:   "urls"


[ Top ]



string $dbuser [line 59]

MySQL variables

Default value:   "dbuser"


[ Top ]



int $FOFMethod [line 84]

404-Method: TRUE or FALSE

Default value:   FALSE


[ Top ]



int $Reserved [line 90]

Reserved URLs: TRUE or FALSE

Default value:   TRUE


[ Top ]





REQUIRED_PHP_VERSION [line 43]

REQUIRED_PHP_VERSION = "4.3.0"
TightURL will not work with PHP versions older than this.


[ Top ]



VERSION [line 38]

VERSION = "0.1"
This is the TightURL release number.


[ Top ]




countSubstrs [line 255]

void countSubstrs( mixed $haystack, mixed $needle)

Counts the number of times a substring is contained in a given string.



[ Top ]



initialize_service [line 155]

void initialize_service( )



[ Top ]



main [line 124]

void main( )

Main. Process whatever the incoming request is.



[ Top ]



nice_addslashes [line 230]

void nice_addslashes( mixed $string)

addslashes wrapper to check for gpc_magic_quotes



Tags:

author:  Gavin Zuchlinski <gav@libox.net>


[ Top ]



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.




[ Top ]



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.




[ Top ]



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)



[ Top ]



wincheckdnsrr [line 214]

void wincheckdnsrr( mixed $host, [mixed $rtype = ''])

Windows version of the *nix-only PHP function checkdnsrr.



[ Top ]



Documentation generated on Mon, 25 Oct 2004 06:48:54 -0400 by phpDocumentor 1.3.0RC3