GitHub: https://gist.github.com/dkittell/85dbbf25e41a30cb5073 Credit goes to Dominic Barnes – http://stackoverflow.com/users/188702/dominic-barnes http://stackoverflow.com/questions/2594211/php-simple-dynamic-breadcrumb
Category: PHP
WordPress – Ninja Forms – Disable Form Saves
If you have a concern about PHI or other concerns of saving data on your SQL database of the Ninja Forms follow the step on their site http://docs.ninjaforms.com/customer/en/portal/articles/2045697-faq#faq_save on the save-sub.php file. The save-sub.php location may vary based on your operating system but if you are on a UNIX based…
PHP Create MySQL Table From CSV File Headings
Reference: https://bytes.com/topic/mysql/answers/746696-create-mysql-table-field-headings-line-csv-file
PHP CLI – Create WordPress Username
Currently this code only creates a subscriber user in WordPress. Due to security concerns I likely won’t work on this to make it do greater permissions.
PHP CLI – Restrict to CLI Only
Sometimes it’s easier to run a PHP script than to run a UNIX bash/shell script, this code below will require the use of PHP CLI and prevent it from running in a web browser. Typically a good idea to place the PHP file out of the web directory as well….
PHP WordPress – Use Radius Server Login
Securing WordPress with Radius Server login. This project was created in mind to help secure WordPress but allow users an easier way to securely login without having to have a really long password to remember. While I do not go into creating the Radius server you can go to http://www.radiusdesk.com/getting_started/install_ubuntu_nginx…
PHP – OpenSSL AES Encryption
This is currently setup as a three file setup, I can not remember where I originally found the code so I can not take full credit for this post. I use the code below to send a username and date\time to another page. If the date\time is within 2 minutes…
List All Files In Folder
Reference: http://www.codingforums.com/post-a-php-snippet/71882-recursive-directory-listing-show-full-directory-structure.html