Hi Raquibul,

----- Original Message ----- 
From: "raquibul islam"
> Hey bob thanks for ur help 
> But still stuck in it 
> 
> and HTML file name show.htm
> 
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional/ /EN" 
> "http://www.w3. org/TR/xhtml1/ DTD/xhtml1- transitional. dtd">
> <html xmlns="http://www.w3. org/1999/ xhtml" xml:lang="en" lang="en">
> <head>
> <title>Test</title>
> <meta http-equiv=" Content-Type" content="text/ html; charset=iso- 8859-1" />
> </head>
> <body>
> <div><img src="image.php? i=1" alt="Image description"/></div>
> </body>
> </html>
> 
> 
> and the out put is --->Image description (no image)


<div><img src="image.php? i=1" alt="Image description"/></div>
There is a space between "?" and "i=1"

Also, you may need to increase the size allowed in the form, for large images.

These are very basic syntax errors produced by the wrapping of lines as the 
group resends these messages out to you. If you notice, quite a few spaces have 
appeared in the code I posted due to this. 

If you're are serious about learning, you need a colour coded editor, which 
saves hours of wasted time looking for miss-spelt commands. You see the mistake 
as you're typing it in.

Once you get this example working locally, it will not be suitable for use on 
your server as it is. This example is only to show how you upload, retrieve and 
display images and is very basic. But, somehow I get the feeling that you can't 
wait to upload this example.

Once you use php (or any other similar language) automated bots are just 
looking for loopholes to infiltrate your site. My error log is full of failed 
attempts, trying every page guessing variables randomly. The IP addresses are 
always faked, so you can't block or report them.

Nothing to do with this example, but when I first started messing with php, I 
made a file writable for something I was testing. Within an hour, some Perl 
takeover script had been written in it. Luckly, the file wasn't executable.
Regards, Bob.


Reply via email to