Jump to content
xisto Community

gajendrabang

Members
  • Content Count

    5
  • Joined

  • Last visited

Posts posted by gajendrabang


  1. unfortunately you cannot do this without modifying some server files, eh... not sure which ones so don't ask me. There is a much easier way of tricking the user into thinking its a regular jpg image when it's really a php file. Make a new folder on your server called name.jpg and inside of it put your php file, but rename it to index.php. In many cases, on websites with dynamic images, you can add /index.php after the image and it will not result in a 404 error, because they use this.


    Hi,

    Thanks for your reply. but my problem is different. I want to make a watermark image while feching the orignal image from database

  2. Hi,

    I am storing the images in database and the codes is following :

    <?	include "connection.php";	$sql="select image from sportsevent where id='$_GET[id]'";	$rs=mysql_query($sql);	$row=mysql_fetch_object($rs);	header("(anti-spam-(anti-spam-content-type:)) image/jpg");	echo $row->image;	mysql_free_result($rs);?>

    Could you tell me how to watermark images while outputting image in this way???

    Thanks
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.