Re: i think im crazy..

From: Date: Thu, 21 Dec 2000 23:20:34 +0000
Subject: Re: i think im crazy..
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-31492@lists.php.net to get a copy of this message
Yeah I know. You run require - it escapes out of php, includes all your javascript, then returns nothing. You run include() it does the same thing, but returns a one because it's successful. Gfunk My name was Brian McGee, I stayed up listening to Queen, When I was seventeen. http://www.gfunk007.com/ ----- Original Message ----- From: "enthalpy" <enthalpy@core.com> To: <php-general@lists.php.net> Sent: Friday, December 22, 2000 10:17 AM Subject: [PHP] i think im crazy.. > > 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) > <------------------------------------------------------> > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#31492) next »