PHP process as default will stop or terminate the process when the client close the connection or process timeout. When user stop the process through browser it will automatically send abort header, and PHP will turn on the abort flag, so the process the currently running will be force to stop. As well as the process timeout met, the PHP will eventually stop the process too.I had one case that i should fire another script with Curl library in PHP. But since the other script took a very long … Read more...
[HowTo] Publish Post Via XML-RPC In WordPress
There are many ways to publish Wordpress blog post. You can publish from the Wordpress admin interface, you can publish via email and also you can publish it via XML-RPC. So what is XML-RPC? XML-RPC is a remote procedure call (RPC) protocol which uses XML to encode its calls and HTTP as a transport mechanism. Which mean we can call the Wordpress procedure remotely. And this will make Wordpress easily integrate with other system.To enable publish via XML-RPC in Wordpress follow these … Read more...
[HowTo] Install Curl in PHP5 and Apache
This time i want to share with you how to install Curl in PHP5 in Linux Environtment (I'm using Ubuntu 8.10) and using apache web server, but if you have any question to install php-curl in other environment, feel free to contact me of leave any comment, i will glad to help you.Okay, now let's start with check if php-curl is already installed in your server or not.To check it please follow this step:Create a file in your web server (in Ubuntu it would be in /var/www folder), name it … Read more...