Building URL (HTTP GET) Query Dynamically

Probably one of the most tedious parts of web development is hand coding a URL with several parameters attached to it. Most beginning developers are use to hand coding URL’s when developing dynamic web apps, much like this.

<a href=”page.php?id=<? echo $_GET['id']; ?>&title=<? echo $_GET['title']; ?>&q=<? echo $_GET['q']; ?>”>XXX</a>

This isn’t a horrible practice and of course [...]

HTTP POST without cURL library - PHP

Found this interesting function that can handle a HTTP POST without using redirects or any special hacks. This is extremely useful for sending data over a secure HTTPS POST or to another web site. cURL is probably the better choice here, but if you don’t have the library avaliable, (like many developers because of strict [...]