YNDK+LeslieHomepage

歡迎來到演藝特工暨哥哥網站




Posted by Administrator

匿名者's 的頭像

XAMPP comes with sendmail, version 1.7.1 use fake sendmail, and version 1.7.2 use msmtp. In order to send email from PHP-based programs, you can enable sendmail using the following methods:

A. for version 1.7.1 - fake sendmail

1. edit c:\xampp\sendmail\sendmail.ini, modify the settings for your ISP


Tags:
Posted by Administrator

匿名者's 的頭像
Mac OS X comes with Postfix, which is the program behind mail and sendmail that handles all email incoming and outgoing. The below is what works for me on my Mac OS X 10.5 Leopard, and I'm here to summarize it to help people and also help my own memory.

Essential Section - the following shows the minimal settings to get it working

1a. Configure the domain, SMTP server and authentication settings:

edit /etc/postfix/mail.cf and append the following at the end:

Tags:

XAMPP v1.7.1

05 11月 2009
Posted by 匿名者

匿名者's 的頭像

Download HERE


Tags:
Posted by 匿名者

匿名者's 的頭像
Add back the classic 2003-style Excel menu to your Excel 2007


Tags:
Posted by 匿名者

匿名者's 的頭像
維護本站運作,提供具參考價值內容,請踴躍捐助,作為贊助本站經費的一點心意!

Tags:

如何選購認股證

13 11月 2007
Posted by 匿名者

匿名者's 的頭像
熱門的股票,輪商往往推出很多相關的窩輪,投資者應該如何選擇?查實,好的窩輪,應同時具備以下各方面條件:

1. 成交活躍
2. 年期最好不要長過一年
3. 溢價不要太高(20%可接受)
4. 引申波幅低(50-60%)

5. 槓杆比率方面,對於較進取投資者,可選槓杆比率較大的,但風險相對較高
6. 於飄忽市,最好選價內或等價;若對後市有信心,可選輕微價外;若對大市非常有信心,可選較大的價外輪

Tags:
Posted by 匿名者

匿名者's 的頭像

維護本站運作,提供具參考價值內容,請踴躍捐助,作為贊助本站經費的一點心意!
1. remove all source comments and/or debug messages
- comments can divulge important information like database name, user logins, and passwords.
- debug messages can reveal trace of internal application details

- disable error reporting in a production site to avoid working details being revealed 2. don't use overly helpful error message
- error messages like "invalid username" and "invalid password" reveals a legitimate username.

3. never use default user id and/or password
- default user id (eg. 'root', 'admin' or 'sa') and default password should never be used as is.

4. don't put up a file unless you're ready to make it public
- even if no link is shown on the web pages, user may still get to it by guessing the filename.

5. never trust input originates from a client
- re-validate all input values on the server, don't rely on client-side restrictions.
- use white-lists and/or black-lists to validate input if possible
- filter out special characters, code, commands, and scripts from any input to avoid SQL- and Command-Injection, NULL-String Attacks or Cross-Site Scripting
- don't forget to check for all different representations of the same characters
- truncate all input at reaonable length to prevent buffer overflows

6. be careful with the use of hidden fields and URL parameters
- because value may be altered by malicious users to conduct State-Based Attacks
- use cryptic names whenever necessary to add some degree of protection

7. don't store important information in cookies
- because value contained and expiry timestamp may be altered by malicious users
- encrypt the data and set the secure flag and/or domains to increase security

8. implement good session management to prevent Session-Hijacking or Session-Fixation
- generate new session upon each visit, and protect the session id
- timeout session after a specified period, disallow expired sessions to be reactivated
- track if a session is used by more than one user, invalidate it if necessary

9. adhere to the 'least privilege' security principal
- only give users the minimum rights they need
- run your web server and connect to database using an account with appropriate rights, avoid the use of 'root' or 'admin'

10. use strong authentication
- enforce policy to use long password and user id with mixture of numbers, upper- and lowercase letters and punctuation
- use http-basic, http-digest, nonce, CAPTCHA or SSL to secure authentication if necessary

11. make sure your web server is well protected
- hide your web server identity
- use firewall, intrusion detection system (IDS) or bandwidth management to protect against Denial of Service
- avoid launching OS commands from the web server, and confine the 'root' directory of your web server to the document root

12. protect user privacy
- be aware of the use of User Agents, Referrer, Cookies, Web Bugs, Clipboard
- disable caching for pages that may contain sensitive information
- only use benign ActiveX controls or Browser Help Objects

13. protect your web services
- beware of WSDL scanning, debugging information or functions may be exposed
- verify the received XML content, paramters maybe tampered
- check for Recursive Payload attack, Oversize Payload attack, and External Entity attack

Other techniques/precautions:
- check whether actual byte count of data submitted match the 'content-length' of HTTP header
- use HTTP_REFERRER to check where the web request come from
- only use algorithms that are well known and secure when data encryption is necessary
- set PHP option "open_basedir" to restrict file access to certain folders
- set PHP option "allow_url_fopen" to "off" to disable data retrieval from remote location to prevent code injection
- explicitly declare and initialize global variables before use, and only use variables that you have defined
- use PHP addslashes(string) function to escape all the special characters
- use PHP htmlspecialchars() or htmlentities() with ENT_QUOTES option to convert all special charaters to HTML entities

Tags:
Posted by 匿名者

匿名者's 的頭像

