Hi there, whats wrong on this...?
Parse error: parse error, expecting '," or '," in /test/upload.php on line 72
71 ... 72 $inhalt = implode('', file($datafile)); 73 ...
Some times PHP error line doesn't exactly indicate the line in which error exists. You my look line 71 for , or ' or ".
Try like this: $inhalt = implode('', file('$datafile'));
isn't $inhalt a variable...well
try
$inhalt = "implode('', file('blah blah'))";
dang im wrong sorry about that
let me rephrase...sorry..
$inhalt = implode('',file('$datafile'));
blah sorry for that mistake i did at the previous message...
Read this:
<?php // get a web page into an array and print it out $fcontents = file ('http://www.example.com/'); while (list ($line_num, $line) = each ($fcontents)) { echo "<b>Line $line_num:</b>; ", htmlspecialchars ($line), "<br>\n"; }
// get a web page into a string $fcontents = implode ('', file ('http://www.example.com/')); ?>
Ja! That is what I have said.