Home / Tag Archives: php (page 3)

Tag Archives: php

January, 2010

  • 13 January

    Adding "last modified" code to your PHP website

    Question: How can I use PHP to display the “last modified” date on my website’s main page? Answer: For any type of website that includes factual information, it is important to tell users when the information was added to the site. Information that was relevant five years ago might not …

  • 8 January

    PhpSecInfo: PHP security information tool

    Allowing access to any type of scripting on your web server opens the door for security problems. You never know when an attacker might randomly (or purposely) select your server as a target. Any running scripts have the potential for exploitation. PHP is no exception, and taking steps to secure …

  • 7 January

    PHP module vs PHP CGI binary

    Question: What are the differences between running PHP as an Apache module and running it as a CGI binary on a Linux server? Answer: One of the biggest differences between a PHP Apache module and a PHP CGI binary is that the Apache module is just that: a module of …

December, 2009

  • 29 December

    System monitoring with phpSysInfo

    Sometimes you just need quick information about your server without having to click through numerous control panel screens or logging via SSH. A small PHP software application, called phpSysInfo, allows you to do just that. Installed like a normal PHP script, you can access a plethora of information about your …

  • 3 December

    Gain access to cPanel from anywhere with JAP

    Many people who manage websites also have other jobs, and even those who do not frequently find themselves traveling and away from the comfort of their own home Internet connection. In such situations, users sometimes find themselves behind firewalls that prevent them from accessing certain services, including web hosting control …

  • 2 December

    Make your own forum website

    There are many issues to consider when creating your own forum website: themes, topics, moderators, administrators, categories, advertising, user permissions, and policies. One of the most important decisions you will make, however, is choosing the forum software. Discussion forum software can be proprietary/commercial or free and open source. It can …

November, 2009

  • 26 November

    Restoring a huge MySQL database

    Question: I have a shared hosting account but need to import a 3GB MySQL database. I do not have shell access, and phpMyAdmin always times out. How can I restore it? Answer: You can use a script called BigDump to import your dumped MySQL database a little at a time. …

  • 23 November

    How to Save Bandwidth with .htaccess

    Question: My dynamic PHP-driven site is popular and is using a lot of bandwidth. What can I do to save that precious bandwidth? Answer: Those of you who have to worry about bandwidth should really consider yourselves lucky. It means that your website has been more successful than the majority …

  • 11 November

    How to Disable "Register Globals" in PHP

    Many content management systems (CMS) like Joomla recommend users disable a PHP security feature called “register_globals”. The default setting for it is controlled by your server administrator. If you have a shared hosting account, however, you still might be able to override the default server settings. To accomplish this, create …

October, 2009

  • 28 October

    Database Management with phpMyAdmin

    Question: I have a shared hosting account and need an easy way to manage my databases. What can I use? Answer: Chances are, if you are using a server that has both PHP and MySQL, your web hosting provider has given you some type of tool to manage your databases. …