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:[EMAIL PROTECTED]]
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:[EMAIL PROTECTED]]
Sent: Thursday, March 15, 2001 1:51 PM
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to