Return to Snippet

Revision: 53079
at November 12, 2011 14:31 by peterbelsky


Initial Code
<?php echo getcwd(); ?>

Initial URL


Initial Description
Summary

In a lot of shared hosting environments, what looks to be the full path of a folder is not necessarily the correct full path. The good news is that there is a quick way to find this information. The full file path is required when setting up file system product and image storage.
¶ Instructions

Create a new PHP file named path.php. Inside this PHP file place the following code and save the file.

<?php>

Now, just place this file within the directory that you wish to find the full file path for and call it via your web browser. So if you placed the file wp-content/plugins/shopp/storage. You would call www.yourdomain.com/wp-content/plugins/shopp/storage/path.php

This will print out the exact path to this folder, now just copy and paste what this prints out to your Shopp->Settings->System - Image Storage text box and save.

Initial Title
Find Full File Path

Initial Tags


Initial Language
PHP