"Joca" <josecarlossiadv.com> wrote in message
> I have a problem with a dirname. I canīt read a file if i write this code:
> $user = $_REQUEST['username'];
> $filename = dirname(_FILE_).'/../revadv/$user';
> $lines = file($filename);
> I have create a file with $user name. I write in the php page which ianything.> the file $user name:
> $user = $_POST['username']; but it isnīt well..
> If I write in php page with dirname: echo "$user"; it donīt writeIf you managed to pass values successfully from the client, their variable>
> Thank you.
names and values will appear in a nice table format if you use