"Joca" <josecarlossiadv.com> wrote in message
news:be3f2j$e2o$1nsnmrro2-gest.nuria.telefonica-data.net...create> Hi.
>
> I have a problem with a dirname. I canīt read a file if i write this code:
>
> <?php
> $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.
> Regards
> Joca
>
>
names and values will appear in a nice table format if you use
<?
phpinfo(INFO_VARIABLES);
?>
Bookmarks