Get Current Server Path in PHP


/ Published in: PHP
Save to your folder(s)

Get Current Server Path in PHP


Copy this code and paste it in your HTML
  1. Get Current Server Path in PHP
  2.  
  3. Ref: https://techfiddler.wordpress.com/2015/03/29/get-current-server-path-in-php/
  4.  
  5. <?php
  6. echo getcwd();
  7. chdir('xyz');
  8. ?>

URL: https://techfiddler.wordpress.com/2015/03/29/get-current-server-path-in-php/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.