Jump to content

Sandip

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Sandip's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Solved. I used a function to echo image. After looking at some other web site I made one seperate file to spit out image. So headers are not messing up anymore. Thanks anyways.
  2. Actually I am ouputiing HTML through PHP. And once I set it to image type I am nt able to echo any HTML . I can see image or HTML but not both on same page.
  3. Is there any work around for printing data of two different MIME types in same file? I am fetching images from database and at the same there is some HTML also. Once I set content type to image I cant print HTML. Printing image from database is another function. How can I print or override headers? Thanks , Sandip
  4. hi i solved the problem. problem was i was sending some data to browser like echo tht was upseting the headers. I removed all echo but one. n it worked. thanks for your prompt help though. Sandip
  5. I did'nt get you redarrow.can you please explain a little ?
  6. Hi, Background : I have a small question. In my website I have few imageboxes. I am asking user for image file and place it in image box. User will preview file and if he is happy he can upload(submit) the page. Now I am setting image as imagebox background using javascript as Image selection is just another pop up with browse button. After submitting the page I am reading file contents from its client location and insert it in to MYSQL. when I view binary contents using MySQL query browser I can see tht image but when I try to download it I cant see image.for downloading I read blob data then set headers and echo the contents. Question: My question is do I need to read file from its temp location on the server always? Can I just read file from client location and insert contents in to the database and then retrive it? I use strlen to get file size after reading it and image type from image name. Thanks a lot for your help ! Sandip
×
×
  • Create New...

Important Information

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.