php generated javascript

From: Date: Thu, 31 Aug 2006 03:40:39 +0000
Subject: php generated javascript
Groups: php.general 
Request: Send a blank email to php-general+get-241252@lists.php.net to get a copy of this message
Hello, I'm writing a script to generate a javascript. The javascript would generate a banner when it is sourced. This javascript is sourced by another html like this: <script type="text/javascript" language='JavaScript' src='http://foo.com/testing/js.php'></script> However, Sometimes the javascript doesn't show anything at all. it seems that the php generated javascript cannot be loaded sometimes. Maybe the generation takes too long. I'm not sure about that. Is there anyway to deal with it? Koala Yeung

« previous php.general (#241252) next »