php-general Digest 20 Nov 2005 00:58:55 -0000 Issue 3804
Topics (messages 226125 through 226138):
Compile a stored code with php
226125 by: Khorosh Irani
226128 by: Roman Ivanov
POST headers empty when using SSLProxyEngine
226126 by: floeff.arcor.de
Re: echo
226127 by: Chris Shiflett
226129 by: Robert Cummings
226130 by: Anas Mughal
Re: DomDocument::GetElementById - a workaround with external DTD
226131 by: Erik Franzén
Êг¡ÓªÏú²ß»®°¸×ÊÁÏ600
226132 by: aixsohvbaq9
Darwin Streaming Server and PHP
226133 by: Graham Anderson
Re: how can I CALL a PHP script from different TEXT LINKS with
differentPARAMETERS?
226134 by: xkorakidis
226135 by: xkorakidis
Re: problem in create new diretory..
226136 by: James Benson
Problem with the fwrite function (not as simple as it sounds though)
226137 by: £ukasz Hejnak
226138 by: £ukasz Hejnak
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:
php-general@lists.php.net
----------------------------------------------------------------------
--- Begin Message ---
Hello
How I can compile a php code that is stored in a database when the programm
is running?
Thanks
--- End Message ---
--- Begin Message ---
Khorosh Irani wrote:
Hello
How I can compile a php code that is stored in a database when the programm
is running?
Thanks
eval
--- End Message ---
--- Begin Message ---
Hello,
inside a SSL host, I use the SSLProxyEngine to connect encrypted to another
server:
SSLProxyEngine on
ProxyPass /server2 https://server.intranet/mysite
ProxyPassReverse /server2 https://server.intranet/mysite
There lies a PHP script for file uploads. When I connect to
https://server.intranet/mysite directly, file uploads do work just fine.
However, when I connect through https://mysite.com/server2, the POST headers
submitted by the file upload form are completely empty.
Using mod_rewrite instead of mod_proxy doesn't help either. I run Apache 2.0.55
on both servers.
When using a non-SSL proxy (i.e. connecting to server.intranet with HTTP in
stead of HTTPS), it works fine.
Is this a well-known bug or is it my mistake?
Thanks
Florian
Machen Sie aus 14 Cent spielend bis zu 100 Euro!
Die neue Gaming-Area von Arcor - über 50 Onlinespiele im Angebot.
http://www.arcor.de/rd/emf-gaming-1
--- End Message ---
--- Begin Message ---
Alex Alfonso wrote:
Can you please tell me how to make a space in php. I know that <br>
is a new line and <p> is a new paragraph. But I just can't figure
out what an earth a space is. Eg
<?php
echo "Television viewers who turned to";
echo "<I need a space here>";
echo $_POST['word1'];
?>
Can you please tell me what a space is.
A space is just a space. PHP isn't special in this regard.
How did you get that space between Television and viewers? :-)
By the way, you need to at least use htmlentities() whenever you output
variables like that. As it is, your code demonstrates a cross-site
scripting (XSS) vulnerability.
Hope that helps.
Chris
--
Chris Shiflett
Brain Bulb, The PHP Consultancy
http://brainbulb.com/
--- End Message ---
--- Begin Message ---
On Sat, 2005-11-19 at 03:55, Raz wrote:
> Jeez! You'd hate to work on a project with me then! All those cycles
> I'd waste! Har har ;)
I don't think it really matters these days anyways :) I imagine the
compile caches optimize strings... but I could be wrong.
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'
--- End Message ---
--- Begin Message ---
Try this:
<?php
echo "Television viewers who turned to " . $_POST['word1'];
?>
--
Anas Mughal
On 11/19/05, Alex Alfonso <[EMAIL PROTECTED]> wrote:
>
> Can you please tell me how to make a space in php. I know that <br> is a
> new line and <p> is a new paragraph. But I just can't figure out what an
> earth a space is. Eg
> <?php
> echo "Television viewers who turned to";
> echo "<I need a space here>";
> echo $_POST['word1'];
> ?>
> Can you please tell me what a space is.
>
> Alex Alfonso
> [EMAIL PROTECTED]
>
>
--
Anas Mughal
--- End Message ---
--- Begin Message ---
I totally missed that explanation on w3c.
Thanxs, now it works
/Erik
Rob wrote:
Erik Franzén wrote:
I did a typo in the threads post.
The dtd is:
<!ELEMENT Document ANY>
<!ELEMENT CMAES_Model_DbSection ANY>
<!ATTLIST CMAES_Model_DbSection S_iSectionId ID #IMPLIED>
but it gives the warning when DomDocument::validate() is called:
Warning: Syntax of value for attribute S_iSectionId of
CMAES_Model_DbSection is not valid in <script> on line 23
See the validity constraints for an ID in the XML specs:
http://www.w3.org/TR/2004/REC-xml-20040204/#id
Values of IDs must conform to the following syntax to be valid:
(Letter | '_' | ':') (NameChar)*
Yours start with a numeric which is why it doesn't validate.
Rob
--- End Message ---
--- Begin Message ---
[EMAIL PROTECTED] [EMAIL PROTECTED]
[EMAIL PROTECTED] QQ:527245759
150元全套《市场营销策划案资料》共600份
全部可选货到付款,运费由您支付
房地产营销策划案( 130 份) IT 业营销策划案( 35 )
奥美策划案全集( 25 ) 保健品营销策划案( 100 )
汽车营销策划案( 20 ) 电信营销策划案( 35 )
服装营销策划案( 15 ) 家用电器营销策划案( 70 )
金融证券营销策划案( 15 ) 烟酒类营销策划案( 30 份)
手机营销策划案( 20 ) 日化、食品策划案( 55 )
营销策划培训资料( 50 )
总容量: 515M 一张光盘装载
房地产营销策划案
1 江南新苑项目策划全案 9 个文件 文件夹 4070 KB
2 奥美― M3 特区推广提案 PPT 175 KB
3 奥美―枫丹白露策略 PPT 679 KB
4 奥美―合生创展提案 PPT 133 KB
5 奥美―南奥调研报告 PPT 210 KB
6 白云威尼斯蓝湾上市推广策略书 PPT 546 KB
7 北辰绿色家园提案 PPT 884 KB
8 北京恋日水岸大道策划全案 WORD 114 KB
9 北京万通双花园项目营销策划报告 WORD 146 KB
10 碧桂园成功营销全解码 PPT 299 KB
11 碧海红树园巡回展示行销方案 WORD 120 KB
12 波涛置业写字楼项目市场分析报告 WORD 330 KB
13 长安园 ? 产业别墅营销策划全案 WORD 543 KB
14 长隆香江野生动物园促销活动策划方案 PPT 335 KB
15 成都博瑞都市花园广告推广计划 PPT 109 KB
16 大富豪购物广场整合营销推广策略 PPT 723 KB
17 戴德梁行―上海均瑶写字楼的整体营销策略 PPT 465 KB
18 东雅轩上市推广策划方案 PPT 397 KB
19 番禺奥林匹克花园策划案 WORD 209 KB
20 房地产策划通用稿 PPT 91 KB
21 房地产市场调查完全实用手册 WORD 67 KB
22 房地产市场营销培训 PPT 438 KB
23 房地产专业培训手册 WORD 1677 KB
24 拂林园推广方案 PPT 888 KB
25 福州某地块的行销建议书 WORD 805 KB
26 富力地产集团品牌建设建议 PPT 127 KB
27 富力销售一部项目策划案 PPT 577 KB
28 高层香格里拉营销推广方案 WORD 188 KB
29 光大花园营销推广企划全案 PPT 941 KB
30 广州荔港南湾提案 PPT 545 KB
31 广州星汇园市场营销策划方案 PPT 329 KB
32 国际风情街项目调研规划书 WORD 173 KB
33 国箐苑营销推广方案 PPT 46 KB
34 海岸明珠推广案 PPT 1378 KB
35 含谷别墅项目策划方案 WORD 44 KB
36 汉口西北盛世名门项目市场定位报告 WORD 444 KB
37 和平花苑南苑策划报告 WORD 142 KB
38 虹山半岛别墅市场专题调查研展报告(背景篇) WORD 633 KB
39 虹山半岛别墅市场专题调查研展报告(专题篇) WORD 475 KB
40 华南 MALL 购物中心品牌规划 PPT 166 KB
41 华南新城视觉设计简报 WORD 23 KB
42 华南新城项目可行性研究报告(广州合生) WORD 73 KB
43 华侨城地产波托菲诺二期宣传推广方案 PPT 192 KB
44 华远房地产竞争策略分析项目全文 PPT 471 KB
45 嘉富花园推广策划 PPT 813 KB
46 嘉信御庭苑整合市场攻击策略 PPT 98 KB
47 江南新苑策划 PPT 205 KB
48 金鹰国际花园整合行销企划案 PPT 823 KB
49 锦绣花园推广策划案 WORD 36 KB
50 锦绣江南策划报告 WORD 186 KB
51 经典房地产广告语全集 WORD 760 KB
52 经河牌陶瓷地砖西北地区销售形态及整体市场分析报告 WORD 50 KB
53 景秀年华花园广告推广 PPT 278 KB
54 静安枫景营销策划报告 WORD 301 KB
55 酒店开业总计划 WORD 487 KB
56 昆山软件园战略定位与整合营销传播项目建议书 PPT 4323 KB
57 乐邦理念 PPT 424 KB
58 丽水湾别墅 2003 年营销推广整合方案 WORD 162 KB
59 联芳花园六期整合传播策略提案 PPT 282 KB
60 岭南新世界家园广告推广策划案 PPT 442 KB
61 美林海岸花园 2003 年品牌策略 PPT 224 KB
62 摩登时代策划案 WORD 1718 KB
63 某酒店营销方案 WORD 117 KB
64 南奥媒介策略 PPT 417 KB
65 南奥媒体策划(下半年) PPT 277 KB
66 南方国际广场营销策划报告 WORD 113 KB
67 南国花园推广建议 PPT 108 KB
68 青城山策划案 WORD 69 KB
69 三利宅院项目策划总案 WORD 318 KB
70 山水湖滨别墅策划案 WORD 102 KB
71 上海国际金融大厦投资规划 PPT 394 KB
72 上海科技京城策划方案 WORD 53 KB
73 升华温泉花园销售手册 WORD 332 KB
74 圣名国际时装城推广活动方案 PPT 690 KB
75 盛世长城公司开发新客户前期表单 WORD 42 KB
76 世纪经典大厦营销策划书 WORD 218 KB
77 世联房地产 200 问基本纲要 WORD 35 KB
78 售楼部开放期销售方案 WORD 21 KB
79 顺驰梅江蓝水园宣传推广策划 WORD 80 KB
80 苏州都市花园主题定位报告 WORD 58 KB
81 天河花园整体策划报告书 WORD 57 KB
82 天健花园的售卖策略 WORD 25 KB
83 天津蓝水假期策划案 WORD 119 KB
84 天誉花园推广策划 PPT 383 KB
85 万科 ?17 英里提案(同路传播) PPT 1997 KB
86 万科海上春园策划全程 PPT 1087 KB
87 万科四季花城五期策略 PPT 77 KB
88 万科五期策略 PPT 67 KB
89 万科星园传播策略 PPT 125 KB
90 悉尼 AB 户型品牌手册 PPT 1192 KB
91 湘艺苑广告策划方案 WORD 46 KB
92 新光地产品牌提案 PPT 634 KB
93 新龙广场前期营销策划报告 WORD 86 KB
94 新起点项目宣传活动 WORD 51 KB
95 星河弯市场推广策略提案 PPT 905 KB
96 星河湾广告策略 PPT 32 KB
97 亚运新新家园策划文案 WORD 524 KB
98 颐和山庄 D 区高层传播策略 PPT 35 KB
99 逸泉山庄启动区交通策划 WORD 939 KB
100 愉景南苑推广方案 PPT 612 KB
101 中关村文化广场策划报告 WORD 418 KB
102 中海康城项目策划案 PPT 2253 KB
103 中海名都第二期项目推广全案 PPT 191 KB
104 中海阳光棕榈园广告推广与营销 PPT 128 KB
105 中华世纪城整合营销推广总纲 PPT 59 KB
106 钟山国际高尔夫项目销售建议书 WORD 786 KB
107 重庆伴山名都提案 PPT 164 KB
108 珠江国际新城 WORD 70 KB
109 珠江侨都项目可行性分析报告 WORD 3020 KB
110 紫薇田园都市传播策略 PPT 250 KB
111 百思勤―翡翠城推广方案 WORD 105 KB
112 北京东润枫景项目提案 PPT 64 KB
113 东莞永正大酒店投资可行性方案 WORD 602 KB
114 房地产的广告推广内部培训 WORD 261 KB
115 凤凰城项目营销策划书全案 WORD 119 KB
116 硅谷别墅二期骑士谷广告推广思路 PPT 120 KB
117 国典华园品牌策略 PPT 260 KB
118 康河郦景推广策略 PPT 557 KB
119 蓝光国际广场推广策划报告 WORD 138 KB
120 朗琴园策划方案 PPT 261 KB
121 南奥国庆期间广告传播策略 PPT 170 KB
122 南奥三期传播策略提案 PPT 432 KB
123 全林国际广场策划书 WORD 276 KB
124 沙河实业世纪村博尚整合推广攻略 PPT 157 KB
125 山水芙蓉国际新城 - 主题宣传推广创意案 PPT 1146 KB
126 上海海湾别墅投资项目提案 WORD 304 KB
127 台州市峰景湾 高尔夫项目综合发展计划书 WORD 73 KB
128 太湖 金色水岸营销方案 WORD 74 KB
129 万科金色家园广告推广策划 PPT 101 KB
130 芜湖百蕊 海伦堡住宅项目市场推广策划报告 WORD 115 KB
IT 业营销策划案
1 联想广告规范大区资料 PPT 2002 KB
2 安达信―某软件公司的咨询方案 PPT 704 KB
3 长城 PC 年度推广企划 PPT 79 KB
4 德赛数码相机前期市场推广建议案 PPT 99 KB
5 东芝运作策略 PPT 631 KB
6 东芝 Satellite 新产品广告策略 PPT 838 KB
7 东芝笔记本电脑品牌形象提案 PPT 686 KB
8 东芝笔记本电脑市场调查报告 PPT 562 KB
9 东芝笔记本电脑整合传播提案 PPT 26591 KB
10 方正 “ 家用电脑 ” 产品形象片 PPT 94 KB
11 方正电脑品牌传播沟通建议方案 PPT 317 KB
12 方正扫描仪品牌整合传播方案 PPT 1904 KB
13 复旦大学校园网二期工程投标书 WORD 378 KB
14 戈德点钞机新品推介会 WORD 125 KB
15 海尔智能电脑新产品推广 PPT 1423 KB
16 恒基伟业商务通整合传播计划书 WORD 522 KB
17 康柏综合传播预算及活动 PPT 9028 KB
18 柯达公关推广方案 PPT 410 KB
19 柯达阳光之旅执行方案 WORD 63 KB
20 联想电脑媒体策划 PPT 418 KB
21 联想集团品牌宣传方略 PPT 2831 KB
22 联想新形象广告推进方案(定稿) PPT 157 KB
23 伦飞笔记本电脑整合传播企划书 PPT 1681 KB
24 名人 PDA 策划方案 PPT 4198 KB
25 名人媒介策划方案 PPT 392 KB
26 名人掌上电脑智能王网络营销计划书 PPT 4312 KB
27 清华同方电脑媒介提案 PPT 285 KB
28 清华同方消费电子产品渠道管理 PPT 187 KB
29 清华同方在线推广方案 PPT 932 KB
30 赛格车圣品牌整合传播策划 WORD 426 KB
31 赛格车圣整合营销策划案 WORD 349 KB
32 盛大网络市场传播方案 PPT 436 KB
33 希格玛笔记本电脑无线耳机品牌整合营销项目提案 WORD 78 KB
34 新太科技广告发布建议 PPT 580 KB
35 怡华存储市场推广方案 PPT 462 KB
奥美策划案全集
1 奥美: 360 度品牌管理整体解决方案 PPT 1499 KB
2 奥美:消费者洞察 PPT 190 KB
3 奥美:左岸咖啡文案 WORD 82 KB
4 奥美:广东电信广告沟通策略提案 PPT 416 KB
5 奥美:品牌 + 整合传播―可以帮助康佳的销售 PPT 114 KB
6 奥美:流程制作过程 PPT 87 KB
7 奥美: M3 特区推广提案 PPT 173 KB
8 奥美: PASSAT 广告提案 PPT 156 KB
9 奥美:创意的概念 PPT 119 KB
10 奥美:创意培训资料 WORD 58 KB
11 奥美:品牌管家 WORD 25 KB
12 奥美:海尔波轮洗衣机品牌规划 PPT 181 KB
13 奥美:枫丹白露营运推广策略 PPT 681 KB
14 奥美:新浪网市场推广建议 PPT 895 KB
15 奥美:海尔波轮洗衣机传播策略 PPT 181 KB
16 奥美:合生创展提案 PPT 133 KB
17 奥美:互动行销原则与技巧 PPT 3075 KB
18 奥美:建立伊利品牌方案 PPT 1608 KB
19 奥美:科龙传播策略 PPT 550 KB
20 奥美媒介蓝图 PPT 172 KB
21 奥美:荣事达冰箱上市―传播执行计划 PPT 168 KB
22 奥美市场调查培训 PPT 174 KB
23 奥美为天津一汽所作文案 PPT 6779 KB
24 奥美:眼贴膜软文全系列 WORD 66 KB
25 奥美:左岸咖啡馆项目 PPT 1045 KB
保健品营销策划案
1 保健品文案创意 6 个 文件夹 925 KB
2 奥泰广告投放计划 PPT 3626 KB
3 白领减肥冲剂广告媒体计划 PPT 259 KB
4 保健产品梯度价格定位策略 . PPT 86 KB
5 保健品新品上市低成本运营方略 WORD 27 KB
6 博奥生物 VI 报价 WORD 96 KB
7 春之兰乌鸡胶囊上市推广策划方案 WORD 49 KB
8 鄂州龙人新药上市推广营销策划案 PPT 62 KB
9 风暴 市场推广方案 PPT 153 KB
10 妇科在造丸媒体策划 PPT 421 KB
11 改善剂媒介策划 PPT 468 KB
12 感冒药( AA )的市场定位与广告策划 WORD 63 KB
13 广西花红药业市场战略 WORD 509 KB
14 哈慈南京市场广告行销建议 PPT 237 KB
15 红桃 K 成都市场方案 PPT 159 KB
16 红桃 K 的品牌演讲培训 PPT 478 KB
17 红桃 K 第一战役 PPT 93 KB
18 红桃 K 销售终端沟通与培训 WORD 367 KB
19 洪达敏重庆市场整体上市推广策略 PPT 338 KB
20 华源“佛龙宝”保健品市场推广方案 PPT 763 KB
21 金花企划案 PPT 292 KB
22 金花 2010 企划案 PPT 218 KB
23 金花调研规划 PPT 76 KB
24 金花品牌再思考 PPT 466 KB
25 金花药业新品上市广告创意、活动案 PPT 277 KB
26 金花药业新品上市媒体案 PPT 339 KB
27 金花优本上市传播计划 PPT 578 KB
28 金花优本媒体案 PPT 437 KB
29 金花优健销售战略建议纲要 PPT 415 KB
30 金花转移因子行销策划案 PPT 378 KB
31 金花转移因子推广企划案 PPT 80 KB
32 京都念慈�C“母�H��”促�N活�涌��Y�蟾� PPT 7850 KB
33 九芝堂营销策略企划案 ( 终稿 ) PPT 448 KB
34 康弘集团中成药的销售模式诊断与设计报告 WORD 365 KB
35 利乐枕企划案 PPT 110 KB
36 六味地黄丸招商手册 WORD 100 KB
37 隆力奇媒体投放评估报告 PPT 178 KB
38 隆力奇纯蛇粉 PPT 98 KB
39 隆力奇化妆品市场推广企划案 WORD 145 KB
40 隆力奇化妆品媒介计划书 PPT 210 KB
41 隆力奇零售终端管理 PPT 683 KB
42 芦荟灵芝胶囊市场营销策略企划案 WORD 36 KB
43 罗高药业发展战略研究报告 WORD 548 KB
44 美生公司秋冬季广告策划案 PPT 9645 KB
45 脑白金广告研究 PPT 103 KB
46 清华紫光药业品牌规划与建设 PPT 1361 KB
47 清华紫光优力康媒介策划 PPT 607 KB
48 三蛇胆整合策划方案 PPT 250 KB
49 三正“魔塔”营销手册 PPT 554 KB
50 三正企业形象识别系统 PPT 348 KB
51 某医疗科技股份有限公司宣传与推广公共媒体年度计划书 WORD 168 KB
52 姗拉娜企业集团 30”CF 广告创意 WORD 63 KB
53 姗拉娜深海鲛油电视广告播出方案 WORD 102 KB
54 生命舒宝上市推广策划案 PPT 130 KB
55 双鹤药业二级分销商 920 行动方案 WORD 198 KB
56 双鹤药业湖南市场 920 行动计划 WORD 237 KB
57 太极新产品上市推广计划 PPT 26683 KB
58 太极“曲美杯”减肥名人辩论大赛活动策划方案 PPT 157 KB
59 太极“益脑胶囊”重庆市场推广案 WORD 82 KB
60 太极补肾益寿胶囊方案 WORD 75 KB
61 太极集团之补肾益寿胶囊北京市场整合营销传播方案 PPT 1043 KB
62 太极曲美 30 秒电视广告创意脚本 PPT 202 KB
63 太极曲美的新娘形象大赛活动企划案 WORD 25 KB
64 太极曲美店员培训幻灯 PPT 814 KB
65 太极生力雄丸策划 PPT 335 KB
66 太极益脑胶囊媒体策划方案 WORD 401 KB
67 太太千金宝软文全系列 WORD 75 KB
68 天瑞特止痛药推广策略案 PPT 248 KB
69 万基洋参系列产品市调 WORD 26 KB
70 维格尔美容套餐推广执行提案 PPT 579 KB
71 维格尔美容套餐整合营销推广计划 PPT 85 KB
72 维格尔美容套餐整合营销执行案 PPT 92 KB
73 西班牙白叶橄榄油营销案例 WORD 37 KB
74 香雪抗病毒口服液(华东地区)市场拓展战略分析报告 WORD 72 KB
75 香雪药业营销报告 WORD 4353 KB
76 醒脑安神片招商手册 WORD 49 KB
77 养生堂―阳光计划 PPT 1003 KB
78 一品堂芦荟排毒胶囊营销案 WORD 39 KB
79 医药保健营销宝典 WORD 105 KB
80 益生堂 315 促销整合案 PPT 476 KB
81 御苁蓉案例研究 PPT 304 KB
82 御苁蓉整合传播策略草案 PPT 521 KB
83 中华多宝珍珠口服液全国招商书 WORD 206 KB
84 广大制药策划方案 WORD 129 KB
85 贵州益佰药业品牌规划建议 PPT 182 KB
86 河南东风制药有限公司公共关系策划案 WORD 22 KB
87 河南省平顶山市第二制药厂广告创意 WORD 13 KB
88 吉林方大陕西市场媒体策划 PPT 864 KB
89 脚气软膏“美克”电视广告片创意 PPT 312 KB
90 金花竞争品牌媒体投放分析 PPT 463 KB
91 康华药业广告媒体策划 PPT 267 KB
92 联邦第二次提案 PPT 2730 KB
93 灵丹草西安市场广告策划案 PPT 2739 KB
94 六味地黄 市场调查报告 PPT 3395 KB
95 麻仁胶囊调研 PPT 16454 KB
96 美容保健食品玛其卡整合营销推广计划 PPT 75 KB
97 明治同济制药策划方案 WORD 34 KB
98 培福新电视广告创意文案 WORD 17 KB
99 升和制药品牌规划 PPT 210 KB
100 血复康胶囊广告策划方案 WORD 159 KB
汽车营销策划案
1 奥美― PASSAT 广告提案 PPT 156 KB
2 奥美为天津一汽 098L PPT 3779 KB
3 宝骏汽车品牌推广策略 WORD 68 KB
4 北京现代伊兰特新品上市暨品牌传播策划案 PPT 477 KB
5 奔驰 Axor 展示会策划方案 PPT 1168 KB
6 别克品牌整合营销传播策划 PPT 205 KB
7 长安福特全国市场整合传播方案 WORD 365 KB
8 丰田汽车广告定位―电通广告 WORD 254 KB
9 福美来轿车市场策划方案 PPT 135 KB
10 广本 MPV 目标消费者调查报告书 PPT 1950 KB
11 蓝豹摩托上市策划案 PPT 1092 KB
12 林海摩托整合品牌传播报告 PPT 3141 KB
13 奇瑞 TII 整合营销策略 34 页(麦肯锡) PPT 616 KB
14 汽车购买行为特征研究(新华信) PPT 453 KB
15 瑞风 MPV 商务车品牌营销推广执行策略 PPT 2903 KB
16 瑞风商用车品牌战略 PPT 1144 KB
17 五羊摩托营销推广策划整体计划 PPT 316 KB
18 五羊摩托金车巡展执行手册 PPT 316 KB
19 五羊摩托品牌策略报告 WORD 157 KB
20 五羊摩托营销推广策划 PPT 266 KB
电信营销策划案
1 网通广告作品表现稿 文件夹 2140 KB
2 电信“家庭信息终端”市场推广策划全案提案 PPT 1513 KB
3 电信产品销售策略 PPT 361 KB
4 吉通产品推广策略 PPT 70 KB
5 宽带接入个人目标消费群研究报告 PPT 244 KB
6 联通 2004 平面广告方案(姚明版) PPT 1170 KB
7 联通 STK 推广提案 PPT 206 KB
8 联通广东公司品牌规划 PPT 421 KB
9 联通国信高速信息机市场推广策略 PPT 139 KB
10 联通国信媒体投放建议 WORD 31 KB
11 联通国信无线个人信息服务网络 IMC 提案 PPT 217 KB
12 联通江苏公司市场推广 PPT 405 KB
13 联通品牌战略规划 PPT 1167 KB
14 联通无线数据服务推广方案 PPT 9100
15 联通 165 互联网接入业务营销策划方案 ( 北大纵横 ) PPT 728 KB
16 网通 市场推广计划 PPT 1476 KB
17 网通 171 上市推广方案 PPT 851 KB
18 网通 整合推广企划案 PPT 201 KB
19 网通 17931IP 电话 “ 分时段优惠 ” 推广方案 PPT 255 KB
20 网通 17931IP 电话推广活动整体策划方案 PPT 1154 KB
21 网通 IP 电话基本情况 WORD 926 KB
22 网通 IP 电话业务整合营销方案 WORD 363 KB
23 网通 IP 推广策划方案 PPT 519 KB
24 网通 VI 介绍 PPT 1078 KB
25 网通 VOIP 新业务市场研究项目建议书 PPT 1118 KB
26 网通华东市场计划构想 PPT 420 KB
27 网通宽带家园视觉识别手册 PPT 4685 KB
28 移动 整合行销传播方案 PPT 5942 KB
29 移动北京公司市场营销策略研究 PPT 1137 KB
30 移动广东公司“移动之夜”新春音乐晚会活动 WORD 44 KB
31 移动南京公司品牌管理及推广方案 PPT 271 KB
32 移动山东公司 64k 梦网卡市场推广策略暨品牌建设提案 PPT 1570 KB
33 移动四川公司 2004 年“神州行”品牌传播策略规划提案 PPT 188 KB
34 移动通信公司与中国联合通信公司营销比较分析报告 WORD 391 KB
35 中国运营商品牌策略研究 2004 年 07 月 PPT 249 KB
服装营销策划案
1 爱慕内衣电视广告创意 WORD 19 KB
2 广州“奥尼森”服饰品牌战略设计方案 WORD 29 KB
3 九鼎品牌规划命名报告书 PPT 388 KB
4 九牧王西裤品牌策略与广告计划 PPT 160 KB
5 浪莎袜业网络营销推广策略 PPT 919 KB
6 连锁型服饰业店址区位选择之研究 WORD 68 KB
7 觅缘羽绒服市场企划案 WORD 39 KB
8 内衣销售渠道研究报告 PPT 820 KB
9 派意特服饰市场营销策略 WORD 27 KB
10 三球运动鞋 CF 广告创意 30 秒 WORD 12 KB
11 泰达招商手册 WORD 125 KB
12 泰达整合营销策划大纲纲要 WORD 49 KB
13 万事好西服推广计划 PPT 65 KB
14 伟杰衬衫广告创意 30 秒 WORD 20 KB
15 雅戈尔营销网络建设咨询报告(安达信) PPT 2197 KB
家用电器营销策划案
1 智能达推广全案 15 个文件 文件夹 1330 KB
2 中国空调企业营销渠道模式研究报告 PPT 157 KB
3 伊莱克斯 3-15 方案―盛世长城 PPT 999 KB
4 CAV 音响 整合传播策划 PPT 2117 KB
5 TCL AV99 年度北京地区推广策划书 PPT 215 KB
6 TCL 新生活浪潮 PPT 1738 KB
7 TCL 白家电品牌检验 PPT 90 KB
8 TCL 超薄银佳彩电整合推广传播手册 WORD 61 KB
9 TCL 电视幕墙互动光碟设计建议书 PPT 89 KB
10 TCL 扶贫助教活动规划:美好人生,烛光点亮 PPT 690 KB
11 TCL 合肥洗衣机、冰箱市场消费者研究报告 PPT 1277 KB
12 TCL 家电事业部促销员手册 WORD 211 KB
13 TCL 三超影碟机第一阶段 SP 执行方案 PPT 62 KB
14 TCL 市场策略(智威汤逊) PPT 264 KB
15 TCL 王牌彩电 农村市场推广策略 PPT 6261 KB
16 TCL 王牌单独听音响电视上市营销方案 PPT 4304 KB
17 TCL 王牌美之彩系列彩电农村市场 整合推广传播手册 WORD 248 KB
18 TCL 掌上电脑媒介策划 PPT 541 KB
19 奥美 海尔波轮洗衣机品牌行销规划建议 PPT 150 KB
20 奥美 品牌 + 整合传播可以帮助康佳的销售 PPT 115 KB
21 春兰品牌理念提案 PPT 400 KB
22 大连实德 赛德隆热水器新产品上市推广企划案 . PPT 951 KB
23 德赛 DVD 市场推广策略建议案 PPT 255 KB
24 东芝品牌运作策略方案 PPT 630 KB
25 方太厨具新产品上市推广企划案 PPT 27718 KB
26 飞鹿空调旺季媒体策划方案 PPT 145 KB
27 广告促销计划流程实施手册 PPT 1033 KB
28 海尔集团年度市场战略企划方案(电通广告) PPT 869 KB
29 海尔剃须刀夏季促销推广策划案 WORD 33 KB
30 海尔网络提案 PPT 1423 KB
31 海信集团“新绿工程”品牌规划 PPT 1019 KB
32 海信空调年度整体营销规划方案 PPT 462 KB
33 海信新形象发布计划(梅高广告) PPT 1008 KB
34 海信新形象战略工程 PPT 467 KB
35 华凌新春游园活动方案 WORD 220 KB
36 华凌电器品牌服务月活动方案(内部专用) WORD 54 KB
37 皇明战略规划最终稿 PPT 693 KB
38 记易宝公关传播执行案 WORD 39 KB
39 家庭中央小型空调新概念产品宣传活动策划书 WORD 56 KB
40 金正品牌战略 PPT 1363 KB
41 九阳豆浆机整合推广方案 WORD 74 KB
42 康佳“柔性电视”推广传播策略 PPT 225 KB
43 康佳广告促销流程(麦肯锡) PPT 1084 KB
44 科龙传播策略(龙媒传播) PPT 550 KB
45 科龙电器品牌战略方案 PPT 793 KB
46 科龙电器品牌战略和营销组织架构 PPT 908 KB
47 科龙容声冰箱促销活动实施方案 WORD 358 KB
48 科龙容声冰箱促销活动实施方案附件 WORD 560 KB
49 科龙容声冰箱科技精品大放送活动培训手册 WORD 382 KB
50 科龙容声三四级城市活动实施方案(分公司版 ) WORD 191 KB
51 科龙营销系统管理手册(定稿) WORD 1982 KB
52 空调行业安徽地区媒介投放分析 PPT 869 KB
53 乐华空调品牌发展策略 PPT 1536 KB
54 美的品牌策略(麦肯光明) PPT 163 KB
55 美的洗碗机提案 ORANGE PPT 1028 KB
56 蒙华海电公司形象识别手册 WORD 5549 KB
57 奇胜电器区域市场推广策略 PPT 93 KB
58 日立空调广告传播总策略 PPT 1096 KB
59 日立空调影视广告提案 PPT 53 KB
60 日立市场营销计划书案例 WORD 36 KB
61 三星银离子冰箱、洗衣机上市整体推广策略概要 WORD 24 KB
62 松下冰箱媒介提案完成稿 PPT 3937 KB
63 小天鹅品牌推广媒介策划 PPT 1791 KB
64 小天鹅波尔卡空调营销策划总方案 WORD 172 KB
65 小天鹅电视媒介策略 PPT 299 KB
66 小天鹅洗碗机传播策略思考 PPT 177 KB
67 新飞整合传播策略 PPT 109 KB
68 新飞服务与广告管理 PPT 1607 KB
69 新飞执行手册 PPT 57 KB
70 远大空调北京地区品牌传播提案 PPT 420 KB
金融证券营销策划案
1 中银广东分行网上银行广告推广方案 PPT 1751 KB
2 大鹏营业部营销方案 WORD 21 KB
3 东方亿融市调提案 PPT 665 KB
4 股易通 IMC (完整版) PPT 184 KB
5 股易通售前培训 PPT 307 KB
6 恒泰 CIS 定稿 PPT 214 KB
7 恒泰保险 CIS 导入提案报告 PPT 2438 KB
8 金新信托品牌经营之思考 PPT 105 KB
9 开放式基金推广方案 PPT 169 KB
10 美通股易通 IMC 市场推广策略( 1-15 ) PPT 141 KB
11 民生卡促销行动计划 PPT 1420 KB
12 牡丹卡消费积分推广计划营销策划案 WORD 29 KB
13 阳光卡促销行动计划 PPT 1170 KB
14 中国工商银行牡丹卡中心 IMC 提案 WORD 183 KB
15 中国工商银行牡丹卡中心 VIS 手册及报价 WORD 78 KB
烟酒类营销策划案
1 38 度劲酒产品策略及市场推广方案 PPT 343 KB
2 白沙品牌塑造与传播全记实-成就中国的万宝路 WORD 64 KB
3 文王贡酒上海市场低成本差异化成功之路 PPT 100 KB
4 贵府企划 PPT 9140 KB
5 贵府―白酒消费者研究 WORD 21 KB
6 贵府―成功白酒新品牌分析 PPT 126 KB
7 贵府媒介提案 PPT 93 KB
8 贵府媒体策略 PPT 1432 KB
9 贵府项目媒介后续服务 PPT 247 KB
10 鸿运三全酒市场推广策划案 WORD 37 KB
11 蓝带啤酒 PPT 160 KB
12 青岛啤酒促销游戏方案汇总 WORD 42 KB
13 太白酒全国推广营销企划案 PPT 7524 KB
14 五粮液品牌策略研讨 PPT 520 KB
15 喜力啤酒夏季策划案 PPT 1772 KB
16 小麦王啤酒策划完美版 WORD 111 KB
17 新天葡萄酒策划案 WORD 153 KB
18 雪花啤酒全传播计划 ( 电通 ) PPT 394 KB
19 珠江啤酒促销方案 PPT 116 KB
20 烟台啤酒营销广告策略方案 PPT 500 KB
21 烟台啤酒经销商会议 PPT 1390 KB
22 烟台啤酒主题传播活动 PPT 1131 KB
23 烟台啤酒策划案 PPT 107 KB
24 烟台啤酒大连市场策划案 PPT 117 KB
25 烟台啤酒媒体策略方案 PPT 43 KB
26 烟台啤酒市场策略方案 PPT 53 KB
27 烟台啤酒市场深层推广 PPT 552 KB
28 烟台啤酒市场销售体系建议纲要 PPT 475 KB
29 烟台啤酒行销系统整合规划 PPT 383 KB
30 印象红酒招商资料 PPT 3796 KB
手机营销策划案
1 中电通信手机营销企划全案 PPT 1311 KB
2 CECT 酷派 688―2004 年传播推广方案 PPT 316 KB
3 报纸媒体介绍 PPT 267 KB
4 大显 D2100 手机新闻发布会 PPT 411 KB
5 大显 D2100 双屏手机影视广告脚本 WORD 20 KB
6 大显创意作品提案 PPT 9181 KB
7 大显品牌经营中的公关思考 PPT 141 KB
8 大显软文全集 WORD 32 KB
9 大显手机上市媒体实施计划 PPT 186 KB
10 大显手机媒体实施计划 PPT 135 KB
11 大显手机品牌推广营销执行策略与广告创意表现体系 PPT 4496 KB
12 大显手机网络推广方案 PPT 4121 KB
13 大显手机新品上市新闻发布会执行方案 WORD 84 KB
14 大显通信 D2100 手机上市推广案及创意作品展示 PPT 11071 KB
15 大显心动手机整合推广 WORD 70 KB
16 大显影视创意脚本 PPT 1328 KB
17 网上销售手机市场分析报告 PPT 170 KB
18 科建手机 K320 上市推广方案 PPT 2200 KB
19 科健 K1 产品培训手册文案 WORD 33 KB
20 南方高科 S238 手机上市方案教学稿 PPT 4061 KB
日化、食品营销策划案
1 Nuskin (如新)中国营销策划方案 PPT 229 KB
2 安吉儿饮水机品牌推广方案 PPT 1440 KB
3 奥美―建立伊利品牌 PPT 1608 KB
4 奥普浴霸的市场营销策略研究报告 WORD 40 KB
5 巴江水餐饮公司 VI PPT 431 KB
6 巴马矿泉水上市方案 PPT 168 KB
7 百事轻怡可乐促销方案 WORD 96 KB
8 柏纷化妆品推广个案 PPT 1659 KB
9 宝洁公司的广告测试方法 PPT 300 KB
10 宝洁公司 ― 品客食品策划提案 WORD 211 KB
11 超市业态简介及选址分析以及陈列、货品管理 WORD 107 KB
12 丹芭碧上市活动计划 PPT 158 KB
13 德芙巧克力网络营销在线推广策略 PPT 975 KB
14 凤凰卫视策划推广案 PPT 1776 KB
15 光明学童奶整合传播计划 PPT 453 KB
16 黑妹牙膏广告计划提案(奥美) PPT 265 KB
17 华美芦荟市场营销策划初案 PPT 168 KB
18 家乐福的新价格标识体系 PPT 924 KB
19 嘉里粮油商务拓展方案 WORD 114 KB
20 嘉娜宝上海市场推广媒介提案 PPT 316 KB
21 健力宝的核心产品和市场分析方案 PPT 404 KB
22 健力宝广告策划 WORD 24 KB
23 金花转移因子策划案 PPT 376 KB
24 金龙鱼品牌策划 PPT 265 KB
25 康师傅拌面推广规划 PPT 3539 KB
26 康师傅生动化陈列手册 PPT 2725 KB
27 可口可乐酷儿上市完全运作手册 WORD 27 KB
28 蓝月亮媒介策划建议书 PPT 144 KB
29 浪奇洗衣粉新 PPT 298 KB
30 丽臣营销企划案 WORD 35 KB
31 联合利华广告投放策略 PPT 190 KB
32 玛莎媒体推广大纲 WORD 141 KB
33 麦当劳促销计划书 WORD 29 KB
34 每日 C 夏季促销策划 WORD 86 KB
35 美厨集团经营失败案例 WORD 33 KB
36 某跨国饮料分公司 市场销售计划范例―成功的的序曲 WORD 135 KB
37 男用化装品市场调查报告 WORD 78 KB
38 女人广场开业推广策略沟通提案 WORD 222 KB
39 庆怡辉百盛店开业 WORD 39 KB
40 三里屯商品市场推广方案 PPT 568 KB
41 沙宣品牌全国推广活动 ― 宝洁沙宣品牌管理案例 WORD 30 KB
42 沙宣深层洁净洗发露上市策划方案 WORD 197 KB
43 上海书城开业五周年店庆策划文案 WORD 26 KB
44 舒蕾品牌发展报告及策略建议 WORD 75 KB
45 四川省内江地区天友乳业营销策划 WORD 70 KB
46 岁宝百货品牌服务手册 WORD 536 KB
47 索芙特―深度分销代表手册 WORD 122 KB
48 台湾“斑尼顿”山东市场企划案 WORD 69 KB
49 台湾奥美管理品牌之道 PPT 197 KB
50 维维豆奶营销战略报告(和君创业) PPT 569 KB
51 喜之郎品牌策略 -- 电扬广告 PPT 274 KB
52 鲜一步果汁行销传播企划 ( 建议 ) 案 WORD 489 KB
53 鲜一步行销传播企划 ( 建议 ) 案 WORD 489 KB
54 亚华乳品集团战略及营销体系构建建议(远卓顾问) PPT 2299 KB
55 营多干脆面营销企划案 PPT 258 KB
营销策划培训资料
1 4A 广告策略培训 PPT 73 KB
2 APEX 策略思考培训 PPT 299 KB
3 APEX 提案框架 PPT 935 KB
4 CI 企划公司专案经理培训 WORD 3266 KB
5 白马 关于媒介操作 PPT 189 KB
6 宝洁公司的广告测试方法 PPT 303 KB
7 北京现代商报广告价值分析 WORD 823 KB
8 波导销售公司专业培训资料 WORD 470 KB
9 成功督导手册(国内最具权威资料) WORD 1918 KB
10 地产销售培训 WORD 382 KB
11 电通内部培训―媒介策划 PPT 915 KB
12 电通内部培训―电视投放要点 PPT 2712 KB
13 房地产销售培训手册 WORD 264 KB
14 凤凰卫视提案 PPT 405 KB
15 公关手段与方法一览表 PPT 20 KB
16 广告公司流程培训 PPT 349 KB
17 广告公司员工手册 WORD 67 KB
18 广告文案写作培训 PPT 247 KB
19 广告主与广告公司如何有效互动 PPT 62 KB
20 黑马广告培训资料 WORD 124 KB
21 精彩绝伦拍案叫绝的实战经验分享(吴学文) PPT 290 KB
22 开发中国农村市场 ― 县 ( 市 ) 电媒介方案 PPT 1212 KB
23 媒介策划培训 PPT 215 KB
24 媒介基本课程 PPT 554 KB
25 品牌标语培训 PPT 588 KB
26 品牌营销战略培训 PPT 862 KB
27 品牌运作资料 PPT 831 KB
28 品牌资产培训 PPT 682 KB
29 企业形象与 CI 战略 PPT 100 KB
30 清河坊民间艺人 2003 展示周策划方案 WORD 91 KB
31 如何制作影视广告(英扬传奇) PPT 199 KB
32 神奇的 PR― 商用公关手�� PPT 353 KB
33 事件营销完全手册―梦冬版 WORD 70 KB
34 台湾奥美管理品牌之道 PPT 197 KB
35 推销实战手册 WORD 484 KB
36 完整 VI 项目设计书 WORD 38 KB
37 网络广告实务 PPT 751 KB
38 新浪分类广告市场运作的反思 WORD 211 KB
39 亚洲音乐节反盗版激情演唱会商业赞助企划方案 PPT 98 KB
40 以客户为中心的电话销售流程 WORD 90 KB
41 营销手册 WORD 158 KB
42 玉兔家装整合营销大纲 PPT 556 KB
43 怎么做提案 PPT 547 KB
44 整合营销传播系统 IMC 与媒体选择战略 PPT 474 KB
45 中国媒介调查的基本情况 PPT 774 KB
46 中外广告妙语全句 10000 条 PPT 2064 KB
47 中国华电集团公司视觉识别系统管理手册 WORD 1136 KB
48 专柜(促销)管理培训 PPT 89 KB
49 中国房地产行业研究报告 WORD 4389 KB
50 烟草市场营销成功案例 WORD 288 KB
--- End Message ---
--- Begin Message ---
Has anyone used PHP to communicate with Darwin Streaming server ?
if so, how can you get the number of connected users and other
related info.
Does not seem to be a lot of info on this out there
anyone been down this road ?
g
--- End Message ---
--- Begin Message ---
Webmaster, thanks very much but I think it would be safer to do that by
post, not by get. Furthermore, if I use indivudual files
("searchProductInsertId.php", "searchMemberInsertId.php"...), I think it
is easy: in each link of the menu I can type:
<a href="searchProductInsertId.php">Search</a>,
<a href="searchMemberInsertId.php">Search</a> etc.
But, due to the fact that the html part of each SearchInsertId page
doesn't have many differences between various search pages (in first
case will show a message "type a productId to find" and will be
connected with "searchProduct.php", in second case will show a message
"type a memberId to find" and will be connected with "searchMember.php",
and so on), I thought to make a searchSomethingWithId page, where the
text and post php page will differentiate dependetly on what user had
clicked on menu. So I think that the problem I have, is what exactly
should be writen on each "Search", "Add" of menu so as to help the
searchSomethingWithId page to understand what "search" or "add" was
clicked, and secondly, what should be written on searchSomethingWithId
page so as to call the appropriate "search" or "add" php page.
I have some code about sessions and global values, I would preffer a
solution involving global values if it is safe. I used in past forms and
buttons to send information to php page but now I would like to use text
links instead of buttons.
I hope I helped you to understand and give me some help :)
Thaks a lot!
Korakidis Christos
Webmaster wrote:
> Hi,
> i hope I got you right.
>
> You can send data to the next php file by HTTP-GET.
> Simply add a ? behind the link and then <variablename>=<value>.
> Example ./jumpto.php?to=searchProduct
>
> In the jumpto.php you would ask the Global Array for Get Variables for the
> entry and then decide what to do.
>
> Example:
>
> sf($_GET["to"] == "searchProduct"){
> header("Location: ./searchProduct.php");
> }
>
> Or if you have a lot of locations to jump to you could do that by case.
>
> switch($_GET["to"]){
> case "seachProduct":
> header("Location: ./searchProduct.php");
> break;
> case "seachMember":
> header("Location: ./searchMember.php");
> break;
> }
>
> I hope that helped.
>
> Greetings
> Mirco Blitz
--- End Message ---
--- Begin Message ---
Ahmed thanks for your comments,
the situation is that before calling "searchMember.php" or
"searchProduct.php" or other, I need to give to user an interface where
a message like "insert the Product/Member/Order Id", then when he
inserts and presses "find" the appropriate "searchSomething.php" page is
called, depending on what whe had selected to search for.
Of course I can make 3 individual pages ("SearchProductIsertId.php",
"SearchMemberInsertId.php", "SearchOrderInsertId.php"), where each page
will call another page (e.g "SearchOrderInsertId.php" ->
"SearchOrder.php"). This seems easier but if a change is needed in
"SearchSomethingInsertId.php", I'll have to change all the 3 previous
pages. Thus I thougt it would be better to make only one page for all
searches.
What is the common choice of experienced php devs in case of creating an
administrative interface for various tables (e.g. products, members,
orders etc)?
Thanks,
Christos Korakidis
ahmed wrote:
> On 11/19/05, Webmaster <[EMAIL PROTECTED]> wrote:
>>You can send data to the next php file by HTTP-GET.
>>Simply add a ? behind the link and then <variablename>=<value>.
>>Example ./jumpto.php?to=searchProduct
>
> Well i think it was about the code inside the search/add/edit pages
> not how to reach them.
> If i understood correctly, you're trying to reduce the amount of code
> to write by applying a pice of common code on your objects
> (product/member/order) while adding specific functionality using a
> switche specifed as a paramter (?object=Product/Member/Order)... It
> just all depends on "how common" are these operations that needed to
> be applied in each case.. so you knows that better
>
> -ahmed
>
>
> --
> <b>ahmed</b>
--- End Message ---
--- Begin Message ---
try 0777 instead of 777
http://php.net/chmod
ganu ullu wrote:
Hello all,
I have created a new dir, with php code .. which is like that
function mkDirE($dir,$dirmode=777)
{
if (!empty($dir))
{
if (!file_exists("./microsite/".$dir))
{
preg_match_all('/([^\/]*)\/?/i', $dir,$atmp);
$base="";
foreach ($atmp[0] as $key=>$val)
{
$base=$base.$val;
if(!file_exists("./microsite/".$base)){
if (!mkdir("./microsite/".$base,777))
{
echo "Error: Cannot create ".$base;
return 2;
}
//echo "Inside mk";
touch("./microsite/".$base."/index.php");
$source = "./microsite/index.php";
$destination = "./microsite/".$base."/index.php";
$copy_file = copy($source,$destination);
}
}
}
else
if (!is_dir($dir))
{
//echo "Error: ".$dir." exists";
return "Error: ".$dir." already exists";
}
}
return 0;
}
-----------------------------------------
this will create a new folder in my root folder,
Locally every thing is working fine
but when I upload the files then in my live server dir is creating
but with the permission 410 dr----x--t
can any body help me ... wt is the problem ????
thnx...
--- End Message ---
--- Begin Message ---
Hello,
First of all sorry for my english, trying my best :]
The story is: I'm running a small webserver and to monitor the amount of
people going trough my pages, I've made a simple counter (storing the
data in a text file), no matter the details, the important thing is that
it WORKED just the way I wanted it to. Till yesterday evening.
Today I noticed that all of the counters, that were modyfied since
yesterday, have been blanked. I started looking trough the logs and
found a large amount of
PHP Warning: fread(): Length parameter must be greater than 0.
which was the expected behaviour when reading an empty file.
After a while of checking, I got to the fact that something's wrong with
the fwrite() function.
I've writen a 'test' script only to see if I can write files.
When writing to the /tmp dir, all went fine, but when I tried to write
to any of the other directories within my $WWWroot the result was an
empty file.
This is the script:
$data="some data";
$file="/wwwroot/file"
$handle=fopen($file,"w");
fwrite($handle,$data);
fflush($handle);
fclose($handle);
And as written above, the output was only an empty "" file /wwwroot/file
nothing more.
I thought about premissions, but after setting the wwwroot a+rwx,
setting the owner and group as the same as the apache server works under
I got the idea that's not it.
I reinstalled the apache and php.
Now I'm using httpd-2.1.9 and php-4.4.0 (as a module) but the problem is
still there, before I was using httpd-2.1.8, but as I said, the problem
appeared out of nowhere, when the server was just running on it's own,
without upgrades, patches, config changes, or anything other.
In fact all it was doing trough the night was serving the websites and
receiving mail.
I runned out of ideas. The logs don't show anything related to this. I
tried to enable all debug logging, but despite the fact that I'm
receiving now 3 times more info on everything else, there's nothing on
the fwrite() attempt or related.
Can anybody help?
If any more data is required on my side, I will gladly cooperate to get
the thing solved.
--
Best wishes
Łukasz Hejnak
--- End Message ---
--- Begin Message ---
Hello again, some extra info on my case:
the fwrite is completely fine, when fopen is in 'a' mode!
Thus leading to a temporary workaround like this:
$file = "/wwwroot/file"
$countt = explode(".", fread(fopen($file,"r"), filesize($file)));
$count=$countt[1];
$count++;
$handle=fopen($file,"a");
ftruncate($handle, 1);
fwrite($handle,$file);
fclose($handle);
Now having a file with content in the form:
.15
makes it possible to use the above as a workaround..
but still I need to find out what's the problem here. The counter isn't
exactly the only thing I use fwrite for..
The clue I got is, non-empty files are ok to be written in (appended),
empty on the other hand, are totaly uncool for that.
So using a ftruncate($handle,0); is just as I'd use fopen($file,"w");
(gives the same result).
--
Best wishes
Still hoping for Your help
Łukasz Hejnak
--- End Message ---