User Profile

Collapse

Profile Sidebar

Collapse
bytesc
bytesc
Last Activity: Aug 18 '08, 11:00 PM
Joined: Aug 16 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • bytesc
    replied to error ouput opening a picture file
    I understand that a mod rewrite might be the issue, but I have set none and how would I go about tackling this issue?

    Thanks,
    See more | Go to post

    Leave a comment:


  • bytesc
    replied to error ouput opening a picture file
    The pictures are not uploaded, but downloaded by us.

    I have uploaded the picture to a different server of mine and it works perfectly. I don't know why i am getting this error only with my older server and why now... this is very strange. Is there a place to check for file assossications in apache?

    Thanks
    See more | Go to post

    Leave a comment:


  • bytesc
    replied to error ouput opening a picture file
    Here is the code I have used to create the picture:

    [PHP]
    $i = http://www.site.com/pic1.jpg
    $ni = "/home/virtual/site1/var/www/html/pics/new_pic.jpg";
    if (!$img=@imagecr eatefromjpeg("$ i")) {
    die;
    }

    $newimg=imagecr eatetruecolor(1 00,100);
    $bgColor = imagecoloralloc ate($newimg, 255,255,255);
    imagefill($newi mg,0,0,$bgColor );
    imagecopyresamp led($newimg,$im g,0,0,0,0,100,1 00,100,100);...
    See more | Go to post

    Leave a comment:


  • bytesc
    started a topic error ouput opening a picture file

    error ouput opening a picture file

    Hey guys,

    I have created many picture files using gd_library, I recently decided to rename all of my pictures files on my web server to text instead of just numbers.
    Example: productsssh.jpg

    I am recently receiving a wierd error when I open up some of the picture files. Here is the name of the picture: productsssh.jpg .

    I get the following error only when i open up that picture via the web: ...
    See more | Go to post

  • bytesc
    replied to error ouput opening a picture file
    I haven't played around with any of my settings and no I am simply calling up the pictures by directly, example:

    http://www.site.com/pics/pictures.jpg

    Maybe somehow, apache is reading the jpg files as php which is very strange and does not happen when my pictures are in number name format. example 112233.jpg

    By the way this only happens to pictures that i have created with php gd library, via php....
    See more | Go to post

    Leave a comment:


  • bytesc
    replied to error ouput opening a picture file
    No the pictures are not witht he php extension. ALl the pictures are jpeg example: productssh.jpg.
    See more | Go to post

    Leave a comment:


  • bytesc
    started a topic error ouput opening a picture file

    error ouput opening a picture file

    Hey guys,

    I have created many picture files using gd_library, I recently decided to rename all of my pictures files on my web server to text instead of just numbers.
    Example: productsssh.jpg

    I am recently receiving a wierd error when I open up some of the picture files. Here is the name of the picture: productsssh.jpg .

    I get the following error only when i open up that picture via the web: ...
    See more | Go to post
No activity results to display
Show More
Working...