in reply to Re: Is it possible to write to STDIN ? in thread Is it possible to write to STDIN ?
Thanks zentara, that's actually what I am up to so far, I alter a POST request to a GET request, however, like the code I stated at the last paragraph, this won't work when there's a single script that handle GET and POST in a total different manner, provided I want to leave the old codes as is.
So I just hope to find a way to write into the STDIN, so the read() later can just implement like the data really comes from the web server self. Is it possible to write into STDIN anyway ?
|