php-general Digest 13 Feb 2008 19:32:56 - Issue 5291
Topics (messages 269233 through 269256):
Re: memcached (was: session and Multi Server Architecture)
269233 by: mike
269235 by: Per Jessen
269236 by: mike
DOMXML Warning
269234 by: Miguel J. Jiménez
mike wrote:
On 2/12/08, Per Jessen [EMAIL PROTECTED] wrote:
Cache layers are cheap - it's a known science after all. The key
thing
(AFAICT) about memcached is that is _distributed_. You need this
when you don't have session persistency (session being the
client-to-server relationship).
On 2/13/08, Per Jessen [EMAIL PROTECTED] wrote:
Ah, but each server will only have what it needs for its clients. So if
you've got say 2000 clients spread over 10 servers, each server will
have the data relevant for its 200 clients. And there is no need for
network access everytime you
Hello,
I vote for Typo3 template system. If you work bunch of HTML only designers
this one best.
If you have some php avare designers, you should go with php based + memcached
template systems.
Second option was much faster anything else.
Just store the template into memcached and do some
About designers who don't know PHP.
There are two kinds
1). They draw only. They usualy don't know even HTML - they just draw.
2). They know HTML and make templates. usualy these people have to know HTML
and CSS very well. And I can't imagine how they can do that without knowing
at least Smarty
Hello All
I have a situation where I have to copy something like 1000 files one
by one to a temporary folder. Tar it using the system tar command and
let the user download the tar file.
Now while the copy is going on at server, I want to show some progress
to the user at client side. Most of the
...
You won't find many solutions (if any) faster than require(). If all you
have currently is developers you don't really have reason to use a
custom templating language to slow things down. Even when you do get
designers, they should:
1. Not have the final say before systems go live
2.
hi any one help me out, im using cronofirm, i need to field form details will
converted into pdf as well as it will go maill attachment doing this in
joomla, atleast i need this only php with out joomla.
--
View this message in context:
As an aside, you can save lines when debugging by doing:
echo 'pre' . print_r( $var, TRUE ) . '/pre';
OMG, thanks for that. Lines are so expensive nowadays and all.
Sarcasm aside, when I'm debugging I like to be as concise as possible.
thnx,
Chris
--
PHP General Mailing List
Am 2008-02-10 12:38:45, schrieb Robert Cummings:
Considering you marked the email as urgent, perhaps you have better
things to do than try to squeeze your problem into a regex. Feel free to
post your single regex when you find it... a side note of how much time
you wasted would be most
when I'm debugging I like to be as concise as possible.
Concise? Really?
--
Richard Heyes
http://www.websupportsolutions.co.uk
Knowledge Base and Helpdesk software for £299 hosted for you -
no installation, no maintenance, new features automatic and free
** New Helpdesk demo now
Miguel J. Jiménez wrote:
Hi, after enabling error reporting with E_ALL I am having this strange
warning while loading a XML:
Warning: DOMDocument::load() [function.DOMDocument-load]: Extra content
at the end of the document in [...]
The code I use is:
$dom = new DOMDocument();
Hi,
I have a problem with fsockopen in connection with the UNIX abstract
namespace.
To open a UNIX socket in the abstract namespace I have to add a nul byte
in front of the path.
Unfortunately PHP returns
fsockopen() [function.fsockopen]: unable to connect to unix://:0
(Connection refused)
for
On Wed, 2008-02-13 at 11:26 +, Richard Heyes wrote:
...
You won't find many solutions (if any) faster than require().
Mine is faster. Compiling to the requested page removes cache overhead
and file access overhead since the content is already
when I'm debugging I like to be as concise as possible.
Concise? Really?
Fair enough. Perhaps I should have said concise with my code, verbose
with my actual messages. :p
thnx,
Chris
Looking for
Ritesh Nadhani wrote:
Hello All
I have a situation where I have to copy something like 1000 files one
by one to a temporary folder. Tar it using the system tar command and
let the user download the tar file.
Now while the copy is going on at server, I want to show some progress
to the user at
At 3:46 PM -0800 2/11/08, Warren Vail wrote:
I finally settled for CSV, but even there Microsoft plays games with the
format, or so it seems.
Yes, it's a bugger.
M$ always has a better idea and replaces it daily.
Stick with CSV and let applications sort it out.
Cheers,
tedd
--
---
On Feb 13, 2008, at 426AM, pretty wrote
hi any one help me out, im using cronofirm, i need to field form
details will
converted into pdf as well as it will go maill attachment doing this
in
joomla, atleast i need this only php with out joomla.
For sending email:
The standard mail
On Feb 13, 2008 2:51 AM, Miguel J. Jiménez
[EMAIL PROTECTED] wrote:
Hi, after enabling error reporting with E_ALL I am having this strange
warning while loading a XML:
Warning: DOMDocument::load() [function.DOMDocument-load]: Extra content
at the end of the document in [...]
Is there an
On Feb 12, 2008 7:46 PM, Shawn McKenzie [EMAIL PROTECTED] wrote:
Can anyone recommend a preferably visual DB design tool? I normally use
mysql, but one that covered several types wood be cool. I'm on Linux,
so the new mysql workbench is a dud. I used it in an alpha or prior
version and it
On Feb 13, 2008 1:20 PM, Daniel Brown [EMAIL PROTECTED] wrote:
On Feb 13, 2008 2:51 AM, Miguel J. Jiménez
[EMAIL PROTECTED] wrote:
Hi, after enabling error reporting with E_ALL I am having this strange
warning while loading a XML:
Warning: DOMDocument::load() [function.DOMDocument-load]:
On Nov 29, 2007 10:59 AM, Peter Smit [EMAIL PROTECTED] wrote:
If nobody has a solution I think I'll report it as a bug tomorrow.
did you ever report a bug on this ?
i was messing around with it today, and i discovered that some urls,
partially work. for example the google translate 'api',
@4u schreef:
Hi,
I have a problem with fsockopen in connection with the UNIX abstract
namespace.
To open a UNIX socket in the abstract namespace I have to add a nul byte
in front of the path.
Unfortunately PHP returns
fsockopen() [function.fsockopen]: unable to connect to unix://:0
Hello,
on 02/13/2008 05:17 PM Nathan Nobbe said the following:
If nobody has a solution I think I'll report it as a bug tomorrow.
did you ever report a bug on this ?
i was messing around with it today, and i discovered that some urls,
partially work. for example the google translate
On 2/13/08, pretty [EMAIL PROTECTED] wrote:
hi any one help me out, im using cronofirm, i need to field form details will
converted into pdf as well as it will go maill attachment doing this in
joomla, atleast i need this only php with out joomla.
It might be overkill for your purposes, but
Hi,
thanks for your help - unfortunately it doesn't help.
With stream_socket_client () I get the message unable to connect to
unix://\0/tmp/hald-local/dbus-ZniNmvr5O0 (Connection refused) in
/root/dbus_session.php on line 272 which is at least better, because it
shows the full path.
I verified
Nathan Nobbe wrote:
On Nov 29, 2007 10:59 AM, Peter Smit [EMAIL PROTECTED] wrote:
If nobody has a solution I think I'll report it as a bug tomorrow.
did you ever report a bug on this ?
i was messing around with it today, and i discovered that some urls,
partially work. for example the
Nathan Nobbe wrote:
On Nov 29, 2007 10:59 AM, Peter Smit [EMAIL PROTECTED] wrote:
If nobody has a solution I think I'll report it as a bug tomorrow.
did you ever report a bug on this ?
http://bugs.php.net/bug.php?id=43468
--
Jim Lucas
Some men are born to greatness, some achieve
@4u schreef:
Hi,
thanks for your help - unfortunately it doesn't help.
With stream_socket_client () I get the message unable to connect to
unix://\0/tmp/hald-local/dbus-ZniNmvr5O0 (Connection refused) in
/root/dbus_session.php on line 272 which is at least better, because it
shows the full
On Feb 13, 2008 5:07 PM, Jim Lucas [EMAIL PROTECTED] wrote:
I see on the http://us.php.net/wrappers.php page that only php 5.1.0 and
newer
have this feature. What version of PHP are you using?
thanks for your time jim;
im using 5.2.5.
manuel, thanks for your time as well. of course i can
On Feb 13, 2008 5:10 PM, Jim Lucas [EMAIL PROTECTED] wrote:
Nathan Nobbe wrote:
On Nov 29, 2007 10:59 AM, Peter Smit [EMAIL PROTECTED] wrote:
If nobody has a solution I think I'll report it as a bug tomorrow.
did you ever report a bug on this ?
Hi again,
Jochem Maas schrieb:
@4u schreef:
[snip]
is the connection refused a permissions thing here? can you
verify that it's possible to connect?
I'm not sure but I don't think so. 1.) we speak about D-BUS and 2.) its
owner and root should always be able to connect to it. Especially the
On Wed, February 13, 2008 4:11 pm, Nathan Nobbe wrote:
On Feb 13, 2008 5:07 PM, Jim Lucas [EMAIL PROTECTED] wrote:
I see on the http://us.php.net/wrappers.php page that only php 5.1.0
and
newer
have this feature. What version of PHP are you using?
thanks for your time jim;
im using
On Wed, February 13, 2008 6:26 am, pretty wrote:
hi any one help me out, im using cronofirm, i need to field form
details will
converted into pdf as well as it will go maill attachment doing this
in
joomla, atleast i need this only php with out joomla.
To make a PDF, you can use:
On Wed, February 13, 2008 4:28 am, Ritesh Nadhani wrote:
I have a situation where I have to copy something like 1000 files one
by one to a temporary folder. Tar it using the system tar command and
let the user download the tar file.
Now while the copy is going on at server, I want to show
On Wed, February 13, 2008 1:51 am, Miguel J. Jiménez wrote:
Hi, after enabling error reporting with E_ALL I am having this strange
warning while loading a XML:
Warning: DOMDocument::load() [function.DOMDocument-load]: Extra
content
at the end of the document in [...]
The code I use is:
I have a class method which declares a static variable within.However,
across all the instances of the class, the current value on that variable
replicates. Is it the intended functionality? Example: class A {public
function foo() {static $i=0;$i++;}}$obj1 = new
On Feb 13, 2008 6:03 PM, Richard Lynch [EMAIL PROTECTED] wrote:
On Wed, February 13, 2008 4:28 am, Ritesh Nadhani wrote:
I have a situation where I have to copy something like 1000 files one
by one to a temporary folder. Tar it using the system tar command and
let the user download the tar
--- Pauau [EMAIL PROTECTED] wrote:
I have a class method which declares a static variable
within.However,
across all the instances of the class, the current value on that
variable
replicates. Is it the intended functionality? Example: class A {
public
function foo() {static
On Mon, February 11, 2008 1:23 pm, Richard Kurth wrote:
Is there a way that I can call a function that will send an email and
then move on redirecting to another website without having to what for
the email to send?
SendEmail($memberemail,$MailFrom,$MailHost);
On Feb 13, 2008 8:44 PM, Nirmalya Lahiri [EMAIL PROTECTED] wrote:
--- Pauau [EMAIL PROTECTED] wrote:
I have a class method which declares a static variable
within.However,
across all the instances of the class, the current value on that
variable
replicates. Is it the intended
On Feb 13, 2008 6:52 PM, Richard Lynch [EMAIL PROTECTED] wrote:
On Wed, February 13, 2008 4:11 pm, Nathan Nobbe wrote:
You may or may not want to file a bug report with curl itself,
depending on whether PHP is doing the stream file handling or curl is.
At a wild guess, I would expect it
On Mon, February 11, 2008 11:33 am, chetan rane wrote:
Can any one tell me what will be the best way to maintain session
information on a Multi Server Architecture i.e a Web Cluster.
Write a custom session handler which:
a) binhex the session data, and if it is less then 4K, put the actual
Write a custom session handler which:
a) binhex the session data, and if it is less then 4K, put the actual
session data into a Cookie on the user's computer. Then their
session data travels with them.
b) If it's MORE than 4K, put it into memcache (or is it memcached?)
on an external box,
Thanks. I use kubuntu and have all ooo including base, but it seems
very minimal. I connected via jdbc (as only other option is odbc for
mysql). I can't even see how to define a key as auto increment, there
is no option. I tried dbdesigner4 and it is very old and buggy on
linux. I found a
Lol...
If IE7 goes hun what?
I wonder what would happen in lt IE7 :)
GO FIREFOX!!!
Xavier
-Original Message-
From: Nathan Rixham [mailto:[EMAIL PROTECTED]
Sent: mercredi 13 février 2008 01:27
To: php-general@lists.php.net
Subject: Re: [PHP] Template system in PHP
*sigh* as always,
Xavier de Lapeyre wrote:
Lol...
If IE7 goes hun what?
I wonder what would happen in lt IE7 :)
GO FIREFOX!!!
Xavier
-Original Message-
From: Nathan Rixham [mailto:[EMAIL PROTECTED]
Sent: mercredi 13 février 2008 01:27
To: php-general@lists.php.net
Subject: Re: [PHP]
Hello
on 02/13/2008 08:11 PM Nathan Nobbe said the following:
On Feb 13, 2008 5:07 PM, Jim Lucas [EMAIL PROTECTED] wrote:
I see on the http://us.php.net/wrappers.php page that only php 5.1.0 and
newer
have this feature. What version of PHP are you using?
thanks for your time jim;
im
Sounds interesting...
Are your XML predefined or generated on the run? From say a DB?
Xavier
Please consider the environment before printing this mail note.
-Original Message-
From: Nathan Rixham [mailto:[EMAIL PROTECTED]
Sent: mercredi 13 février 2008 01:20
To:
On Thu, 2008-02-14 at 08:58 +0400, Xavier de Lapeyre wrote:
Sounds interesting...
Are your XML predefined or generated on the run? From say a DB?
From a compiler script that extends a base tag class... all it needs to
do is register the tag namespace, tag name, and the function that will
Hello,
on 02/13/2008 11:11 PM Ritesh Nadhani said the following:
I though I could apply some funkiness to it by using some AJAX based
progress bar for which the example showed some sort of hooking and all
which I thought was too much for such a job. I will talk to my boss
regarding this and
Wow,
Thnks...
Seems that are lots of routes to it.
Xavier de Lapeyre
Web Developer
Enterprise Data Services
www.eds.mu
Please consider the environment before printing this mail note.
-Original Message-
From: Robert Cummings [mailto:[EMAIL PROTECTED]
Sent: mercredi 13 février 2008
52 matches
Mail list logo