php

Port php mysql scripts to php 7.0 from 5.x version

2018/04/23

Recently I got a script or series of scripts that were written for PHP 5.6x and hence used mysql_connect which as you know by now does not work with PHP 7.0. Since there were number of scripts, I …

apache in docker to serve local website

2015/01/05

I have some backup’s of website on my laptop, which I occasionally want to view. Now, I could have setup apache to serve them directly with VirtualHost or alias but wanted a better solution. So, …

PHP Image gallery with fancybox.

2014/12/09

So, I was looking for some quick to setup PHP Image gallery file. I found couple but none of them suited my needs too well. So I had to write my own. Very simple PHP script to show all the images …

Search CVE – web interface with php

2014/11/03

So, last few weeks have been very busy with lot of security issues, so I thought of having a local CVE Search app. But all I could find on google and github.com were on python and nothing that I could …

terminal in browser.

2014/05/09

Quite a lot of time, we are spending most of the time on Browsers and during this time, leaving the browser just to do some ls or some command for quickly checking something does not look productive …

Code beautifier for php

2013/10/17

If you would like to beautify your php scripts, then you can use the beautifier available at : http://pear.php.net/package/PHP_Beautifier/download

phpmyadmin access problem and change server from URL

2012/09/30

I was having issues with one of the phpmyadmin setups. The first server defined in the config file was not accessible and the theme that I was using was not allowing me to change the server from the …

Using file partially for filenames

2012/02/12

There are some commands that take file name and there are some case where you need to give file name. But there are some cases where you want to modify the file before passing it to the command. What …

g flag in :s useless in vim

2011/11/05

Some time back there was a post on vim_use list about the “/g” flag for the search and replace functionality of the vim. And the response of “Tim Chase” on the same was very elaborate and interesting. …

Cont: Get yourself some more conkyrc files.

2011/10/12

Last time we got ourselves some conkyrc files from the ubuntu forums. But that scripts gets the files only from the First page of the thread. Lets extend this further and get the script to get all the …

Get yourself some conkyrc files.

2011/10/05

If you are looking for some nice conkyrc files, then you can head over to : Ubuntu Forums In this thread you can see some very nice conkyrc files with screenshots. You can browse through the thread …

Some pictures from Burj Khalifa

2011/08/01

{.shutterset_} [php] $file = ‘/var/chroot/home/content/02/6377202/html/wp/wp-content/uploads/copper_albums/Parks_Dubai/orig_DSC_5287.jpg’; $exif = exif_read_data(“$file”, 0, true); $key=”EXIF“; $exif …


This website uses cookies to ensure you get the best experience on our website. Learn more Got it