php-general Digest 26 Sep 2006 06:17:10 - Issue 4368
Topics (messages 242199 through 242215):
Re: array_sum($result)=100
242199 by: Ahmad Al-Twaijiry
242202 by: Ahmad Al-Twaijiry
242209 by: tedd
Re: reading urlencoded data from POST
242200 by: Marek 'MMx'
php-general Digest 26 Sep 2006 19:18:03 - Issue 4369
Topics (messages 242216 through 242233):
Re: Print or Echo takes lots of time
242216 by: Colin Guthrie
242224 by: David Tulloh
242232 by: Børge Holen
Re: How would you do this ?
242217 by: Kae Verens
Jad madi wrote:
I'm building an RSS aggregator so I'm trying to find out the best way to
parse users account feeds equally so Lets say we have 20.000 user with
average of 10 feeds in account so we have about
200.000 feed
How would you schedule the parsing process to keep all accounts always
Jad madi wrote:
I'm building an RSS aggregator so I'm trying to find out the best way to
parse users account feeds equally so Lets say we have 20.000 user with
average of 10 feeds in account so we have about
200.000 feed
How would you schedule the parsing process to keep all accounts always
Jad madi wrote:
I'm building an RSS aggregator so I'm trying to find out the best way to
parse users account feeds equally so Lets say we have 20.000 user with
average of 10 feeds in account so we have about
200.000 feed
How would you schedule the parsing process to keep all accounts always
Kae Verens wrote:
every 6 hours, check feeds who's primes are divisible by $i, then add
1 to $i
of course, this should be check feeds where $i%(the prime) is 0
Kae
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Google Kreme wrote:
On 25 Sep 2006, at 06:11 , Sancar Saran wrote:
$strPage = html yada dayda;
...
$strPage.= another html tags;
...
$strPage.= getSqlDataAndCreateSomeHtmlCOde();
If this is generating hundred of K of HTML, use ' instead of
(yes, it's faster).
In this example tho',
bruce wrote:
i should state... while i've seen different apps... i'm more interested in
any that have actually been used by you, or someone you know!!
an app that comes with references!
try this?
http://kfm.verens.com/
I'm biased, though - I wrote the thing.
Kae
--
PHP General Mailing List
Google Kreme wrote:
On 25 Sep 2006, at 06:11 , Sancar Saran wrote:
...
If this is generating hundred of K of HTML, use ' instead of
(yes, it's faster).
I've seen this stated several times and at first glance it seems to make
sense. The double quoted version has all the \n and related
Hey all,
I want to write a module for xcart (a commercial
'shopping cart') which would be like what Amazon.com
offers when you go to shop on their site... when you
click on a product to see its details you get a little
box below that recommends more products based on what
others have purchased
Am 2006-09-25 23:00:15, schrieb David Robley:
xchm is probably what you are thinking of - xchm.sourceforge.net
This afternoon I will go downloading it.
Greetings
Michelle Konzack
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux
Am 2006-09-25 08:33:52, schrieb Ray Hauge:
It's not the best in the world, but it works.
http://xchm.sourceforge.net/index.html
But since the documentation is online and always updated that way, I prefer
to
just use the website.
Me too, but IF you live mobil like me (I have an 88-tons
Hi to all,
I am little bit confused to use the mysql_free_result($result)
function.because i searched google - they told dont use this function to php
4.X and also it says clearly When you are done with a result set, you must
free the memory it uses by calling
You have a User table and a Product table, then a linking table that
joins users with products that they have bought.
Given product A you get all users {B} who have bought product A, you
then get a list of all products {C} that they have bought. You group
{C} by product and get a count, order by
I have an issue with sending email via PHP which may be a configuration problem
with either PHP, Apache, or possibly a Sendmail, but I don't know which yet. I
figured I'd start here first.
Here's the situation. I have several webpages that send email to users for
various reasons. We have
Why not validate the email address before you send. I use something
like this to kick back an error that says you put in a bad email
address. It won't tell you about a wrong email address, but it will
tell you if they forgot to put in the @ sign and stuff.
if
On Tuesday 26 September 2006 02:07, Robert Cummings wrote:
On Mon, 2006-09-25 at 17:39 -0600, Google Kreme wrote:
I'm sitting here with 4 Gigs of RAM trying to figure out how to use
it all... :-) (Me, in 2005)
Not really related to the post... but I find a good way to eat up 4 gigs
of RAM
I have an issue with sending email via PHP which may be a configuration
problem with either PHP, Apache, or possibly a Sendmail, but I don't know
which yet. I figured I'd start here first.
Here's the situation. I have several webpages that send email to users for
various reasons. We
Hi All,
Does anyone on this list know the status of PHPDocWriter?
Is it an abandoned project?
--
Leonard Burton, N9URK
[EMAIL PROTECTED]
The prolonged evacuation would have dramatically affected the
survivability of the occupants.
--
PHP General Mailing List (http://www.php.net/)
To
I have to read a directory (on a windows machine) from another box (a
linux machine) and I thought that I could set the handle to the IP
address of the windows box, but that does not work. Do I have to open a
socket or is there another way?
Thanks!
--
PHP General Mailing List
I wouldn't use it myself, but a buddy who is using Frontpage is complaining
that it automatically changes ? To script language and wanted to know
how to get around this. I suggested not using FP and get a real editor.
Thanks to others that replied.
B
-Original Message-
From:
On Tue, September 26, 2006 11:09 am, [EMAIL PROTECTED] wrote:
I have an issue with sending email via PHP which may be a
configuration problem with either PHP, Apache, or possibly a Sendmail,
but I don't know which yet. I figured I'd start here first.
Here's the situation. I have several
On Tue, September 26, 2006 11:16 am, Kevin Murphy wrote:
Why not validate the email address before you send. I use something
like this to kick back an error that says you put in a bad email
address. It won't tell you about a wrong email address, but it will
tell you if they forgot to put in
On Tue, September 26, 2006 8:44 am, suresh kumar wrote:
I am little bit confused to use the
mysql_free_result($result) function.because i searched
google - they told dont use this function to php 4.X
and also it says clearly When you are done with a
result set, you must free
On Tue, September 26, 2006 7:18 am, Ryan A wrote:
I want to write a module for xcart (a commercial
'shopping cart') which would be like what Amazon.com
offers when you go to shop on their site... when you
click on a product to see its details you get a little
box below that recommends more
Richard Lynch wrote:
if(!mail($to,$subject,$msg,$headers)) { die(Unable to send); }
*IF* you are using PHP5 (?) and *IF* your security settings allow it,
the optional fifth argument will let you specify the real sender of
the message, which the responder may or may not be using to bounce
On Mon, September 25, 2006 3:59 pm, bruce wrote:
i should state... while i've seen different apps... i'm more
interested in
any that have actually been used by you, or someone you know!!
an app that comes with references!
Google for php file manager - there are lots of them around, but
On Mon, September 25, 2006 8:26 am, Jad madi wrote:
I'm building an RSS aggregator so I'm trying to find out the best way
to
parse users account feeds equally so Lets say we have 20.000 user with
average of 10 feeds in account so we have about
200.000 feed
How would you schedule the parsing
On Tue, September 26, 2006 1:17 am, Chris wrote:
Cache the feeds for a period of time.
Oh yeah.
I forgot that part.
Here's some code I posted for that a few months back
http://www.l-i-e.com/FeedMulti/FeedMulti.phps
Note that the above opens up multiple feeds at once.
You do *not* want to sit
On Mon, September 25, 2006 7:11 am, Sancar Saran wrote:
When I was check the performance of my system I found interesting
resuts.
My code stores html output into a variable. When page creation
complete I
printed out the variable.
Problem was generation html code takes 0.5 second and just
On Tue, September 26, 2006 12:16 pm, Børge Holen wrote:
On Tuesday 26 September 2006 02:07, Robert Cummings wrote:
On Mon, 2006-09-25 at 17:39 -0600, Google Kreme wrote:
I'm sitting here with 4 Gigs of RAM trying to figure out how to
use
it all... :-) (Me, in 2005)
Not really related to
Try using http://php.net/set_error_handler and see if you can trap the
errors.
You'll want to test it with a test script that intentionally causes
the errors.
On Mon, September 25, 2006 5:53 am, James Nunnerley wrote:
Sometime ago, I posted the email below, regarding some problems with a
file
On Sun, September 24, 2006 11:44 pm, Ramiro wrote:
i'm trying to find a good solution to this problem. I want download
files
from a directory outside DocumentRoot.
This files cannot be downloaded through direct url like
http://site/test.zip. It must be downloaded after user login.
I know i
On 9/26/06, Richard Lynch [EMAIL PROTECTED] wrote:
On Tue, September 26, 2006 7:18 am, Ryan A wrote:
I want to write a module for xcart (a commercial
'shopping cart') which would be like what Amazon.com
offers when you go to shop on their site... when you
click on a product to see its
On Mon, September 25, 2006 7:52 am, Miles Thompson wrote:
$filenam = $_REQUEST[filenam];
if ($filenam){
$contents = file_get_contents( ../above_root/ .
$filenam );
echo $contents;
}else{
echo Not found;
On Mon, September 25, 2006 3:57 pm, Christopher Weldon wrote:
On 2:36 pm 09/25/06 Ramiro Cavalcanti [EMAIL PROTECTED] wrote:
Hi Christopher,
at first, thank you for your answer.
I'd like to know if it's possible use this when php is running like
cgi (php-suexec). I've put this code at
On Mon, September 25, 2006 1:17 am, Lester Caine wrote:
TinyMCE...I don't know how good/bad TinyMCE is, but if you can't use
FCK, you could try it.
http://tinymce.moxiecode.com/
Looks like we are all looking for something that actually works :(
I switched TinyMCE off because it keeps
On Sat, September 23, 2006 10:39 am, Marcus Bointon wrote:
On 23 Sep 2006, at 16:37, Ray Hauge wrote:
Could you do something like this?
$private = Myclass
$protected = *;
No, because if I have a property called 'Myclassfield1', after
casting to an array I can't tell if it's private
On Tue, September 26, 2006 5:08 pm, Travis Doherty wrote:
They should *always* be sending to the envelope from address (SMTP
`MAIL
FROM` command), with an empty envelope sender (SMTP `MAIL FROM:`) to
avoid loops.
There was a brief period in time where there was an Errors-to: header
that some
Hi,
Like to get some advice from you guys...
I've a html form page and the Action is link to a php script to
process the form dataI would like to have a progress bar once the
user hit the Submit button...The php script take quite sometime to
produce the result since it is connecting to
On Tue, September 26, 2006 5:08 pm, Travis Doherty wrote:
The RFC's are a rather in depth, so here is an excerpt from Wikipedia
that pretty much sums up what the RFCs do contain:
[http://en.wikipedia.org/wiki/Bounce_message]
For awhile, I've been pondering the advisability of sending a Bounce
On Tue, September 26, 2006 4:08 am, Colin Guthrie wrote:
Google Kreme wrote:
On 25 Sep 2006, at 06:11 , Sancar Saran wrote:
$strPage = html yada dayda;
...
$strPage.= another html tags;
...
$strPage.= getSqlDataAndCreateSomeHtmlCOde();
If this is generating hundred of K of HTML, use '
On 26 Sep 2006, at 23:52, Richard Lynch wrote:
You start using that PHP5 private/protected stuff, and it just doesn't
make sense to coerce it to an array, imho.
I'm quite aware of that, and in this case I'm using it in a one-off
string-and-glue fix for a specific problem until I fix it
The FTP will be slower, almost for sure.
He's doing it because he can FTP in as himself, and not as the
nobody user Apache runs as.
Your webhost has you running as yourself already, so you can chmod
your files at will in PHP.
On Mon, September 25, 2006 2:11 pm, Andy Hultgren wrote:
Tedd,
On Sat, September 23, 2006 1:10 am, Michael Williams wrote:
Is there any way at all by which to persist cookies across cURL
sessions? Basically I have a login page that sets cookies and looks
for them for logged in status so that the user may use the site to
their heart's content. The
On Fri, September 22, 2006 4:48 pm, Michelle Konzack wrote:
I like to have html files which I can put on my internal
documentation server.
I believe http://mirrors.php.net or somesuch has instructions on how
to++ run your own private mirror, with (or without) UCN*
* UCN - User Contributed
On 9/24/06, Ramiro [EMAIL PROTECTED] wrote:
Hi,
i'm trying to find a good solution to this problem. I want download files
from a directory outside DocumentRoot.
This is a standard procedure.
This files cannot be downloaded through direct url like
http://site/test.zip. It must be downloaded
On 9/26/06, Richard Lynch [EMAIL PROTECTED] wrote:
On Tue, September 26, 2006 12:16 pm, Børge Holen wrote:
On Tuesday 26 September 2006 02:07, Robert Cummings wrote:
On Mon, 2006-09-25 at 17:39 -0600, Google Kreme wrote:
I'm sitting here with 4 Gigs of RAM trying to figure out how to
use
On Mon, September 25, 2006 3:58 pm, Andy Hultgren wrote:
So I tried to implement the example code given in the php tmpfile()
documentation and it wouldn't do anything, which suggests that I don't
have
access to the /tmp directory. Also, the FAQ's section on my server's
website say that /tmp
On 9/26/06, Richard Lynch [EMAIL PROTECTED] wrote:
On Tue, September 26, 2006 11:09 am, [EMAIL PROTECTED] wrote:
I have an issue with sending email via PHP which may be a
configuration problem with either PHP, Apache, or possibly a Sendmail,
but I don't know which yet. I figured I'd start
On Tue, September 26, 2006 6:35 pm, Curt Zirzow wrote:
I wonder what would happen if you put your swap on a RAM disk?
I actually have done this, it works like a charm :)
you just have to ensure swap doesn't run out... of course i'd only
recomend this on a dedicated machine for like
On a side note.. have i ever mentioned the email system really sucks.
Curt.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, September 26, 2006 6:29 pm, Curt Zirzow wrote:
This files cannot be downloaded through direct url like
http://site/test.zip. It must be downloaded after user login.
This will need some sort of rewrite or 404 handling on the webserver
level
Au contraire, my good friend.
On Tue, 2006-09-26 at 18:46 -0500, Richard Lynch wrote:
On Tue, September 26, 2006 6:35 pm, Curt Zirzow wrote:
I wonder what would happen if you put your swap on a RAM disk?
I actually have done this, it works like a charm :)
you just have to ensure swap doesn't run out... of course i'd
-- Forwarded Message --
Subject: Re: [PHP] Print or Echo takes lots of time
Date: Wednesday 27 September 2006 06:37
From: Børge Holen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
On Wednesday 27 September 2006 01:46, Richard Lynch wrote:
On Tue, September 26, 2006 6:35 pm, Curt
55 matches
Mail list logo