php-general Digest 11 Jun 2013 17:16:09 -0000 Issue 8262

2013-06-11 Thread php-general-digest-help

php-general Digest 11 Jun 2013 17:16:09 - Issue 8262

Topics (messages 321360 through 321368):

Re: Using Table prefixes
321360 by: Julian Wanke
321361 by: Tedd Sperling
321362 by: Julian Wanke
321367 by: Tamara Temple

basic authentication usage
321363 by: Jim Giner
321364 by: Julian Wanke
321365 by: Jim Giner
321366 by: Julian Wanke

htaccess to make html act as php suffixed files
321368 by: Tedd Sperling

Administrivia:

To subscribe to the digest, e-mail:
php-general-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
php-general-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
php-gene...@lists.php.net


--
---BeginMessage---

Tell this the facebook, google or nsa data team ^^

Am 10.06.2013, 16:15 Uhr, schrieb Tedd Sperling tedd.sperl...@gmail.com:


On Jun 8, 2013, at 4:17 PM, Julian Wanke jswp...@gmx.at wrote:

A database for each client? Isn't that over-powered? If you have 1000  
clients, you would loose the overview over your databases...


What -- people have more than one client?!?

My thoughts:

A client is like a girlfriend -- if you have too many, things can get  
real ugly, real fast.


If you have over 10 clients (let alone 1000), then you're probably  
overworked and not doing your best for each.


My advise -- raise your rates until you narrow those clients down to a  
manageable size. Both you and your clients will be happier.


At least, that's been my experience -- YMMV.

Cheers,

tedd

_
tedd.sperl...@gmail.com
http://sperling.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
---End Message---
---BeginMessage---
Hi:

I am sure they do not turn over a 1000 clients to a single person.

Cheers,

tedd

_
tedd.sperl...@gmail.com
http://sperling.com





On Jun 10, 2013, at 2:11 PM, Julian Wanke jswp...@gmx.at wrote:

 Tell this the facebook, google or nsa data team ^^
 
 Am 10.06.2013, 16:15 Uhr, schrieb Tedd Sperling tedd.sperl...@gmail.com:
 
 On Jun 8, 2013, at 4:17 PM, Julian Wanke jswp...@gmx.at wrote:
 
 A database for each client? Isn't that over-powered? If you have 1000 
 clients, you would loose the overview over your databases...
 
 What -- people have more than one client?!?
 
 My thoughts:
 
 A client is like a girlfriend -- if you have too many, things can get real 
 ugly, real fast.
 
 If you have over 10 clients (let alone 1000), then you're probably 
 overworked and not doing your best for each.
 
 My advise -- raise your rates until you narrow those clients down to a 
 manageable size. Both you and your clients will be happier.
 
 At least, that's been my experience -- YMMV.
 
 Cheers,
 
 tedd
 
 _
 tedd.sperl...@gmail.com
 http://sperling.com
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php

---End Message---
---BeginMessage---
There servers are so good configured, that they don't need much  
maintainance.
Facebook has 1,11 Billion Accounts. If we divide this through 1000 members  
per data team member they need 1 Million data team mebers, each of them  
has a salary which I would say is about 2000$.
That means they have to pay 2 Billion US$ (!) per month to the data team  
which is very unrealistic.


I know such great companies are a bad example but my opinion is that a  
system should be as scalable as possible.


Am 10.06.2013, 20:16 Uhr, schrieb Tedd Sperling tedd.sperl...@gmail.com:


Hi:

I am sure they do not turn over a 1000 clients to a single person.

Cheers,

tedd

_
tedd.sperl...@gmail.com
http://sperling.com





On Jun 10, 2013, at 2:11 PM, Julian Wanke jswp...@gmx.at wrote:


Tell this the facebook, google or nsa data team ^^

Am 10.06.2013, 16:15 Uhr, schrieb Tedd Sperling  
tedd.sperl...@gmail.com:



On Jun 8, 2013, at 4:17 PM, Julian Wanke jswp...@gmx.at wrote:

A database for each client? Isn't that over-powered? If you have 1000  
clients, you would loose the overview over your databases...


What -- people have more than one client?!?

My thoughts:

A client is like a girlfriend -- if you have too many, things can get  
real ugly, real fast.


If you have over 10 clients (let alone 1000), then you're probably  
overworked and not doing your best for each.


My advise -- raise your rates until you narrow those clients down to a  
manageable size. Both you and your clients will be happier.


At least, that's been my experience -- YMMV.

Cheers,

tedd

_
tedd.sperl...@gmail.com
http://sperling.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
---End Message---
---BeginMessage---

[PHP] htaccess to make html act as php suffixed files

2013-06-11 Thread Tedd Sperling
Hi gang:

To get html pages to use php scripts, I've used:

RewriteEngine on
# handler for phpsuexec. -- this makes these prefixes considered for php
FilesMatch \.(htm|html)$
 SetHandler application/x-httpd-php
/FilesMatch

In a .htaccess file.

However, it works on one site, but not on another -- any ideas as to why?

Cheers,

tedd


_
t...@sperling.com
http://sperling.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] htaccess to make html act as php suffixed files

2013-06-11 Thread Stuart Dallas
On 11 Jun 2013, at 18:16, Tedd Sperling t...@sperling.com wrote:

 Hi gang:
 
 To get html pages to use php scripts, I've used:
 
 RewriteEngine on
 # handler for phpsuexec. -- this makes these prefixes considered for php
 FilesMatch \.(htm|html)$
 SetHandler application/x-httpd-php
 /FilesMatch
 
 In a .htaccess file.
 
 However, it works on one site, but not on another -- any ideas as to why?

At a rough guess there's an AllowOverride line in the main Apache config that's 
restricting what you can do in the .htaccess file.

-Stuart

-- 
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] htaccess to make html act as php suffixed files

2013-06-11 Thread Matijn Woudt
On Tue, Jun 11, 2013 at 7:17 PM, Stuart Dallas stu...@3ft9.com wrote:

 On 11 Jun 2013, at 18:16, Tedd Sperling t...@sperling.com wrote:

  Hi gang:
 
  To get html pages to use php scripts, I've used:
 
  RewriteEngine on
  # handler for phpsuexec. -- this makes these prefixes considered for php
  FilesMatch \.(htm|html)$
  SetHandler application/x-httpd-php
  /FilesMatch
 
  In a .htaccess file.
 
  However, it works on one site, but not on another -- any ideas as to why?

 At a rough guess there's an AllowOverride line in the main Apache config
 that's restricting what you can do in the .htaccess file.


Or the .htaccess usage is not enabled at all in that site.


Re: [PHP] htaccess to make html act as php suffixed files

2013-06-11 Thread Rodrigo Silva dos Santos

Em Ter 11 Jun 2013 15:08:59 BRT, Matijn Woudt escreveu:

On Tue, Jun 11, 2013 at 7:17 PM, Stuart Dallas stu...@3ft9.com wrote:


On 11 Jun 2013, at 18:16, Tedd Sperling t...@sperling.com wrote:


Hi gang:

To get html pages to use php scripts, I've used:

RewriteEngine on
# handler for phpsuexec. -- this makes these prefixes considered for php
FilesMatch \.(htm|html)$
SetHandler application/x-httpd-php
/FilesMatch

In a .htaccess file.

However, it works on one site, but not on another -- any ideas as to why?


At a rough guess there's an AllowOverride line in the main Apache config
that's restricting what you can do in the .htaccess file.



Or the .htaccess usage is not enabled at all in that site.



ALSO, you have to be sure this site is using apache. Otherwise, 
.htaccess are not available.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php