This is baffling me, I have a form on one page that opens a php file in a
text area for editing. In order to view the contents of the file in the
text area I had to setup a eregi_replace(,a) string. When I save the
changes back to the text file I setup a reverse string i.e. [
eregi_replace(a,)
On Mon, Jun 03, 2002 at 11:15:15AM -0600, Jas wrote:
In order to view the contents of the file in the
text area I had to setup a eregi_replace(,a) string.
's are not legal in HTML. You need to escape them. When pulling stuff
out of the file, use htmlspecialchars() before displaying the
Guys/Gals:
For some reason too long to explane .. i have this site that i need to make
all the image names in an
image src all lowercase.. Here is what I have so far. Please someone tell
me what I am doing wrong.
?
$contents="img src=ThisOneReallyNeedsToBeAllLowercase.gif
You should either do this with ereg, or strtolower and not a combination of
the two, and in all actuality strtolower is specifically desinged to do this
very easily so I would go with it.
?
$contents="img src=ThisOneReallyNeedsToBeAllLowercase.gif
alt=ThisOneReallyNeedsToBeAllLowercase.gif";
4 matches
Mail list logo