RE: [PHP] newbie - function is undefined

From: Date: Mon, 04 Apr 2011 11:12:30 +0000
Subject: RE: [PHP] newbie - function is undefined
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-312236@lists.php.net to get a copy of this message
[snip] JavaScript is a browser-side language, browsers have cache, cache sticks around, meaning that you can tell the browser to cache the JS file and not download it from the server (every time) if its being included on the browser end (which js is). All means faster page load times post initial load, and less bandwidth. If you include the JS file with php, every time you request the page the javascript will be pulled from your hard drive by php and sent back as a part of the server response (your end web page). [/snip] So all of the pages I generate with PHP that call JavaScript functions and libraries are doing it wrong?

« previous php.general (#312236) next »