John,
Haven't used this before but if you set id before the include:-
$id=2;
<script language="php">
include("/export/home/bayarea.net/htdocs/webclient.php3");
</script>
I'm assuming that you don't have control of the web server - if you do just
add html to the list of extensions parsed by php then:
$id=2;
include("/export/home/bayarea.net/htdocs/webclient.php3");
Chris
John Holcomb wrote:
> Help please!
>
> I'm trying to use an include with my HTML file.
> Inside my HTML file I've tried:
>
> 1)
> <script language="php">
>
> include("/export/home/bayarea.net/htdocs/webclient.php3?id=2");
> </script>
>
> AND
>
> 2)
> <script language="php">
>
> include("http://www.bayarea.net/webclient.php3?id=2");
> </script>
>
> According to the PHP documentation #2 should work, but
> I keep getting an error saying that it's unable to
> include the file. #1 works when I leave off ?id=2,
> but I need to pass it a variable. Any help would be
> appreciated.
>
> Thanks,
>
> John
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
Chris Fry
Quillsoft Pty Ltd
Specialists in Secure Internet Services and E-Commerce Solutions
10 Gray Street
Kogarah
NSW 2217
Australia
Phone: +61 2 9553 1691
Fax: +61 2 9553 1692
Mobile: 0419 414 323
eMail: [EMAIL PROTECTED]
http://www.quillsoft.com.au
You can download our Public CA Certificate from:-
https://ca.secureanywhere.com/htdocs/cacert.crt
**********************************************************************
This information contains confidential information intended only for
the use of the authorised recipient. If you are not an authorised
recipient of this e-mail, please contact Quillsoft Pty Ltd by return
e-mail.
In this case, you should not read, print, re-transmit, store or act
in reliance on this e-mail or any attachments, and should destroy all
copies of them.
This e-mail and any attachments may also contain copyright material
belonging to Quillsoft Pty Ltd.
The views expressed in this e-mail or attachments are the views of
the author and not the views of Quillsoft Pty Ltd.
You should only deal with the material contained in this e-mail if
you are authorised to do so.
This notice should not be removed.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]