Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
[PHP] URL Shortening Script + HTML Template
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Hindi" data-source="post: 248311" data-attributes="member: 26187"><p>Hey guys! So, Lately ive been learning PHP and decided to code my first PHP script which generates small URL's , in short words its a URL shortening script.</p><p></p><p>Its a simple script with one simple table(urls) having a structure of</p><p></p><ul> <li data-xf-list-type="ul">urls </li> <li data-xf-list-type="ul">url_key</li> </ul><p>Also, Um It generates the URL's simple form , like lets say <em><a href="http://localhost/1" target="_blank">http://localhost/1</a> </em>, It will generate keys for the URL from 1-10, then a-z, then z1 and so on.</p><p>Along with the URL shortener, to reduce the URL , I have written .htaccess code which basically removes the go.php part from the URL and basically shortens the URL even more.</p><p></p><p>One more thing, The name short.me is just a dummy name which ive used cos didnt know what 2 use</p><p></p><p>So without saying much bullshit here ill release the script along with the HTML template. <img src="/styles/default/xenforo/smilies/emojione/thumbsup.png" class="smilie" loading="lazy" alt=":up:" title="Thumbs Up :up:" data-shortname=":up:" /></p><p></p><p></p><p>DOWNLOAD : <a href="https://mega.co.nz/#!JQpEFJoa!BLWH93A0CpXUWrtiEv0_bw8s0rZ7FZJX_hof-jG-40E" target="_blank">https://mega.co.nz/#!JQpEFJoa!BLWH93A0CpXUWrtiEv0_bw8s0rZ7FZJX_hof-jG-40E</a></p><p></p><p><strong>How to set it up?</strong></p><p></p><p>In the init.inc.php , change the mysql host,user and password and in the next mysql function which selects database, change the database name</p><p>and in the index.php , Change the <em>localhost </em>to your URL </p><p></p><p>if you dont know how to set it up, Shoot me a pm, well most of you will know how to do it anyway <img src="/styles/default/xenforo/smilies/emojione/thumbsup.png" class="smilie" loading="lazy" alt=":up:" title="Thumbs Up :up:" data-shortname=":up:" /></p><p></p><p><span style="font-size: 18px">Live Preview : - <a href="http://b0y.pw/" target="_blank">http://b0y.pw/</a></span></p><p></p><p>Rate and slate, but hate = gay so um constructive criticsm appreciated <img src="/styles/default/xenforo/smilies/emojione/thumbsup.png" class="smilie" loading="lazy" alt=":up:" title="Thumbs Up :up:" data-shortname=":up:" /></p></blockquote><p></p>
[QUOTE="Hindi, post: 248311, member: 26187"] Hey guys! So, Lately ive been learning PHP and decided to code my first PHP script which generates small URL's , in short words its a URL shortening script. Its a simple script with one simple table(urls) having a structure of [LIST] [*]urls [*]url_key [/LIST] Also, Um It generates the URL's simple form , like lets say [I][url]http://localhost/1[/url] [/I], It will generate keys for the URL from 1-10, then a-z, then z1 and so on. Along with the URL shortener, to reduce the URL , I have written .htaccess code which basically removes the go.php part from the URL and basically shortens the URL even more. One more thing, The name short.me is just a dummy name which ive used cos didnt know what 2 use So without saying much bullshit here ill release the script along with the HTML template. :up: DOWNLOAD : [url]https://mega.co.nz/#!JQpEFJoa!BLWH93A0CpXUWrtiEv0_bw8s0rZ7FZJX_hof-jG-40E[/url] [B]How to set it up?[/B] In the init.inc.php , change the mysql host,user and password and in the next mysql function which selects database, change the database name and in the index.php , Change the [I]localhost [/I]to your URL if you dont know how to set it up, Shoot me a pm, well most of you will know how to do it anyway :up: [SIZE=5]Live Preview : - [URL]http://b0y.pw/[/URL][/SIZE] Rate and slate, but hate = gay so um constructive criticsm appreciated :up: [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
[PHP] URL Shortening Script + HTML Template
Top