S
sweta agarwal
Guest
hi! I m working in linux platform and using php .I want to pass the absolute file path browsed by the client from one page to another using php.I tried with the codes given below but i am not able to do so?
the codes are:
s.php:
<?php
session_start();
?>
<html>
<body>
<form name="fupload" enctype="multipart/form-data" action="s2.php" method="post">
<input type="file" name="picture" />
<input type="submit" value="Submit" />
</form>
</body>
</html>
s2.php:
<?php
$nn =$_FILES['picture'];
echo $nn;
?>
o/p : Array.
Now how can i display the full path name of the file entered by the client in the previous page in this page..plz help me to get rid f this problem..
the codes are:
s.php:
<?php
session_start();
?>
<html>
<body>
<form name="fupload" enctype="multipart/form-data" action="s2.php" method="post">
<input type="file" name="picture" />
<input type="submit" value="Submit" />
</form>
</body>
</html>
s2.php:
<?php
$nn =$_FILES['picture'];
echo $nn;
?>
o/p : Array.
Now how can i display the full path name of the file entered by the client in the previous page in this page..plz help me to get rid f this problem..