Tag Archives: php

Write HTTP request to web server with PHP.

I’ve recently built a proxy server that manually handles a lot of HTTP exchanges. I summarized the proxy’s read/writing to the server here. It actually is very simple: format a request in the form of an HTTP header, send the request to the server, and then read the server’s response. // OPEN SOCKET TO SERVER [...]
Posted in Programming | Also tagged , , | Leave a comment

Use PHP in WordPress page or post using RunPHP.

If you want to insert PHP code into your WordPress blog post or page itself, you’re going to need to install a plugin called RunPHP. The plugin’s developer’s site can be found here: http://www.nosq.com/blog/2006/01/runphp-plugin-for-wordpress/. You can download this plugin, install it quickly, and start using PHP code in your page. I found this especially useful [...]
Posted in Programming, Wordpress | Also tagged | Leave a comment