How to redirect index.php page to another url by using php code. If you want to redirect your index.php page to another URL or page then add the following code in your index.php page. <?php header( 'Location: http://www.domain.com/new_page.html' ) ;...
Category: PHP
Knowledge, PHP
PHP Fatal error: Call to undefined function
Error : PHP Fatal error: Call to undefined function Solution : The server shows this warning because your script is not working on php4 version so you need to switch to php5 version for the domain who is facing the...
PHP
PHP Parse error: syntax error, unexpected T_STRING
PHP Parse error: syntax error, unexpected T_STRING Please add the following line in the php_flag short_open_tag X in the .htaccess file and short_open_tag = X in the php.ini file under the clients folder on the suexcec server and then check...
PHP
osCommerce error 'Cannot reassign this'
osCommerce error 'Cannot reassign this' The error appears because your OS Commerce is based on PHP4 rather than PHP5. To resolve the error message, you should follow the instructions below: 1. Go to your cPanel. Refer to SiteGround cPanel access guide....