php-general Digest 29 Dec 2005 16:31:12 -0000 Issue 3877
Topics (messages 227951 through 227974):
Re: mysqli module in php 4
227951 by: Curt Zirzow
227969 by: John Nichel
Re: Symbolic Folders and Content Translation
227952 by: Curt Zirzow
Re: Variables and Strings
227953 by: Curt Zirzow
227962 by: Jochem Maas
Re: pdo_informix
227954 by: Curt Zirzow
227960 by: Aleksander
Re: Location ....
227955 by: Curt Zirzow
227961 by: Sameer N Ingole
XML Reader
227956 by: benc11.gmail.com
227964 by: Silvio Porcellana [tradeOver]
Re: PDO & pdo_odbc
227957 by: Curt Zirzow
Re: error: Process limit exceeded for uid 10337 [25 >= 24]
227958 by: Curt Zirzow
Re: download not working
227959 by: Curt Zirzow
Re: Earlier versions hurt PHP 5
227963 by: Silvio Porcellana [tradeOver]
how to call perl code from PHP
227965 by: dev lamp
×ܾÀí±Ø¶¨±¸
227966 by: 2005-12-29 20:34:34
what is the problem with this query?
227967 by: sunaram patir
227968 by: Jay Blanchard
XML-RPC problem with long running times
227970 by: Andreas Schlicker
227971 by: Andreas Schlicker
unable to load perl extension
227972 by: dev lamp
227973 by: Jochem Maas
interfaces - your opinion
227974 by: Jochem Maas
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
On Wed, Dec 28, 2005 at 11:58:02AM -0500, John Nichel wrote:
> M. Sokolewicz wrote:
> >John Nichel wrote:
> >
> >>M. Sokolewicz wrote:
> >>
> >>>Bagus Nugroho wrote:
> >>>
> >>>>Hi All,
> >>>>
> >>>>Is mysqli module enable by default on php 4 as mysql module.
> >>>
> >>>
> >>>
> >>>no
> >>>
> >>>>If not enable by default, where I can get this module(hopefully a
> >>>>direct link to download)
> >>>
> >>>
> >>>
> >>>you can't, it *requires* PHP 5
> >>
> >>
> >>
> >>I've been running mysqli on 4.3.x and 4.4
> >>
> >according to CVS it has a dependency on PHP 5
> >
>
> Undocumented 'feature'. ;)
Please do tell how you even got it working..
% cd php44/ext/mysqli
php44/ext/mysqli: No such file or directory.
% cd pecl/mysqli
pecl/mysqli: No such file or directory.
The only thing I can think that perhaps might be done is:
% cd php5x/ext/mysqli
% phpize #php4 version of phpize
% ./configure --with-mysqli=/usr/local/mysql/
% make
Curt.
--
cat .signature: No such file or directory
--- End Message ---
--- Begin Message ---
Curt Zirzow wrote:
On Wed, Dec 28, 2005 at 11:58:02AM -0500, John Nichel wrote:
M. Sokolewicz wrote:
John Nichel wrote:
M. Sokolewicz wrote:
Bagus Nugroho wrote:
Hi All,
Is mysqli module enable by default on php 4 as mysql module.
no
If not enable by default, where I can get this module(hopefully a
direct link to download)
you can't, it *requires* PHP 5
I've been running mysqli on 4.3.x and 4.4
according to CVS it has a dependency on PHP 5
Undocumented 'feature'. ;)
Please do tell how you even got it working..
% cd php44/ext/mysqli
php44/ext/mysqli: No such file or directory.
% cd pecl/mysqli
pecl/mysqli: No such file or directory.
The only thing I can think that perhaps might be done is:
% cd php5x/ext/mysqli
% phpize #php4 version of phpize
% ./configure --with-mysqli=/usr/local/mysql/
% make
Yes, you have to grab the source from php5. You'll have to point it to
the mysql config program that comes with MySQL => 4.1 Also, to get both
mysql and mysqli working, I had to configure mysqli as shared
(--with-mysqli=shared,/usr/local/mysql/mysql_config) We have not used
this in production yet (and I'm sure it's not recommended/supported),
but so far so good in our test enviroment.
--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of Buffalo
716.856.9675
[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
On Wed, Dec 28, 2005 at 09:43:19PM -0600, Dan Jallits wrote:
> I want to be able to determine the browser language and
> redirect to the correct web folder. However, I want this folder to be
> symbolic, since I do not want multiple copies of the same information.
> Then the next step would be to pass the browser language to a service
> like Google Translate!
The first thing to look at is the var:
$_SERVER['HTTP_ACCEPT_LANGUAGE']
HTTP_ACCEPT_CHARSET, might come in handy as well pending the
lanuage.
I would read the specs on how these vars should be used.
Second, i would take a look at the gettext extension in php
http://php.net/gettext
This allows you to build a language dictionary for what ever
language you want to support. and you have one code base that just
looks like:
setlocale(LC_ALL', 'de_DE');
bindtext('myappname', '/path/to/dictionary');
textdomain('myappname');
echo _('This string will get translated if there is a german
dictionary of this string');
Curt.
--
cat .signature: No such file or directory
--- End Message ---
--- Begin Message ---
On Wed, Dec 28, 2005 at 10:30:04PM -0500, PHP Superman wrote:
> Hey everyone, is there a way to return all the variables from a string into
> an array, for example
> $Var1="Yo";
> $Var2="Man";
> $SQL="SELECT * FROM tblname WHERE 4=$Var1 AND WHERE 3=$Var2";
> $AllVars=MySpecialFunction($SQL);
> print_r($AllVars);
I'm not sure what your trying to do but well,
var_dump($Var1, $Var2, $AllVars);
Curt.
--
cat .signature: No such file or directory
--- End Message ---
--- Begin Message ---
PHP Superman wrote:
Hey everyone, is there a way to return all the variables from a string into
an array, for example
$Var1="Yo";
$Var2="Man";
$SQL="SELECT * FROM tblname WHERE 4=$Var1 AND WHERE 3=$Var2";
$AllVars=MySpecialFunction($SQL);
your function MySpecialFunction() will recieve the following string:
"SELECT * FROM tblname WHERE 4=Yo AND WHERE 3=Man"
which apart from being (probably) incorrect SQL, is just a string -
how is your special function supposed to tell which chars are part of
the previously injected variables' values - and even more impossible:
how would the function find out what those variables we're called to
begin with (it can't).
what is it you would like to achieve?
rgds,
jochem
PS - learn to walk before you fly ;-)
print_r($AllVars);
would ideally print an array like:
{
array
$Var1="Yo"
$Var2="Man"
}
i think i should use an ereg or preg replace but I don't know much about
them or how to use them, thanks in advance
--- End Message ---
--- Begin Message ---
On Wed, Dec 28, 2005 at 04:56:31PM +0200, Aleksander wrote:
> Hi,
>
> How do I install pdo_informix?
Some information on installtion is here:
http://php.net/pdo_informix
This is a basic pecl installation, the general process goes
something like:
1) get latest release (or if daring cvs checkout)
2) extract into folder (assuming pdo_informix/)
3) cd pdo_informix
4) phpize
5) ./configure (with options)
6) make
7) su; make install
8) edit php.ini and enable the extension
9) restart web server (not a graceful)
10) exit
There are some docs that should probably go in more depth than that
at:
http://us3.php.net/install.pecl
>
> There's not much info on it's homepage
> http://pecl.php.net/package-changelog.php?package=PDO_INFORMIX and it's
> not yet in cvs php-src. Although it's in the root of cvs (
> http://cvs.php.net/viewcvs.cgi/pecl/pdo_informix/ ).
Keep in mind that php-src is the current version of php 6, php
5.1.x has a cvs tag associated with it (PHP_5_1).
>
> I'd like to add it to the stable 5.1.1, but a newer version would do for
> testing.
>
> Any ideas, with which version of php stable will pdo_informix be included?
I do know that informix was added just recently (hence not in
5.1.1). The only sugestion i could make is to contact the author of
the extension.
Since the extension is marked as stable, i wouldn't see any issues
of it being included in 5.1.2.
Curt.
--
cat .signature: No such file or directory
--- End Message ---
--- Begin Message ---
Thanks,
Don't know why I couln't find the install page myself. Got it working
without any problems.
Alex
--- End Message ---
--- Begin Message ---
On Wed, Dec 28, 2005 at 03:15:09PM +0100, Christian Ista wrote:
> Hello,
>
> Could you tell me a efficient solution for change page (new location) in
> PHP? I tried this code : header("Location: mypage.php");
>
> But in some case, I have error message "heade already send". Then I use a
> javascript solution : window.location.href="mypage.php";
If you look at the error message it tells you exactly what line the
headers were sent at.
I'm to tired to explain what do do once you find that hopefully
you'll see the problem.
Curt.
--
cat .signature: No such file or directory
--- End Message ---
--- Begin Message ---
Christian Ista wrote:
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Header is a good solution, and is the only one available in PHP for
redirects. It requires that you do not send anything else out to the
browsers before sending the redirect, which is what is causing your error.
You can always use the output buffer functions to assist with that.
Ok but there is something more strange.
I use "header location" in a switch/case. An header location by case. I
don't understand at the end of the case, the header location don't work and
I go through the others cases.
I would do a simple thing, use "exit()" after "header". Though this
should not happen..
Regards,
--
Sameer N. Ingole
/*****************************************************/
Better to light one candle than to curse the darkness.
/*****************************************************/
--- End Message ---
--- Begin Message ---
Is there any easy php script to run to view an xml file such as new
headlines like so: http://news.google.com/?output=rss or can anyone point
me in the right direction for good online tutorials or books.
--- End Message ---
--- Begin Message ---
[EMAIL PROTECTED] wrote:
> Is there any easy php script to run to view an xml file such as new
> headlines like so: http://news.google.com/?output=rss or can anyone point
> me in the right direction for good online tutorials or books.
>
You can start here:
http://magpierss.sourceforge.net/
Magpie RSS is a good RSS parser for PHP.
HTH, cheers
Silvio
--
tradeOver | http://www.tradeover.net
...ready to become the King of the World?
--- End Message ---
--- Begin Message ---
On Wed, Dec 28, 2005 at 02:14:43PM +0100, Markus Fischer wrote:
> Hi,
>
> I'm using the following code in a PHP 5.1, Windows CLI environment:
>
> $p = new PDO('odbc:driver={Microsoft Access Driver
> (*.mdb)};Dbq=beispieldatenbank.mdb');
> $s = $p->prepare('INSERT INTO ADDRESSES(TITLE0, LASTNAME0) VALUES(?, ?)');
> $s->execute(array('test1', 'test2'));
> ...
Just out of curiosity, how does this perform:
$p->exec('INSERT ... VALUES('test1', 'test2'));
> ...
> but which all resulted in a row being inserted but the values were just
> empty.
>
> When I tried something like this:
> $s = $p->prepare('INSERT INTO ADDRESSES(TITLE0, LASTNAME0) VALUES(?, ?)');
> $val1 = 'test1';
> $val2 = 'test2';
> $s->bindParam(1, $val1);
> $s->bindParam(2, $val2);
> $s->execute();
>
> I even get a crash.
yeah a crash is bad. I'm not familiar with windows installs so I
dont really know if it is a bad install or related to php's
pdo_odbc driver.
>
> Am I doing something conceptual wrong?
The code looks like it should perform as you have it. Although if
this is just for one insert statment i would use the $dbh->exec()
method instead. The prepare/execute method is more for batching a
bunch of queries:
$stmt = $dbh->prepare('insert into foo(value) values(?)');
for($i=0; $i < 10; $i++) {
$stmt->execute(array($i));
}
But then again it should be working either way.
Curt.
--
cat .signature: No such file or directory
--- End Message ---
--- Begin Message ---
On Wed, Dec 28, 2005 at 08:33:58AM -0500, Cesar Cruz wrote:
> This error happens in my Web http://www.millonarios.com.co/
>
> Process limit exceeded for uid 10337 [25 >= 24]
>
> as it can be the cause?
This sounds like some sort of OS error, probably due to your uid
not being able to go over a certain nubmer of processes running, by
the login class you belong to.
You my want to contact your server admin about this.
Curt.
--
cat .signature: No such file or directory
--- End Message ---
--- Begin Message ---
On Wed, Dec 28, 2005 at 01:03:55PM -0000, Ross wrote:
> The pdf is fine, there are no errors . All I get is a small (130byte) pdf
> file which is corrupt when I try and open it.
Open the file in notepad and look at the 130 bytes, it probably
will give you a clue.
>
> Thanks,
>
> R.
>
> "Jochem Maas" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > are people supposed to smell what is not working?
> > do you get any errors? is it possible the PDF was corrupt
> > when you uploaded it?
> >
> > Ross wrote:
> >> working form this example
> >>
> >> http://www.php-mysql-tutorial.com/php-mysql-upload.php
> >>
> >>
> >> my code is as follows, all I get is a corrupt pdf file.....
> >>
> >> $query= "SELECT * FROM publications WHERE alphabet='a'";
> >> ...
> >> echo $content;
> >>
--
cat .signature: No such file or directory
--- End Message ---
--- Begin Message ---
Anas Mughal wrote:
> Here is a PHP5 hosting company:
> http://www.a2hosting.com/
>
Aaargh! I wouldn't suggest that one, I've had a really really bad
experience with them (they shut down my site *w/o any notice* because
they said I was using too much of their resources - while this was not
true).
I am now using hub.org (http://www.hub.org) and I find they have a
really good service (and PHP5)
--
tradeOver | http://www.tradeover.net
...ready to become the King of the World?
--- End Message ---
--- Begin Message ---
Hi
I am unable to call perl code from PHP, since the extension does not
get loaded !
Scenario 1:
use dl('perl.so'); in the php code and invoke the script from the command line
The script works fine and the perl code gets executed as well.
Scenario 2:
the perl extension does not get loaded and the PHP script crashes.
I have read the article
http://www.zend.com/php5/articles/php5-perl.php
If anybody has faced this issue, please share how you solved the problem ?
Thanks in advance.
----
Here are the environment Details:
RHEL 4.0
PHP 5.0.5 (self compiled)
PECL/PERL package checked out from CVS
PHP 5.0.5 compilation details
---------------------------
./configure --with-apxs2=/usr/local/apache2/bin/apxs
--with-mysql=/usr/bin/mysql_config
--with-mysqli=/usr/bin/mysql_config --with-openssl-dir=/usr/local/ssl
--with-libxml-dir=/usr/lib --enable-soap --enable-sockets
--enable-sqlite-utf8 --enable-wddx --with-gnu-ld --with-gd
--with-jpeg-dir=/usr/local/lib --with-png-dir=/usr/local/lib
--with-zlib-dir=/usr/local/lib --with-gd=/usr/local
--enable-gd-native-ttf --enable-maintainer-zts --with-pear
make
make install
pecl/perl package compilation details
-------------------------
export PHP_PREFIX="/usr/local"
export PERL_PREFIX="/usr"
echo $PHP_PREFIX
echo $PERL_PREFIX
$PHP_PREFIX/bin/phpize
./configure --with-perl=$PERL_PREFIX
--with-php-config=$PHP_PREFIX/bin/php-config
make
make install
entries in php.ini file
--------------
extension_dir = "/usr/local/lib/php/extensions/no-debug-zts-20041030/"
extension=perl.so
sample test code is as follows -
<?php
if (!extension_loaded('perl'))
{
print "perl extension not loaded";
exit;
}
?>
--
Dev.
--- End Message ---
--- Begin Message ---
《 管理实务文案 》 共 338 份(套)只需150元/套。
送货上门,货到付款。您只须留下您的地址,邮编,联系电话,联系人
[EMAIL PROTECTED] [EMAIL PROTECTED]
QQ:527245759 电话:0 13066126999 可能是长途,请尽量网上联系
更多资料请浏览临时网站:http://hexun.com/happy8
综合管理实务文案( 182 份) HR 管理实务文案( 80 份)
项目管理文案( 52 份) 企业文化文案( 24 份)
管理资料下载总容量: 380M , 一张光盘装载
综合管理实务文案
1 《销售人员专业技能训练整体解决方案》(上) 文件夹 260KB
2 《销售人员专业技能训练整体解决方案》(下) 文件夹 1260 KB
3 ISO9000 完全培训资料 文件夹 965 KB
4 ISO14000 完全培训资料 文件夹 124 KB
5 KFC 肯德基企业内部管理 文件夹 727 KB
6 ORACLE- 香港电信项目实施文件(全套) 文件夹 8620 KB
7 SONY 绿色伙伴计划文件 文件夹 1870 KB
8 艾福期给红塔仁恒纸业作的 ERP 整体解决方案 文件夹 6200 KB
9 北京某房地产公司规章制度汇编 文件夹 433 KB
11 东软集团内部管理文档 文件夹 11900 KB
12 股票期权操作方案集成( 26 项) 文件夹 1520 KB
13 华润集团投资管理内部文件 文件夹 766 KB
14 华源集团的资产重组案例 文件夹 117 KB
15 惠普管理培训完全手册 文件夹 2160 KB
16 慧聪公司内部培训资料―业务、法务、商务礼仪等 文件夹 1960 KB
17 加盟连锁店规章制度 文件夹 3160 KB
18 金蝶 ERP 作业流程―仓库作业流程 文件夹 1240 KB
19 金牌客户服务管理―美的公司内训教材 文件夹 1070 KB
20 经理人如何快速学会看财务报表 文件夹 303 KB
21 可口可乐公司员工培训教材 文件夹 1840 KB
22 跨国公司人力资源管理资料精选 文件夹 420 KB
23 鲁能品牌战略与规划 文件夹 193 KB
24 美的集团人力资源制度(全套) 文件夹 7380 KB
25 美的集团销售系统财务管理 文件夹 141 KB
26 某著名医药公司培训教材 文件夹 5900 KB
27 企业福利制度汇编 文件夹 251 KB
28 企业管理表格大全 文件夹 1830 KB
29 清产核资基础报表格式 文件夹 600 KB
30 三星电子(中国)员工素质全面提升培训教材 文件夹 4970 KB
31 上市公司股权转让协议( 27 页) 文件夹 227 KB
32 上市公司资金结算中心设计方案 文件夹 97 KB
33 神龙标致 QPMPP 培训资料 文件夹 2190 KB
34 太太药业现有业务流程调研报告 文件夹 3120 KB
35 腾迅 QQ 香港上市文件全套文件 文件夹 2060 KB
36 统一企业的标准化运作 文件夹 347 KB
37 统一企业内部分析研究评估报告 文件夹 300 KB
38 物流中心作业系统 文件夹 1050 KB
39 香港某著名物业公司甲级写字楼物业管理全套文件 文件夹 2420 KB
40 项目管理专家完全手册 文件夹 398 KB
41 TCL 集团企业管理调研报告 文件夹 187 KB
42 TCL 大区经理管理手册 WORD 330 KB
43 TCL 电脑店铺管理手册 WORD 98 KB
44 TCL 工资制度 WORD 103 KB
45 TCL 供应链 PDF 138 KB
46 TCL 内部培训教材 WORD 208 KB
47 TCL 内训教材―客户关系管理与客情维护 WORD 236 KB
48 TCL 网络营销传播手册(完全版) PPT 465 KB
49 TCL 销售公司业务流程和经营管理重点手册 WORD 213 KB
50 TCL 质量环境职业安全三合一手册 WORD 498 KB
51 海尔集团管理调研报告 WORD 222 KB
52 海尔集团年度市场战略企划方案 PPT 859 KB
53 海尔企业文化手册 WORD 418 KB
54 海尔以市场链为纽带的业务流程再造模式 WORD 1353 KB
55 海尔整体物流方案 WORD 132 KB
56 海尔中国造―海尔成功经验完全报告 PPT 786 KB
57 华联―保安手册 WORD 676KB
58 华联―电脑使用手册 WORD 151KB
59 华联―店长手册 WORD 532KB
60 华为调研报告 文件夹 283 KB
61 华为技术有限公司编程开发规范与案例 文件夹 777 KB
62 华为销售人员培训资料(上下) 文件夹 1990 KB
63 华为供应商指南 WORD 85 KB
64 华为 SAP 解决方案 WORD 2770 KB
65 华为技术―计划体系与工具 WORD 863 KB
66 华为科技园二期总结报告 WORD 688 KB
67 华为―千兆企业网解决方案 WORD 1725 KB
68 华为素质模型 PDF 277 KB
69 华为营销人员完全培训教材 PPT 1185 KB
70 联想集团各类文件模板及表格 文件夹 2370 KB
71 联想科技入职培训资料 WORD 512 KB
72 联想财务基础知识培训教程 PPT 388 KB
73 联想服务机构奖励办法 WORD 88 KB
74 联想关于实施 ERP 的沉痛教训与成功经验报告 PPT 290 KB
75 联想集团核心价值观培训 PPT 1004 KB
76 联想集团会议组织和管理制度 PPT 362 KB
77 联想集团品牌宣传方略 PPT 2831 KB
78 联想集团员工行为规范 WORD 717 KB
79 联想客户关系管理解决方案 PPT 170 KB
80 联想企业管理体系 PPT 514 KB
81 联想手机销售手册 WORD 91 KB
82 联想投资―企业发展与人力资源战略 PPT 1201 KB
83 麦当劳管理大全 文件夹 6850 KB
84 麦当劳连锁公司员工手册(北京) WORD 172 KB
85 麦当劳的人力资源管理 WORD 35 KB
86 麦当劳的训练发展系统 WORD 77 KB
87 麦当劳的业务领导 PPT 658 KB
88 麦当劳订货物流管理制度 PPT 297 KB
89 平安保险公司礼仪手册 HTML 460 KB
90 平安保险新人培训手册 WORD 216 KB
91 平安保险指导人制度 PPT 292 KB
92 平安讲师训练课程 PPT 852 KB
93 用友软件― NC 全面预算与资金管理解决方案 PPT 1854 KB
94 用友软件―集团内部培训资料 - 谋划变革 WORD 183 KB
95 用友软件―美的空调信息系统建设方案书 WORD 18.496M
96 用友软件―伊利集团分销系统项目建议书 WORD 657 KB
97 用友软件―银河证券财务信息系统方案书 WORD 6703 KB
98 《海尔模式》精要―最好的管理层培训教材 WORD 136 KB
99 ×× 食品有限公司业务操作 WORD 1305 KB
100 5S 内部培训资料(国内著名制造业企业) PPT 698 KB
101 KFC 店长工作手册 WORD 38 KB
102 KFC 岗位操作指南 WORD 43 KB
103 KFC 管理制度 WORD 194 KB
104 LH 股份有限公司经营状况诊断报告 WORD 131 KB
105 MOTOROLA 财务管理 PPT 543 KB
106 MOTOROLA 内部控制标准 WORD 202 KB
107 宝洁店内形象手册 WORD 3174 KB
108 宝洁核心竞争力―供应链管理 WORD 23 KB
109 北大江明华博士―营销渠道管理 PDF 307 KB
110 北电技术服务手册 PDF 792 KB
111 长城宽带运营成本统计体系 WORD 156 KB
112 达能食品的策略销售管理和有效推销技巧 WORD 158 KB
113 大型 IT 企业组织管理制度 WORD 202 KB
114 大型 MALL 营运管理模式 WORD 58 KB
115 第一太平洋戴维斯物业管理质量手册 WORD 593 KB
116 电通广告培训资料 PPT 915 KB
117 顶新食品成品仓库管理手册 WORD 598 KB
118 杜邦公司面对面销售技巧 PPT 175 KB
119 非财务人员的财务管理培训 PPT 783 KB
120 丰田汽车生产管理体系 PDF 321 KB
121 丰田现场管理 PDF 4837 KB
122 高科技公司规章制度大全 WORD 519 KB
123 公司成本控制要点指南 WORD 642 KB
124 沟通技能训练―拜访八步骤 WORD 23 KB
125 管理提升训练课程―管理与人际关系 PPT 227 KB
126 广州星河湾零干扰服务理念管理方案 WORD 65 KB
127 海螺型材路演材料 PPT 1107 KB
128 健力宝营销体系中央计划系统流程 PPT 1709 KB
129 江苏隆力奇零售终端管理 PPT 683 KB
130 金科集团主要业务流程手册 WORD 532 KB
131 经典商务礼仪 PPT 982 KB
132 开思 ERP 技术白皮书 WORD 4598 KB
133 科龙项目业务流程说明书(分公司) WORD 844 KB
134 科龙项目业务流程说明书(总部) WORD 993 KB
135 科龙营销系统管理手册( 15 万字) WORD 1982 KB
136 壳牌石油 IT 架构规划与实施经验介绍 WORD 60 KB
137 可口可乐 EXCEL 表格资料大全(财务、物料、采购、销售等) WORD 1491 KB
138 浪潮通软技术白皮书 WORD 1607 KB
139 连锁超市防损工作手册 PDF 173 KB
140 联合利华公司的食品安全管理体系 WORD 372 KB
141 摩托罗拉公司全面生产维护管理体系 WORD 227 KB
142 某超大型集团营销诊断报告 PPT 371 KB
143 某服装企业业务运作流程图及说明书 WORD 1363 KB
144 某钢铁公司销售信息化管理项目建议书 PPT 448 KB
145 某集团财务预算管理制度 WORD 328 KB
146 某集团公司责权利匹配调查报告 WORD 3885 KB
147 某著名公司的授权体系 WORD 207 KB
148 培训案例大全 WORD 323 KB
149 企业财务管理制度全集 WORD 713 KB
150 企业财务内控制度全案 WORD 1022 KB
151 企业规章制度大全 WORD 504 KB
152 企业集团内部会计控制 WORD 674 KB
153 企业文件案例精选 WORD 394 KB
154 企业应收帐款管理与催帐实战技巧教材 PPT 230 KB
155 企业治理研究―让公司的战略发挥实效 PPT 689 KB
156 企业资金管理办法 WORD 607 KB
157 企业资金预算制度 WORD 22 KB
158 企业综合体质自我分析表 WORD 115 KB
159 区域市场的开发和管理 WORD 188 KB
160 全面预算管理的系统化实施探索―华润集团的 6S 管理体系 WORD 28 KB
161 日产汽车现场管理 WORD 2096 KB
162 三九集团内部控制制度全集 WORD 1707 KB
163 三星秘笈 PPT 104 KB
164 商务礼仪大全 PPT 886 KB
165 商业集团公司全面预算管理方法 WORD 41 KB
166 太极集团销售管理系统建设规划 WORD 649 KB
167 通用电气―在集权与分权间谋求均衡结构 WORD 99 KB
168 微软中国公司成本控制指南 WORD 642 KB
169 沃尔玛经营管理理念全集 WORD 556 KB
170 沃尔玛课程―高绩效谈判与议价 WORD 570 KB
171 沃尔玛物流配送体系 WORD 36 KB
172 武汉金佰利华中地区多点配送方案 WORD 1406 KB
173 武汉万科物业管理方案 WORD 929 KB
174 现场管理实务 PPT 367 KB
175 烟草行业 IT 培训资料 PPT 565 KB
176 烟草业市场营销整体解决方案 WORD 1313 KB
177 预算管理培训教材 PPT 122 KB
178 张裕葡萄酿酒股份有限公司营销系统培训计划 WORD 167 KB
179 中国远洋运输集团财产清查培训资料 WORD 199 KB
180 中核集团企业财务预算(细化)表格 WORD 314 KB
181 中小企业互联网应用―全面解决方案 WORD 347 KB
182 中远集团( COSCO )综合管理手册 WORD 139 KB
HR 管理实务文案(管理资料下载请参见销售政策)
183 财务有关的 28 个岗位说明书 文件夹 564 KB
184 大中型企业集团八大总监职务描述 文件夹 176 KB
185 光华管理学院人力资源课程资料 文件夹 7160 KB
186 某国际知名管理咨询公司内部指定教案― HR 专业 文件夹 2600 KB
187 策软―平衡计分卡 文件夹 3710 KB
188 ADERSON 绩效管理体系 PPT 509 KB
189 HAIER 培训管理手册 WORD 860 KB
190 HR 咨询工具―鲍尔宾问卷 WORD 93 KB
191 PEOPLESOFT ―人力资本最优化 PDF 381 KB
192 TCL 集团迈向国际化之人力资源策略 WORD 36 KB
193 爱立信薪酬体系 PPT 360 KB
194 北京 NOKIA 薪资方案 PPT 84 KB
195 长城润滑油公司实体绩效管理制度细则 WORD 300 KB
196 东方谊福科技发展有限公司―绩效管理模型 PPT 148 KB
197 岗位分析与职位说明 PDF 1132 KB
198 工作分析与职位说明书编制 PPT 406 KB
199 国企变革过程中裁员策略的比较研究 WORD 156 KB
200 韩国 LG 公司员工评价制度 PPT 1175 KB
201 宏智科技员工绩效管理制度 WORD 224 KB
202 湖南电信人力资源管理咨询方案 PPT 190 KB
203 华润超市―目标与绩效管理 PPT 505 KB
204 华为公司的人力资源管理实践 压缩包 885 KB
205 华为新员工转正笔试题初稿咨询文本 WORD 44 KB
206 华信惠悦―民生银行人力资源规划 PPT 1305 KB
207 惠普公司的人力资源管理 压缩包 541 KB
208 惠悦国际―中国移动(香港)公司人力资源管理咨询报告 PDF 1787 KB
209 绩效考核―非量化总表 WORD 255 KB
210 激发没工工作热情的二十种非经济手段 WORD 112 KB
211 激活人力资源的薪酬体系设计 PPT 911 KB
212 金光集团(亚洲浆纸)薪资福利完全手册 WORD 1810 KB
213 金圣烟业调研方案 PPT 354 KB
214 康佳康团培训管理办法 WORD 198 KB
215 康师傅新人入职培训教材 PPT 609 KB
216 康师傅―职位说明书培训 PPT 675 KB
217 科龙职位评估系统 WORD 212 KB
218 可口可乐销售技巧培训资料 PPT 298 KB
219 来自贝恩―招聘用 CASE 分析 压缩包 58 KB
220 麦肯锡―平安寿险的薪酬体系汇报 压缩包 53 KB
221 隆兴棉纺人力资源尽职调查 WORD 230 KB
222 美国公司 CEO 的激励体系 WORD 1615 KB
223 某大型集团 KPI 手册 WORD 496 KB
224 某公司 50 个职位说明书 WORD 280 KB
225 某集团公司绩效考核制度 WORD 285 KB
226 某科技有限公司培训制度 WORD 234 KB
227 某实业有限公司绩效管理培训教程 PPT 594 KB
228 某医院人力资源诊断报告 PPT 418 KB
229 某知名企业部门职责、岗位设计和人力资源考核办法 WORD 967 KB
230 某知名企业股票期权激励方案 WORD 194 KB
231 某知名企业时间管理培训材料 WORD 607 KB
232 南方集团绩效考核培训版 PPT 374 KB
233 平衡计分卡相关经典图例 WORD 43 KB
234 企业福利制度汇编 压缩包 460 KB
235 企业岗位分析与设计 PDF 113 KB
236 企业人事制度汇编 WORD 80 KB
237 企业如何才能招聘到优秀人才 PPT 1238 KB
238 清华同方员工股票期权计划 WORD 55 KB
239 全球五大著名企业的绩效管理实操 WORD 260 KB
240 人力资源管理表格 WORD 762 KB
241 人力资源管理国际资格认证教案 WORD 4522 KB
242 人力资源管理手册 电子书 1466 KB
243 人力资源管理咨询项目建议书 PPT 404 KB
244 神州数码―职位管理与绩效管理体系 PPT 1016 KB
245 世界五大人力资源管理咨询公司之翰威特薪酬设计因素评分法 WORD 108 KB
246 台湾旺旺集团(总部)工作分析培训讲义 PPT 483 KB
247 通用电气的企业文化和管理 WORD 333 KB
248 通用电气的薪金和奖励制度 WORD 174 KB
249 团体合作游戏 WORD 540 KB
250 万科平衡计分卡( BSC )咨询培训资料 PPT 249 KB
251 万科职员工手册 2004 版 WORD 411 KB
252 伟世―大庆石油薪酬结构设计方案 PPT 2024 KB
253 伟世人力资源―国际职位评估系统 PDF 151 KB
254 西门子的员工手册 WORD 959 KB
255 伊利集团岗前培训手册 PPT 108 KB
256 医药行业人力资源概要 WORD 1773 KB
257 浙大方圆科技公司职位说明调研报告 WORD 92 KB
258 浙江嘉信医药股份有限公司员工持股可行性研究报告 WORD 447 KB
259 职业经理人全面素质提升训练系统 电子书 65 KB
260 中兴通讯的 6SIGMA 普及培训教材 PPT 502 KB
261 主基二元考核法―真正的绩效考核 WORD 35 KB
262 著名企业招聘典型试题精选 WORD 45 KB
项目管理文案(管理资料下载请参见销售政策)
263 项目管理全程( 1-8 ) 文件夹 6240 KB
264 IT 项目管理表格模板 文件夹 4880 KB
265 项目管理知识体系( PMBOK )指南( 1-12 ) 文件夹 44.6M
266 PROJECT2000 文件夹 849 KB
267 上海 IBM 项目经理培训 文件夹 1440 KB
268 现代项目管理讲义 - 戚教授 文件夹 782 KB
269 项目管理操作实务 文件夹 3270 KB
270 普华永道的项目管理体系 文件夹 1360 KB
271 项目投资融资决策 文件夹 2020 KB
272 IPMP 认证案例研讨:投标信息化软件开发项目管理案例 PPT 1034 KB
273 北京中科项目管理研究所:现代项目管理知识体系培训 PPT 1803 KB
274 项目经理的资质发展与评估手册 压缩包 882 KB
275 AMP 项目管理知识体系―中文 PDF 770 KB
276 DATA 管理咨询公司:项目致胜之道 PPT 287 KB
277 ERP 销售项目经理培训教材 压缩包 34 KB
278 IT 行业的项目管理 PPT 982 KB
279 PMC 项目管理― HP 压缩包 182 KB
280 PMP 考前培训材料 PPT 817 KB
281 毕马威项目管理 PPT 1028 KB
282 产品部、项目组、实施组的关系 WORD 24 KB
283 关于软件项目实施 PPT 643 KB
284 国内某著名公司的项目计划模板 WORD 91 KB
285 哈佛商业评论《项目管理手册》 PDF 311 KB
286 汉普―项目的管理与顾问的素质交流 PPT 687 KB
287 某大型公司内部项目线管理方案 WORD 115 KB
288 普华永道的项目管理教材 压缩包 477 KB
289 如何开发项目建议书(概述) 压缩包 225 KB
290 如何开发项目建议书(细节) 压缩包 106 KB
291 如何准备 PMP 考试 压缩包 9871 KB
292 同济项目合同管理 PPT 283 KB
293 同济项目质量管理 PPT 661 KB
294 网站项目管理规范指南 压缩包 96 KB
295 西安交通大学管理学院―项目管理全套 压缩包 192 KB
296 现代项目管理知识体系培训 PPT 1565 KB
297 项目管理― PMP 全球认证手册 压缩包 1959 KB
298 项目管理案例讨论 PPT 461 KB
299 项目管理模板 PDF 155 KB
300 项目管理实战 WORD 242 KB
301 项目可行性研究报告文字模板 WORD 277 KB
302 项目组织结构设计与选择 WORD 30 KB
303 用户意见分析表 WORD 44 KB
304 运用 EXCEL 进行规划设计 PPT 86 KB
305 运用项目责任人管理 完善企业运营管理体系 WORD 1120 KB
306 最新 AMP 项目管理知识体系―中文 压缩包 398 KB
307 项目管理初步 WORD 132 KB
308 项目管理学习资料 WORD 1593 KB
309 项目管理应用与考试 WORD 1048 KB
310 项目管理教程 PPT 728 KB
311 项目管理方法及流程概要 PPT 497 KB
312 项目管理讲稿 WORD 1636 KB
313 项目管理讲稿中的图表 压缩包 920 KB
314 PMBOK2004 英文草案版 压缩包 6030 KB
?(管理资料下载请参见销售政策)
企业文化文案
315 企业风格测评的 12 个纬度 文件夹 234 KB
316 企业文化理念大全( 38 个 DOC ) 文件夹 781 KB
317 企业文化资料(个人收集版) 文件夹 865 KB
318 50 个中外名企企业文化浓缩语 文件夹 1020 KB
319 《企业文化精选》―著名公司的范例 HTML 173 KB
320 《文化中的企业与企业中的文化》( 52 页) PPT 577 KB
321 GE 公司的文化、管理及运作体系 PPT 269 KB
322 SONY 企业文化 WORD 42 KB
323 白沙企业文化大纲 WORD 75 KB
324 海尔企业文化手册 WORD 123 KB
325 经盛国际管理咨询 2004 年最新报告:香港某企业文化项目 PPT 1385 KB
326 联想公司企业文化(中文 DOC ) WORD 39 KB
327 联想企业文化系统工程咨询报告 PPT 444 KB
328 蒙牛集团《企业文化手册》( 86 页) PPT 378 KB
329 科龙企业文化纲领 WORD 21 KB
330 企业文化案例选 WORD 388 KB
331 企业文化的建设与管理 PPT 160 KB
332 企业文化与内化优势(中山大学管理学院教授,吴能全博士) PPT 185 KB
333 清华大学邹广文教授:企业文化与团队建设 PPT 304 KB
334 人力资源管理(清华,共十讲)―第十章 企业文化 PPT 196 KB
335 沃尔玛企业经营管理理念、企业文化全集( DOC 版, 18 万字) WORD 634 KB
336 中国电信企业文化诊断报告(和君创业) PPT 947 KB
337 中国企业文化经典案例:上海宝钢、青岛海尔、四川长虹 WORD 156 KB
338 咨询理论―企业文化建设 PPT 263 KB
--- End Message ---
--- Begin Message ---
hi there,
could you please tell me what is the problem with this query
mysql_query("SELECT * FROM mailbox WHERE read=''");
i always get this warning:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL
result resource in index.php on line 24
--- End Message ---
--- Begin Message ---
[snip]
could you please tell me what is the problem with this query
mysql_query("SELECT * FROM mailbox WHERE read=''");
i always get this warning:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL
result resource in index.php on line 24
[/snip]
THere is no apparent problem with the query, but there is a problem with
mysql_num_rows(). Can you show us he code there?
--- End Message ---
--- Begin Message ---
Hi all,
I'm using Apache/1.3.33 (Unix), PHP/5.0.3, mod_ssl/2.8.22, OpenSSL/0.9.6a.
I wrote a dummy script that is called by a Java program via XML-RPC,
waits for some time and replies the start and end times.
<?php
set_time_limit(500);
$xmlServer = xmlrpc_server_create();
function process() {
$result = ini_get('max_execution_time') . "\n";
$result = $result . date("H:i:s") . "\n";
sleep(0);
$result = $result . date("H:i:s") . "\n";
return $result;
}
xmlrpc_server_register_method($xmlServer, 'process', 'process');
$xmlRequest = $HTTP_RAW_POST_DATA;
$xmlResponse = xmlrpc_server_call_method($xmlServer, $xmlRequest, NULL);
#$log = fopen($filename, 'a');
#fwrite($log, $xmlResponse);
#fflusch($log);
#fclose($log);
echo $xmlResponse;
xmlrpc_server_destroy($xmlServer);
?>
If the script sleeps for up to 5 minutes, it works perfectly fine.
However, I my real application will run probably an hour or so. If the
script takes more than 5 minutes to execute, the client receives an
empty response, even the header is missing. If I try to write the
$xmlResponse to a file, the client receives a null message.
I wrote a small script without XMLRPC that acted the same way when
called by a browser. This worked perfectly (I tested it up to 20 minutes
waiting time) even if I used set_time_limit(5) and sleep(500).
Does anybody have an idea how to solve this problem? Thanks in advance.
Andreas
--- End Message ---
--- Begin Message ---
Of course, fflusch($log); should be fflush($log);
I just found out that $xmlResponse really is empty.
However, connection_status() returns 0, so I assume that the script is
not interrupted by a timeout.
Why does xmlrpc_server_call_method($xmlServer, $xmlRequest, NULL) return
nothing if the call takes longer than 5 minutes and there is no
interrupt? Is there some "special" XMLRPC timeout?
Any idea?
Andreas
Andreas Schlicker schrieb:
Hi all,
I'm using Apache/1.3.33 (Unix), PHP/5.0.3, mod_ssl/2.8.22, OpenSSL/0.9.6a.
I wrote a dummy script that is called by a Java program via XML-RPC,
waits for some time and replies the start and end times.
<?php
set_time_limit(500);
$xmlServer = xmlrpc_server_create();
function process() {
$result = ini_get('max_execution_time') . "\n";
$result = $result . date("H:i:s") . "\n";
sleep(0);
$result = $result . date("H:i:s") . "\n";
return $result;
}
xmlrpc_server_register_method($xmlServer, 'process', 'process');
$xmlRequest = $HTTP_RAW_POST_DATA;
$xmlResponse = xmlrpc_server_call_method($xmlServer, $xmlRequest, NULL);
#$log = fopen($filename, 'a');
#fwrite($log, $xmlResponse);
#fflusch($log);
#fclose($log);
echo $xmlResponse;
xmlrpc_server_destroy($xmlServer);
?>
If the script sleeps for up to 5 minutes, it works perfectly fine.
However, I my real application will run probably an hour or so. If the
script takes more than 5 minutes to execute, the client receives an
empty response, even the header is missing. If I try to write the
$xmlResponse to a file, the client receives a null message.
I wrote a small script without XMLRPC that acted the same way when
called by a browser. This worked perfectly (I tested it up to 20 minutes
waiting time) even if I used set_time_limit(5) and sleep(500).
Does anybody have an idea how to solve this problem? Thanks in advance.
Andreas
--- End Message ---
--- Begin Message ---
Hi
I am unable to call perl code from PHP, since the extension does not
get loaded !
Scenario 1:
use dl('perl.so'); in the php code and invoke the script from the command line
The script works fine and the perl code gets executed as well.
Scenario 2:
the perl extension does not get loaded and the PHP script crashes.
I have read the article
http://www.zend.com/php5/articles/php5-perl.php
If anybody has faced this issue, please share how you solved the problem ?
Thanks in advance.
----
Here are the environment Details:
RHEL 4.0
PHP 5.0.5 (self compiled)
PECL/PERL package checked out from CVS
PHP 5.0.5 compilation details
---------------------------
./configure --with-apxs2=/usr/local/apache2/bin/apxs
--with-mysql=/usr/bin/mysql_config
--with-mysqli=/usr/bin/mysql_config --with-openssl-dir=/usr/local/ssl
--with-libxml-dir=/usr/lib --enable-soap --enable-sockets
--enable-sqlite-utf8 --enable-wddx --with-gnu-ld --with-gd
--with-jpeg-dir=/usr/local/lib --with-png-dir=/usr/local/lib
--with-zlib-dir=/usr/local/lib --with-gd=/usr/local
--enable-gd-native-ttf --enable-maintainer-zts --with-pear
make
make install
pecl/perl package compilation details
-------------------------
export PHP_PREFIX="/usr/local"
export PERL_PREFIX="/usr"
echo $PHP_PREFIX
echo $PERL_PREFIX
$PHP_PREFIX/bin/phpize
./configure --with-perl=$PERL_PREFIX
--with-php-config=$PHP_PREFIX/bin/php-config
make
make install
entries in php.ini file
--------------
extension_dir = "/usr/local/lib/php/extensions/no-debug-zts-20041030/"
extension=perl.so
sample test code is as follows -
<?php
if (!extension_loaded('perl'))
{
print "perl extension not loaded";
exit;
}
?>
--
Dev.
--- End Message ---
--- Begin Message ---
dev lamp wrote:
Hi
I am unable to call perl code from PHP, since the extension does not
get loaded !
Scenario 1:
use dl('perl.so'); in the php code and invoke the script from the command line
The script works fine and the perl code gets executed as well.
so the extension is not being loaded automatically right?
but if you dl() it everything is fine, right?
then double check the 'right' ini file is being used!
Scenario 2:
the perl extension does not get loaded and the PHP script crashes.
I have read the article
http://www.zend.com/php5/articles/php5-perl.php
If anybody has faced this issue, please share how you solved the problem ?
Thanks in advance.
----
Here are the environment Details:
RHEL 4.0
PHP 5.0.5 (self compiled)
personally I avoided this version of php like the plague - I would
suggest a diff. version just to rule out the possibility that 5.0.5
is the problem...
PECL/PERL package checked out from CVS
PHP 5.0.5 compilation details
---------------------------
./configure --with-apxs2=/usr/local/apache2/bin/apxs
--with-mysql=/usr/bin/mysql_config
--with-mysqli=/usr/bin/mysql_config --with-openssl-dir=/usr/local/ssl
--with-libxml-dir=/usr/lib --enable-soap --enable-sockets
--enable-sqlite-utf8 --enable-wddx --with-gnu-ld --with-gd
--with-jpeg-dir=/usr/local/lib --with-png-dir=/usr/local/lib
--with-zlib-dir=/usr/local/lib --with-gd=/usr/local
--enable-gd-native-ttf --enable-maintainer-zts --with-pear
what is: --enable-maintainer-zts ?
have you tried stripping you configure line further to see if
that helps? i.e. remove everything apart from what you need to
run the specific code that relies on the perl extension. just to
see if removing something causes the perl extension to work
make
make install
pecl/perl package compilation details
-------------------------
export PHP_PREFIX="/usr/local"
export PERL_PREFIX="/usr"
echo $PHP_PREFIX
echo $PERL_PREFIX
$PHP_PREFIX/bin/phpize
./configure --with-perl=$PERL_PREFIX
--with-php-config=$PHP_PREFIX/bin/php-config
make
make install
entries in php.ini file
--------------
is the apache module using the php.ini that you think it is ?? -
that kind of thing has caught me out more than once!
extension_dir = "/usr/local/lib/php/extensions/no-debug-zts-20041030/"
extension=perl.so
sample test code is as follows -
<?php
if (!extension_loaded('perl'))
{
print "perl extension not loaded";
exit;
}
?>
--
Dev.
--- End Message ---
--- Begin Message ---
anyone here work with Interfaces? I do and I like them alot;
I recently ran into a situation where it would be nice to be able to specify
that a given interface is only allowed to be implemented by a certain
class (and all subclasses thereof) - Anyone have an idea as to how
to implement such a restraint in a clean way? does anyone think that this
is generally useful?
maybe it's something that should not be done at all.
maybe the implementation belongs in the engine (with some new syntax) e.g:
class MyClass {}
class MySubClass extends MyClass {}
class MyOtherClass {}
class SomebodyElsesClass {}
interface MyIface validfor MyClass, MyOtherClass
{
abstract function blabla();
}
// SomebodyElsesClass would not be able to implement MyIface
interested to know if anyone has an opinion on this.
rgds,
Jochem
--- End Message ---