|
|
David Fontaine <dav### [at] faricynet> wrote in message
news:3A847707.906DC82F@faricy.net...
> I couldn't run PHP because it wasn't installed and I couldn't run Perl
> because I had to compile it first. Ack. Well that's been addressed. So
> now I made a PHP guestbook (faricy.net installed PHP 4.04).
> http://davidf.faricy.net/guestbook/guestbook.php
>
> The problem is any "special" characters, quotes, apostraphes,
> backslashes, get a backslash stuck in front of them by the script. So I
> try to test sign my guestbook and I get
>
> Don\'t just read it, <a href=\"signbook.php\">sign</a> it!
>
> Ugly and destroys HTML. Can anyone tell me how to fix this?
>
Well, go into the PHP code, and try to get the outputted string before it is
written to stdout. Look for "\?) and, replace by ?...i guess you can do that
in PHP, right?
> Also, when I enter my URL i get a directory listing instead of
> index.html. I have told Ryan Faricy about this problem. (It's a server
> problem, right?)
yeah, i'd guess
Post a reply to this message
|
|