User Profile

Collapse

Profile Sidebar

Collapse
talcodes
talcodes
Last Activity: Nov 4 '08, 10:07 PM
Joined: Oct 29 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • talcodes
    replied to Converting text file to JPG file-help
    in Java
    Might not work, but have you tried storing the entire contents of the file into a String?

    you can do this by simply declaring a public string (say strFileContents ) and then replace:

    Code:
    line = srcFile.readLine();
    with

    Code:
    strFileContents += srcFile.readLine()+"\r\n";
    Actually I'm not too sure if the breakline escapes are needed or not...just...
    See more | Go to post

    Leave a comment:


  • talcodes
    replied to HTTP and CGI
    I could give the source code to my webserver if you like...this isn't an HTML/CSS question nor is it really an apache question, however an apache expert could possibly answer it.
    See more | Go to post

    Leave a comment:


  • talcodes
    replied to HTTP and CGI
    Pretty close...I already have the "cookie: 12345-blah-blah-blah" part down...What I need to do is get a CGI script to get the server to send specific headers such as "set-cookie: 12345-blah-blah-blah" if that makes any sense....
    See more | Go to post

    Leave a comment:


  • talcodes
    replied to HTTP and CGI
    Has nothing to do with HTML at all really
    This could apply with something as small as simple text output or perhaps binary output, depending on the script..

    ...Thanks for the reply though.

    Let me try to re-explain...It's hard to follow my train of thought at times.
    I can parse data from the server application to the CGI scripting application (ie perl) but I can not do the opposite (send data from the CGI...
    See more | Go to post

    Leave a comment:


  • talcodes
    started a topic HTTP and CGI

    HTTP and CGI

    First and foremost, allow me introduce myself.
    I am an active duty United States Marine stationed in Georgia. I have been a hobbyist programmer for the better part of my life, and my language of choice is usually Java. I hope that much suffices as an introduction.

    Anyways let's get to my problem, which may very well have a simple solution that I keep overlooking..

    I started writing a simple HTTP server a while...
    See more | Go to post
No activity results to display
Show More
Working...