In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Jtjohnston) wrote:
> Suggestions for improvement anyone?
> > > $mystring = ereg_replace (".html", "", $mystring);
> > > $mystring = ereg_replace (".htm", "", $mystring);
> > > $mystring = ereg_replace (" ", "", $mystring);
> > >
> > > $mystring
:) Thanks. Just learning. Suggestions for improvement anyone?
> Oh man, use str_replace() please and to remove the $ just use '$'
> > $filename = stripslashes(strip_punctuation($filename));
> > $filename = $filename.".".randString(5).".htm";
> > echo "here it is: ".$filename."!!";
> > ---
Oh man, use str_replace() please and to remove the $ just use '$'
-Rasmus
On Mon, 22 Oct 2001, jtjohnston wrote:
> Marc,
> I have prepared a function to erase syntax from a
> But it won't erase "$" in its output when I echo. What am I doing wrong?
>
> A post-reply would be real handy,
> Thanks
Marc,
I have prepared a function to erase syntax from a
But it won't erase "$" in its output when I echo. What am I doing wrong?
A post-reply would be real handy,
Thanks,
John
$filename = stripslashes(strip_punctuation($filename));
$filename = $filename.".".randString(5).".htm";
echo "here it
4 matches
Mail list logo