User Profile

Collapse

Profile Sidebar

Collapse
redvi4
redvi4
Last Activity: Feb 8 '07, 09:15 PM
Joined: Jan 28 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • redvi4
    replied to JPEG to Browser
    in C
    THIS IS MY last Modded Code:


    #include <iostream.h>
    #include <fstream.h>
    #include <string.h>
    #include <sys/stat.h>
    struct stat results;

    using namespace std;


    int main () {
    string s, line;
    if (stat("d:\\lava platito.jpg", &results) == 0)
    {
    cout <<"Content-Length: "<<results.st_s ize;...
    See more | Go to post

    Leave a comment:


  • redvi4
    replied to JPEG to Browser
    in C
    :( any suggestion?
    See more | Go to post

    Leave a comment:


  • redvi4
    replied to JPEG to Browser
    in C
    My program doesnt have compilation errors, my program have parse error with JPEG image, cos when i run the program on my webserver, it load but dont show the image.

    When i try with "text/html" and parse HTML file, the program works fine.
    When i change to "image/jpg", and try to parse JPEG file with the program on the ITEM #1 the program compile, but there is a parse error, cos the image is not show
    ...
    See more | Go to post

    Leave a comment:


  • redvi4
    replied to JPEG to Browser
    in C
    My question is
    "what is the correct C++ / C Code to present the jpeg file to browser"

    :( with my program , only display "cant show image" on the browser

    Thanks
    See more | Go to post

    Leave a comment:


  • redvi4
    started a topic JPEG to Browser
    in C

    JPEG to Browser

    Hello Friends THis is my first Post
    i like to program on php/unix, perl

    But at this time i have a question.

    i want to make an .exe program that make only
    1 action or work:

    read a JPEG file and send to the browser.

    pd:
    When i change image/jpeg and file to read to
    text/html , html file, the program run and display the html template

    Operative System:...
    See more | Go to post
No activity results to display
Show More
Working...