< Browse > Home / Archive by category 'Php'

| Mobile | RSS

rineesh.babu

Zend Cookie Creation

We will consider mostly 3 things while creating a cookie in php they are
1. Cookie name
2. Cookie value and
3. Time on which cookie have to die itself.
The fourth thing which we have to consider is…
4. Cookie path.
If we did not mention any path externally then it will take the current path as default.
But in Zend, [...]

[ More ] July 16th, 2009 | No Comments | Posted in Zend |
prakash.matte

Empty page is getting displayed on live

Sometimes we might be getting empty page (or half of the content) on live as we were showing images/content that has more size which cannot be handled by the server due to memory size limitation. In that case we cannot change the memory limit from apache files. The best solution is changing the memory [...]

[ More ] July 14th, 2009 | No Comments | Posted in Php |
naveen.malla

Improve Joomla Site performance

Here are some tips to improve your site’s YSlow grade:

Turn off Etag.
Just add the following code to your .htaccess file:
FileETag None

Add an Expires header to your web component.
To add an expires header to images, stylesheets, scripts, Flash, just add the following code to your .htaccess file:
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault A600
ExpiresByType image/x-icon A2592000
ExpiresByType application/x-javascript A604800
ExpiresByType text/css A604800
ExpiresByType [...]

[ More ] July 10th, 2009 | No Comments | Posted in Joomla, Php |
sudhakar.dasari

Seven Steps for coding PHP better – Part I

Why code should be better and how?
 
The code we write during the process of the development of any project is machine understandable but, it is not sure only one individual will be involved in the development.
So, better coding will help the human understand the code that is we transform the machine readable code into human [...]

[ More ] May 28th, 2009 | No Comments | Posted in Php |
naveen.malla

Export and Import MYSQL Linux commands

Export
steps:
1) mysqldump -u web_user -p databasename > sqlfilename
2) Prompts you to enter Password:
3)Enter the password then the database will be backup on given sqlfile
Import
mysqldump -u web_user -p database_name < sqlfilename

[ More ] May 14th, 2009 | No Comments | Posted in Mysql, Php |
kiran.tangudu@scubetech.in

windows cron job for running php application in regular intervals

Hi Folks,
This post will help in scheduling a task (php application,or any such) using windows “Scheduled Tasks” which will run at regualr intervals as per our requirement.
My requirement : Migrate a Ms access database (which contains attendance and hosted on windows system) to mysql database (which might be hosted on Linux or windows). Migration have [...]

[ More ] May 1st, 2009 | No Comments | Posted in Php, Web development |
naveen.malla

Configuring Apache for Maximum Performance

Configuring Apache for Maximum Performance
1 Introduction
Apache is an open-source HTTP server implementation. It is the most popular web server on the Internet; the December 2005 Web Server Survey conducted by Netcraft [1] shows that about 70% of the web sites on Internet are using Apache.
Apache server performance can be improved by adding additional hardware resources [...]

[ More ] January 12th, 2009 | 1 Comment | Posted in Php, Web development |
ramesh.gandham1985

Setting time zones in php to country wide

Hi,
If any one facing the problem to set the timezone in php. Now this is very easy to set the timezone.
Please click on the below link:
http://www.nabble.com/Countries-and-Timezones-td20781576.html
It has country wise timezones.
If you have any doubt regarding this timezone
Please go throught this link for time confirmation:
http://wwp.greenwichmeantime.com/time-zone/

[ More ] December 15th, 2008 | No Comments | Posted in Php |
kiran.tangudu

Send email with PHP and GMail hosted for your domain

Here we can find the steps for sending mail from local host using Phpgmailer class :
Step 1: Download the Phpgmailer supporting files using the below link :
http://www.vulgarisoip.com/files/phpgmailer.zip
Step 2: Please open the sendmail.ini file from XAMPp root directory, path would be somthing like
xampp\sendmail\sendmail.ini
in that file UN comment the following to lines and set them with an [...]

[ More ] November 29th, 2008 | 1 Comment | Posted in Php |
admin

PHP Mysql Tutorial

Hi all,
There is a useful link for PHP Mysql tutorials.This teaches us about using PHP and mysql in a better way.
I’m sure that by the end of this tutorial you will have enough knowledge to build your own database driven website using PHP & MySQL.
you can find this at  http://www.php-mysql-tutorial.com/

[ More ] November 15th, 2008 | 1 Comment | Posted in Mysql, Php |
  • Page 1 of 2
  • 1
  • 2
  • >