How to clear or delete cache of the styles/css in the phpbb forum.
1-Login to the admin panel.
2-Navigate to the Server configuration under the General tab.
3-Select Load settings in the Server configuration.
4-In the General options > Find Recompile stale style components.
phpbb How to disable Post Approval
How to disable Post Approval in the phpbb forum.
1-Login to the admin panel.
2-Navigate to the Permissions Tab.
3-In the Forum based permissions > select Groups’ forum permissions
1-Login to the admin panel.
2-Navigate to the Permissions Tab.
3-In the Forum based permissions > select Groups’ forum permissions
phpbb Change Admin Email
How to change forum administrator Email address in the phpbb forum.
1-Login forum admin panel.
2-Navigate to the General tab.
3-Under the Client Communication > Email settings
1-Login forum admin panel.
2-Navigate to the General tab.
3-Under the Client Communication > Email settings
phpbb Change Forum Name
How to change forum name of the phpbb.There are 3 steps you have to follow.
1-Login to admin panel in phpbb.
2-Navigate to General Tab.
2-Board configuration.
3-Board settings
1-Login to admin panel in phpbb.
2-Navigate to General Tab.
2-Board configuration.
3-Board settings
Wordpress get meta data from wp_options table
How to get data/meta data from the wp_options table in the wordpress.In this table, option_values are(some values) saved as serialized.So directly we can't get those values.Now i'll tell you easy method to get this value from wp_options table.
I want to get option name - " feedburnercount/feedburnercount.php ", values.
Values like this.(i want to get 53 )
I want to get option name - " feedburnercount/feedburnercount.php ", values.
Values like this.(i want to get 53 )
Cakephp page redirection example
How to set a page to redirect to another page in the cakephp.Use the following script for it.
Also if user already logged you can use this as follows.
$this->redirect('http://mysite.com');
Also if user already logged you can use this as follows.
$this->Auth->loginRedirect = 'http://mysite.com';
Wamp php.ini file Maximum execution time
I'm trying to import a large mysql dump with phpmyadmin
but im am getting depreate now becasue whatever i do I keep getting the Maximum execution time error.
I have set the max_execution_time in php.ini to 1200 seconds, but this is being ignored.
(I've edited both /php/php.ini as Apache2/bin/php.ini, and even to be sure php.ini-recomended and php.ini-dist but still I get this error)
I don't know what to do next and this is really breaking my balls and driving me nuts.
( I need to import and fix this backup because I damaged the original online database) .
but im am getting depreate now becasue whatever i do I keep getting the Maximum execution time error.
I have set the max_execution_time in php.ini to 1200 seconds, but this is being ignored.
(I've edited both /php/php.ini as Apache2/bin/php.ini, and even to be sure php.ini-recomended and php.ini-dist but still I get this error)
I don't know what to do next and this is really breaking my balls and driving me nuts.
( I need to import and fix this backup because I damaged the original online database) .
PHP get URL parameters
How to get URL parameters or check string in the URL using php.Very simple.Look at this.
echo $params = $_SERVER['QUERY_STRING'];
PHP get the directory name in URL
How to get the directory name in URL using PHP.
PHP SCRIPT_NAME server variable can be use for this.
PHP SCRIPT_NAME server variable can be use for this.
echo $script = $_SERVER['SCRIPT_NAME'];
PHP get the protocol - http
How to get protocol (http/https) in the url using php.php SERVER_PROTOCOL variable can be use to this purpose.
The output like this; HTTP/1.1
So we need some string manipulation to get a clean protocol string.
$_SERVER['SERVER_PROTOCOL']
The output like this; HTTP/1.1
So we need some string manipulation to get a clean protocol string.
$protocol = $_SERVER['SERVER_PROTOCOL']; $ArrProtocol = explode('/',$protocol); echo strtolower($ArrProtocol[0]); Cakephp check if user is logged
How to check if user is logged in view file or controller in cakephp.Very simple.Look at this function.It will return current logged user details.So you can check this by using user ID or user name to if user logged or not.
Cakephp get site URL
Sometimes we want take site URL in cakePHP in view, Today I got site URL for transferring to that URL after log in. It is very easy and it is working perfectly I have used it in my web application and it is working smoothly.
This is a another easy way and can be use anywhere in cakephp.
This is a another easy way and can be use anywhere in cakephp.
echo Router::url('/', true);
.htaccess File Full Complete Guide

Cakephp access many models in one controller
Sometimes we want to access many models in one controller in cakephp.Now i'm going to explain how to do this simply.Think I want to save user logged details in to the database.
1-Create new file in the model folder.Ex: i'll named it as login.php and user.php .(This page name must be same to you are going to create class as following.)Then add the following class like this.
user.php model file;
user.php model file;
1-Create new file in the model folder.Ex: i'll named it as login.php and user.php .(This page name must be same to you are going to create class as following.)Then add the following class like this.
user.php model file;
class Login extends AppModel {
var $name = 'Login';
}
user.php model file;
class User extends AppModel {
var $name = 'User';
} More Articles...
- Cakephp get current page url
- Cakephp include JavaScript files in layouts
- PHP get last visited page URL
- How to get days in a week by PHP
- File Force Download By PHP
- File MIME Types
- PHP Check Domain Name Availability
- Lynda.com WordPress 3.0: Creating and Editing Custom Themes
- PHP Get file Extension
- Magento Get Country names
