Skip to content

How can I hide php file extension using htaccess?

this line does hide the extension successfully. Now I do not want the page with the extension to be accessible; if one tries to access that page with the extension, it must show an error. Only the one that has the extension hidden that must be accessible. Answer @MrWhite gave an answer that showed how to thro…

Add nbsp; in php

I have this How can I add a non-breaking space between the » and the term name? Answer Try This

PHP calendar to block some not available dates

I’m designing a little PHP calendar for a little booking system. The final feature is to block some not available dates, that I have stored in a PHP array. What is the best way to achieve this? Please I need some recommendations about how to do this. Thanks if I have an array in php with dates in this f…

Unable to decode JWT tokens PHP

I tried to decode the given token with the code below. The key is supposed to be base64 encoded. However when I attempt to decode it tells me I have invalid signature. The token is generated from a system using Java and I have to decode it in PHP. Token: Decoding script It decodes just fine on jwt.io with the

Efficient Site Structure

I need to make some websites for work. I am new to it, so I am going pretty basic with bootstrap. There are a number of pages that will be identically structured, just with different text and links. …