BookStack is a simple, free, open-source, Laravel-based, wiki software organized into a hierarchy of bookshelfs, books, chapters, and pages. Check out their website and demo to learn more. Though installation on shared hosting is not currently recommended by the developers, it is certainly possible and works well in my experience. With just a few extra steps you’ll be filling those BookStack shelves in no time. [Read more…]
Search Results for: Latest updated 2V0-33.22PSE New Guide Files - The Best Assstant to help you pass 2V0-33.22PSE: VMware Cloud Professional 〰 Enter ➥ www.pdfvce.com 🡄 and search for 《 2V0-33.22PSE 》 to download for free 🎺2V0-33.22PSE Test Cram Pdf
New Web Host
I’ve moved the site to a new web host, hopefully it will be more responsive for everyone. I’ve already found some features that are lacking, but they aren’t big deals and for the price I can’t complain.
Highly Secure Data Encryption & Decryption Made Easy with PHP, MCrypt, Rijndael-256, and CBC
In various projects in the past I’ve had to revisit the topic of data encryption and decryption and the best way to accomplish it. In the interest of developing in the simplest, most efficient, and most secure way I have chosen the MCrypt PHP library (built-in to PHP since v4.0.2), Rijndael-256 cipher, and the Cipher Block Chaining (CBC) mode.
Previously I have used the Electronic CodeBook (ECB) mode, but have learned that it is far less secure than CBC because it creates the same hash every time for the same source data. CBC on the other hand creates a unique hash every time even for the same source data.
Anyways, below you’ll find my revised encrypt/decrypt functions with support for all PHP data types. [Read more…]
Setup WordPress to Respond to Multiple Site URLs
Have you ever encountered a case where you want to access your WordPress site from multiple site URLs (for example a local URL and an external URL, or multiple external URLs)?
Solution
Change the Site URL and Home URL to a relative URL, making the domain name irrelevant to loading the site. Oh, but it can’t be as simple as updating that on the Settings->General admin page, no…WordPress requires a valid URL. Well don’t give up, you’ll just have to hack the option directly in the database.
- Connect to your WordPress database using a web-based utility like phpMyAdmin or another SQL client such as HeidiSQL.
- Open your
wp_options
table for editing (if applicable, use your table prefix instead ofwp_
). - Find the rows with an
option_name
ofsiteurl
orhome
and change theoption_value
of each to/
if WordPress is installed in the root of your website or/path/to/wordpress
if your WordPress site is installed in a sub-directory. Do NOT add a trailing slash. - For those wanting to execute a simple SQL query, here is an example:
UPDATE wp_options SET option_value = '/' WHERE option_name IN('siteurl', 'home');
- Test your site out by going to your site URLs (for example http://192.168.0.1, http://mywebserver.local, http://www.example.com).
Important Note: This method is a hack and therefore isn’t a behavior WordPress developers intended. I wouldn’t recommend it for a production site. I have noticed that after making this change on a site that the admin login page lacks CSS, the toolbar on the Visual Editor is missing, and the front-end admin bar sometimes fails to be styled and shows at the bottom on pages. I haven’t seen any issues with the normal front-end site that visitors see. So be aware of some admin CSS problems.
Hope that tip can help some of you out, I know it was useful to me.
- « Previous Page
- 1
- …
- 3
- 4
- 5
- 6
- 7
- …
- 11
- Next Page »