You need to login to send post. No account yet? Create one:
Create account

How create symlink without an access to command line?

1 reply [Last post]
Danny

I have cheap webhosting without access to linux shell command line. So I cannot use Midnight Commander to create it directly. Any hint?

admin
You can use PHP script to create symlink

1. Create in some plain text editor file named "create.php" with this content:

<?php symlink( '/ADDRESS/TO/YOUR/SOURCE/DIRECTORY/NAME_OF_DIRECTORY_OR_FILE/', 'NAME_OF_DIRECTORY_OR_FILE' ); ?>

2. Upload it by FTP on place where you want create symlink
3. Set up permission of parent folder and this file to 777
4. Point your browser on this file (don't forget begin with your domain)
5. Symlink will created. Check it by your FTP client (in example FileZilla is able to recognize symlink).
6. Delete file and change permissions of folder on something less dangerous.