Re: Passing to an Applet
| From: | Dennis Moore | Date: | Fri, 17 May 2002 03:09:59 +0000 |
| Subject: | Re: Passing to an Applet | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-98001@lists.php.net to get a copy of this message | ||
Am I missing something? This is too easy... But here goes...
<applet code="replayer.class" height="323" width="352">
<param name="FILEPREFIX" VALUE="<?php echo $FILEPREFIX; ?>">
<param name="FILETYPE" VALUE=".jpg">
<param name="BARON" value="bar_on.gif">
<param name="BAROFF" value="bar_off.gif">
<param name="BARHEIGHT" value="35">
<param name="DELAY" value="1000">
<param name="MININDEX" value="0">
<param name="MAXINDEX" value="<?php echo $MAXINDEX?>">
</applet>
----- Original Message -----
From: "Joshua Baker" <anti@anti-blank.com>
To: <php-general@lists.php.net>
Sent: Thursday, May 16, 2002 5:18 PM
Subject: [PHP] Passing to an Applet
All right I've seen in done in jsp and asp, but I'd like to know if I can do
it in PHP as well.
I've got an applet, which is in the page replay.php, with these parameters
that I need to fill from a URL.
<applet code="replayer.class" height="323" width="352">
<param name="FILEPREFIX" VALUE="">
<param name="FILETYPE" VALUE=".jpg">
<param name="BARON" value="bar_on.gif">
<param name="BAROFF" value="bar_off.gif">
<param name="BARHEIGHT" value="35">
<param name="DELAY" value="1000">
<param name="MININDEX" value="0">
<param name="MAXINDEX" value="">
</applet>
I need to pass 2 parameter in the URL from another page to this one, those
parameters are
FILEPREFIX and MAXINDEX.
I've set my link to read as <a
href="replay.php?FILEPREFIX=archive_042102/ruby_&MAXINDEX=1415">
The question is how to I, if I can, use PHP to take those variables from the
URL string and use them for the values on that page.
I know most people want to just say RTFM or look it up, but at this point if
anyone could just tell me what this would be under or where exactly this
info is, if it's possible in php. Thanks
Anti-Blank
Site Designer/Unix Admin