[thelist] Perl Form to PHP Form

Andrew Maynes andrew at uk-webdeveloper.co.uk
Tue Jul 16 07:34:01 CDT 2002


This worked like a gem

cheers
Andrew

-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of Shashank Tripathi
Sent: Friday, July 12, 2002 02:24
To: thelist at lists.evolt.org
Subject: RE: [thelist] Perl Form to PHP Form


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

--
For unsubscribe and other options, including
the Tip Harvester and archive of thelist go to:
http://lists.evolt.org Workers of the Web, evolt !

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.374 / Virus Database: 209 - Release Date: 7/9/02

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.374 / Virus Database: 209 - Release Date: 7/9/02




More information about the thelist mailing list