Are other webpages of huge sizes and txt file[s] binary files? I suspect not. strcat() is only useful on text, not binary information.nezachem is correct because an image is binary. You need a different way of processing non-text information.
WaltP
Posting Sage w/ dash of thyme
10,505 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944
Shouldn't you fix those if statements to be like ...
if(isGet == 0)
mitrmkar
Posting Virtuoso
1,809 posts since Nov 2007
Reputation Points: 1,105
Solved Threads: 395
Mhh! Is Apache and the co not enough? Why reinvert the wheel?
evstevemd
Senior Poster
3,713 posts since Jun 2007
Reputation Points: 462
Solved Threads: 392