[line 89]
[line 82]
[line 98]
Default and maximum is 36 (36 => 0..9 and a..z) If you want to have hex keys set this to 16 (16 => 0..9 and a..f)
[line 107]
This one is very simple and does only allow urls starting with http:// and https://
[line 115]
Can be used to avoid making short links from short links
int|false count_urls( )
array get_redirect( string $key)
int|false get_redirect_count( string $key)
bool log_redirect( string $key)
array new_redirect( string $url)
Will return data from database if url already shortened
string _convert_id( int|string $id, [bool $dir = true])
bool _forbidden_url( string $url)
string _get_ip( )
Checks for clients behind proxys
array _get_redirect_by_key( string $key)
array _get_redirect_by_url( string $url)
array _insert_url( string $url)
bool _valid_url( strin $url)