Which function in PHP gives us absolute path of a file on the server?
Top Questions
<?php
$p = getcwd();
echo $p;
?>Ans: getcwd() Here I have stored my files under httdocs (using php5,i haven't checked under php4) so I get the output as C:\apache2triad\htdocs you may get your path information while runnings the above code. :)
re:
In its most general use, a function is what a given entity does in being what it is. For more information about function just visit this site www.n8fan.net
Alice
www.n8fan.net
Good Reference
Post new comment