Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jun 15th, 2006, 2:47 PM   #41
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
Yep, that's what I'm trying to get at.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Jun 15th, 2006, 3:08 PM   #42
titaniumdecoy
Expert Programmer
 
titaniumdecoy's Avatar
 
Join Date: Nov 2005
Posts: 839
Rep Power: 3 titaniumdecoy is on a distinguished road
Send a message via AIM to titaniumdecoy
You should configure Apache to treat everything in the directory where you're storing the files as plain text (if you haven't already). In that directory's .htaccess file, add:

<Files *>
ForceType text/plain
</Files>
(Ideally, this sort of thing should go in your site's httpd.conf file, if you have access to it; if you do, you'll need modify this code to use <Directory ...> tags.)
titaniumdecoy is offline   Reply With Quote
Old Jun 15th, 2006, 3:54 PM   #43
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Posts: 1,824
Rep Power: 5 Sane will become famous soon enough
@IR: That's why I said client-side. You could have just answered 'yes' to my question. >_> Although, now I do see what you mean how they could run the php script in their browser, and have it effect my server directly.
Sane is offline   Reply With Quote
Old Jun 16th, 2006, 8:55 AM   #44
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
Quote:
You could have just answered 'yes' to my question
I like to do things the hard way.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:34 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC