Setup a symlink on poor shared hosting server
It happens sometimes when you don't have an SSH access to a server. In the worst case you won't be able to even PHP to set up a symlink, in which case you're screwed. But in most cases this will work.
<?php
// Get the current path
echo getcwd();
// Set up the link - the var_dump will tell you if the command was successful or not
//var_dump(symlink( '/home/user/public_html/sites/', 'mylink' ));
?>
Add new comment