Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #4794
| From | Jerry Stuckle <jstucklex@attglobal.net> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: Local vs. hosted connection |
| Date | 2012-02-12 11:13 -0500 |
| Organization | A noiseless patient Spider |
| Message-ID | <jh8oeg$tk7$1@dont-email.me> (permalink) |
| References | <4f36a260$0$28680$9a6e19ea@unlimited.newshosting.com> <jh6gjf$3ab$1@dont-email.me> <4f37df5f$0$13716$9a6e19ea@unlimited.newshosting.com> |
On 2/12/2012 10:50 AM, Aulë wrote:
> 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.
>
No, I'm referring to your own configuration file. Your file; include it
where you need the information in it. Call it conf.php or whatever; it
keeps server-specific information in it.
>> 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.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Local vs. hosted connection Aulë <aule.vala@gmail.com> - 2012-02-11 12:17 -0500
Re: Local vs. hosted connection Jerry Stuckle <jstucklex@attglobal.net> - 2012-02-11 14:46 -0500
Re: Local vs. hosted connection Aulë <aule.vala@gmail.com> - 2012-02-12 10:50 -0500
Re: Local vs. hosted connection Jerry Stuckle <jstucklex@attglobal.net> - 2012-02-12 11:13 -0500
Re: Local vs. hosted connection bill <nobody@spamcop.net> - 2012-02-13 07:56 -0500
Re: Local vs. hosted connection Jerry Stuckle <jstucklex@attglobal.net> - 2012-02-13 08:26 -0500
csiph-web