Printing out html
| From: | Labunski | Date: | Sun, 28 Dec 2003 02:46:35 +0000 |
| Subject: | Printing out html | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-173389@lists.php.net to get a copy of this message | ||
Hello, I have just entered PHP "world" and I have many questions. I have
already made PHP script that send's htm form values via e-mail.
Now I want to build PHP based web page..
>> 1.question>>
For example I have index.php file, but I want HTML (index.html) file to be
"printed out". How php code should look like?
>> 2.question >>
I know that code for IP address ($ip) is:
$ip = getenv ("REMOTE_ADDR");
For example I have Index.php file, and I want an IP adders to be viewed in
the TD:
<td> IP address </td>
How should I write it?
Sorry for my dumb questions and bad english,
Regards,
Lab.