Welcome Guest, Not a member yet? Register   Sign In
how two application sharing same file upload folder?
#1

[eluser]umefarooq[/eluser]
Hi
im facing one problem, in my current project i have create two application for front end and back end, how these two application can share same file upload folder. where im uploading images from backend and want to show on front end. any solution.
#2

[eluser]jedd[/eluser]
Symlinks are your friend.
#3

[eluser]umefarooq[/eluser]
[quote author="jedd" date="1244996989"]Symlinks are your friend.[/quote]
who is Symlinks ?
#4

[eluser]Dam1an[/eluser]
Symlinks (aka symbolic links) make it appear that the same directory is in 2 differant places.
So you could have the uploads folder in one application, and sym link it so it appears thats it's in the other application. Any changes to the directory contents in either of the 2 applications will appear in the other one as well.
For more info, lmgtfy

Is there any reason why you can't just make the 2 applications point to the same directory (be it in the front end/back end or neither)? Or am I missing something




Theme © iAndrew 2016 - Forum software by © MyBB