Featured
-
Top 5 Features That Make Laravel the Best PHP Framework for Development
Laravel is a free open source Web Framework of PHP
by abhishek.tiwari.458 -
Best 5 Lightweight PHP Frameworks for REST APIs Development
Are you ready to develop the Rest AP
by ankur.kumar -
PHP: Full-Stack Framework vs Micro Framework
A web framework can be described as a software fra
by ankit.bhatia -
How to get facebook profile picture by Facebook App
If you would like to get your profile picture in f
by vivek.rastogi -
Creating RESTful API in cakephp
This tutorial will help you to learn how to create
by pushpendra.rawat
Tags
.htaccess: How to do Apache gzip compression?
I am writing this blog, which will provide you help to compress files with the help of .htaccess file.
When Gzip Compression is enabled on your web server then it will make the file sizes smaller. This will load your website faster. When...
.HTACCESS: How to remove second part of url
Currently i have 100+ URLs on my site in this format:
http://www.example.in/view_retailer/homepage
I want to remove /view_retailer/ from all URLs, so they should look something like this
http://www.example.in/homepage
In other words I...
URL rewritting in PHP with .htaccess
Hello Guys,
If you are looking to change your website URLs on SEO friendly mode URL rewriting with .htaccess file is a good practice to do same. Suppose you want to change your website URL like
htttp://www.abc.com/prodDetail.php?prodID=15&am...
PHP change the maximum upload file size
Option 1 :
You need to set the value of upload_max_filesize and post_max_size in your php.ini :
; Maximum allowed size for uploaded files.
upload_max_filesize = 40M
; Must be greater than or equal to upload_max_filesize
post_max_size ...
URL rewriting with PHP using .htaccess
Hello Readers!
If you have this URL like : url.com/picture.php?id=51
and you want to make like this : picture.php/Some-text-goes-here/51 .
In this case it can be done by using htaccess.
Add a file called .htaccess in your root folder...
Ubuntu enable mod rewrite in apache server
Go to this directory.
etc/apache2/apache2.conf
you will find below code with AllowOverride none.
<Directory />
Options FollowSymLinks
AllowOverride none
Require all denied
</Directory>
<Directory /usr/sh...
.htaccess in Cakephp
Without .htaccess file in cakephp your application will not run.
There are 3 different .htaccess files:
/var/www/app/webroot/.htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d...
How to convert an htaccess.txt file into a .htaccess file?
Change the configuration settings using directives in configuration files(.htaccess files) when using php as an apace module.Need to do "AllowoverrideAll" privileges to do so.If we don't have control over Apache configuration must use .htaccess ...
How to remove index.php from Magento URLs?
To remove index.php from magento url follow these steps -
1) Log in to magento admin.
2) Go to System->Configuration.
3) Select Web tab under General section on the left side.
4) Select Yes for Use Web Search Rewrites.
Clear cache and...
If you want to remove index.php from url in Codeignitor
If you want to remove index.php file path form url in codeignitor then please follow below steps
create .htaccess file in your root folder and place this code there
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
Rewr...
If cakephp not cofigured properly
If Cakephp throwing an error:- URL rewriting is not properly configured on your server.
To fix this issue follow below steps:
Check .htaccess files in root directory
Let say you have directory with the name of myproject
then check ....
Remove .php, .html,.htm extension from website url.
Hello ,
I am sharing here how you can remove .php extension from Url of your website. here are the following steps:-
Create a .htaccess file in project directory.
Suppose you have to remove the .php extension from a PHP file for example ...
What is Leverage Browser Caching and how to use it.
Here is the brief explanation of Leverage Browser Caching and how to use it to improve website performance.
When a web browser i.e. Chrome, Firefox, Internet Explorer, Safari etc displays webpage it has to load several things like css files, j...