http://torrentfreak.com/how-to-encrypt-bittorrent-traffic/
peerblock
BitTorrent protocol encryption
Thursday, December 9, 2010
Saturday, October 30, 2010
Flex For PHP Developers – A Must Read “Book Like” Article
http://www.flexer.info/2009/08/19/flex-for-php-developers-a-must-read-book-like-article/
- What is Flex?
- Introduction to the MXML language
- Introduction to the ActionScript 3 language
- Flex is asynchronous
- Data binding, metadata tags, and reflection
- Where are my data, bring it on!
- User authentication in Flex and PHP projects
- Working on Flex and PHP projects
- What is Adobe AIR?
- What’s next?
- Where to go from here
Monday, October 18, 2010
您的服务器尚未正确安装运行本软件所需的 Zend Optimizer 软件,请与空间提供商联系
您的服务器尚未正确安装运行本软件所需的 Zend Optimizer 软件,请与空间提供商联系
Attention: Zend Optimizer not Installed
In order to run this software, please install the latest version of freely available Zend Optimizer.
您的服务器尚未正确安装运行本软件所需的 Zend Optimizer 软件,请与空间提供商联系。
==========================================================================
哈哈,搞定了,有个终极的方法!!!!!请管理员加精,相信很多朋友需要知道!!!
大家注意,zend没有安装成功时,phpinfo()的zend图标一定是这个:
before.jpg
2007-6-27 09:48 上传
下载附件 (71.55 KB)
ok我请教了一个群的朋友,他叫我把phpinfo()发给他看看,他回过来和我说他看到了这个: 123.jpg
2007-6-27 09:48 上传
下载附件 (57.03 KB)
也就是
说phpinfo()上面暴露了配置文件的地址,请大家检查下您的php.ini位置是否和configuration file这边显示的一样,在linux下寻找php.ini的命令是:find / -
name php.ini 如果发现不一样的,请把php.ini移动到configuration file path指定的位置上,请大家注意,zend版本一定要是3.0以上的,我原来是2.6的,后来
那个朋友提示我重新装zend,我重新装了,装的过程中,还没有提示php.ini路径前,刷新了一下显示phpinfo()的页面发现,configuration file path路径又变
了!!!于是我再把zend安装时候的路径指定到该路径(configuration file path)上用apache启zend,后安装成功,后安装ss成功。安装成功后的phpinfo画面一定
是这个:
after.jpg
2007-6-27 09:48 上传
下载附件 (186.93 KB)
请大家注意二者的区别,相信可以为很多困扰大家已久的Linux下面安装ss时遇到zend未安装
成功的问题做个 Ending,我相信我这个帖子是Zend的终结帖!!!!!!!
==============
我的经验,供参考
我的2003+apache2.2.4+php5.2.5+mysql5.0+zend3.3安装论坛正常,安装SS/XS没有成功,phpinfo()只有
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
却没有
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies
上网搜索,虽然有很多人问这个问题,却没人给出具体的解决方法,经过我若干小时对比分析,结论如下:
检查php.ini里边的[zend]小节,看看有没有以下内容:
[zend]
zend_extension_manager.optimizer_ts="x:\...\zend\lib\Optimizer-3.3.0"
zend_extension_ts="x:\...\zend\lib\ZendExtensionManager.dll"
zend_optimizer.enable_loader = 1
修改后终于正常了。
Attention: Zend Optimizer not Installed
In order to run this software, please install the latest version of freely available Zend Optimizer.
您的服务器尚未正确安装运行本软件所需的 Zend Optimizer 软件,请与空间提供商联系。
==========================================================================
哈哈,搞定了,有个终极的方法!!!!!请管理员加精,相信很多朋友需要知道!!!
大家注意,zend没有安装成功时,phpinfo()的zend图标一定是这个:
before.jpg
2007-6-27 09:48 上传
下载附件 (71.55 KB)
ok我请教了一个群的朋友,他叫我把phpinfo()发给他看看,他回过来和我说他看到了这个: 123.jpg
2007-6-27 09:48 上传
下载附件 (57.03 KB)
也就是
说phpinfo()上面暴露了配置文件的地址,请大家检查下您的php.ini位置是否和configuration file这边显示的一样,在linux下寻找php.ini的命令是:find / -
name php.ini 如果发现不一样的,请把php.ini移动到configuration file path指定的位置上,请大家注意,zend版本一定要是3.0以上的,我原来是2.6的,后来
那个朋友提示我重新装zend,我重新装了,装的过程中,还没有提示php.ini路径前,刷新了一下显示phpinfo()的页面发现,configuration file path路径又变
了!!!于是我再把zend安装时候的路径指定到该路径(configuration file path)上用apache启zend,后安装成功,后安装ss成功。安装成功后的phpinfo画面一定
是这个:
after.jpg
2007-6-27 09:48 上传
下载附件 (186.93 KB)
请大家注意二者的区别,相信可以为很多困扰大家已久的Linux下面安装ss时遇到zend未安装
成功的问题做个 Ending,我相信我这个帖子是Zend的终结帖!!!!!!!
==============
我的经验,供参考
我的2003+apache2.2.4+php5.2.5+mysql5.0+zend3.3安装论坛正常,安装SS/XS没有成功,phpinfo()只有
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
却没有
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies
上网搜索,虽然有很多人问这个问题,却没人给出具体的解决方法,经过我若干小时对比分析,结论如下:
检查php.ini里边的[zend]小节,看看有没有以下内容:
[zend]
zend_extension_manager.optimizer_ts="x:\...\zend\lib\Optimizer-3.3.0"
zend_extension_ts="x:\...\zend\lib\ZendExtensionManager.dll"
zend_optimizer.enable_loader = 1
修改后终于正常了。
Wednesday, September 29, 2010
Wordpess Installed - OK. No pages are displayed. Only index
#
Hello,
To start... I'm new to web development in general, but have a background in various computer technologies.
WordPress seems to be installed correctly (install.php ran successfully).
Software Info:
* Windows 2003 Server
* Apache v2.2.16
* MySQL v5.1.51
If I go to the default URL, only the index of files/folders is displayed.
If I navigate these files / folders to wp-admin and select users.php (for example), I can use the admin interface to create users, pages, etc.
The problem is that I cannot view any pages (or any type of content for that matter).
i.e. If I select the sample "about" page, and then select "View Page", I simply get the index again. All permalinks take me to the index.
Does anyone know what could be wrong?
I've reinstalled WordPress a few times, etc, etc... always the same result.
Thanks in advance,
Mike.
#
govpatel
Member
Posted 21 hours ago #
I see you using window server check with your host
#
bh_WP_fan
Member
Posted 3 hours ago #
It sounds like index.php is not set to be one of your default directory indexes. Check with your host and/or check your Apache httpd.conf file to make sure index.php is included as a Directory Index. If you can create your own .htaccess file, try adding the following to it:
DirectoryIndex index.php
#
wpmirwin
Member
Posted 2 hours ago #
Hello,
Thanks very much for the quick replies!
bh_WP_fan, you were right. The only file included as a directory index was index.html. After adding index.php as a directory index in my httpd.conf file, everything worked properly.
Thanks again, and have a good day!
Mike.
Hello,
To start... I'm new to web development in general, but have a background in various computer technologies.
WordPress seems to be installed correctly (install.php ran successfully).
Software Info:
* Windows 2003 Server
* Apache v2.2.16
* MySQL v5.1.51
If I go to the default URL, only the index of files/folders is displayed.
If I navigate these files / folders to wp-admin and select users.php (for example), I can use the admin interface to create users, pages, etc.
The problem is that I cannot view any pages (or any type of content for that matter).
i.e. If I select the sample "about" page, and then select "View Page", I simply get the index again. All permalinks take me to the index.
Does anyone know what could be wrong?
I've reinstalled WordPress a few times, etc, etc... always the same result.
Thanks in advance,
Mike.
#
govpatel
Member
Posted 21 hours ago #
I see you using window server check with your host
#
bh_WP_fan
Member
Posted 3 hours ago #
It sounds like index.php is not set to be one of your default directory indexes. Check with your host and/or check your Apache httpd.conf file to make sure index.php is included as a Directory Index. If you can create your own .htaccess file, try adding the following to it:
DirectoryIndex index.php
#
wpmirwin
Member
Posted 2 hours ago #
Hello,
Thanks very much for the quick replies!
bh_WP_fan, you were right. The only file included as a directory index was index.html. After adding index.php as a directory index in my httpd.conf file, everything worked properly.
Thanks again, and have a good day!
Mike.
Tuesday, June 29, 2010
Monday, April 5, 2010
How to speed up web application
There was several good practice that we can take advantage of to speed up our application.
For instance let’s use vehicle maintenance and reports as example.
To open vehicle maintenance page or generate a report, apps need to search through several joined table and generate thousands of records.
This process might take long time, as we have more and more customer, it will take longer and longer time.
To overcome this problem: the direction we should go is:
1) Use “view”(virtual table) in SQL server database. Currently we do not use any of “view” to speed up.
View are virtual table in database, it can store the maintenance reports and other reports ahead of time.
To write a windows service or robot job running behind the scene for example at midnight to calculate all the maintenance record and report and store them in ‘view’ virtual table.
At day time when user want to see it, it does not need to calculate again, it just fetch it from the view virtual table. It will save lots of waiting time for user and fast response.
I worked for one of the world largest bank five years ago, this is how they handle the millions of transaction every day.
i) Use “view” virtual table store all kinds of reports.
ii) Use “robot” to calculate those reports at night time and store them in virtual table.
iii) Do all the maintenance work like robot job, backup, archive, at night time. Some IT staff work over night to run it.
Think about when you use credit card or make payment credit card at day time, it might not take effect until 24 hours to 48 hours.
2) Data grid contain all the records, that is a big trouble.
Ideally we want each query only return 10 to 20 records to fit the page display, not all the 1,000 record.
Like google search, it is fast, because all the search results are calculated ahead of time and store there, when you want it, google does not need to really search for you, it just give you results from result repository( in our case, I call it “view” virtual table).
Also google only return 10 record for each query.
To accomplish this, on Sql command, you can set row count (10) to return only 10 records each query. But how to make it happen on data grid, I don't know yet.
use index in database, might and might not optimize the performance.
It will depends on the situation.
If the record are not frequently changed, not frequently delete, update, create, the index will optimize the performance.
Otherwise if the record frequently be changed such as delete, update, create, each change will trigger to
generate and update the old index, this will be a burden on database server instead of optimize the performance.
Depends on the situation, to balance the burden of index and optimization of performance of index.
For instance let’s use vehicle maintenance and reports as example.
To open vehicle maintenance page or generate a report, apps need to search through several joined table and generate thousands of records.
This process might take long time, as we have more and more customer, it will take longer and longer time.
To overcome this problem: the direction we should go is:
1) Use “view”(virtual table) in SQL server database. Currently we do not use any of “view” to speed up.
View are virtual table in database, it can store the maintenance reports and other reports ahead of time.
To write a windows service or robot job running behind the scene for example at midnight to calculate all the maintenance record and report and store them in ‘view’ virtual table.
At day time when user want to see it, it does not need to calculate again, it just fetch it from the view virtual table. It will save lots of waiting time for user and fast response.
I worked for one of the world largest bank five years ago, this is how they handle the millions of transaction every day.
i) Use “view” virtual table store all kinds of reports.
ii) Use “robot” to calculate those reports at night time and store them in virtual table.
iii) Do all the maintenance work like robot job, backup, archive, at night time. Some IT staff work over night to run it.
Think about when you use credit card or make payment credit card at day time, it might not take effect until 24 hours to 48 hours.
2) Data grid contain all the records, that is a big trouble.
Ideally we want each query only return 10 to 20 records to fit the page display, not all the 1,000 record.
Like google search, it is fast, because all the search results are calculated ahead of time and store there, when you want it, google does not need to really search for you, it just give you results from result repository( in our case, I call it “view” virtual table).
Also google only return 10 record for each query.
To accomplish this, on Sql command, you can set row count (10) to return only 10 records each query. But how to make it happen on data grid, I don't know yet.
use index in database, might and might not optimize the performance.
It will depends on the situation.
If the record are not frequently changed, not frequently delete, update, create, the index will optimize the performance.
Otherwise if the record frequently be changed such as delete, update, create, each change will trigger to
generate and update the old index, this will be a burden on database server instead of optimize the performance.
Depends on the situation, to balance the burden of index and optimization of performance of index.
Friday, March 19, 2010
liberty and justice for all
我儿子每天早上在学校都发誓下面这段英文,我给翻译成中文,
I pledge allegiance to the flag of United States American and to the republic for which it stands one nation under GOD indivisible, with liberty and justice for all.
我对着美国国旗和共和国,宣誓: 拥护 美国作为一个国家不可分割,上帝在上,自由和公正,属于每一个人,所有人,
晚上洗脸的时候,还唱国歌,和乱七八糟学校里学的东西,
我儿子说我国的时候,指的是美国,他脑子里就没有中国这个东西,
中国的,都是坏的,这就是他对中国的唯一的了解。
我让他宣誓,他就宣誓一遍给我听,
我为我儿子感到自豪,
免受洗脑,
自由和公正的思想从小就扎根心里,liberty and justice for all,
为将来作一个正直,公正,公平的人打好了基础,
这就是美国的价值观,
中国的价值刚好相反,拍马屁,浮夸,歪曲事实,颠倒黑白,
追求权,钱,官商勾结,欺压百姓,特权阶级横行霸道,
shit,
I pledge allegiance to the flag of United States American and to the republic for which it stands one nation under GOD indivisible, with liberty and justice for all.
我对着美国国旗和共和国,宣誓: 拥护 美国作为一个国家不可分割,上帝在上,自由和公正,属于每一个人,所有人,
晚上洗脸的时候,还唱国歌,和乱七八糟学校里学的东西,
我儿子说我国的时候,指的是美国,他脑子里就没有中国这个东西,
中国的,都是坏的,这就是他对中国的唯一的了解。
我让他宣誓,他就宣誓一遍给我听,
我为我儿子感到自豪,
免受洗脑,
自由和公正的思想从小就扎根心里,liberty and justice for all,
为将来作一个正直,公正,公平的人打好了基础,
这就是美国的价值观,
中国的价值刚好相反,拍马屁,浮夸,歪曲事实,颠倒黑白,
追求权,钱,官商勾结,欺压百姓,特权阶级横行霸道,
shit,
Subscribe to:
Posts (Atom)