Related Articles
PHP – Send Shell Commands with shell_exec()
The shell_exec() function allows you to send commands to the Command Line using PHP. You can use this for everything from pinging websites, to calling installed apps such as FFMPEG. shell_exec() also returns the results […]
PHP – Creating Arrays
Arrays allow for a variable to have multiple values. This gives you the ability to create lists of names, and be able to sort them easily. Also it allows you to have values from a […]
PHP – Write to File – file_put_contents()
You can write variables to a file with file_put_contents(). If the file pointed to does not exist it will be created. By adding FILE_APPEND this will append data to the created file, if not the […]
Be the first to comment