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

[eluser]Dregond Rahl[/eluser]
Thanks everyone ^^ even you Fuzzy :p

I don't quite understand the __remap() method O.o

and xwero your idea works i might add a ~ , what other symbols are allowed?

Also this doesn't seem to be working =/

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

EDIT: Also if possible, how would i check if the input was a valid URL, And thanks xwero for that alternative method, I might have a use for it for another project.


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