php file and image

Status
Not open for further replies.

REY619

Ambassador of Buzz
I have made a php file that records some info about the visitors like php, referrer address etc. Now i want to put that file on the page in such a way so that an image should be displayed on the page and file should do their work altogether.
Can anyone tell me how to do it?
For eg:
Code:
<img src='*domain.com/file.php'>
In this way image should be displayed and the file should do its work simultaneously. I hope you understand.
Thanx.
 

nileshgr

Wise Old Owl
why do u want to display an image?
__________
without an image it is as easy as
PHP:
require \"file.php\";
It cud be in the top of index.php page.
 
Last edited:
OP
R

REY619

Ambassador of Buzz
lol no i want the file as an image. I know its possible, but i am clueless on how to do it... Hope somebody must be knowing it...
 

kalpik

In Pursuit of "Happyness"
You need to look at the PHP GD extension.. I've not worked with it personally, so cant help you on that :)
 
Status
Not open for further replies.
Top Bottom