Jump to content

Confused over readfile


Kyrislian

Recommended Posts

Hi there. I've been wanting to learn php, and I've gone and gotten myself a couple books on the subject. I'm working through the examples shown, but there's this one bit that completely baffles me. It's a very simple piece of code, so I'm getting pretty frustrated with it.

 

Here's the code:

<html>

<head>
<title>Tip of the day</title>
</head>

<body>
<center>	
	<h1>Tip of the day</h1>

	<div style="border-color: green; border-style:groove; border-width: 2px">

		<?
		readfile("tips.txt");
		?>

	</div>
</center>

</body>
</html>

 

I would really, really appreciate any help.

Link to comment
https://forums.phpfreaks.com/topic/88427-confused-over-readfile/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.