Welcome Guest, Not a member yet? Register   Sign In
URL shortening service
#18

[eluser]Dregond Rahl[/eluser]
http://uqyg.com/~JaJh

the routing of the snip =]

EDIT: OKie i figured out whats wrong the ~ before $1

Code:
$route['~([a-zA-Z0-9]+)'] = "snip/re_link/~$1";


Sorry guys XD, thanks for all your help <33333

Also is this method good for validating URLs? or would you recommend a different method?

http://www.w3schools.com/PHP/filter_validate_url.asp


Messages In This Thread
URL shortening service - by El Forum - 06-02-2009, 02:36 AM
URL shortening service - by El Forum - 06-02-2009, 03:01 AM
URL shortening service - by El Forum - 06-02-2009, 03:02 AM
URL shortening service - by El Forum - 06-02-2009, 03:10 AM
URL shortening service - by El Forum - 06-02-2009, 04:13 AM
URL shortening service - by El Forum - 06-02-2009, 06:20 AM
URL shortening service - by El Forum - 06-02-2009, 06:44 AM
URL shortening service - by El Forum - 06-02-2009, 06:48 AM
URL shortening service - by El Forum - 06-02-2009, 06:56 AM
URL shortening service - by El Forum - 06-02-2009, 07:00 AM
URL shortening service - by El Forum - 06-02-2009, 07:19 AM
URL shortening service - by El Forum - 06-02-2009, 07:31 AM
URL shortening service - by El Forum - 06-02-2009, 07:44 AM
URL shortening service - by El Forum - 06-02-2009, 07:47 AM
URL shortening service - by El Forum - 06-02-2009, 07:53 AM
URL shortening service - by El Forum - 06-02-2009, 08:03 AM
URL shortening service - by El Forum - 06-02-2009, 08:11 AM
URL shortening service - by El Forum - 06-02-2009, 08:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB