Re: inserting a remote html file
| From: | Richard Lynch | Date: | Tue, 14 Aug 2001 00:14:32 +0000 |
| Subject: | Re: inserting a remote html file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-62539@lists.php.net to get a copy of this message | ||
What errors are you receiving?
You probably should change your \\ to / for Windows paths to work right.
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Minardi Boy <minardi@aon.at>
Newsgroups: php.general
To: <php-general@lists.php.net>
Sent: Monday, August 13, 2001 2:40 PM
Subject: inserting a remote html file
> Hello
> I wanted the user to choose certain html files (one or more) via a
checkbox
> and then insert them into the new php site.
> The checkbox thing is okay but I keep recieveing errors on the php site
> Could you help me?
> ***
> <html>
> <body>
> Here is your required information
> <?php
> if ($choice=="arlberg")
> {
> include ("C:\\inetpub\\wwwroot\\page1.html");
> }
> if ($choice=="paznauntal")
> {
> include ("C:\\inetpub\\wwwroot\\page2.html");
> }
> if ($choice=="otztal")
> {
> include ("C:\\inetpub\\wwwroot\\page3.html");
> }
> else
> {
> echo ("Please select a Skiing resort");
> }
> ?>
> </body>
> </html>
> ***
>
> I hope I didn't make you more experienced people sigh too much
>
> Thanks RJ
>
>