> 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
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
> 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
> 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
> 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
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
>
> 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
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
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
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
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
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
12 matches
Mail list logo