Category: Website Design

08/09/10

Categories: Website Design

PHP Redirect To Another URL – Page Script Redirect – Redirect Web Page

How do I redirect with PHP script?Under PHP you need to use header() to send a raw HTTP header. Using headers() method, you can easily transferred to the new page without having to click a link to continue. This is also useful for search engines.… more »

08/03/10

Categories: Website Design

PHP Turn On Error Reporting

To turn on Error Reporting in PHP, this is what I use. You can set this anywhere in your PHP code, but it has to be above the error or else it will not work. This is the easiest way and will work in most hosting environments: ini_set('display_errors',1… more »
Categories: Website Design

PHP Error Output Notice: Use of undefined constant Y - assumed 'Y' in

When using PHP to automatically insert the year for your copyright footer make sure and use 'Y' instead of Y For example use <div>     &copy; <? echo date('Y');?> Cleveland Consulting Group. All Rights Reserved</div> instead o… more »

08/02/10

Categories: Website Design

How To remove .php extension in url and redirect

I recently had to answer the question, how can I use .htaccess to not display the .php in the url, for example going to http://www.clevelandcg.com/services and that really goes to  http://www.clevelandcg.com/services.php. Open up your .htaccess file us… more »
Categories: Website Design

How to View Database Snapshots in SQL Server Management Studio

This topic explains how to view a database snapshot in Object Explorer. Note To create, revert to, or delete a database snapshot, you must use Transact-SQL.  To view a database snapshot on a server1.In Object Explorer, connect to the instance of the… more »
While using this site, you agree to have read and accepted our terms of use and privacy policy.
© 2012 Cleveland Consulting Group. All Rights Reserved