Skip to content

David Yin's Blog

Tech geek. Life geek.

  • Home
  • About & Contact
  • Advertise
  • Subscribe
  • Privacy Policy
  • Gallery 3 – G3Grey Theme
David Yin's Blog
  • Home
  • About & Contact
  • Advertise
  • Subscribe
  • Privacy Policy
  • Gallery 3 – G3Grey Theme

Tag: PHP

Posted on July 8, 2009March 16, 2019 L.A.M.P.

How to add php script into .tpl file

tpl file are smarty template files. Sometimes I need to add php script, or php code into tpl file. That means I have to add php code into the smarty templates. If you add php code directly, there is error...

Posted on June 14, 2009March 16, 2019 L.A.M.P.

What can go wrong when including another file into your php file

It is very often to include another file as a part of your script. When do this kind of including, should be very careful on following parts. 1) The path to the script is wrong. 2) The path to the...

Posted on May 11, 2009March 19, 2019 Notes of MovableType Web & Network

Run php from HTML file

The scenario is I have a blog powered by Movabletype. All html files. Later I need it to be running like a php file. Then I can add php codes inside without changing extension name from html to php. I’d...

Posted on April 3, 2009March 19, 2019 L.A.M.P.

Include remote file in PHP

It is failed when I try to include one file of other domain. We call it remote file. The script looks like

Posted on November 18, 2008March 20, 2019 Freeware Review

phplist released 2.10.7

We know php is very powerful web script language. Now I would like to introduce the mailing management program, phplist. It is an open-source newsletter manager. phplist is free to download, install and use, and is easy to integrate with...

Posted on June 12, 2008November 21, 2018 L.A.M.P.

Another Ten PHP Optimization Tips

I wrote PHP Optimization to improve performance. Now I have another ten PHP optimization tips for you. 1. Single-quoted strings. Use single quote when possible. It is faster than double quote. If it is string only, just pick single quotes....

Posted on June 6, 2008March 19, 2019 L.A.M.P.

PHP Optimization to improve performance

When coding in PHP in variety ways, some way is simple, some is not. But there must be one better way that can provide better performance. Here is a list of 63+ best practice to optimize PHP code performances I...

Posted on May 9, 2008February 19, 2014 DreamHost Log L.A.M.P.

Install Zend Optimizer 3.3 on Customized PHP 5.2.3

Now PHP 5.2.3 is installed on Dreamhost. If you don’t know how to do it, just refer to my previous post, Install customized PHP5 on Dreamhost. Let us see how to add Zend Optimizer support on your own PHP installation....

Posted on May 8, 2008April 20, 2018 DreamHost Log L.A.M.P.

Install customized PHP5 on Dreamhost

Install a customized PHP5 on Dreamhost can help you to make php work better and work more. That means you can add more extension on it. Let’s go to the details of installation. Install/Compile PHP 5 1) Copy the PHP5_installscript...

Posted on April 19, 2008April 20, 2018 DreamHost Log L.A.M.P.

How to install PEAR on Dreamhost

I have two news, one good, one bad. The bad news is Dreamhost has no PEAR default. The good news is we can install it by ourselves. Let us go through the steps of install PEAR on Dreamhost. 1) SSH...

Posted on February 27, 2008March 16, 2019 L.A.M.P.

PHP connect DBF file update

I posted PHP connect DBF file with a sample. Now Pierre left the message and asked why error comes up. I doing some tests and get the answer. 1) The database.dbf is reserved name. 2) The field name is always...

Posted on February 14, 2008March 16, 2019 L.A.M.P.

Solve the Trouble with a cURL request in PHP

I have a HTTP status check online tool here. It is made by PHP with cURL extension. The trouble is some responses are good. Someone tell me that the url should be 302 redir or 200 Ok, but the tool...

Posted on February 4, 2008November 21, 2018 L.A.M.P.

Regular Expression Library

When I am doing some programing, I may need the Regular Expression rule to validate the data user submit. It is used to protect the program and save the resource of server. To write a perfect Regular Expression Rule is...

Posted on January 11, 2008February 18, 2014 L.A.M.P.

PHP connect DBF file

DBF is very old format databse type. About 10 years ago, I use dBase which use DBF format. Now I will show you how to connect the DBF file from PHP script. 1) Add a system DSN in ODBC Data...

Posted on January 11, 2008March 19, 2019 L.A.M.P.

Conver text to date in PHP

I have the text string as below: 04/02/08 It is text. Format is mm/dd/yy But it is still can be recognized as yy/mm/dd or dd/mm/yy. How to convert to the ISO date format? I use PHP to do it.

Posts navigation

← 1 2 3 4 →

Share

RSS
Facebook
fb-share-icon
Twitter
Tweet


Tags

"new features" "phpBB 3" "speed test" "Windows 7" backup beta Blog bug calibre Canada Centos Code dreamhost error Firefox firmware freeware game Google how-to installation internet Linux MovableType MT MySQL performance PHP plugin release review router security server software SSD test tool ubuntu update upgrade voip VPS windows wordpress

Useful links

  • Alive Math Worksheet
  • Free InOut Board
  • Web Site Directory
  • Free Thinking
  • Dba notes
  • aw’s Blog
  • OneLaunch

Categories

  • Digest (78)
  • DreamHost Log (41)
  • Hardware (383)
  • Independent Thinking (28)
  • Insurance (5)
  • jQuery (9)
  • L.A.M.P. (274)
  • Money Maker (22)
  • My Life (126)
    • Journey of Faith (4)
    • Shanghai food (1)
  • Notes of MovableType (127)
  • phpBB Mod & Tips (14)
  • Reviews (172)
    • Freeware Review (43)
  • Save Money (2)
  • SEO & SEM (11)
  • Software (271)
  • Two Week Campaign (13)
  • Uncategorized (1)
  • Vehicles (16)
  • VOIP (38)
  • Web & Network (400)
  • WordPress Notes (52)

Archives

My Mastodon Social Account.
© 2023 David Yin's Blog / Powered by WordPress / Theme by Design Lab