Tag: php script
I have 15 domains, and they are all at CloudFlare. I would like to update the security level to all domains at once, programmatically. The security level could be …
The PHP can be used as a scripting language for command line tools. We can access the $argc and $argv these two variables to access the number of arguments …
The Mode of an array (numbers, strings or any other types) is the most frequently one. For example, for integer array , the mode is 1 (appears twice). There …
Posting regularly the posts to social networks help increase the site traffic effectively, e.g. Facebook, Twitter, Tumblr. It certainly is good if we can automate this process. With the …
Let’s consider this XML data, and you want to add an offset to all Z coordinate. <data> <point> <x> 1 </x> <y> 2 </y> <z> 3 </z> </point> <point> …