By Sid, on August 5th, 2010%
Handling XML requests from PHP involves accessing the raw POST data. This can be done by accessing the $HTTP_RAW_POST_DATA variable, but this depends on having the always_populate_raw_post_data directive enabled in your php.ini. A less memory intensive alternative is php://input, which doesn’t need any special php.ini setting, but it’s not available for multipart/form-data requests.
Reading . . . → Read More: Accessing POST data
By Mihaela, on June 9th, 2010%
One of the most common and overused type of operation a web developer needs to perform is no doubt string manipulation. Very often strings need to be trimmed and chopped, cleaned of unwanted characters, chunk split into little pieces, glued back in a different order, encrypted and decoded back and forth, searched through, reversed, . . . → Read More: Getting the substrings between given delimiters
Recent Comments