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;...
User Profile
Collapse
-
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
...Leave a comment:
-
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
ThanksLeave a comment:
-
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:...
No activity results to display
Show More
Leave a comment: