tinyrl type project

Closed Posted Nov 16, 2012 Paid on delivery
Closed Paid on delivery

Hi,

I'd like to implement a tinyurl type service to my website with a few unique features.

The site is [url removed, login to view] and I want logged in members to fill in a form:

new\[url removed, login to view] which is processed at new\[url removed, login to view] and inserted into a table "url" (all files and relevant table dumps attached)

The new url would then be in a subfolder /chesourl/ which also has the addon domain chesourl.

ie:

[url removed, login to view]

is the same as [url removed, login to view]

Forms & mysql table is already developed. But some functionality needs to be added:

- When user types in the url in the url_original field there must be some validation which checks it meets the criteria of a valid url

- User can choose to create a custom url. If they put in a custom word, there should be validation:

* to check it doesn't already exist in the url table

* to check it doesn't have spaces (I'm open to opinions on what valid characters should be)

When the form is processed I've got anything from the optional "custom" field going into the url_custom field in the table.

Not sure how this would work, but basically need either the custom url or a random, unique number going in to the table so that it works like tinyurl

The new url then must be displayed on the new\_url\[url removed, login to view] page.

Note: Because members are logged in, their member_id and keywords and description of the url all go into the table (I've done this already), so they can view all urls by another page which retrieves them (another project).

I hope that explains it.

Ask questions if not.

Cheers,

Dave

JavaScript MySQL PHP

Project ID: #2675879

About the project

6 proposals Remote project Active Jan 4, 2013