Re: i think im crazy..
| From: | Ignacio Vazquez-Abrams | Date: | Thu, 21 Dec 2000 23:27:15 +0000 |
| Subject: | Re: i think im crazy.. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-31495@lists.php.net to get a copy of this message | ||
On Thu, 21 Dec 2000, enthalpy wrote:
>
> ok.. i have a javascript that i wrote and because of problems ive had to
> resort to doing the following
>
> <?php
> $werd = require("javascript");
> print "$werd";
> ?>
>
> i go to a browser and bring this up.. and its fine except there is a
> "0" at the bottom of the page.. ive gone through all my code and i cant
> find what is printing this. however when i changed the require() to
> include() i get a "1" at the bottom of the page. does anyone know what is
> going on?
>
> <-----CoreComm-Internet-Services--http://core.com/----->
> (Jon Marshall CoreComm Services Chicago)
> (jonathon.marshall@core.com Systems Engineer II)
> (enthalpy@core.com Network Operations)
> <-----Enthalpy.org------------http://enthalpy.org/----->
> (enthalpy@enthalpy.org The World of Nothing)
> <------------------------------------------------------>
>
Try:
<?php
readfile("javascript");
?>
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>