AW: [PHP] Newbie question: Basic knowledge
| From: | Virtual Evil | Date: | Thu, 15 Mar 2001 19:57:05 +0000 |
| Subject: | AW: [PHP] Newbie question: Basic knowledge | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-44108@lists.php.net to get a copy of this message | ||
thanks a lot for the feedback, but I must confess it didn't work.
I tried to create a file, named it phpinfo.php, content:
<?
phpinfo();
?>
but W2k doesn't know how to open the file. Nevertheless i installed PHP the
way it is described in the install.txt file. What am I doing wrong?
Please help again!!!
Christian
-----Ursprüngliche Nachricht-----
Von: Todd Pillars [mailto:kazoot@nettaxi.com]
Gesendet: Donnerstag, 15. März 2001 20:14
An: Virtual Evil
Betreff: RE: [PHP] Newbie question: Basic knowledge
<html>
<head>
<title> My New Page </title>
</head>
<body bgcolor="#FFFFFF">
<p> This is my new web page </p>
<?
echo "Hello to all my new friends";
?>
</body>
</html>
just put your php code between the <? ?> tags
t.
also if you want to know if you set up php correctly cut and paste, and save
as phpinfo.php
<?
phpinfo();
?>
the just type in your url and phpinfo.php and look at the vars
-----Original Message-----
From: Virtual Evil [mailto:tangible.evil@gmx.net]
Sent: Thursday, March 15, 2001 1:51 PM
To: php-general@lists.php.net
Subject: [PHP] Newbie question: Basic knowledge
Hi there!
I'm really newbie and I have a major problem.
I think i've installed the PHP stuff correctly, but I don't know how to
insert a PHP feature into a ordinary HTML page. Actually i've tried to find
it in the faq, but i didn't. so could please somebody tell me how it works,
just combining a php file with the source code. If possible, for example to
give me a very simple example, so that i can understand the basics!
I'm really desperate so please somebody help me!
Thanks a lot
Christian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net