php-general Digest 8 May 2006 17:05:31 - Issue 4116
Topics (messages 235700 through 235726):
Browser displays blank page, while request still being handled
235700 by: Rolf Wouters
235701 by: Rolf Wouters
235702 by: Chris
235703 by: Chris
235704 by:
Hello everybody
I'm having some strange behaviour in a PHP4 app I'm working on.
When I send my request to the server, it returns a blank page to me
within ca. 40 sec. On the server itself, my request is still being handled.
The script behind the request does the following:
- delete some files
Chris wrote:
Rolf Wouters wrote:
Hello everybody
I'm having some strange behaviour in a PHP4 app I'm working on.
When I send my request to the server, it returns a blank page to me
within ca. 40 sec. On the server itself, my request is still being
handled.
What exactly do you want help
Rolf Wouters wrote:
Hello everybody
I'm having some strange behaviour in a PHP4 app I'm working on.
When I send my request to the server, it returns a blank page to me
within ca. 40 sec. On the server itself, my request is still being
handled.
What exactly do you want help with? The blank
Rolf Wouters wrote:
Chris wrote:
Rolf Wouters wrote:
Hello everybody
I'm having some strange behaviour in a PHP4 app I'm working on.
When I send my request to the server, it returns a blank page to me
within ca. 40 sec. On the server itself, my request is still being
handled.
What
Chris wrote:
Rolf Wouters wrote:
Chris wrote:
Rolf Wouters wrote:
Hello everybody
I'm having some strange behaviour in a PHP4 app I'm working on.
When I send my request to the server, it returns a blank page to me
within ca. 40 sec. On the server itself, my request is still being
Rolf Wouters schrieb:
Try adding some flush() calls to the script. That might get the
browser to display some content.. Don't know whether it will work though.
That's something I haven't tried yet, so thanks for the tip.
You should show some progress bars or smiliar.
Having a blank page for
I'm guessing it's just a timeout issue - maximum execution time
exceeded type thing - check your php or apache error logs and see
what that tells you.. if nothing shows up, turn log_errors on, restart
apache and see what you get.
I don't think it's a timeout issue on the server-side, because
Eric Butera wrote:
One thing you could do is (assuming it's php4)
[...]
This is a bit of a pain though. :)
Unfortunately, changing the functions to use $params and using
extract() is a significant API change and as such it would be a large
amount of effort.
Chris
--
Chris Jenkinson
Tom Rogers wrote:
Here is a cutdown version of a class loader I use, It works for php4 and
php5 and with references. It should be easy to modify.
[...]
Sorry, this does not work with references as func_get_args() copies the
arguments passed, rather than keeping them as references. This means
Jochem Maas wrote:
that smells like bad design (but then again you should see some of my
code ;-)
I blame PHP not allowing func_get_args() to use references, rather than
bad design on my part. :)
i can say with confidence 'no, your out of luck'.
There must be some clever workaround
I'm guessing it's just a timeout issue - maximum execution time
exceeded type thing - check your php or apache error logs and see
what that tells you.. if nothing shows up, turn log_errors on, restart
apache and see what you get.
I don't think it's a timeout issue on the server-side,
Chris Jenkinson wrote:
Currently I have a function which accepts a limited number of parameters:
call_function($function_name, $var_1, $var_2);
I wish to modify the function to accept an indefinite number of
parameters, which may or may not be references.
The function call_function() then
Oops, returning the wrong thing. Corrected below...
function call_function($function_name, $vars)
{
$code = '$retval = '.$function.'(';
$params = array();
foreach (array_keys($vars) as $key)
$params[] = '$var['.$key.']';
$code .= implode(',', $params);
$code .= ');';
hi -
just wondering if anyone knows the answer to this.
i have an item being blowfish encrypted... with the same key, but on
my local and remote machines it gives a different result...
any ideas on this? we're both running simliar (5.x) versions of PHP +
the blowfish is an external (PEAR)
D_C schrieb:
hi -
just wondering if anyone knows the answer to this.
i have an item being blowfish encrypted... with the same key, but on
my local and remote machines it gives a different result...
any ideas on this? we're both running simliar (5.x) versions of PHP +
the blowfish is an
I have been searching and reading and testing for days, but I cannot
seem to locate a reliable team scheduling application utilizing PHP and
MySQL. I think that I am searching for the wrong thing search terms wise
as I turn up a lot of project scheduling apps, not people scheduling.
Some of the
We're talking about multiple copy operations. The first one copies 230
files (approx. 40mb) and the second one copies about 2200 files
(195mb). Most files are under 400kb a piece.
Time how long it takes you to manually copy that amount of data.
Tried the flush() calls in between different
[snip]
I am sure that I will not locate an app with all of these 'features' but
having it in PHP will allow me to make mods. Any ideas where I can find
something like this? TIA
[/snip]
Ahathe search term needs to be 'time and attendance' but still
not a lot out there that I can see so
At 11:07 PM +0200 5/7/06, Gustav Wiberg wrote:
Hi there!
Is there any way of converting a jpg to gif and change dpi on the fly?
Best regards
Gustav Wiberg
Gustav:
It depends how big the fly is.
But seriously, yes you can change a jpg into a gif by loading it in
as a jpg
BTW, would a timeout explain why the browser wants to repost the request
when I trie to view the source-code of the blank-page?
I think that's a firefox thing.. does the same thing happen in IE?
Yes, this also happens IE, but IE doesn't show a blank page, instead it
show me a Page cannot be
One thing I forgot... Thanks for taking the time and helping me out
with this problem, I should have said that a little bit earlier, but I
hope I'm not to late yet :-)
Greetz
Rolf
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Actually I don't believe this is exactly right from playing around with
Photoshop you can see that you change an image's resolution under Image -
Image Size and if you turn off Resample Image, it will retain the same pixel
dimensions.
GIF's are limited to 72dpi (or ppi if you prefer..
Is there anyway to make PHP normally suppress errors, but a piece of
code that would show errors on a particular page?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 5/8/06, John Meyer [EMAIL PROTECTED] wrote:
Is there anyway to make PHP normally suppress errors, but a piece of
code that would show errors on a particular page?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Turn display errors off
Break it up into sections and have it output the per/section pieces.
You could do iframes or something so that it all looks like a single
page, or split it up as delete files, upload files, create XML, flush DB
or whatever you are doing. I know it is not pretty, but getting it to
clear up is the
On 5/8/06, D_C [EMAIL PROTECTED] wrote:
hi -
just wondering if anyone knows the answer to this.
i have an item being blowfish encrypted... with the same key, but on
my local and remote machines it gives a different result...
any ideas on this? we're both running simliar (5.x) versions of PHP
On Mon, May 8, 2006 6:16 am, D_C wrote:
i have an item being blowfish encrypted... with the same key, but on
my local and remote machines it gives a different result...
___
David DC Collier
[EMAIL PROTECTED]
skype:
On Mon, May 8, 2006 3:41 am, Rolf Wouters wrote:
I'm having some strange behaviour in a PHP4 app I'm working on.
When I send my request to the server, it returns a blank page to me
within ca. 40 sec. On the server itself, my request is still being
handled.
It is possible that you are
regarding this
blowfish result varies local server
richard - tx for your comment below.
Could it be likely that a unix and a windows system would give
different results on blowfish, even using the same PHP code?
someone else mentioned mcrypt might be a better option...
This isn't really
On Mon, May 8, 2006 4:09 am, Rolf Wouters wrote:
The blank page. It shouldn't be there, and not when the request is
still running. Or am I mistaken in thinking that the browser should
wait with displaying _anything_ before it becomes the result-page from
the server.
This is definitely wrong
On Mon, May 8, 2006 4:49 am, Rolf Wouters wrote:
I don't think it's a timeout issue on the server-side, because I've
already tried setting MAX_EXECUTION_TIME and MAX_INPUT_TIME to
extremly
high values, and got the same result (i.e. the blank page).
By setting them to extremly low values I was
Wild Guesses:
Trailing spaces or even NULL characters may be confusing Blowfish in
some way.
You HAVE confirmed in every way possible that the inputs are the same,
right?...
I often use something like this with View Source in browser:
echo '$input1' (, strlen($input1), )hr /;
to be certain that
-TG:
At 10:51 AM -0400 5/8/06, [EMAIL PROTECTED] wrote:
Actually I don't believe this is exactly right from playing
around with Photoshop you can see that you change an image's
resolution under Image - Image Size and if you turn off Resample
Image, it will retain the same pixel
Hi,
Monday, May 8, 2006, 8:46:38 PM, you wrote:
CJ Tom Rogers wrote:
Here is a cutdown version of a class loader I use, It works for php4 and
php5 and with references. It should be easy to modify.
CJ [...]
CJ Sorry, this does not work with references as func_get_args() copies the
CJ arguments
On Sun, May 7, 2006 11:22 pm, Oliver John V. Tibi wrote:
while ($data != ) {
$document .= $data;
$data = socket_read( $resource, 1024 );
$logman-append(Read . strlen($data) . bytes);
}
This is going to help you
I need to specific emails to insert directly into a mysql database
The server uses sendmail/php/mysql
Essentially, all emails sent TO and FROM '[EMAIL PROTECTED]' are
emailed normally and, then, inserted into the company_email database.
Is there something out there that already does
On Sun, May 7, 2006 4:07 pm, Gustav Wiberg wrote:
Is there any way of converting a jpg to gif and change dpi on the fly?
?php
$source = /full/path/to/image.jpg;
$image = imagecreatefromjpeg($image);
//optional step, to REALLY trim that sucker down:
//cut this step out if it looks really
On Sun, May 7, 2006 1:20 pm, Chris Jenkinson wrote:
Currently I have a function which accepts a limited number of
parameters:
call_function($function_name, $var_1, $var_2);
I wish to modify the function to accept an indefinite number of
parameters, which may or may not be references.
The
Hi,
I am including a page from another server:
(include("http://"));
Works fine, but if for some reason that server is
not responding, the page that is calling it also never returns, so the user ends
up with a time out.
Is there something I can set that will not force
the calling
On Mon, May 8, 2006 12:45 pm, Graham Anderson wrote:
I need to specific emails to insert directly into a mysql database
The server uses sendmail/php/mysql
Essentially, all emails sent TO and FROM '[EMAIL PROTECTED]' are
emailed normally and, then, inserted into the company_email database.
[snip]
I am including a page from another server: (include(http://;));
Works fine, but if for some reason that server is not responding, the page that
is calling it also never returns, so the user ends up with a time out.
Is there something I can set that will not force the calling server
On Mon, May 8, 2006 12:55 pm, PHP wrote:
I am including a page from another server: (include(http://;));
Works fine, but if for some reason that server is not responding, the
page that is calling it also never returns, so the user ends up with a
time out.
Is there something I can set
Yeah...
The page does produce valid code. However, the manual didn't say anything
about timing out.
- Original Message -
From: Jay Blanchard [EMAIL PROTECTED]
To: PHP [EMAIL PROTECTED]; php php-general@lists.php.net
Sent: Monday, May 08, 2006 11:05 AM
Subject: RE: [PHP] include()
Hey, what do you know, readfile() times out too.
- Original Message -
From: Jay Blanchard [EMAIL PROTECTED]
To: PHP [EMAIL PROTECTED]; php php-general@lists.php.net
Sent: Monday, May 08, 2006 11:05 AM
Subject: RE: [PHP] include() question
[snip]
I am including a page from another
thanks :)
I'll check it out
g
On May 8, 2006, at 11:02 AM, Richard Lynch wrote:
On Mon, May 8, 2006 12:45 pm, Graham Anderson wrote:
I need to specific emails to insert directly into a mysql database
The server uses sendmail/php/mysql
Essentially, all emails sent TO and FROM '[EMAIL
Bad programmer! No Donut!
Just out of curiosity, why not just rsync the file over or copy it
straight to the server you are running? That way you don't have to
worry about it going missing. No telling when a server HD might go t*ts
up and you'll be left holding the bag(s).
Wolf
PHP wrote:
Normally I would, except that file does a lot of work, and it was too much
to have on the same server. That is why I was including it remotely.
- Original Message -
From: Wolf [EMAIL PROTECTED]
To: PHP [EMAIL PROTECTED]
Cc: php php-general@lists.php.net
Sent: Monday, May 08, 2006
Sounds like a good reason to lobby for new hardware!! :)
Also sounds like why it might be timing out for you as well. Depending
on how core that file is to your business and online presence (and
they both matter equally), you might want to look at investing in new
hardware for the server(s) so
First, a correction or clarification to what I was saying. PPI and DPI are not
the same. PPI is used for on-screen display, DPI is used for printing. The
quick and dirty with DPI is that printers can print dots, but each dot
represents only (typically) the standard CMYK (cyan, magenta,
On Monday 08 May 2006 12:52 pm, Ryan A wrote:
Ok, the last time this happened I think it was either
Jay B or John Holmes (the dude!) who claimed the
prize...this time, hands off, its mine...
615,960.00. I'm rich bearch!
Think we should split it equally among all PHP-general subscribers.
Ryan A wrote:
Ok, the last time this happened I think it was either
Jay B or John Holmes (the dude!) who claimed the
prize...this time, hands off, its mine...
615,960.00. I'm rich bearch!
Good ole John. I miss him. And Jason Wong. Where have all the good
times gone?
sorry about the
[snip]
Good ole John. I miss him. And Jason Wong. Where have all the good
times gone?
[/snip]
*sniff* I know
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tuesday 09 May 2006 03:10, John Nichel wrote:
Ryan A wrote:
Ok, the last time this happened I think it was either
Jay B or John Holmes (the dude!) who claimed the
prize...this time, hands off, its mine...
615,960.00. I'm rich bearch!
Good ole John. I miss him. And Jason Wong.
[snip]
Jason Wong - Gremlins Associates - www.gremlins.biz
[/snip]
Surely my eyes deceive mea Jason Wong sighting!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jason Wong wrote:
On Tuesday 09 May 2006 03:10, John Nichel wrote:
Ryan A wrote:
Ok, the last time this happened I think it was either
Jay B or John Holmes (the dude!) who claimed the
prize...this time, hands off, its mine...
615,960.00. I'm rich bearch!
Good ole John. I miss him. And
His name was invoked and he appears (didn't even have to say it three times)!!
All too reminiscent of Kibo of usenet days of old. hah
So if you won the international lottery, Jason, where's the latte and/or beer
that we all got coming to us? Just skypecast me an e-coupon to my iPod GPS.
On 5/4/06, Marten Lehmann [EMAIL PROTECTED] wrote:
Hello,
I want to use htmlentities() with UTF-8, which I can set with the third
parameter. But to use the third parameter, I have to provide the second
parameter. Currently the default for the second parameter is ENT_COMPAT.
But as this might
hi...
can someone tell me if there's a group where people who are interested in
starting/contributing to embryoninc startup concepts can get together/meet,
exchange ideas, etc...
i'm not referring to meetings where you do VC/Funding presentations, I'm
basically talking about meetings where you
Is it a compliment when a spammer spoofs your domain? *heheh*
Cheers,
Rob.
--
..
| InterJinn Application Framework - http://www.interjinn.com |
::
| An application and
-TG:
I apologize for my sarcasm.
Let's start at basic Images 101, shall we? Please be opened minded
enough to consider.
The original poster simply asked:
Is there any way of converting a jpg to gif and change dpi on the fly?
We both agree that we can change the image from a jpg to a gif,
. |
`'
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
__ NOD32 1.1525 (20060508) Information __
This message was checked by NOD32 antivirus system.
http://www.eset.com
--
PHP General Mailing List
[snip]
can someone tell me if there's a group where people who are interested
in
starting/contributing to embryoninc startup concepts can get
together/meet,
exchange ideas, etc...
[/snip]
Since this is not strictly PHP make sure to include some kinda'
off-topic reference in the subject line
ãËÁèÅèÒÊØ´... â»Ãá¡ÃÁÊ觢èÒÇ·Ò§ÍÕàÁÅÅì ·ÕèªèÇÂãËé¡ÒÃÊè§ÍÕàÁÅÅì¶Ö§ÅÙ¡¤éÒ ËÃ×Í
ºØ¤¤ÅÍ×è¹ æ
à»ç¹¨Ó¹Ç¹ÁÒ¡ æ â´ÂãªéàÇÅÒ¹éÍ¡ÇèÒà´ÔÁ
- ÃͧÃѺÃкº¡ÒÃÊ觷ءÃкº
- ·Ó§Ò¹ÃÇ´àÃçÇ ªÁ.ÅÐ 20,000 - 60,000 ÍÕàÁÅÅì
- ÃкºÃÒ§ҹ¼Å¡ÒÃÊè§ áÅкѹ·Ö¡Å§°Ò¹¢éÍÁÙÅ à¾×èÍà¡çºà»ç¹Ê¶ÔµÔ
- Ãкº Ṻä¿Ãì¡Ñº¨´ËÁÒ ÊÙ§ÊØ´¶Ö§
[EMAIL PROTECTED]
如有打扰,敬请谅解!
≡≡≡
有效开发国际市场与订单获取技巧
2006年5月20-21日厦门
2006年6月1-2日 深圳
2006年6月8-9日 无锡
≡
【主-办-单-位】华夏企管网/易腾企管
66 matches
Mail list logo