disable php function in vhost or multiple user environment

Providing php access to many user require patience plus security aware.

People can damage server with some php function like system, passthru etc.

php provide php.ini file, this file needed to disable some dangerous function.

some option for disable php function are :

system, exec, shell_exec, passthru, set_time_limit, error_log, ini_alter, dl, pfsockopen, openlog, syslog, readlink, symlink, link, leak, fsockopen, popen, escapeshellcmd, apache_child_terminate apache_get_modules, apache_get_version, apache_getenv, apache_note,apache_setenv,virtual

after get this information php must know about these fucntion by editing php.ini files. This file located in C:\windows (in my win xp)

Double click to open, click edit -> find enter  "disable_function"

Before edit, the line will like this

read more »

rthanks, wp-plugin for say thanks

In last few days after testing stumbleupon effect I see very good result, almost everyday stats log get visitor from stumbleupon. Other socialbookmark like digg also included, netscape etc.

Google analytics also give interesting result, direct access very small while two other source come into major contributor :

  • Search Engines
  • Referring sites

I also see some question about how to increase rss subscriber :

read more »

Add Password Protect in MS Word 2007 Document

Whether you’re a total beginner, intermediate, or even experienced Office user and want to learn or adopt Office 2007, our newest training package will fill in the gaps and provide you the most comprehensive Office 2007 training available anywhere!

Don’t settle for basic courses that rehash the Microsoft help file. Our scenario based training will give you a career’s worth of skills and prepare you for real world challenges!

This is just tiny result after I got the training :

How to add password protection in ms word 2007?

My honey ask me that question. Sigh.. I don’t know that feature since I rare use that :-)

After make simple ms word 2007 document I make new experimen but still not luck :-)

Suddenly F1 button come to my mind and after enter “password” phrase, asking for help I rewrite the answer in screenshots mode :

1. Save your document, choose apropriate mode ( I choose compatible mode)

read more »

Dynagen version 0.9.3 released, upgrade now

From author site :

This is a minor update with mostly bug fixes and the inclusion of dynamips 0.2.7 final in the binary packages. Also, now OS X is an "officially" "supported" platform — in so much that anything about this project is official or supported. :) Meaning I’m now packaging a DMG with the Dynagen app, Dynamips compiled for Intel, a Dynamips server launcher, and all the associated docs and sample labs. Fellow Mac users, let me know how this works out for you.

Version 0.9.3 changlog:
* No longer prints a warning for unused switchports
* Added "MAC" option to set base MAC address of a router. See all_config_options.txt for usage.
* Eliminated unnecessary Leopard-2FE insertion on 3660s resulting in "a NM already exists in slot 0" warnings from Dynamips.
* Fix bug that caused crash when trying to capture packets on an unconnected interface
* Dynamips temp files are now written to the user’s temp dir rather than \Program Files\Dynamips. Might make it work better under Vista.
* Dynagen allows POS to frame-relay switch connections. But there seems to be a bug in dynamips 0.2.7 that prevents it from functioning.
* Console entries in dynagen.ini for use with iTerm on OS X and SecureCRT on Windows. The SecureCRT one is a little glitchy but generally works.
* Entering "no ?" caused a crash
* Including a new Network Device list script for Windows that includes interface descriptions in the output contributed by Volker Semken.

Download link

Change serial number Office 2007 in Windows XP/Windows Vista

Recent upgrade to windows office 2007 from windows 2003 get problem, since CD from MS not come as usual. Late for a month :-)

Only serial number receive without CD. Time for upgrade to valid licence.

I have look around in google for a way to upgrade, this post has clear guide but I need to give screenshot for my friend who need more assistance with picture.

See status bar for full path

Backup registry entry, right click and choose Export

Save in some place

Find Product ID and delete

Close registry editor, open office program and type in valid licence.

Done :-)

In case process not run smoothly, double click file backup registry file.

More resources :

  1. Microsoft Office 2007: Introductory Concepts and Techniques, Windows XP Edition (Shelly Cashman) (Shelly Cashman)
  2. Office 2007 All-in-One Desk Reference For Dummies (For Dummies (Computer/Tech))
  3. Microsoft Office 2007 Illustrated Introductory, Windows XP Edition (Illustrated Series) (Illustrated Series)
  4. Microsoft Office Project 2007 Step by Step (Step By Step (Microsoft))