php-general Digest 19 Feb 2006 23:24:40 -0000 Issue 3973

Topics (messages 230715 through 230720):

2ÔÂÉîÛڽܳö°à×鳤ѵÁ·Óª
        230715 by: ½Ü³ö°à×鳤ѵÁ·Óª

DOM XML : set_attribute()
        230716 by: Jils Abhilash

Re: Subtracting Large Numbers
        230717 by: Rory Browne

Re: regular pattern to match åäö
        230718 by: Curt Zirzow

Re: PHP/LDAP Authentication
        230719 by: Weber Sites LTD

Looping from A to Z
        230720 by: Richard K Miller

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 ---
------------------------------------------------------------------------------- 
                                   
                                   杰出班组长训练营
-------------------}------------------------------------------------------------
主办单位:希-锐-企-业-管-理-咨-询-有-限-公-司

时  间:2006年2月24-25日(星期五、六 09:00-12:00 13:30-17:00)

地  点:深圳金融培训中心

T  E   L: 0755-83524370  曾小姐

F  A   X:0755-83524349

费  用:1800元/人(包括资料费、午餐、以及上下午茶点等)

------------------------------------------------------------------------------------
一、课程背景:
“我们的班组长基本上是做出来的,技能娴熟,吃苦耐劳,一个人做事绝对没问题,可是要他带领
群人做事就有点力不从心了……”
技术专才走上管理岗位存在转型问题,技能能手上任班组长也同样要进行角色转换。
班组是企业的细胞,是企业执行系统中的最基层组织。犹如高楼大厦的地基一样,班组长就是混凝土
当中的钢筋,班组长群体培养的重要性不言自明。
-------------------------------------------------------------------------------------
二、课程大纲:
一、练就管理内功―掌握现场管控的核心技能
1、 现场管理的5条原则
2、 生产活动的6项准则
3、 现场作业需关注的十大问题
4、 生产日报的管理―掌握现场实况的有效工具
5、 目标管理与管理项目―目标管理能力培养
6、 抓住工作重点―时间管理能力培养
7、 早会制―作业指示与生产总结的场所
8、 施行标准与标准化―防止混乱、确保品质的有力武器
9、 问题的把握与改善―解决问题能力培养、8D
10、7S管理―打造亮丽的生产现场
11、看板与目视管理―传递信息、改善意识的利器
12、现场管理的法宝―有效沟通
游戏:你离哈佛有多远
二、顺畅生产掌于心―管控生产过程的能力
1、 如何做好生产准备
2、 如何做好现场确认
3、 如何合理分配生产作业
4、 如何预防与处理生产“瓶颈” 
5、 常见进度异常问题分析
6、 如何进行制程控制以确保品质
7、 防错与防误的技法
8、 品质异常的处置措施
9、 转换机型的管理方法及注意事项
10、如何识别异常生产过程
11、如何慎重处理不良品
12、如何妥善处理生产事故
13、制订偶发事故反应计划
案例:失效的生产计划
三、打造“左右臂膀”―培育与激励部属的能力
1、 如何教育训练新进员工
2、 在岗人员的培养与训练
3、 如何做好教育培训―有效训练的四个阶段
4、 教育训练的实施方法
5、 如何确认训练效果
6、 如何造就生产多面手―多能工的训练
7、 激励部属的手段和方法
8、 表扬与批评部属的艺术
案例:不会变形的制度―三米微笑
四、获得上助下拥,方显管理本色―人际关系处理的能力
1、 表达的技巧―有效传递您的想法
2、 倾听的技巧―如何做一个好“听众”
3、 如何赢得他人的支持―事业成功的法宝
4、 如何与部属进行沟通协调
5、 如何与上司相处
案例:四种人和另类
6、 如何处理与部属的冲突
7、 与上司意见相左怎么办
8、 如何处理部属的抱怨
9、 如何面对上司的批评
10、当部属之间闹矛盾时,怎样处理比较恰当
11、如何当好“上传下达”沟通的桥梁
12、如何处理违纪部属
13、如何实施人性化管理
14、如何创建高效工作团队
15、必须要掌握的8大管理工具
五、自由问答
六、信息
参考书目:
《杰出班组长》海天出版社
------------------------------------------------------------------------------
讲,师,介,绍:李,先,生

