Hi Paul:
On Mon, Mar 30, 2009 at 05:22:58PM -0400, Paul A Houle wrote:
>
> $url_base="http://somesite.com/system/controller";;
> $path="object_type/verb.modifier/object_id";
> $url="{$url_base}/{$path}";
>
> note that this working correctly depends sensitively on how paths are
> used, for insta
In one of the slides, it says Facebook uses around 640,000 user
objects/variables to and from their APC cache.
Anyone have any ideas why so many variables? With over 200 million
users I would think 640k would be too few if the objects pertained to
individual users...
Konstantin
On 3/31/09, Kon
You don't need a library to fix that issue. Just use one of the trim
functions to trim the trailing / and add you own. If there is no
trailing slash, trim will do nothing.
$url_base= rtrim($url_base, '/').'/';
On Mon, Mar 30, 2009 at 5:22 PM, Paul A Houle wrote:
> I pretty frequently write code
On Mon, Mar 30, 2009 at 5:22 PM, Paul A Houle wrote:
> I pretty frequently write code like
>
> $url_base="http://somesite.com/system/controller";;
> $path="object_type/verb.modifier/object_id";
> $url="{$url_base}/{$path}";
>
> note that this working correctly depends sensitively on how paths are
On Tue, Mar 31, 2009 at 3:02 AM, Konstantin Rozinov wrote:
> Thanks for the tips Che and Tom. I will try the debugging tools to
> see where the bottlenecks are. I've got apc.stat set to 0, but the
> largest # of includes in the application is only about 8 in some
> files, so I wouldn't expect it
2009/3/31 Justin Dearing
> Hello all,
> I bought the PHP certification pack (10 practice exams and an exam
> voucher). So far I've taken two tests and done some studying. I've passed
> both, but I don't know by how many points, or how well I would do on the
> real test. On the section analysis I
Thanks for the tips Che and Tom. I will try the debugging tools to
see where the bottlenecks are. I've got apc.stat set to 0, but the
largest # of includes in the application is only about 8 in some
files, so I wouldn't expect it to make that much of difference, but
every little bit counts :)
I