php-windows Digest 27 Jan 2006 14:21:59 -0000 Issue 2874
Topics (messages 26648 through 26653):
Re: Test.php loads, but nothing in Browser
26648 by: Jim McDonald
26650 by: Howard
26651 by: Sean Rowe
26652 by: M. Sokolewicz
26653 by: mailbox 19860221
µÏÐÅͨÊÖ»úÁìÅÜ2006£¬½µ¼Û·ç±©ÆÕ»Ý¾©³Ç
26649 by: [EMAIL PROTECTED]
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 ---
More likely than not you have notices/warnings turned off in your
php.ini file. Check
error_reporting = E_ALL
set. The problem with your test.php script is probably that you do not
have a proper closing tag. You said your script is:
<? phpinfo( ) ; ? >
when it should look more like:
<? phpinfo(); ?>
The main difference here is the "? >" vs. the correct tag of "?>".
-jim
-----Original Message-----
From: Howard [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 26, 2006 2:54 PM
To: [email protected]
Subject: Test.php loads, but nothing in Browser
Here is the setup. MS XP Pro. Apache 2.0.55, PHP 5.1.2.
I downloaded the zipped archive and extracted to c:\php.
Using Manual Installation Method.
Apache Monitor is running and going to localhost does show the Apache
Logo and information. Also in Apache montior at the bottom here is what
is displayed
Apache/2.0.55(Win32) PHP/5.1.2.
I wrote in Notepad the script <? phpinfo( ) ; ? >, and saved the page as
test.php. I placed it in the Apache/htdocs directory as instructed. When
loaded througha Browser it is my understanding that I should be able to
see info on my version on PHP.
Well it loads with no error. But there is nothing in the Browser Window.
MS IE 6.
Any ideas?? Or can someone help going over the settings.
Thanks
Howard
--- End Message ---
--- Begin Message ---
Error Reporting is set as you show.
I changed the script to what you show, and it still doesn't work.
Apache recognizes PHP but for some reason doesn't run scripts. I even
tried the "Hello World" script in an html file.
More likely than not you have notices/warnings turned off in your
php.ini file. Check
error_reporting = E_ALL
set. The problem with your test.php script is probably that you do not
have a proper closing tag. You said your script is:
<? phpinfo( ) ; ? >
when it should look more like:
<? phpinfo(); ?>
The main difference here is the "? >" vs. the correct tag of "?>".
-jim
-----Original Message-----
From: Howard [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 26, 2006 2:54 PM
To: [email protected]
Subject: Test.php loads, but nothing in Browser
Here is the setup. MS XP Pro. Apache 2.0.55, PHP 5.1.2.
I downloaded the zipped archive and extracted to c:\php.
Using Manual Installation Method.
Apache Monitor is running and going to localhost does show the Apache
Logo and information. Also in Apache montior at the bottom here is what
is displayed
Apache/2.0.55(Win32) PHP/5.1.2.
I wrote in Notepad the script <? phpinfo( ) ; ? >, and saved the page as
test.php. I placed it in the Apache/htdocs directory as instructed. When
loaded througha Browser it is my understanding that I should be able to
see info on my version on PHP.
Well it loads with no error. But there is nothing in the Browser Window.
MS IE 6.
Any ideas?? Or can someone help going over the settings.
Thanks
Howard
--- End Message ---
--- Begin Message ---
Did you name your script with a .php extension? Also, did you configure
http.conf to recognize php files? You have to set up the different file
types. Check the install file for how to do that. It gives the
instructions verbatim.
sean
On Thu, 2006-01-26 at 18:15 -0800, Howard wrote:
> Error Reporting is set as you show.
>
> I changed the script to what you show, and it still doesn't work.
>
> Apache recognizes PHP but for some reason doesn't run scripts. I even
> tried the "Hello World" script in an html file.
>
>
> More likely than not you have notices/warnings turned off in your
> php.ini file. Check
>
> error_reporting = E_ALL
>
> set. The problem with your test.php script is probably that you do not
> have a proper closing tag. You said your script is:
>
> <? phpinfo( ) ; ? >
>
> when it should look more like:
>
> <? phpinfo(); ?>
>
> The main difference here is the "? >" vs. the correct tag of "?>".
>
> -jim
>
> -----Original Message-----
> From: Howard [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 26, 2006 2:54 PM
> To: [email protected]
> Subject: Test.php loads, but nothing in Browser
>
> Here is the setup. MS XP Pro. Apache 2.0.55, PHP 5.1.2.
>
> I downloaded the zipped archive and extracted to c:\php.
>
> Using Manual Installation Method.
>
> Apache Monitor is running and going to localhost does show the Apache
> Logo and information. Also in Apache montior at the bottom here is what
> is displayed
>
> Apache/2.0.55(Win32) PHP/5.1.2.
>
> I wrote in Notepad the script <? phpinfo( ) ; ? >, and saved the page as
> test.php. I placed it in the Apache/htdocs directory as instructed. When
> loaded througha Browser it is my understanding that I should be able to
> see info on my version on PHP.
>
> Well it loads with no error. But there is nothing in the Browser Window.
> MS IE 6.
>
> Any ideas?? Or can someone help going over the settings.
>
> Thanks
>
> Howard
>
--- End Message ---
--- Begin Message ---
actually, the closing tag is optional in php; it's not required(!) and
PHP also doesn't mind a ton of whitespaces, it ignores them
I would also suggest checking your display_errors value in your php.ini,
make sure it's On.
- tul
Howard wrote:
Error Reporting is set as you show.
I changed the script to what you show, and it still doesn't work.
Apache recognizes PHP but for some reason doesn't run scripts. I even
tried the "Hello World" script in an html file.
More likely than not you have notices/warnings turned off in your
php.ini file. Check
error_reporting = E_ALL
set. The problem with your test.php script is probably that you do not
have a proper closing tag. You said your script is:
<? phpinfo( ) ; ? >
when it should look more like:
<? phpinfo(); ?>
The main difference here is the "? >" vs. the correct tag of "?>".
-jim
-----Original Message-----
From: Howard [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 26, 2006 2:54 PM
To: [email protected]
Subject: Test.php loads, but nothing in Browser
Here is the setup. MS XP Pro. Apache 2.0.55, PHP 5.1.2.
I downloaded the zipped archive and extracted to c:\php.
Using Manual Installation Method.
Apache Monitor is running and going to localhost does show the Apache
Logo and information. Also in Apache montior at the bottom here is what
is displayed
Apache/2.0.55(Win32) PHP/5.1.2.
I wrote in Notepad the script <? phpinfo( ) ; ? >, and saved the page as
test.php. I placed it in the Apache/htdocs directory as instructed. When
loaded througha Browser it is my understanding that I should be able to
see info on my version on PHP.
Well it loads with no error. But there is nothing in the Browser Window.
MS IE 6.
Any ideas?? Or can someone help going over the settings.
Thanks
Howard
--- End Message ---
--- Begin Message ---
"Howard" <[EMAIL PROTECTED]> wrote:
> I wrote in Notepad the script <? phpinfo( ) ; ? >,
> and saved the page as test.php
Try
<?php phpinfo(); ?>
This should work correctly. You used the "short open tags" syntax,
often disabled in your php.ini configuration;
<?php
script_goes_here
?>
is the most correct, *common* and portable syntax.
Best regards
--
Massimo Lombardo
--- End Message ---
--- Begin Message ---
迪信通手机领跑2006,降价风暴普惠京城
新春到、财运到,迪信通送出千万大红包;购手机、抽大奖,迪信通抛出新年大手笔。值此2006年春节到来之际,迪信通手机连锁启动“快乐购手机、安心过大年”全国统一大行动。为了满足广大消费者的春节购物需求,迪信通从即日起将全线手机价格下调20%-30%,近千款手机疯狂降价,还赠送超值礼品;微笑服务月也将于春节期间启动,全新“6S”服务标准,打造行业服务新坐标。除此之外,为酬谢广大消费者的支持和厚爱,迪信通还特别推出让利七大举措。
措施一:迪信通送千万大红包。单台送50-300元红包代金券,让消费者购机物超所值。
措施二:在迪信通购机抽好礼。一等奖:价值4999元的摄像机10台;二等奖:价值2600元的摩托罗拉V3手机50台;三等奖:价值299元的MP3
100台或者返乡车票(火车硬座)300张或者100元充值卡500张;四等奖:可乐两听或孙继海签名足球一个,共20000个。
措施三:迪信通单台特价手机让利300元―500元。如:诺基亚2300,仅售499元,还送时尚风情围巾一个;诺基亚3100仅售718元,还送舒适挚爱靠垫套一个;诺基亚3220仅售1028元,还送舒适挚爱靠垫套一个;诺基亚3120仅售738元,还送舒适挚爱靠垫套一个;诺基亚6270直降500元,还送精致水杯一个;
诺基亚6021仅售1418元,还送孙继海签名足球一个。摩托罗拉V3直降300元,还送温馨元宝枕一个;索爱T290C仅售698元,还送可乐两听;金立350B仅售1680元,还送食用油一桶;金立638仅售1380元,还送食用油一桶。每一款特价手机高达150台左右的库存必将满足您方方面面的需求。
措施四:迪信通部分手机仅售88-388元。有小巧可爱的掌上精灵,也有30万像素的拍照先锋,期待您的光临!
措施五:迪信通手机配件以旧换新,无须任何凭证,限国产万禧通、飞毛腿等配件。
措施六:迪信通会员可免费领取礼品。新会员送孙继海签名足球,老会员送可乐两听。
措施七:军人、学生持有效证件购机送卡号、50元充值卡。
在迪信通购机,您还可以享受到一站购齐的乐趣,数据线,蓝牙耳机,蓝牙适配器,各种型号的内存卡,精品MP3等,影音娱乐,一网打尽!
如果你想购买手机,还犹豫什么呢?迪信通将是你绝佳的选择。快快行动吧!迪信通将以极低的价位,高质量的服务来赢得你的满意和信赖!
--- End Message ---