Tag Archive for 'javascript'

Securing PHP scripts from unauthorized REST API requests

When developing web applications, it is crucial to ensure the security of our PHP scripts, especially when handling sensitive data. One common vulnerability is unauthorized REST API requests from external sources. In this blog post, we will explore some measures to protect PHP scripts from such attacks.

Continue reading...

Booking Calendar Lite 1.1 released!

New version of "Booking Calendar Lite" have been released. This great script is best choice to publish if some resource are reserved, occupied or free. It is very quick to setup and easy to manage. In this version you will find a lot of improvements. Here is the list:

  • improved installation script,
  • improved administration - all settings may be changed in admin panel (no need to edit configuration files in notepad as in previous versions),
  • possibility to disable copyright notice with one click  (Powered by…),
  • optimized MySQL queries (less server load and faster responses),
  • some more code cleanup.

If you are interested in new release you may get more details on Booking Calendar Lite page.

Form element name change with JavaScript and radio button

Today I have had to modify very complex script to change look of html form. It is quite easy to make changes in the form. But sometimes it is a problem to modify not to well written PHP script to receive data from new form.
Continue reading...

Booking calendar

Calendar with possibility to mark if resources for some date are free or not. There are 3 options: “Reserved”, “Occupied”, “Free”. Calendar is generated by the script and it let users to go through years back and forward. Calendar days are displayed regarding the real dates (feb 29!). Administrator can mark dates just by clicking on one of the calendar cell’s. Script is written in PHP (with MySQL) and JavaScript.

Calendar demo

Calendar demo

You may get a copy of this script for $30 (installation included) - contact me if interested.

Update: Script have been released under GPL license and can be downloaded for free. Click here for more details.