PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
<?
echo "This is a test. below you should see the current working directory:<br>";
echo getcwd();
?>
hi folks,
i just updated my mod_php to 4.3.1 and discovered one of my scripts totally messed up because the function getcwd() seems to return nothing anymore. WTF ??!?!!11
Any suggestions ?
getcwd() or get working directory does exist in php, i almost never use it because i dun want to show people my directories as i know where my files are... i am not sure what your problem is but by default when i write code I sometimes write it redundantly to keep up good habits for example that function i would make it