Re: [PHP] stop time out

2001-10-23 Thread Tim Zickus
On Tue, 2001-10-23 at 15:34, Gary wrote: > On sending a large number of newsletters out, how would you stop php > from timing out if you do not have access to the .ini file? http://www.php.net/manual/en/function.set-time-limit.php -- PHP General Mailing List (http://www.php.net/) To unsubscr

Re: [PHP] PHP Uptime error

2001-06-25 Thread Tim Zickus
Check the permissions on the files in /proc, which is where uptime gets its info from, most likely. You could probably even read the pseudo-file '/proc/loadavg' as 'nobody' directly from PHP given the appropriate file permissions. - Tim http://www.phptemplates.org > Richard Lynch's advice wa

Re: [PHP] how do i hide my .inc files in apache??

2001-01-17 Thread Tim Zickus
Combine these options: http://httpd.apache.org/docs/mod/mod_access.html#allow http://httpd.apache.org/docs/mod/core.html#files to exclude access to anything matching *.inc. The safest/easiest thing is to move the files outside of the document path and add that directory to your php include path

Re: [PHP] Variables in 'friendly' urls

2001-01-16 Thread Tim Zickus
You need to parse some of the environment variables to get this data, $pathArray = explode("/",$HTTP_SERVER_VARS[PATH_INFO]) seems to be particularly helpful. Put a call to phpinfo() into your file and see what's there. - Tim > Is there a way to pass variables as 'friendly' urls? So instead o

Re: [PHP] Populating table rows

2001-01-16 Thread Tim Zickus
You need a while loop: $sqlCurrentTraces = sqlExecute(...) while ($result = sqlFetchObject( $sqlCurrentTraces ) { ... your table stuff ... } - Tim http://www.phptemplates.org - Original Message - From: "Wade Halsey" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January

Re: [PHP] Re: [PHP-DEV] cookies and sessions security

2001-01-15 Thread Tim Zickus
> Wow, I never thought of using the remote IP! Thanks for the tip. I > am going to use it today for an authentication system I'm building. Please note that remote IP is NOT reliable. For clients behind the proxies & gateways of large ISP's (AOL is the prime example) you can see the remote addre

Re: [PHP] load balancing with php/apache?

2001-01-13 Thread Tim Zickus
We use Cisco LocalDirector to do load balancing in our web cluster. It's very configurable and has worked very well (so far!). - Tim > this might be a very silly question, but folks in my > company have now started asking some enterprise > questions like "sure, we'll do php but how about load >

Re: [PHP] mixing HTML and PHP code

2001-01-12 Thread Tim Zickus
> Well, even if it wouldn't be that much of a problem, it still is easier with > templates. As you admitted, doing it with templates is cleaner, on the HTML > part. This can be important, if when you change layout often and have to > work with designers. Amen. :) Some of the HTML folks I deal wi

Re: [PHP] mixing HTML and PHP code

2001-01-12 Thread Tim Zickus
> that's why I didn't implement one of those keyword things in binarycloud. > ergh. Pretty soon we're going to have to start limiting you to only mentioning binarycloud 2 times per hour or less. :-) :-) - Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PRO

Re: [PHP] mixing HTML and PHP code

2001-01-12 Thread Tim Zickus
> why bother with creating your own syntax? > why not just explain some _super_basic_ php syntax to the "html dude" and > have him do the code himself? Cause we like it better that way. :) Any time you're mixing code and HTML you're asking for trouble, IMHO. Or at least working a lot harder th

Re: [PHP] mixing HTML and PHP code

2001-01-12 Thread Tim Zickus
In Dreamtime, we'd just have a template that looks like this: {:each:output} {output}{more_output} {:next:more_output} {:end} Even a pot-smoking mac-using hippie web designer can understand that. :-) And it's readable in Dreamweaver or GoLive or any of those visual HTML tools. Fo

Re: [PHP] mixing HTML and PHP code

2001-01-11 Thread Tim Zickus
> Alex said: > let's assume you're working on a site, where there are php coders, and html > people: _every_single_ html production person prefers to have code embedded > in html, not the reverse. Agreed, amen, etc. :) On our large multi-member development team projects, we've gone even further