22
2008
Output buffering PHP Apache mod gzip mod deflate
Till recently most of my php scripts were working fine on the servers with instantaneous outputs as and when a echo statement came. One issue that popped a lot on localhost was that of chunky outputs; that is the outputs of big scripts came out in chunks rather than smoothly with every echo or print statement. After some research flush() was found to be the solution for this output buffering issue. So what happened was [...]
19
2008
Remote Login with Curl PHP
The Curl Library of PHP can be used to open remote web pages and also logging in where a login is required. Code After the curl_exec the login page is opened with login details or simply the login has been done. Now any other url (which is login restricted) can be opened by The option CURLOPT_COOKIEFILE is used to specify a file which stores the cookie data that is received during the process of opening [...]
Subscribe
Recent Posts
- Compile wxwebconnect on Ubuntu 11.04 64 bit
- Disqus Comments Importer Script in PHP
- Beginners’ guide to socket programming with winsock
- Handle multiple socket connections with fd_set and select on Linux
- Beginners guide to socket programming in C on Linux
- Gui whois client in python with wxpython
- Whois client code in C with Linux sockets
- str_replace for C
- Easy to use C/C++ IDE for Ubuntu Linux
- Get local ip in C on linux
An article by Binary Tides