Skip to content
The Unix Tips
cat /vishal/brain > theunixtips.com
  • About
  • Contact Me

Category: php

php

Pygment for Php Generating class=x for all lines

Posted on October 15, 2014 by Vishal Jain

By default pygment requires that php code starts with <?php for highlighting to work. Enabling startinline as highlight php startinline corrects it.

php/Unix Admin

php : find if IP address is in Network range

Posted on June 11, 2011 by Vishal Jain

Using pear Net_IPv4 one can find if a given IP address is in provided Network range or on the subnet.

Internet/php/Wordpress

php : Automatically updating Year in Copyright information for a website

Posted on December 31, 2010 by Vishal Jain

Using simple year could be automatically updated in Copyright information.

Apache/Open Source Tools/php/Unix Admin

ubuntu : How to Install LAMP (Linux, Apache, MySQL, PHP suite)

Posted on October 1, 2010 by Vishal Jain

tasksel install lamp-server is one liner to install the full suite of applications on already running debian based Linux system.

php/Wordpress

WordPress : Restrict Comment changes to Admin and creator for 24 hours

Posted on July 13, 2010 by Vishal Jain

Using current_user_can and couple of other available variables, comment "Edit" can be restricted.

Apache/Open Source Tools/php/Windows

Configure Apache to run PHP on Windows

Posted on July 11, 2010 by Vishal Jain

"LoadModule", "DirectoryIndex" and "AddType" are all what is needed to ensure that Apache recognizes the PHP files on any OS. Here we discuss the Windows config...

php

php : How to unset a variable

Posted on April 25, 2010 by Vishal Jain

PHP allows to unset or undefine a variable by using the "unset" method.

php

php : How to find which modules are compiled in

Posted on April 22, 2010 by Vishal Jain

"php -m" provides the list of all compiled in modules.

Recent Posts

  • OTTO – Automate C/C++ CMake for Large Repositories
  • How to persist iptables settings on debian
  • How to Change Console Fonts In Ubuntu for 4K Screen
  • HP Spectre x360 convertible and Linux
  • HOWTO Develop Apache Module in C++

Top Posts

  • xming : Client 4 rejected from IP
  • perl : Extract filename from full path
  • How to persist iptables settings on debian
  • HP Spectre x360 convertible and Linux
  • bash : grep for pattern from certain location in the file
  • perl : Set different TimeZone for script
  • Hardware : Dell GX620 SFF HTPC Bootup problem due to burned up capactiors
  • Sendmail : Configure outgoing relay server
  • HOWTO Develop Apache Module in C++
  • How to Change Console Fonts In Ubuntu for 4K Screen

Recent Posts

  • OTTO – Automate C/C++ CMake for Large Repositories
  • How to persist iptables settings on debian
  • How to Change Console Fonts In Ubuntu for 4K Screen
  • HP Spectre x360 convertible and Linux
  • HOWTO Develop Apache Module in C++

Follow Me

  • LinkedIn
  • GitHub
© 2021 The Unix Tips
Powered by WordPress | Theme: Graphy by Themegraphy