Enable ajax to Deal with Time Out Issues

If you have thousands categories and you do not enable ajax, you will often meet time out issues, such as:
Fatal error: Maximum execution time of 30 seconds exceeded in ****include/functions.php on line XXX

How to deal with this then? Here let me share my tip with you. (more…)

Posted in PHP Link Directory. Comments Off on Enable ajax to Deal with Time Out Issues »

How to change phpld title seperator

Want to change the seperator between categories in the title tag?

At the moment the phpld generate the title as:
home – category – category – category
(more…)

Posted in PHP Link Directory. Comments Off on How to change phpld title seperator »

Disordered Chinese Characters in Phpld

Open init.php, between
$db->SetFetchMode(ADODB_FETCH_ASSOC);
read_config($db);

add MySQL_query(“SET NAMES ‘latin1′”);

let them becomes: (more…)

Posted in PHP Link Directory, Php Skills. Comments Off on Disordered Chinese Characters in Phpld »

how to add php code in phpld, find current url?

It is very simple,just like this:

{php}
echo “PHP
“;
echo “I love PHP
“;
echo “included in .tpl
“;
{/php}

Find the Current URL with PHP (more…)

Posted in Php Learning, PHP Link Directory. Comments Off on how to add php code in phpld, find current url? »

How to ad text on main page of phpld?

{if $category.ID == 0}
This is the description of my homepage. I can even include html.
{/if}

Note:the above code works, but the only problem is this added text also appears when using the search function from the home page. (more…)

Posted in Php Code, PHP Link Directory. Comments Off on How to ad text on main page of phpld? »
King Php Science Welcome, you are from: 91.214.84.184