PHP issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • FADE19
    Snow's Parole Officer
    • Sep 2001
    • 1161

    #1

    PHP issue

    hey quick question for any of you wiz kids in the PHP arena...

    I am having a link auto generated using php ex:
    $TotalLinkTo19 = A HREP=?$LinkTo19? TARGET='_new'

    where $LinkTo19 = http://www.something.com?rev=12345

    the only problem is when the string is generated I get this:

    A HREP=?http://www.something.com/?rev=12345?

    that forward slash after .com and before the ? is killing me...because none of the sposors rcongnize the link....

    how do I remove that "/"???

    any help would be greatly appreciated.....

    I have already tried format C:...did not get the results I was hoping
    Last edited by FADE19; 03-25-2002, 07:04 AM.
  • Big E
    Registered User
    • Mar 2002
    • 935

    #2
    Rerwite things so the link looks like:

    /cgi-bin/link/http://www.somelink.com?ref=1234

    Then pick off the 'http' link in the CGI script.

    Comment

    Working...