Lil php coding help for url shortning script

Discussion in 'PHP' started by pede, Apr 2, 2008.

  1. #1
    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
     
    pede, Apr 2, 2008 IP
  2. essex

    essex Guest

    Messages:
    49
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Look-up stealth forwarding.
     
    essex, Apr 2, 2008 IP
  3. pede

    pede Well-Known Member

    Messages:
    110
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #3
    Thanks essex but that wil not get the code on my page to make it happen.

    Thank you,
    John
     
    pede, Apr 2, 2008 IP
  4. NewTier

    NewTier Notable Member

    Messages:
    2,201
    Likes Received:
    196
    Best Answers:
    0
    Trophy Points:
    250
    #4
    Hey, You basically want the link to stay static to cloak the link right?

    Well what you can do is instead of redirecting the user. You can use two codes to display an iframe TO the site.

    And you can use an iframe at the top (to display your ads), or to keep it at 0px so that the user won't see the real url.



    That would be iframe code but you would need two.

    I would be happy to help you edit the files you want in exchange for hosting. ;)
     
    NewTier, Apr 2, 2008 IP
  5. pede

    pede Well-Known Member

    Messages:
    110
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #5
    Hey sss...

    Thanks for the reply.

    I have no problem with the hosting, but I do not want to use an iframe. I want the existing script that is there modded to keep the url cloaked in the address bar.

    Thank you for your time,
    John
     
    pede, Apr 3, 2008 IP
  6. PowerExtreme

    PowerExtreme Banned

    Messages:
    2,118
    Likes Received:
    75
    Best Answers:
    0
    Trophy Points:
    0
    #6
    i think iframe is the only way
     
    PowerExtreme, Apr 4, 2008 IP
  7. NewTier

    NewTier Notable Member

    Messages:
    2,201
    Likes Received:
    196
    Best Answers:
    0
    Trophy Points:
    250
    #7
    Ucash.in uses iframe too. ;) It's the only way. :)
     
    NewTier, Apr 6, 2008 IP