Page 1 of 1

Lil php coding help for url shortning script

Posted: Wed Apr 02, 2008 9:14 pm
by pede69
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: [removed]

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

Re: Lil php coding help for url shortning script

Posted: Wed Apr 02, 2008 9:23 pm
by John Cartwright
What most proxies do is simply use frames to hide the url of the site within the frame completely. This also allows the proxy to display a small frame with a link back to you site or whatever, and usually an option to close the frame and visit the real url.

EDIT | I should note that I used the word "proxy" not in the true technical sense (since we are not proxy'ing the connection)

Re: Lil php coding help for url shortning script

Posted: Wed Apr 02, 2008 9:49 pm
by s.dot
I'm thinking some manipulation of the [R] flag for a mod_rewrite rule? I dunno though.. is there another flag to cloak the URL?