This article will show you how to call a JavaScript function from within PHP code. It is quite simple actually! echo "<script language=javascript>myfunction();</script>"… Read more
Programming
How to SCP (Secure Copy) files using PHP5
This article will explain how to SCP (Secure Copy) files using PHP5. SCP is a secure method of copying files from one host to another using the SSH protocol. Here is a snippet of working code to help get you started! $hostname = "target_host"; $username = "root"; $password = "password"; $sourceFile = "test.txt"; $targetFile =… Read more