DaniWeb Programming
and Web Development Community
Loading
Home
Recent Posts
Revenue Sharing
Register
Contact Us
Login
Username
Password
Forgot your password?
|
Register
Welcome to TechnicalTalk.Net forum!
It seems that you are not a member yet. To interact with other members and to post on the forum.
Get a free account now
Earn money on this forum
Advertise with us...
TechnicalTalk
»
Programming and Web Development
»
PHP
»
Need PHP coding help for URL shortening script
Quick Links:
Want to earn money on forum? visit -->
Earn money on forum
Add to Reputation:
Reputation
What do you think of this post?
I agree
I disagree
Comment:
Pages: [
1
]
Go Down
Email this topic
|
Print
0 Members and 2 Guests are viewing this topic.
Need PHP coding help for URL shortening script
JohnD
Reputation Power:
Need PHP coding help for URL shortening script
April 02, 2008, 07:28:32 PM
Hi...
Would someone please be kind enough to help me with php code to insert into my webpage?
I have a site that shortens a url. It uses an SQL DB. (not important for this, I believe)
I need the php code to keep the shortened url in the address bar after redirecting to the landing page. The way it works now is that it shortens the url but the original url shows in the address bar after reaching the landing page.
Would someone please help me out here?
I hope I am allowed to put the url here? I am not promoting the site. I can not even use it the way it is now.
Moderators, delete this if it is not ok to be here. Thank you.
URL: gourlgo.com
If you would like, I will give you a free webhosting account for helping me get this the way I want it.
(pretty fast server) cPanel, Fantasico, RV Skin, RV Sitebuilder... the works.
Thank you,
John
«
Last Edit: December 25, 2008, 04:22:09 AM by Admin
»
polas
Reputation Power: 17
Code Guru
Gender:
Posts: 1403
Topics: 86
Re: Lil php coding help for url shortning script
April 04, 2008, 08:47:49 AM
The best way I would think of doing it is by using frames. - there is quite possibly a better way, but my suggestion would be
The PHP script generates something like
<html>
<frameset rows="100%">
<frame src="
http://www.google.co.uk
">
</frameset>
</html>
Obviously
http://www.google.co.uk
is replaced by the address the page is redirecting to.
Hope this helps,
Nick
Mesham Type Oriented Parallel Programming Language
,
Free online technical support
Digitalhawk
Reputation Power: 1
New Poster
Posts: 7
Topics: 1
Re: Lil php coding help for url shortning script
August 22, 2008, 02:11:27 PM
Thank you for the info
Email this topic
|
Print
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
Technical Resources - Articles and Videos
-----------------------------
=> Read/Post Free Articles
===> SEO and Marketing
===> Graphics and Design
===> Operating Systems
===> Programming
===> Gadget and Product Review
=> Video Tutorials
-----------------------------
Programming and Web Development
-----------------------------
=> C/C++
=> Visual Basic 6.0
=> Classic ASP 3.0
=> .NET
=> PHP
=> JAVA
=> Python
=> JavaScript and VBScript - Scripting Languages
=> Web Security
=> Other programming languages
=> Database Programming Discussions
===> Microsoft SQL Server
===> My SQL
-----------------------------
Graphics and Web Design
-----------------------------
=> HTML/XHTML/DHTML & CSS
=> Photoshop and Flash
=> General Web Design
=> Review your website or blog
-----------------------------
Operating Systems
-----------------------------
=> Windows
=> Linux and Unix
=> General - Operating System Discussion
-----------------------------
SEO and Marketing Success Strategy
-----------------------------
=> Search Engines
===> Google
===> Yahoo
===> Microsoft Bing
=> SEO - Search Engine Optimization
===> Web Directories
===> Link Development
=> Internet Marketing and Advertising
===> Affiliate Programs
===> Generating Revenue
===> Increasing Traffic
=> General Marketing Discussion
=> Promote Your Service
-----------------------------
Web Hosting and Hosting Management
-----------------------------
=> Web Hosting Talk
=> Web Hosting offers and plans
-----------------------------
Miscellaneous
-----------------------------
=> Blogging - Blogger's Paradise
=> Social Networks
=> Tips and Tricks
=> Chit Chat - Non Programming
-----------------------------
Forum Information
-----------------------------
=> Introduce Yourself
=> Suggestions and Feedback
=> Forum Rules/Guidelines/News/Announcements
=> Forum Support
=> Forum Games and Contests
===> Games
Home
|
Advertise
|
Forum Help
|
Privacy Policy
|
Contact us
Powered by SMF 1.1.16
|
SMF © 2011, Simple Machines
Google visited last this page April 16, 2012, 09:17:35 PM
Loading...