Hi, is there anyway i can display the full path to were the PHP script is being run from.
Thanks
<?php echo getcwd(), "\n"; ?>
Thanks, but one more thing is there anyway i can turn errors off on certain pages. I know it can be done but i cant remember how to do it.
Not sure how to do it through the code. I know you can supress PHP errors through PHP.ini by setting:
display_errors = Off
To turn off error reporting:
<?php // Turn off all error reporting error_reporting(0); // YOUR CODE GOES HERE.... // ........................................ // YOUR CODE GOES HERE.... ?>
Check out the manual: [man]error_reporting[/man]