FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » self-modifying program
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: self-modifying program [message #174362 is a reply to message #174360] Wed, 08 June 2011 11:50 Go to previous messageGo to previous message
Michael Fesser is currently offline  Michael Fesser
Messages: 215
Registered: September 2010
Karma:
Senior Member
.oO(Jivanmukta)

>> Why do you need that the file is reachable through the web browser?
>
> BTW, my website contains also "include" folder (for class.X.php,
> lib.X.php). Should it be placed inside public_html?

No, such scripts and configuration files should be stored outside the
document root.

> How about
> "public_html/images" (.gif, .png files)?

These files have to be inside the public folder, because they need to be
reachable by a browser.

Another thing regarding your LOG_PATH constant. You shouldn't hard-wire
its value, but use relative paths based on $_SERVER['DOCUMENT_ROOT']
instead.

Micha
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: We wholesale Amazon Kindle/ Monster Beats / Ipods / Apple products of all types
Next Topic: [newbie] datetime issues
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 10:21:56 GMT 2024

Total time taken to generate the page: 0.07523 seconds