[thelist] Perl Form to PHP Form

Shashank Tripathi shanx at shanx.com
Fri Jul 12 08:25:00 CDT 2002


Hi Andrew,

    |
    | "<a href=\"$orderform?$domain.$ext\">Order Now &gt;</a>"
    | both $orderform?$domain.$ext gets passed through
    | whereas all I really want is $domain.$ext


Then you can manipulate that pretty easily. Something like:

    // Request URI comes from somwehere, I assume you have it as a
string
    $REQUEST_URI = "<a href=\"$orderform?$domain.$ext\">Order Now
&gt;</a>";

    // Get only the part AFTER the question mark
    $whatINeed = stristr($REQUEST_URI, "?");

..or something like that. Just an idea.

Cheers
Shashank




More information about the thelist mailing list