中国跟/单/员培训实战专家,粤港台企业管理研究中心理事长,工学硕士,高级工程师,清华大学
深圳研究院MBA,先后在美、日、韩资外企,港台独资企业从事管理工作多年,历任工程部工程师
、现场主管、品质经理、生产副总等职务,在十数载企管一线的摸爬滚打中积累了丰富的管理经
验,尤其深谙工厂生产、品质、工程方面的管理运作,对跨国公司输入的管理思想颇有研究,形
成了独具特色的实干型制造企业管理方法和体系。李先生将历时十多年积累起来丰富的生产制造
与管理经验,进行浓缩升华,于2000-2004年间,先后出版了《杰出班组长》《品质/生产/工程…
…部门主管跟我学》系列丛书、《电子行业ISO9001:2000实施技法与案例》、《卓越品质管控》、
《生产现场管控》、《仓储与物料管控》、《杰出跟/单/员》等书籍,受到企业界的高度重视并
给予了极高的评价。李先生实践经验丰富、讲授过程列举大量案例、特别强调实用性和可操作性,
深受听课人员的好评和尊敬.至今李先生为满足企业的实际需要,在全国各地成功举办了百多场讲
座,授课人数达到万多人次,并为数百家企业提供过管理咨询和顾问服务。

--- End Message ---
--- Begin Message ---
Hi,

I am working with PHP 4.3 on windows. I am using PHP DOM functions to update
the XML file.
When I try to set the attribute of a particular node, the subsequent get
returns the set value, but it doesn't reflect in the memory structure.

echo "###",$build_node->get_attribute('path');   => this returns the
original path value.
$build_node->set_attribute('path', 'new_path');
echo "###",$build_node->get_attribute('path');  => this returns the new_path
value.
var_dump($build_node);                                 => This does not
reflect the change in path attribute for the build_node, it shows the the
original path value.

Can anybody help me in this issue?

Thanks,
Jils

--- End Message ---
--- Begin Message ---
I would guess integer overflow.

On 2/17/06, Bruce <[EMAIL PROTECTED]> wrote:
>
> I am puzzled by the following code:
>
> <?php
> print "<p>MaxInt=".PHP_INT_MAX;
> $AA = -190668411;
> $BB = -2181087916;
> print "<br>AA=$AA";
> print "<br>BB=$BB";
> $AA = (int)$AA + (int)$BB;
> print "<br>AA+BB=$AA";
> ?>
>
> On some systems, I get:
>
> MaxInt=2147483647
> AA=-190668411
> BB=-2181087916
> AA+BB=-2338152059
>
> On others, I get:
>
> MaxInt=2147483647
> AA=-190668411
> BB=-2181087916
> AA+BB=1923210969
>
> Why the difference?
>
> Thanks...Bruce
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
On Sat, Feb 18, 2006 at 10:42:04PM +0100, Patrick wrote:
> im trying to get my regular pattern to allow ������ but it refuses to,
> i have something like this:
> 
> [^a-zA-Z������0-9-_ ]
> 
> But this dosent seem to work, anyone got any ideas?

Quite a few actually:

  - you forgot to use the delimiter in the expression
  - display_errors is off, so you dont see debug errors
  - error_reporting is set to low.
  - the variable you are matching doesn't have the value you think
  - there is a parse error in your script
  - the logic you are using in your if statement is reversed
  - the statement isn't ever getting executed
  - there is some character translations causing the expression to
    change
  - PCRE doesnt like you
  - This looks rather suspicious: '0-9-_'


It might help narrow it down a bit if you could provide a simple
script for how your are using this in context, and how it isn't
working.

Curt
-- 
cat .signature: No such file or directory

--- End Message ---
--- Begin Message ---
Maybe this can help :

Authentication script to authenticate users in Active Directory through
LDAP.
http://www.weberdev.com/get_example-3261.html
 
Sincerely 
 
berber 
 
Visit the Weber Sites Today, 
To see where PHP might take you tomorrow. 
Search for PHP Code from your browser http://toolbar.weberdev.com 
Free Uptime Monitor : http://uptime.weberdev.com
SEO Data Monitor http://seo.weberdev.com


-----Original Message-----
From: Golden Butler [mailto:[EMAIL PROTECTED] 
Sent: Sunday, February 19, 2006 8:40 AM
To: PHP Mailing List
Subject: [PHP] PHP/LDAP Authentication



I'm currently running OpenLDAP with some users populated in the database.  I
would like to use PHP to create a web page where my ldap users can enter
their username and password credentials to log into our intranet.  Can
someone point me to some expample scripts, articles, or sites.  Thanks.

- Delamatrix 

--- End Message ---
--- Begin Message --- Good afternoon. I'm having trouble getting PHP to loop from A through Z. Here is what I tried, coming from a C background:

for ($l = "A"; $l <= "Z"; $l++)
     echo $l;

// Returns A, B, C, ..., X, Y, Z, AA, AB, AC, AD, AE, ... YX, YY, YZ. (26 * 26 results!)

Interestingly, if I make it a "less than" operation instead of "less than or equal to", it works correctly (except for the Z):

for ($l = "A"; $l < "Z"; $l++)
     echo $l;

// Returns A, B, C, ..., W, X, Y  (25 results)

Anyone know why PHP would do that?

Richard

---
Richard K. Miller
www.richardkmiller.com

--- End Message ---

Reply via email to