Tag: Php

Post to a URL Using cURL and PHP

A client needed me to write a script that would collect information from their database and post it to a specific URL, just like it was being submitted by a…

PHP Errors

Turning On PHP Errors

For security reasons, most web servers have PHP errors turned off. This makes sense on live sites since you really wouldn’t want people to see all your root paths if…

Defining a Constant with PHP

Defining a constant in PHP can come in handy when working with a value that will be used throughout your script. What is a constant exactly? According to PHP.net, “A…