php-general Digest 26 May 2009 14:54:50 - Issue 6142
Topics (messages 293151 through 293159):
Re: templating engine options
293151 by: Sancar Saran
293152 by: Andrea Giammarchi
293154 by: Nathan Rixham
293159 by: tedd
Background Process
293153 by:
On Tuesday 26 May 2009 03:48:41 am Nathan Rixham wrote:
Sancar Saran wrote:
?php
$content = 'No Comments';
if(isset($comments) and is_array($comments) and count($comments) 0 ) {
$content = '';
foreach( $comments as $index = $comment ) : $content. = a href='.
Finally somebody mentioned XSL Transformations. Time is relative because as you
need time to learn an API to produce quickly only after a while, thanks to
knowledge and confidence, XSL is the same with the advantage that you transform
a data structure, rather than work over raw programming
Hi,
I have two php scripts, first one must pass arguments to second(the php
script that will take more time to process for example inserting 100
records to db, data come from first script). I search around web and find
below function:
function execInBackground($path, $exe, $additional) {
Andrea Giammarchi wrote:
Finally somebody mentioned XSL Transformations. Time is relative because as you
need time to learn an API to produce quickly only after a while, thanks to
knowledge and confidence, XSL is the same with the advantage that you transform
a data structure, rather than
shahrzad khorrami wrote:
Hi,
I have two php scripts, first one must pass arguments to second(the php
script that will take more time to process for example inserting 100
records to db, data come from first script). I search around web and find
below function:
function
popen will allow you to read/write data to a file but not execute the php code.
i am assuming that you want to execute the php script like
include/require does.. if that is the case system() will serve your
purposebut this requires php to be installed as a CLI
?php
$res =
seems more of a firefox question than a PHP question...
just replace form id=formemail method=post action=UserPrefs
with form id=formemail method=post action=UserPrefs
autocomplete=off
https://developer.mozilla.org/en/How_to_Turn_Off_form_Autocompletion
--
PHP General Mailing List
On 22 May 2009 20:41, Dee Ayy advised:
That's what I had in my first post. What are the rest of
your headers?
This is what is now deployed and I consider this issue resolved, but
allowing spaces in the filename across IE, FF, and Safari browsers
would be the real solution.
Haven't tried
At 12:46 PM -0400 5/25/09, Robert Cummings wrote:
I'm going to leave this discussion here since it's eating up too much of
my time :)
Cheers,
Rob.
Rob:
It's always been my experience to listen when you talk. -- so -- when
you find some time AND have the inclination, could you prepare a
Ashley,
Don't scare me like that. I know I'm losing my eye sight, but a
copy-paste-diff shows your
header(Content-Disposition: attachment; filename=\$filename\);
differs from my original post's
header(Content-Disposition: attachment; filename=\$name\);
by only the text file. This method (with
At 8:13 PM +0100 5/25/09, Stuart wrote:
I too have had an off-list discussion with Nathan on this topic, and a
productive one at that.
-Stuart
Great! Now you guys are having a three-some without me. :-)
While I wasn't getting it, I was trying.
Cheers,
tedd
--
---
http://sperling.com
Something that seriously annoys me about PHP is the fact that it has
a configuration file which can *completely* change the behaviour of
the language. Take the following for example:
--
function parse_to_variable($tplname, $array = array())
{
$fh =
On Tue, 2009-05-26 at 18:30 +0100, hessi...@hessiess.com wrote:
Something that seriously annoys me about PHP is the fact that it has
a configuration file which can *completely* change the behaviour of
the language. Take the following for example:
--
On Tue, May 26, 2009 at 13:30, hessi...@hessiess.com wrote:
Something that seriously annoys me about PHP is the fact that it has
a configuration file which can *completely* change the behaviour of
the language.
We are very, very sorry that we've created an extensible language
that pleases
Robert Cummings wrote:
On Tue, 2009-05-26 at 18:30 +0100, hessi...@hessiess.com wrote:
Something that seriously annoys me about PHP is the fact that it has
a configuration file which can *completely* change the behaviour of
the language. Take the following for example:
On Tue, May 26, 2009 at 1:47 PM, Robert Cummings rob...@interjinn.com wrote:
[snip] Such settings are usually made
available to people who know what they're doing and who need specific
functionality.
Cheers,
Rob.
Not *quite* right. The problem is that such settings are made
available to
On Tue, 2009-05-26 at 14:10 -0400, Andrew Ballard wrote:
On Tue, May 26, 2009 at 1:47 PM, Robert Cummings rob...@interjinn.com wrote:
[snip] Such settings are usually made
available to people who know what they're doing and who need specific
functionality.
Cheers,
Rob.
Not *quite*
On Tue, 2009-05-26 at 10:09 -0500, Dee Ayy wrote:
Ashley,
Don't scare me like that. I know I'm losing my eye sight, but a
copy-paste-diff shows your
header(Content-Disposition: attachment; filename=\$filename\);
differs from my original post's
header(Content-Disposition: attachment;
On Tue, May 26, 2009 at 2:18 PM, Robert Cummings rob...@interjinn.com wrote:
On Tue, 2009-05-26 at 14:10 -0400, Andrew Ballard wrote:
On Tue, May 26, 2009 at 1:47 PM, Robert Cummings rob...@interjinn.com
wrote:
[snip] Such settings are usually made
available to people who know what they're
I am probably not doing this right, but where else can I turn (don't
answer that!)...
this morning my wonderful local conEdison decided they were going to
waste my day by shutting off the power exactly as I was booting up my
server.
Hence, I cannot access a critical database... fortunately, I can
On Tue, 2009-05-26 at 15:37 -0400, PJ wrote:
I am probably not doing this right, but where else can I turn (don't
answer that!)...
this morning my wonderful local conEdison decided they were going to
waste my day by shutting off the power exactly as I was booting up my
server.
Hence, I
[snip]
...this morning my wonderful local conEdison ...
[/snip]
[snip]
... Hydro Quebec just f***ed my server just as I was booting...
[/snip]
I see that you asked this on the MySQL list which would be the correct
place to do this.
--
PHP General Mailing List (http://www.php.net/)
To
Ashley Sheridan wrote:
On Tue, 2009-05-26 at 15:37 -0400, PJ wrote:
I am probably not doing this right, but where else can I turn (don't
answer that!)...
this morning my wonderful local conEdison decided they were going to
waste my day by shutting off the power exactly as I was booting up
Jay Blanchard wrote:
[snip]
...this morning my wonderful local conEdison ...
[/snip]
[snip]
... Hydro Quebec just f***ed my server just as I was booting...
[/snip]
I see that you asked this on the MySQL list which would be the correct
place to do this.
As you are aware, you have
On Tue, 2009-05-26 at 15:53 -0400, PJ wrote:
Ashley Sheridan wrote:
On Tue, 2009-05-26 at 15:37 -0400, PJ wrote:
I am probably not doing this right, but where else can I turn (don't
answer that!)...
this morning my wonderful local conEdison decided they were going to
waste my day
[snip]
As you are aware, you have nothing to offer, for if you did, you would
have posted it on the MySQL list. So why are you butting in? I know what
I am doing and where to look for help... obviously, the other list isn't
as knowledgable as is this one. :-P
[/snip]
Oh a little testy
[snip]
phpMyAdmin closes when trying to access that db and asks for a login.
[/snip]
Can you connect to the MySQL server from the command line and see the
database? If so your likely problem is a config file issue with
phpmyadmin?
--
PHP General Mailing List (http://www.php.net/)
To
kranthi wrote:
seems more of a firefox question than a PHP question...
just replace form id=formemail method=post action=UserPrefs
with form id=formemail method=post action=UserPrefs
autocomplete=off
https://developer.mozilla.org/en/How_to_Turn_Off_form_Autocompletion
Thanks!
I found that
On 5/25/09 8:48 PM, Nathan Rixham nrix...@gmail.com wrote:
Sancar Saran wrote:
?php
$content = 'No Comments';
if(isset($comments) and is_array($comments) and count($comments) 0 ) {
$content = '';
foreach( $comments as $index = $comment ) : $content. = a href='.
thanks for taking the trouble to write your requirements. it made
interesting reading.
i've questions on three points below...
On 5/25/09 6:44 PM, Nathan Rixham nrix...@gmail.com wrote:
XSL Templates are near perfect, built for the job, and very powerful -
but time hasn't favoured them well;
Tom Worster wrote:
thanks for taking the trouble to write your requirements. it made
interesting reading.
and thanks for taking the time to read it! it was a big one.
i've questions on three points below...
On 5/25/09 6:44 PM, Nathan Rixham nrix...@gmail.com wrote:
XSL Templates are near
Tom Worster wrote:
On 5/25/09 8:48 PM, Nathan Rixham nrix...@gmail.com wrote:
Sancar Saran wrote:
?php
$content = 'No Comments';
if(isset($comments) and is_array($comments) and count($comments) 0 ) {
$content = '';
foreach( $comments as $index = $comment ) : $content. = a href='.
thanks for the pointers on xsl. i'll take a look.
On 5/26/09 6:05 PM, Nathan Rixham nrix...@gmail.com wrote:
it seems you're saying that there would be some kind of an intermediate
level of data representation that a script can be invoked to produce from
which different templates can produce
Processes are only spawned in shitty webserver processing models that high
performing webservers don't even have. If you'll read my first link, php is
rarely the client-side bottleneck (which is all that matters). And do some
research, on a page that hits the database for me, the query is
What I am trying to achieve is to have the server do less processing. Like I
said PHP is a server side scripting language and each time a request is made a
process is spawned and processes are heavy weight as compared to a thread which
is a light weight process. So I want to take away much
I seriously doubt it. PHP is a better language in almost all regards and is
much much more popular. A lot of people make that decision every day and
I'd say most of them choose PHP. Why ask that, though?
On Tue, May 26, 2009 at 11:36 PM, tRace DOliveira married...@yahoo.comwrote:
Do you
If you think that's a problem, then yes. Look into nginx. But honestly,
you're not going to notice a speed improvement at all (maybe if you were
serving 2000 loads/sec you would, but only then if it's on a small box).
On Tue, May 26, 2009 at 11:52 PM, tRace DOliveira
38 matches
Mail list logo