UGPID - Free Open Source URL Shortener Script

Status
Not open for further replies.

softleaks

Active Member
666
2011
152
0
Hello Everyone,

I coded a simple URL shortening script and have decided to make the script available for everyone.

It is a simple script but it will be useful for the beginners.

Features:

Simple
Coded in PHP
MySQL database for storing the links


You can download the script here: http://www.mediafire.com/download/735p9m0thrbe699/ugpid.zip


I have provided a text file explaining the steps to install the script.

P.S
Even though the script does the job, it may have some problems. But i will update it regularly.

Let me know your opinions.

EDIT:

Update : 1

1. It allows urls without any protocols (http, https) specified.
2. Added extra input url checks.
 
Last edited:
15 comments
Good work mate. Let me know if you need a hand with the design. ;)

Btw, how about using ajax to present the generated url to the user instead of reloading the page? It will be great if you could implement that. ;) Also an API would be nice so people can create short urls by sending a request to a url like `http://ugpid.com/api.php?url=myextralongurl`.

Oh and why don't you add this project to Github? Assuming you intend to keep it open source, it will be great if others could contribute code to it or fork the project. :)
 
Last edited:
Good work mate. Let me know if you need a hand with the design. ;)

Btw, how about using ajax to present the generated url to the user instead of reloading the page? It will be great if you could implement that. ;) Also an API would be nice so people can create short urls by sending a request to a url like `http://ugpid.com/api.php?url=myextralongurl`.

Oh and why don't you add this project to Github? Assuming you intend to keep it open source, it will be great if others could contribute code to it or fork the project. :)

Thanks Amz.
I'm working on Ajax right now. I will be adding an api if possible.
 
Thanks Amz.
I'm working on Ajax right now. I will be adding an api if possible.

TIP for the api thought.

Allow cross site submission from a html form using $_GET and limit submission's by IP and links per hour or per day which ever is easiest for you.

This way a user can submit from any programming code and maybe output success page in xml so coders can easily integrate the output into any code and format it how they like instead of yanking the text or having to create their own success page.
 
TIP for the api thought.

Allow cross site submission from a html form using $_GET and limit submission's by IP and links per hour or per day which ever is easiest for you.

This way a user can submit from any programming code and maybe output success page in xml so coders can easily integrate the output into any code and format it how they like instead of yanking the text or having to create their own success page.


Thanks for the tip Loonycgb2. I'm currently working on it.

And thanks for the server too. The demo is currently running on your server.
 
The "live" demo is now "die" demo. We can't download the script.

Please check.


oops. Sorry dude haven't noticed it.

Anyways, i have updated the download link.

Live demo is not available for now because i dont have the hosting.

But the script works perfect.

Thanks.
 
Do you need one hosting for the demo ? I can help you one in no cost. Shoot me a PM for more details.

Anyway, thanks for the update.
 
Status
Not open for further replies.
Back
Top