Current time: 02-05-2012, 05:41 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Force a File to Display Instead of Executing
08-01-2009, 01:26 PM
Post: #1
Force a File to Display Instead of Executing

If you’re like me, you run a site written in PHP. Sometimes I offer PHP scripts to my readers and want them to be able to download them, but if I post a link, the script is executed instead. You can prevent this action with a small .htaccess tweak. (more…)





Posted on Mon, 05 Nov 2007 06:46:34 +0000 at http://www.nilpo.com/2007/11/apache/forc...executing/
Comments: http://www.nilpo.com/2007/11/apache/forc.../#comments
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Restoring .vbs (VBScript Script File) File Associations Nilpo 0 2,242 08-01-2009 01:26 PM
Last Post: Nilpo
  Error “There is no script engine for file extension” Nilpo 0 3,071 08-01-2009 01:26 PM
Last Post: Nilpo
  Force Files to Download Instead of Opening Nilpo 0 434 08-01-2009 01:26 PM
Last Post: Nilpo

Forum Jump:


Forum Permissions
You cannot post new threads.
You cannot post replies.
You cannot post attachments.
HTML is turned on.
MyCode is turned on.
Smilies are turned off.
[img] is turned on.