Re: reading a file into variable for using in a javascript

From: Date: Tue, 10 Jun 2003 13:08:37 +0000
Subject: Re: reading a file into variable for using in a javascript
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-150900@lists.php.net to get a copy of this message
In article <2BCF3835-9A32-11D7-916D-000393CDCA6A@rightcode.net>, ckline@rightcode.net says... > Hi all, > > I am reading the content of a text file into a variable to be used in a > javascript. I am reworking some code that was originally done using > ColdFusion and the jsStringFormat(var) function. What is the PHP > equivalent string function? Is there one? I have searched the docs, but > can't figure out which to use. For those who aren't familiar with that function, can you say what it does? -- Quod subigo farinam $email =~ s/oz$/au/o;

« previous php.general (#150900) next »