Execution Plan Basics

May 22nd, 2008

Additional Articles from SimpleTalkEvery day, out in the various discussion boards devoted to Microsoft SQL Server, the same types of questions come up again and again: Why is this query running slow? Is my index getting used? Why isn’t my index getting used? In order to arrive at the answer you have to ask the same return question in each case: have you looked at the execution plan? We are very pleased to be allowed to publish the first chapter of Grant Fritchey’s excellent new book on execution plans.More »

Write File PHP

May 22nd, 2008

All language had function that can call in case write file to local directory if PHP use like code

$fo = fopen(’title.txt’,'w’);
fwrite($fo,’some text’);
fclose($fo);

$fo is a instance of fopen(’file name’,'mode write or read’).

How to set time execution PHP

May 22nd, 2008

Some php script need more 30 second for execute you can set limit time using code

set_time_limit(int second ) before php code.

Meta Refresh

May 22nd, 2008

<html>

<body>

<META HTTP-EQUIV=”REFRESH” CONTENT=”0;URL=http://192.168.128.82:8080/drupal5/”>

</body>

</html>

CONTENT is a time wating to refresh.

URL is a site name.

Appserv memory limit problem

May 21st, 2008

I use appserv is a local web server and I install drupal. When I config  my drupal module then refresh my site has error : memory  I’m search for solving problem from google I’m found.

Goto C:\WINDOWS then open file php.ini by text editor (notepad++, notepad, editplus) file “memory_limit” change value to 16M and save.