<img src="http://www.x.com/carpeta/imagen.php">
i try print(); and echo(); and nothing
please help…
<img src="http://www.x.com/carpeta/imagen.php">
i try print(); and echo(); and nothing
please help…
whats the PHP code?
I do something similar with my footer… more details and I’ll be able to help
This might help show you how to do it also…
what might help me? i see no code
but here is al live example
http://www.caseyscam.com/potd/thumb.php
if you put that in
<img src="http://www.caseyscam.com/potd/thumb.php">
it displays the image
http://www.kirupaforum.com/forums/showthread.php?s=&threadid=26988
sorry forgot the link…
and I don’t want to see the live example, I want to see your php code so I can see if you are creating and destroying the image correctly…
i found some code and mix it with mine…
but the server is marking som erros on the last 3 lines…
<?php
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Pragma: no-cache");
header("Content-type: image/jpeg");
$image_path = "/public_html/domain.com/potd/th/";
$images = array("tnimgrxq.jpg",
"tnimgade.jpg",
"tnimgres.jpg",
"tnimgwer.jpg",
"tnimgpon.jpg",
"tnimgsir.jpg",
"tnimgren.jpg",
"tnimgtoe.jpg",
"tnimgtri.jpg",
"tnimgtra.jpg",
"tnimglin.jpg",
"tnimgler.jpg",
"tnimglom.jpg",
"tnimglot.jpg",
"tnimgwot.jpg",
"tnimgtce.jpg",
"tnimgreq.jpg",
"tnimgron.jpg",
"tnimgrse.jpg",
"tnimgrio.jpg",
"tnimgrmi.jpg",
"tnimgrlo.jpg",
"tnimguon.jpg",
"tnimguli.jpg",
"tnimgoni.jpg",
"tnimgore.jpg",
"tnimgoae.jpg",
"tnimgkie.jpg",
"tnimgkol.jpg",
"tnimgkae.jpg",
"tnimgzin.jpg");
$handle = fopen('$image_path$images[$day_of_month]', "r");
fpassthru($handle);
fclose($handle);
?>
i think is something to do with the $handle and the 2 vars i got there…
after i put the ‘’ 's in the fopen tag this errors came up.
<br />
<b>Warning</b>: fopen("$image_path$images[$day_of_month]", “r”) - No such file or directory in <b>/public_html/domain.com/potd/tnpotd.php</b> on line <b>43</b><br />
<br />
<b>Warning</b>: fpassthru(): supplied argument is not a valid File-Handle resource in <b>/public_html/domain.com/potd/tnpotd.php</b> on line <b>44</b><br />
<br />
<b>Warning</b>: fclose(): supplied argument is not a valid File-Handle resource in <b>/public_html/domain.com/potd/tnpotd.php</b> on line <b>45</b><br />
and if i put the absolute path besides the VARS in fopen it works perfectly…
maybe it has to do with the fopen($vars,“r”);
maybe im putting the vars wrong or something…
LOL!!!
NEVERMIND!!!1
i figure it out…
i accidentally delete the day_of_the_month VAR!
hahaha
how st0pid
thanks!!!1
:: Copyright KIRUPA 2024 //--