RE: [PHP-WIN] Javascript

From: Date: Thu, 03 May 2001 16:23:07 +0000
Subject: RE: [PHP-WIN] Javascript
Groups: php.windows 
Request: Send a blank email to php-windows+get-7265@lists.php.net to get a copy of this message
John, ?: are you setting a Content-type header in your php script which outputs text/javascript > -----Original Message----- > From: Ignatius Teo [mailto:iteo@scu.edu.au] > Sent: Wednesday, May 02, 2001 10:45 PM > To: 'John'; php-windows@lists.php.net > Subject: RE: [PHP-WIN] Javascript > > > This may seem like silly questions, but... > > 1. Have you configured your web server to handle php scripts? > 2. Are you able to run php scripts normally? > 3. Does your script return valid javascript code? > > Ignatius > > -----Original Message----- > From: John [mailto:php@smalltownworld.com] > Sent: Thursday, 3 May 2001 12:20 > To: php-windows@lists.php.net > Subject: [PHP-WIN] Javascript > > Is there a way to use a JavaScript to call php: > > ie: > > <script language=javascript src="phpscript.php"></script> > > > I have tried this and it will not run the PHP... this works > in ASP... I'm a > PHP newbie.. > > Any help is appreciated... > > Thanks!!!

« previous php.windows (#7265) next »