View Single Post
  #4 (permalink)  
Old 09-17-2009, 09:59 AM
ishkey's Avatar
ishkey ishkey is offline
Moderator
 
Join Date: Aug 2007
Location: North GA USA
Posts: 1,775
ishkey will become famous soon enough
Default

Quote:
A question for you dave. Can a .htaccess file be written with php fopen or file write?
no - you are talking directly with the server in it's own language.
it's like you have the master key to get in, set things up to run the way you want to and leave. if you could use another language to set the server, it would open you up to attacks.
you set up your data base in it's language - you can talk to it to get info in php, but can not change the structure of it.
__________________

Consultant - Programmer - WebMaster
cleandeck - lawn mower undercoating
wilmargraphite - graphite lubricants
Reply With Quote