I am not able to see the executed output at all
I am not able to see the executed output at all
am 04.04.2008 20:15:12 von parag_paul
hi All,
I am new to php and the using mozila firefox 3 , and IE 6 . But none
of them are able to show the output for the following p1.php file .
PHP Test
But the output of the program is the whole file as text?
What is going wrong here?
-Parag
Re: I am not able to see the executed output at all
am 04.04.2008 20:19:13 von paulb
Add an underscore after the p to reply
wrote in message
news:09eba5b2-553f-48db-aaf7-b266bd9aa0ff@r9g2000prd.googleg roups.com...
> hi All,
> I am new to php and the using mozila firefox 3 , and IE 6 . But none
> of them are able to show the output for the following p1.php file .
>
>
>
> PHP Test
>
>
>
>
>
> But the output of the program is the whole file as text?
> What is going wrong here?
> -Parag
Your code produces this and the rest on my server. It goes on for some time
so I've trimmed the rest.
Paul
PHP Version 5.2.5
System Linux atkins.uk-noc.com 2.6.23.14 #2 SMP Thu Feb 14 00:29:49
GMT 2008 i686
Build Date Jan 7 2008 22:25:15
Configure Command './configure' '--enable-bcmath' '--enable-calendar'
'--enable-exif' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml'
'--enable-magic-quotes' '--enable-mbstring' '--enable-pdo=shared'
'--enable-soap' '--enable-sockets' '--enable-zip' '--prefix=/usr/local'
'--with-apxs2=/usr/local/apache/bin/apxs' '--with-curl=/opt/curlssl/'
'--with-freetype-dir=/usr' '--with-gd' '--with-gettext'
'--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr'
'--with-jpeg-dir=/usr' '--with-kerberos' '--with-libexpat-dir=/usr'
'--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt/'
'--with-mhash=/opt/mhash/' '--with-mysql=/usr'
'--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-openssl=/usr'
'--with-openssl-dir=/usr' '--with-pdo-mysql=shared'
'--with-pdo-sqlite=shared' '--with-png-dir=/usr' '--with-pspell'
'--with-sqlite=shared' '--with-ttf' '--with-xmlrpc'
'--with-xpm-dir=/usr/X11R6' '--with-xsl=/opt/xslt/' '--with-zlib'
'--with-zlib-dir=/usr'
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/lib
Re: I am not able to see the executed output at all
am 04.04.2008 20:23:42 von Dave Pyles
On 4/4/2008 2:15 PM, parag_paul@hotmail.com wrote:
> hi All,
> I am new to php and the using mozila firefox 3 , and IE 6 . But none
> of them are able to show the output for the following p1.php file .
>
>
>
> PHP Test
>
>
>
>
>
> But the output of the program is the whole file as text?
> What is going wrong here?
> -Parag
Sounds like you are naming your file something.html instead of
something.php.
Dave Pyles
Re: I am not able to see the executed output at all
am 04.04.2008 21:14:21 von Anonymous
"parag_paul@hotmail.com" wrote:
>
> hi All,
> I am new to php and the using mozila firefox 3 , and IE 6 . But none
> of them are able to show the output for the following p1.php file .
>
>
>
> PHP Test
>
>
>
>
> But the output of the program is the whole file as text?
> What is going wrong here?
You are aware that PHP is a server side scripting language and that you
need a webserver like Apache to execute scripts on?
Opening PHP scripts in a webbrowser doesn't do the trick.
Bye!
Re: I am not able to see the executed output at all
am 05.04.2008 19:40:36 von parag_paul
On Apr 5, 12:14=A0am, Anonymous wrote:
> "parag_p...@hotmail.com" wrote:
>
> > =A0hi All,
> > I =A0am new to php and the using mozila firefox 3 , and IE 6 . But none
> > of them are able to show the output for the following p1.php file .
>
> >
> >
> > PHP Test
> >
> >
> >
>
> > But the output of the program is the whole file as text?
> > What is going wrong here?
>
> You are aware that PHP is a server side scripting language and that you
> need a webserver like Apache to execute scripts on?
>
> Opening PHP scripts in a webbrowser doesn't do the trick.
>
> Bye!
I have installed apache on the linux machine on which the I am writing
this script and saving in the document root.
I guess, the apache installation will have to be done for php ???
Re: I am not able to see the executed output at all
am 05.04.2008 21:18:01 von Jerry Stuckle
parag_paul@hotmail.com wrote:
> On Apr 5, 12:14 am, Anonymous wrote:
>> "parag_p...@hotmail.com" wrote:
>>
>>> hi All,
>>> I am new to php and the using mozila firefox 3 , and IE 6 . But none
>>> of them are able to show the output for the following p1.php file .
>>>
>>>
>>> PHP Test
>>>
>>>
>>>
>>> But the output of the program is the whole file as text?
>>> What is going wrong here?
>> You are aware that PHP is a server side scripting language and that you
>> need a webserver like Apache to execute scripts on?
>>
>> Opening PHP scripts in a webbrowser doesn't do the trick.
>>
>> Bye!
>
> I have installed apache on the linux machine on which the I am writing
> this script and saving in the document root.
> I guess, the apache installation will have to be done for php ???
>
Yes, you also have to install PHP - Apache has no idea how to parse PHP
files.
I'd recommend you just install LAMP - Apache, MySQL and PHP on Linux.
If you're not familiar with installing software on Linux and configuring
Apache, it's much easier.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Re: I am not able to see the executed output at all
am 09.04.2008 07:31:20 von Sir Robin
On Sat, 05 Apr 2008 14:18:01 -0500, Jerry Stuckle
wrote:
>> I have installed apache on the linux machine on which the I am writing
>> this script and saving in the document root.
>> I guess, the apache installation will have to be done for php ???
>>
>
>Yes, you also have to install PHP - Apache has no idea how to parse PHP
>files.
>
>I'd recommend you just install LAMP - Apache, MySQL and PHP on Linux.
>If you're not familiar with installing software on Linux and configuring
>Apache, it's much easier.
Well, for example on fedora, if you already have Apache you can just 'yum
install php' to have php installed ready and configured for apache :) I
suspect that this is the case with most distributions...
--
***/--- Sir Robin (aka Jani Saksa) Bi-Sex and proud of it! ---\***
**/ email: robsku@fiveam.NO-SPAM.org, <*> Reg. Linux user #290577 \**
*| Me, Drugs, DooM, Photos, Writings... http://soul.fiveam.org/robsku |*
**\--- GSM/SMS: +358 44 927 3992 ---/**
"I like the trees, you know? I like the way that the trees are on mountains,
all the different... the way the trees are."