|
![](/i/fill.gif) |
Timon Christl wrote:
>
> As the other posters said, there is no image. I looked into the HTML
> source generated by your PHP code, and found the reason: You are using
> backslashes in the path to the image:
>
> <img src=".\renders\blackseasbarracuda3.jpg">
>
> but PHP (to be more exact, the underlying webserver) requires forward
> slashes as path separators. The character sequence \r is actually a
> single ASCII character (13 => Carriage return), the same is true for
> \b (which is 8 => Bell). Just change this and it will work.
Hmm, it appears you're right. I thought I had used the backslash
elsewhere, but I looked through my files and I guess I didn't. I'll
change that and you tell me if it works.
Probably some browsers change the backslash to a forward slash, as it
worked fine for me in both IE and Netscape. That or certain browsers
don't like the backslash. BTW, PHP has nothing to do with it, as it
merely generates the HTML. PHP uses C-style escape sequences, but the
PHP code had a double-backslash, resulting in HTML with one backslash.
--
___ ______________________________________________
| \ |_ website: http://davidf.faricy.net/
|_/avid |ontaine email: <dav### [at] faricy net>
Post a reply to this message
|
![](/i/fill.gif) |