Date: 12/29/00
- Next message: Jean-Arthur Silve: "Re: [PHP] problem on file upload"
- Previous message: Michael Geier: "[PHP] LIMIT statements and MSSQL/ODBC"
- In reply to: Hooligan: "[PHP] Original problem?"
- Next in thread: Rob Curts: "Re: [PHP] Original problem?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Anything you put between single quotes (') are not evaluated, so the $brev
stays there... try putting normal quotes (") instead in your file()
statement. And I don't know why you put fcontents = fcontents ...
-----Original Message-----
From: Hooligan [mailto:Hooligan <email protected>]
Sent: Friday, December 29, 2000 14:30
To: php-general <email protected>
Subject: [PHP] Original problem?
How do i get this little tag to work?
i want the $brev to be a dynamic file just like page.php?brev=cheese
And then it should load
/home/widegren/public_html/veckobrev/cheese
This below dont work, any suggestions?
$fcontents = $fcontents = file ('/home/widegren/public_html/veckobrev/
$brev');
while (list ($line_num, $line) = each ($fcontents)) {
echo "" . htmlspecialchars ($line) . "<br>\n";
}
/Peter
+--------------------------------------------------------------------------+
| The coolest site for free home pages, email, chat, e-cards, movie info.. |
| http://www.goplay.com - it's time to Go Play! |
+--------------------------------------------------------------------------+
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Jean-Arthur Silve: "Re: [PHP] problem on file upload"
- Previous message: Michael Geier: "[PHP] LIMIT statements and MSSQL/ODBC"
- In reply to: Hooligan: "[PHP] Original problem?"
- Next in thread: Rob Curts: "Re: [PHP] Original problem?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

