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

Home » Imported messages » comp.lang.php » Local vs. hosted connection
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Local vs. hosted connection [message #176976 is a reply to message #176975] Sun, 12 February 2012 15:50 Go to previous messageGo to previous message
Aul is currently offline  Aul
Messages: 7
Registered: December 2011
Karma:
Junior Member
On 2/11/2012 2:46 PM, Jerry Stuckle wrote:
>
> If it's outside the DOCUMENT_ROOT so no one can download it, it's
> secure. Otherwise a server misconfiguration can expose you errors.

Nice. Okay.

> Why not just include a configuration file on both systems, each with the
> appropriate settings? Much cleaner and less error prone.

Are you referring to a PHP.INI? If so, I wasn't aware that I could do
so on the host. That would definitely simplify some things.

> BTW - unless you are the domain owner for mywebhost.com, you should not
> be using their name. Instead, use example.com, example.org, etc., which
> have been specifically reserved for such uses.

I have no explanation for {not} thinking "mywebhost" wouldn't be an
actual site. That is excellent information about "example" domains.

TYVM.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Stats comp.lang.php (last 7 days)
Next Topic: Space mistery
Goto Forum:
  

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

Current Time: Tue Nov 26 05:31:13 GMT 2024

Total time taken to generate the page: 0.04149 seconds