Re: [PHP] Anyone Can Help Me?
Hello, Put this in your httpd.conf AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps Apache will know how to handle php scripts then. This note is displayed at the end of make install. Use scroll lock on your key board to page up to see. If you have to. Pete php4 and mysql instant messenger at http://dim.whorules.org please join or down load. New release coming out soon! Quoting Harry <[EMAIL PROTECTED]>: > Hi Guys, > > I'm a beginner on PHP and i just installed it on FreeBSD with apache. I > already follow instructions at manual install then i create test file like > test.php4 with .I browse to this file with IE but it can't > display PHP info but when i brwose that file, it appears page with text " phpinfo() ?>. > > Anyone can help me? > Thanks > > This message was sent using IMP, the Internet Messaging Program. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Anyone Can Help Me?
Harry, This could be due to a setting in your php.ini: short_open_tags = off Either set this to "on" or use Till We Meet Again... Clifford W. Hansen Operations Support Developer Aspivia (Pty) Ltd. +27 (0) 11 259-1150 (Switchboard) +27 (0) 11 259-1019 (Fax) +27 (0) 83 761-0240 (Mobile) [EMAIL PROTECTED] (EMail) Registered Linux user number 343424 on http://counter.li.org/ "We have seen strange things today!" Luke 5:26 This message contains information intended for the perusal, and/or use (if so stated), of the stated addressee(s) only. The information is confidential and privileged. If you are not an intended recipient, do not peruse, use, disseminate, distribute, copy or in any manner rely upon the information contained in this message (directly or indirectly). The sender and/or the entity represented by the sender shall not be held accountable in the event that this prohibition is disregarded. If you receive this message in error, notify the sender immediately by e-mail, fax or telephone and return and/or destroy the original message. The views or representations contained in this message, whether express or implied, are those of the sender only, unless that sender expressly states them to be the views or representations of an entity or person, who shall be named by the sender and who the sender shall state to represent. No liability shall otherwise attach to any other entity or person. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] anyone can help?
i didnt notice that, but is the same thing, is not working :( thanks for the fasta answer "Martin Towell" <[EMAIL PROTECTED]> wrote in message 6416776FCC55D511BC4E0090274EFEF5034CFC9A@EXCHANGE">news:6416776FCC55D511BC4E0090274EFEF5034CFC9A@EXCHANGE... > you've got a ";" after the if > > IF (!$accion); { > > should be > > IF (!$accion) { > > > -Original Message- > From: ::: Flavio Bastos Amiel::> [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 09, 2002 4:34 PM > To: [EMAIL PROTECTED] > Subject: [PHP] anyone can help? > > > this is not functional and i dont know why, this is stoping where if > (!$accion) is, and the wuery if you run in into the sql is > perfectREQUIRE('conexion.php'); > > $accion=mysql_query("SELECT * FROM empresas"); > > IF (!$accion); { > > echo "no se puede ver la solicitud"; > > } > > ?> > > > > >IF ($accion) { > WHILE ($r = mysql_fetch_array($accion)){ > extract($r); > $empresas = nl2br($empresas); > > echo "$empresas"; } } ?> > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] anyone can help?
you've got a ";" after the if IF (!$accion); { should be IF (!$accion) { -Original Message- From: ::: Flavio Bastos Amiel::> [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 4:34 PM To: [EMAIL PROTECTED] Subject: [PHP] anyone can help? this is not functional and i dont know why, this is stoping where if (!$accion) is, and the wuery if you run in into the sql is perfectREQUIRE('conexion.php'); $accion=mysql_query("SELECT * FROM empresas"); IF (!$accion); { echo "no se puede ver la solicitud"; } ?> $empresas"; } } ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php