A very nice PHP example to parse a JSON file.
A very useful example for parsing JSON with a PHP script.
A very useful example for parsing JSON with a PHP script.
Some more very useful Google Dorks for finding information in 2023.
http://codex.wordpress.org/User:MichaelH/Orphaned_Plugins_needing_Adoption/Emergency. This PHP script when run on a web server will allow a webmaster to reset the Administrator password for a WordPress installation. This is another good way to reset the password if you forget it. If you have access to the MySQL command line you may also use that to reset the password. The … Read more
This is how easy it is to change the PHP version to the latest on Hostgator servers. Open Cpanel and look for the PHP Selector option. Open this and then you will be presented with the screen below. Change the PHP version to PHP Edge and click Update. This will set the PHP version to … Read more
I hate it when a plugin author updates their plugin and upon updating it, you get a PHP error that prevents you from running your website, necessitating that you log into your Cpanel to fix the problem. That is great. Why can they not test the plugin first before deploying it to the download page? … Read more
Listing of current 4chan /g/ threads I have developed a simple PHP script. This one will list all current threads on the 4chan /g/ technology board. I guess this could be interesting to someone who wants to know what current threads are up, but does not have the time to go and browse the whole … Read more
I have fixed my PHP date code, major facepalm when I had a default date hardcoded in the PHP… Should be all good now.
This code is on my https://securitronlinux.com/linux/ page. It shows a random image and a random webpage link. <?php $time = strftime(“%A %d %B %Y. %r – %Z”); srand(time(NULL)); $day = rand() % 6; $string = sprintf(“<font size=\”2pt\”><p>Welcome to my website.</p>\n”); $links = array(“BejArray” => array(“0” => “perl_code.php”, “1” => “psx_doom.php”, “2” => “cgi_code.php”, “3” => … Read more
http://www.websitedefender.com/announcements/websitedefender-wordpress-security-plugin-news/scan-blog-wordpress-security-scan/. Securing your WordPress installation is vital, the PHP installation as well as the MySQL database need to be protected. The Website Defender website offers a free service that will scan your website and offer suggestions on how to secure your WordPress installation and any other software that you have installed such as PHPBB. I … Read more
Well, I am coding an ad rotation script in PHP for my website that will be able to display a pseudo-random advertisement out of a choice that I have put into it, this will help me if I want to display something different in the same place, I can just display a random advertisement and … Read more