PHPMailer is a great email component for PHP, however, it lacks the support of connecting to SMTP servers that requires SSL (such as GMail). Therefore, I've modified this version to add a "IsSSL()" method to the class to handle this.

Download HERE


Tags:
Posted by 匿名者

匿名者's 的頭像

擁有自己的網站,是一件很興奮有趣的事!然而,背後所付出的時間心力亦不少!此外,你可能還須繳付一些開支,去維持網站日常的運作,比如:登記網域(domain name)、網頁儲存(web hosting)、甚至購置硬件的費用...等等。

既然如此,我們何不借助自己辛苦建成的網站,賺回些少金錢上的回報?


Tags:
Posted by 匿名者

匿名者's 的頭像

擁有自己的網站,是一件很興奮有趣的事!然而,背後所付出的時間心力亦不少!此外,你可能還須繳付一些開支,去維持網站日常的運作,比如:登記網域(domain name)、網頁儲存(web hosting)、甚至購置硬件的費用...等等。

既然如此,我們何不借助自己辛苦建成的網站,賺回些少金錢上的回報?


Tags:
Posted by 匿名者

匿名者's 的頭像
維護本站運作,提供具參考價值內容,請踴躍捐助,作為贊助本站經費的一點心意!

Tags:
Posted by 匿名者

匿名者's 的頭像

維護本站運作,提供具參考價值內容,請多按廣告或踴躍捐助,作為贊助本站經費的一點心意!

httpd.conf

1. DocumentRoot "c:/web"
將存放網頁的目錄,由原本 "...htdocs",改為指向 "C:/web"。

2. <Directory "c:/web">
將網頁存放目錄的存取權限,由原本的 "...htdocs",改為指向 "C:/web".

php.ini

1. display_errors = On 
在網站開發階段應設定成 On,以便 PHP 程式一旦發生錯誤時,顯示出錯誤訊息以便追踪和除錯。但當網站開發完成,進入Production階段公開給大眾使用時,則應設定成 Off,以免錯誤訊息給大眾看到,泄漏網頁程式背後運作的細節。

2. short_open_tag = On
容許在 PHP 程式內,使用 <?...?> 這種簡短程式碼標籤。若此設定為 Off,則只能使用<?php...?>這種長標籤,而所有在 <?...?> 中的程式碼將不能執行。

3. register_long_arrays = On
若你有一些舊程式必須使用 $HTTP_*_VARS 這種長superglobals名稱,為了兼容所以設定成 On。但是PHP已經指明這種長名稱將會漸漸fade out,所以我們應使用簡短的名稱,如 $_POST, $_GET, $_SESSION, $_COOKIE等。若要強迫自己使用簡短的superglobals,可以將此選項設定成 "Off"。

4. extension_dir = "c:/program files/php/ext" 或 extension_dir = "c:/php/extensions"
告訴 PHP 在哪裏可以找到擴充檔(Extensions)

5. extensions=php_mysql.dll
使 PHP 啟用 MySQL 的擴充檔,才可以使用 mysql_* 的函數(如 mysql_connect, mysql_select_db, mysql_query... 等)


Tags:
Posted by 匿名者

匿名者's 的頭像
維護本站運作,提供具參考價值內容,請踴躍捐助,作為贊助本站經費的一點心意!

Tags:
Posted by 匿名者

匿名者's 的頭像
維護本站運作,提供具參考價值內容,請踴躍捐助,作為贊助本站經費的一點心意!

Tags:
Posted by 匿名者

匿名者's 的頭像

維護本站運作,提供具參考價值內容,請踴躍捐助,作為贊助本站經費的一點心意!

Tags:

專業婚宴服務

20 1月 2007
Posted by 匿名者

匿名者's 的頭像
包括:片頭 VCD/DVD 製作、婚禮當日攝錄、策劃結婚當日行程、專業婚宴司儀、代客製作婚宴回禮小禮物等等!
Tags:
Posted by 匿名者

匿名者's 的頭像

錄製個人CD或VCD!專業錄音設備,電腦混音,即場協助提供專業剪接及執歌!


Tags:
Posted by 匿名者

匿名者's 的頭像
包現場 DV / Video 拍攝,DVD/VCD,多媒体製作!質優價抵,交貨快!
Tags:
Posted by 匿名者

匿名者's 的頭像

 

Profession Hard Disk Data Recovery,專業硬碟數據恢復服務!硬碟是電腦內其中一個活動最頻繁的機械組件,每分鐘也以數千轉的頻率高速轉動,因此出現故障的機會也最大。隨著各式各樣的資訊也數碼化,很多有價值的東西也以數碼方式儲存,變成所謂的 "Digital Property" (數碼財產);加上,硬碟的容量愈來愈大,動輒數百GB的資料,一旦發生意外,無論是個人或是公司,損失均可以非常慘重!
Tags:

代客架設專業網站

19 12月 2006
Posted by 匿名者

匿名者's 的頭像

Build professional web site,個人或公司均可!專業製作,採用 CMS 形式架設網站框架,包無限內容,及後勤管理員介面,可讓你隨時自行管理及更新網站!不會像傳統 html 網站般,受到幾多頁內容所限制;亦免郤逐頁計錢之負擔!

網站用途廣泛,包括會員註冊、 PHP 支援、 MySQL 資料庫、討論區 Discussion Forum、相薄 Photo Gallery 、目錄、表格、投票 Polls、統計、影音多媒體 Multimedia 等等!不論公司網站,或個人 blog 均適合!
Tags:



Custom Search