Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
Ultrabubble:
hiding a filename.php to redirect to profile index
dingoskidney.com



Joined: 18 Nov 2006
Posts: 214
Location: Sheffield England

Posted: 03/18/09 15:18 
I have a file which is stored in the users /members/ directory which i want to keep hiden from public view as it is only read by a command line function. exec();

cant figure out how to do this for artist profiles. can someone give me a hand


_________________
dan is dead!....Long Live the Dan!!!
Back to top
SteveX
Ultrabubble


Joined: 30 Aug 2005
Posts: 8792
Location: Ultrabubble

Posted: 03/19/09 02:55 
You could try using this in the htaccess of each member's directory:

Code
<files hiddenImage.jpg>
 order allow,deny
 deny from all
</files>

Not sure how that will work with your command line function, you could try adding your server ip address
Allow from 123.123.123.123
after "deny from all"


_________________
Kulshi Mezian!

"Stranger from another planet, welcome to our hole. Just strap on your guitar and we'll play some rock and roll"

Ultrabubble create things.
Back to top
dingoskidney.com



Joined: 18 Nov 2006
Posts: 214
Location: Sheffield England

Posted: 03/19/09 03:18 
sorry i think i confused the issue with the exec(). its ok i cracked it with a line in .htaccess. thanks for the help


_________________
dan is dead!....Long Live the Dan!!!
Back to top
Display posts from previous:   
User Support Forum Archive (Read Only)
Ultrabubble

 
Solutions
• Social Media Platform
• Social Networking Software
• Musician Website Manager
• Community Builder
Products
• Jamroom Core
• Jamroom Addons
• Jamroom Modules
• Jamroom Marketplace
Support
• Support Forum
• Documentation
• Support Center
• Contact Support
Community
• Community Forum
• Member Sites
• Developers
Company
• About Us
• Contact Us
• Privacy Policy
©2003 - 2010 Talldude Networks, LLC.