Randolph Ledesma
  • Jul 17, 2019

    Sanitizing Links

    Script to sanitize links on string. This can be useful when trying to format links from untrusted sources.

    Read more →

  • May 16, 2019

    Timezone Conversion

    Converting a timestamp from and to a different timezones.

    Read more →

  • Apr 15, 2019

    Using Reflection to access protected properties in PHP

    Here is how to access protected class properties. Reflection is generally a method for inspecting classes and modify its logic at execution time.

    Read more →

  • Feb 5, 2019

    Embed a <video> in responsive way

    This is how to embed a video on a page and make it responsive.

    Read more →

  • Dec 19, 2018

    PHP Debugging Utility using Monolog

    Have created a debug helper script which is very useful for tracing issues in PHP.

    Read more →

  • Oct 22, 2018

    Add SSL functionality without any changes on application code

    The Stunnel program is designed to work as an SSL encryption wrapper between remote client and local (inetd-startable) or remote server. It can be used to add SSL functionality to commonly used inetd daemons like POP2, POP3, and IMAP servers without any changes in the program’s code.

    Read more →

  • Sep 13, 2018

    Useful array map

    Here is an example of array_map function to produce a string by appending each content of a flat array.

    Read more →

  • Aug 31, 2018

    Find function declaration in PHP

    This is a simple way to find where the function is defined on your script

    Read more →

  • May 24, 2018

    PHP Console Template

    A template to use when making a script that runs in command-line.

    Read more →

  • Jan 18, 2018

    Quick PHP Debugging

    Put this on top of your script and easily see the errors and warnings.

    Read more →

Randolph Ledesma

  • Randolph Ledesma
  • randop@me.com
  • randop

Hello Friends 😎 I am Randolph Ledesma. I work as backend developer specializing in building internet applications.