Re: [PHP] upload big files

2011-04-17 Thread Tolas Anon
On Thu, Apr 14, 2011 at 10:36 AM, Ricardo Martinez wrote: > Hi List! > > Need can upload big files ( around 300MB ) the system must be easy of use ( > cann't use ftp ). > > Was thinking in make it, using a form with post, and update the cfg files > for can upload big files. > But don't know how it

[PHP] Re: session_start() may take 5 seconds :(

2011-03-31 Thread Tolas Anon
On Thu, Mar 31, 2011 at 4:53 PM, Tolas Anon wrote: > On Thu, Mar 31, 2011 at 7:58 AM, Tolas Anon wrote: >> My web-app sometimes takes just over 5 seconds to execute a single >> start_session() statement. >> No other connections are open to the site when i hit the button that

[PHP] Re: session_start() may take 5 seconds :(

2011-03-31 Thread Tolas Anon
On Thu, Mar 31, 2011 at 7:58 AM, Tolas Anon wrote: > My web-app sometimes takes just over 5 seconds to execute a single > start_session() statement. > No other connections are open to the site when i hit the button that > makes this happen, the session is just 78kb on a local di

Re: [PHP] session_start() may take 5 seconds :(

2011-03-30 Thread Tolas Anon
On Thu, Mar 31, 2011 at 8:10 AM, Negin Nickparsa wrote: > session1.php: > session_start(); > $_SESSION['s1']='sth'; > header("location: session2.php?".SID); > ?> > session2.php: > session_start(); > if(isset($_SESSION['s1'])) > echo $_SESSION['s1']; > else > die("No session!"); > ?> > > ok, tha

[PHP] session_start() may take 5 seconds :(

2011-03-30 Thread Tolas Anon
My web-app sometimes takes just over 5 seconds to execute a single start_session() statement. No other connections are open to the site when i hit the button that makes this happen, the session is just 78kb on a local disk, and it's consistent behavior. So far, it only happens when i request certai

[PHP] [SOLVED] Re: [PHP] curl_exec won't return (any data)

2011-02-11 Thread Tolas Anon
fromTolas Anon to libcurl development dateFri, Feb 11, 2011 at 5:09 PM subject Re: php curl_exec won't return any data, libcurl-7.21.3.0, php 5.3.4, WampServer2.1d-x64.exe mailed-by gmail.com On Fri, Feb 11, 2011 at 1:32 PM, Daniel Stenberg wrote: > On Fri

[PHP] Re: ob_flush, does it cause data to be sent over the wire immediately?

2011-02-11 Thread Tolas Anon
On Fri, Feb 11, 2011 at 4:05 AM, Tolas Anon wrote: > Hi.. > > For my curl_exec problem, > http://readlist.com/lists/lists.php.net/php-general/16/81195.html > http://curl.haxx.se/mail/lib-2011-02/0101.html > > I need to know if this simple test will cause data to be sent eve

[PHP] ob_flush, does it cause data to be sent over the wire immediately?

2011-02-10 Thread Tolas Anon
Hi.. For my curl_exec problem, http://readlist.com/lists/lists.php.net/php-general/16/81195.html http://curl.haxx.se/mail/lib-2011-02/0101.html I need to know if this simple test will cause data to be sent every 25 seconds _over the wire_. reason; i just can't get my media import routines that

Re: [PHP] curl_exec won't return (any data)

2011-02-09 Thread Tolas Anon
exec-sum update : details continued at http://curl.haxx.se/mail/lib-2011-02/0101.html it turns out using the internetdomainname of the apache server is the source of the problem. the adsl router could be dropping the connection, or something else. calling curl_exec() to a localhost address will

Re: [PHP] curl_exec won't return (any data)

2011-02-08 Thread Tolas Anon
The one thing that strikes me as odd, before i go, is that i saw no actual HTTP-KEEPALIVE traffic flowing... I might have missed it, but i don't think so.. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] curl_exec won't return (any data)

2011-02-08 Thread Tolas Anon
Ok, another run, this time after adding the following to php_daemon_script; curl_setopt($ch, CURLOPT_HTTPHEADER, array( 'Connection: Keep-Alive', 'Keep-Alive: 300' )); Exec-sum: No change whatsoever in behaviour, curl_exec still free

Re: [PHP] curl_exec won't return (any data)

2011-02-08 Thread Tolas Anon
On Tue, Feb 8, 2011 at 11:01 PM, Tolas Anon wrote: > Ok, another run, this time after adding the following to > php_daemon_script; > >        curl_setopt($ch, CURLOPT_HTTPHEADER, array( >                        'Connection: Keep-Alive', >            

Re: [PHP] curl_exec won't return (any data)

2011-02-08 Thread Tolas Anon
On Tue, Feb 8, 2011 at 9:33 PM, Steve Staples wrote: > i've been sorta reading this (as I am sure most maybe stopped after the > 4th consecutive post)... yea, i feel i gotta be complete so as to not waste the time of people who do wanna help. > but what I am wondering is... > > why can't you jus

Re: [PHP] curl_exec won't return (any data)

2011-02-08 Thread Tolas Anon
On Tue, Feb 8, 2011 at 8:54 PM, Tolas Anon wrote: > But in the meanwhile I found a new idea to try as well; > >        curl_setopt($ch, CURLOPT_HTTPHEADER, array( >                        'Connection: Keep-Alive', >                        'Keep-Alive: 300' >

Re: [PHP] curl_exec won't return (any data)

2011-02-08 Thread Tolas Anon
ok, did another run with a different packet analyzer, one that does not have winPcap under the hood like WireShark does. I chose microsoft network monitor 3.4 for the task. the launch of the 2gb vid import (only part by curl_exec): format: packetnumber[TAB] time_date_local_adjusted[TAB] time_of

Re: [PHP] curl_exec won't return (any data)

2011-02-08 Thread Tolas Anon
On Tue, Feb 8, 2011 at 7:01 PM, Tolas Anon wrote: > Things I've checked in the meanwhile; > > curl_setopt($ch,CURLOPT_TIMEOUT, 0); and > curl_setopt($ch,CURLOPT_TIMEOUT, 9); have the same freezing > results as before > > I've used a packetsniffer to analyze t

Re: [PHP] curl_exec won't return (any data)

2011-02-08 Thread Tolas Anon
Things I've checked in the meanwhile; curl_setopt($ch,CURLOPT_TIMEOUT, 0); and curl_setopt($ch,CURLOPT_TIMEOUT, 9); have the same freezing results as before I've used a packetsniffer to analyze the dataflow on my port 80, with all other http apps incl the browser not in memory/running, so i c

Re: [PHP] curl_exec won't return (any data)

2011-02-08 Thread Tolas Anon
the one thing i can think of is that curl_exec() somehow stops listening for results and hangs the calling php script (php_daemon_script in this case) if it does not receive any data for more than a few minutes (converting the 60mb vid file takes about a minute, and the 2gb script well over 30 minu

Re: [PHP] curl_exec won't return (any data)

2011-02-08 Thread Tolas Anon
On Tue, Feb 8, 2011 at 3:39 PM, Tolas Anon wrote: > also: the vid file itself is converted correctly too, and inserted > into my db correctly. > i can even view the converted flv and it has the correct length and > everything! > > it's just that the frigging import won&#

Re: [PHP] curl_exec won't return (any data)

2011-02-08 Thread Tolas Anon
also: the vid file itself is converted correctly too, and inserted into my db correctly. i can even view the converted flv and it has the correct length and everything! it's just that the frigging import won't continue with the rest of the files in the queue.. it's maddening! ;-) -- PHP General

Re: [PHP] curl_exec won't return (any data)

2011-02-08 Thread Tolas Anon
for completeness, i'll say that i'm using libcurl-7.21.3, and (again) that these import routines work without problems for smaller video files (tested with +-60mb vid file). -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] curl_exec won't return (any data)

2011-02-08 Thread Tolas Anon
ok, i've done another run, this time with both php_daemon_script and php_script allowed to run indefinitely, and i've triple-checked my results.. - all the calls to convert and import the +-2gb video file in php_script (the import-worker-script) complete just fine, they update a debug file on the

Re: [PHP] Paging and permissions

2011-02-08 Thread Tolas Anon
On Tue, Feb 8, 2011 at 1:36 PM, Arno Kuhl wrote: > I'm hoping some clever php gurus have been here before and are willing to > share some ideas. > > I have a site where articles are assigned to categories in containers. An > article can be assigned to only one category per container, but one or m

Fwd: [PHP] curl_exec won't return (any data)

2011-02-08 Thread Tolas Anon
-- Forwarded message -- From: Tolas Anon Date: Tue, Feb 8, 2011 at 1:56 PM Subject: Re: [PHP] curl_exec won't return (any data) To: a...@ashleysheridan.co.uk On Tue, Feb 8, 2011 at 1:50 PM, Tolas Anon wrote: > > > On Tue, Feb 8, 2011 at 1:35 PM, Ashley She

Re: [PHP] curl_exec won't return (any data)

2011-02-08 Thread Tolas Anon
On Tue, Feb 8, 2011 at 1:35 PM, Ashley Sheridan wrote: > On Tue, 2011-02-08 at 13:24 +0100, Tolas Anon wrote: > > > Hi.. > > > > For a set of media import routines, i'm using a > > javascript->php_on_apache->windows.bat->php_cli->curl->php_scrip

[PHP] curl_exec won't return (any data)

2011-02-08 Thread Tolas Anon
Hi.. For a set of media import routines, i'm using a javascript->php_on_apache->windows.bat->php_cli->curl->php_script invocation method. It seems longwinded, but it's designed to have different parts of the import process run on different servers. I'm stuck at getting curl_exec() to return the d