#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    7
    Rep Power
    0
    I can write()

    GET / HTTP/1.0rn
    Host: www.mediawaveonline.comrn
    Cookie: CookieID=123456rn
    rn

    if I try to read() here, I get a small DOS on our server, a loop wich causes me to restart apache to eliminate it. no error's in the logs. No data is sent back from the server to my computer as a response.

    if I skip the read(), and exit() the php app. the server treats it as no problem, I get a fast and speedy correct responce from the server. Its the read() in the PHP code that buggers. up.

    if I write()

    GET / HTTP/1.0rn
    Host: www.mediawaveonline.comrn
    rn

    then read() I get no problem again. its only with the Cookie: line....

    Chris Lee
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2000
    Location
    Ontario, Canada
    Posts
    498
    Rep Power
    18
    Does the cookie exist on the server where you're running the PHP script from (or should it, for that matter)?

    ------------------
    To alcohol! The cause of, and solution to, all of life's problems. -- Homer Simpson

    [This message has been edited by cka (edited September 13, 2000).]

Similar Threads

  1. read iframe html.....write to form, string..etc.
    By dave777 in forum HTML Programming
    Replies: 0
    Last Post: February 2nd, 2004, 12:27 PM
  2. read iframe html.....write to form, string..etc.
    By dave777 in forum HTML Programming
    Replies: 1
    Last Post: February 2nd, 2004, 10:14 AM
  3. read iframe html.....write to form, string..etc.
    By dave777 in forum PHP Development
    Replies: 2
    Last Post: February 2nd, 2004, 10:11 AM
  4. StreamReader reads, but StreamWriter doesn't write...
    By cagey cretin in forum C Programming
    Replies: 2
    Last Post: January 31st, 2004, 08:51 PM
  5. Replies: 4
    Last Post: January 11th, 2004, 11:34 AM

IMN logo majestic logo threadwatch logo seochat tools logo