You are here: Re: [PHP] Is it Possible? « PHP « IT news, forums, messages
Re: [PHP] Is it Possible?

Posted by Erwin Kerk on 10/07/16 11:07

Sagar C Nannapaneni wrote:
> I'm calling a php script with <img> tag
>
> for ex: <img src="http://localhost/test.php?img=asfd">
>
> and the test.php is as follows...
>
> test.php
> ------------
> <?
> ...
> ...
> some server side validations
> ...
> readfile("abcd.gif");
> ?>
> -----------------------------------------------
>
> Theres no problem with this..its working fine. But i want to return some text(or Html) the
> browser along with the image. So is there anyway that i can send the text to the browser
> in this fashion. Even anyother solution other than the <img> is also Ok. Showing img
> is not a priority for me but sending the text is..
>
> Any help will be greatly appreciated..
>
> Thanks,
> /sagar


I guess you're trying to get some data from the server after the page
load (problably by javascript), so this might be of help:

http://www.scss.com.au/family/andrew/webdesign/xmlhttprequest/



Erwin Kerk

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация