Re: PEAR inclusion problem
| From: | izgordu at uzem dot itu dot edu dot tr | Date: | Tue, 19 Jun 2007 11:14:26 +0000 |
| Subject: | Re: PEAR inclusion problem | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-27497@lists.php.net to get a copy of this message | ||
Weiske,
Thank you for your correction but i am afraid i have one more mistake too. My
error is now:
Warning: include(Science/Chemistry.php) [function.include]: failed to open
stream: No such file or directory in C:\AppServ\www\deneme.php on line 3
Warning: include() [function.include]: Failed opening 'Science/Chemistry.php'
for inclusion (include_path='.;C:\AppServ\php5\PEAR\PEAR') in
C:\AppServ\www\deneme.php on line 3
Quoting Christian Weiske <cweiske@cweiske.de>:
> IzGordu,
>
> > <?php
> > include 'Science_Chemistry.php';
> > ?>
> You need to replace underscores with slashes when including the files:
>
> > include 'Science/Chemistry.php';
>
> --
> Mit freundlichen Grüßen/Regards,
> Christian Weiske
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>