|
-
Dec 28th, 2002, 08:35 AM
#1
Thread Starter
Junior Member
what can i do with "img src"
is there anything i can do with with a php file by calling it through <img src=whatever.php>
the only thing ive seen done is generating images but i think that needs some gd library or something. I don't have that so is it possible to do anything else like putting an image or text or anything?
-
Dec 28th, 2002, 01:16 PM
#2
Fanatic Member
The img tag only alows an output that links to an image.
But you can do many things in the script before your image output. Such as logging user information, or a randomizing a link, as long as it does not return a value, and an image is the output, you can do everything.
-
Dec 28th, 2002, 09:51 PM
#3
Thread Starter
Junior Member
how can i make an image output without that labrary that i was talking about?
-
Dec 29th, 2002, 08:59 AM
#4
Fanatic Member
PHP Code:
<?php
header("Location: yourpic.jpg");
//your code
?>
make sure nothing is outputing before or after the header.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|