Re: [PHP] php File upload

2008-08-08 Thread Per Jessen
Jim Lucas wrote: What Apache starts, it reads the PHP memory limits in to the running Apache process. When you try and upload a file, it is a straight HTTP upload. PHP plays no part in the actual upload, except for the upload limits set in place by the php settings found in the php.ini or

Re: [PHP] php File upload

2008-08-08 Thread Luke
I think the sentiment is that you can't fit all of the file in the memory at once Luke Slater On 8 Aug 2008, at 07:59, Per Jessen [EMAIL PROTECTED] wrote: Jim Lucas wrote: What Apache starts, it reads the PHP memory limits in to the running Apache process. When you try and upload a file,

Re: [PHP] php File upload

2008-08-08 Thread Per Jessen
Luke wrote: I think the sentiment is that you can't fit all of the file in the memory at once Which would be absolutely true, but irrelevant - the question is whether that would prevent me from uploading it? That is the problem Tom seems to be having. /Per Jessen, Zürich -- PHP General

[PHP] Flampy : New Framework PHP5-MDA

2008-08-08 Thread Sebboon
Hello, I'm working on the MDA paradigm for PHP5. The goal is very simple, generate the source code of your PHP application as fast as possible like AndroMDA for java users. Design your class diagram and your physical database diagram, and Flampy will help you to generate your code... Flampy

Re: [PHP] php File upload

2008-08-08 Thread Torsten Rosenberger
Hello on a linux system (Suese 10.2) with 1 GB memory its not possible to upload via http a 1 Gb File. Thats no limit problem on my php config. i can look the mem stats when uploading and the growing tmp file. If the temp file has 900 MB, Main Memory free is 0 and the script aborts and

Re: [PHP] php File upload

2008-08-08 Thread Luke
Maybe there is some configuration in the server somewhere causing it to incorrectly use the tmp? Luke Slater On 8 Aug 2008, at 08:48, Torsten Rosenberger [EMAIL PROTECTED] wrote: Hello on a linux system (Suese 10.2) with 1 GB memory its not possible to upload via http a 1 Gb File.

Re: [PHP] php File upload

2008-08-08 Thread Torsten Rosenberger
Am Freitag, den 08.08.2008, 09:00 +0100 schrieb Luke: Maybe there is some configuration in the server somewhere causing it to incorrectly use the tmp? normla config php.ini ; Whether to allow HTTP file uploads. file_uploads = On ; Temporary directory for HTTP uploaded files (will use system

[PHP] Re: Version Control Software

2008-08-08 Thread Colin Guthrie
Boyd, Todd M. wrote: Having never used a revision-control solution in the past, I installed TortoiseSVN and the associated SVN Server (local-only) found on www.tigris.org . I've gotta say... it's been a breeze to setup (I used the SVN 1-Click Setup installer), and I've already migrated several

Re: [PHP] Using Ajax to populate a drop-down list

2008-08-08 Thread Kevin Waterson
This one time, at band camp, Don [EMAIL PROTECTED] wrote: Does anyone have an example of how to do this? http://phpro.org/tutorials/Creating-Dropdowns-with-PHP-and-Xajax.html enjoy, Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: php File upload

2008-08-08 Thread Tom
Problem solved (at one machine)! I can upload a ~ 2 GB File now on a machine with 1 GB Main Memory! No Problem, swap is used but no break now. The answer is, i think, the dramatical overhead for http upload, simply my post_max_size and upload_max_size are to small. If i will upload 1 GB it

[PHP] Graph type

2008-08-08 Thread Richard Heyes
Hi, Anyone know what this graph type is called? http://picasaweb.google.com/richard.heyes Thanks, and I apologise for the slightly off-topic post. Probably best to reply to me directly. -- Richard Heyes http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Re: php File upload

2008-08-08 Thread Per Jessen
Tom wrote: Im very glad to fix this problem, but the next one is here: Other machine (but 2 GB Ram), same suse version, same (working now) php.ini with limits to 5000M now and i can't upload a File greater than 900MB. A file under 900MB i see the tmp file growing. A File with +1 GB no temp

Re: [PHP] Re: php File upload

2008-08-08 Thread Peter Ford
Per Jessen wrote: Tom wrote: Im very glad to fix this problem, but the next one is here: Other machine (but 2 GB Ram), same suse version, same (working now) php.ini with limits to 5000M now and i can't upload a File greater than 900MB. A file under 900MB i see the tmp file growing. A File

Re: [PHP] Re: php File upload

2008-08-08 Thread Luke
You could always program in something (perhaps in Ajax) to monitor the progress of the file upload and check for errors periodically. Luke Slater On 8 Aug 2008, at 11:55, Peter Ford [EMAIL PROTECTED] wrote: Per Jessen wrote: Tom wrote: Im very glad to fix this problem, but the next one is

Re: [PHP] Re: php File upload

2008-08-08 Thread Tom
What is set this limit? Per Jessen [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] Tom wrote: Im very glad to fix this problem, but the next one is here: Other machine (but 2 GB Ram), same suse version, same (working now) php.ini with limits to 5000M now and i can't upload a

[PHP] Problem with SOAP and (maybe) VISTA?

2008-08-08 Thread Stefan Langwald
Hello folks, I'd try the PHP docs example from http://de.php.net/manual/de/function.soap-soapserver-handle.php ?php function test($x) { return $x; } $server = new SoapServer(null, array('uri' = http://test-uri/;)); $server-addFunction(test); $server-handle(); ? If I open the test.php

Re: [PHP] Flampy : New Framework PHP5-MDA

2008-08-08 Thread Sebboon
Here you have a short video that describe the installer use and its results. http://blog.webeo.fr/index.php?post/2008/08/08/Demo-Flampy-Installer-en-video -- View this message in context: http://www.nabble.com/Flampy-%3A-New-Framework-PHP5-MDA-tp18887166p18891236.html Sent from the PHP -

Re: [PHP] Re: php File upload

2008-08-08 Thread Per Jessen
Tom wrote: Per Jessen [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] Tom wrote: Im very glad to fix this problem, but the next one is here: Other machine (but 2 GB Ram), same suse version, same (working now) php.ini with limits to 5000M now and i can't upload a File

Re: [PHP] php File upload

2008-08-08 Thread Per Jessen
Tom wrote: Hi Per, your result is on a suse 8.2 ? hmm, i don't know the reason why my suse 10.2 machines do that failure. My limits for for post_max_size and upload_max_size is both 1500M. Greets thanx, Tom Tom, check your maximum PHP execution time. I've just done some testing

Re: [PHP] php File upload

2008-08-08 Thread Per Jessen
Per Jessen wrote: Jim Lucas wrote: I have never seen a case where Apache has stored the file on the file system. In my past experience it has always held the file in memory, therefor limited to the max physical memory that was install, minus a little for other things. Well, I can easily

Re: [PHP] php File upload

2008-08-08 Thread Tom
Hi Per, Execution Time ist set to 72000, i learned to set it not to low for tests :-) I learned also the last days many things about the php.ini. Many changes affect later, its mostly for me a trial and error thing and results in much phenomenon. At moment its okay, i can upload 1.2 Gb, no

Re: [PHP] php File upload

2008-08-08 Thread Per Jessen
Tom wrote: Hi Per, Execution Time ist set to 72000, i learned to set it not to low for tests :-) I learned also the last days many things about the php.ini. Many changes affect later, its mostly for me a trial and error thing and results in much phenomenon. At moment its okay, i can

[PHP] Task workflow management system

2008-08-08 Thread Manoj Singh
Hi all, I am developing the system where i have to dynamically assigned the tasks to the workers based on certain rules as well as also considering load balance. If you have solved this type of problem or any idea or documentation on how to achieve this, then please help me. Best Regards, Manoj

Re: [PHP] php File upload

2008-08-08 Thread Tom
Practical i implement a robust filebase in my new gamer portal and go to max. at upload values. If the users make a big upload, it should be stable. I think, later (after release) i will enhance it with a ftp port. But not yet. Here you can see, what i have in filebase, but a 1.9 GB upload

Re: [PHP] php File upload

2008-08-08 Thread Luke
Is a 1.9 gb file upload even sustainable on even a fairly small scale web application? Maybe you could implement FTP if you trust the people that want to upload the file. Luke Slater Lead Developer NuVoo On 9 Aug 2008, at 14:52, Tom [EMAIL PROTECTED] wrote: Practical i implement a robust

[PHP] how to curl

2008-08-08 Thread mukesh yadav
Hi, I want to send some text to the serverA For a varification and gettign some data from the server from the serverB. is it possible to achieve this using cURL If yes then can any one please tell me how do i achieve this? I tried to learn cURL function but I'm not able to understand any thing

Re: [PHP] Graph type

2008-08-08 Thread tedd
Hi, Anyone know what this graph type is called? http://picasaweb.google.com/richard.heyes A European road sign? Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Re: Variable number of parameters

2008-08-08 Thread Philip Thompson
On Aug 7, 2008, at 12:37 PM, Shawn McKenzie wrote: Philip Thompson wrote: Oops! Meant to send this to the list On Aug 7, 2008, at 9:31 AM, Philip Thompson wrote: On Aug 6, 2008, at 4:25 PM, Shawn McKenzie wrote: Philip Thompson wrote: Is it possible to grab a variable number of

Re: [PHP] Kill Magic Quotes

2008-08-08 Thread Stephen
Dave M G wrote: PHP List, I found this solution after a web search. I can't attribute the author, but would like to if I could. I have a routine like this: if (isset($_POST['choice'])) { if (get_magic_quotes_gpc() ){ stripslashes_arrays( $_POST ); } $choice = $_POST['choice']; } else {

RE: [PHP] Graph type

2008-08-08 Thread Chrome
-Original Message- From: tedd [mailto:[EMAIL PROTECTED] Sent: 08 August 2008 15:32 To: php-general@lists.php.net Subject: Re: [PHP] Graph type Hi, Anyone know what this graph type is called? http://picasaweb.google.com/richard.heyes A European road sign? Can't be.

Re: [PHP] php File upload

2008-08-08 Thread Jim Lucas
Per Jessen wrote: How about if I upload a 1Gb file to a webserver on a machine that only has 256Mb memory - would you say that's impossible? /Per Jessen, Zürich In my experience that would the correct. -- Jim Lucas Some men are born to greatness, some achieve greatness, and

Re: [PHP] php File upload

2008-08-08 Thread Per Jessen
Tom wrote: Practical i implement a robust filebase in my new gamer portal and go to max. at upload values. If the users make a big upload, it should be stable. I think, later (after release) i will enhance it with a ftp port. But not yet. Here you can see, what i have in filebase, but a

Re: [PHP] Graph type

2008-08-08 Thread Richard Heyes
Anyone know what this graph type is called? Well, whatever it is I made one. It'll be online as soon as my website is. -- Richard Heyes http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php File upload

2008-08-08 Thread Per Jessen
Per Jessen wrote: Tom wrote: Practical i implement a robust filebase in my new gamer portal and go to max. at upload values. If the users make a big upload, it should be stable. I think, later (after release) i will enhance it with a ftp port. But not yet. Here you can see, what i have

Re: [PHP] Why PHP4?

2008-08-08 Thread V S Rawat
On 8/8/2008 3:59 AM India Time, _Micah Gersten_ wrote: You can't steal it, but you can't do anything with it either, so what's the point of having it? They are getting it printed and processing the printed hard copy further. That's all. They even have full fledged working programs (say, in

Re: [PHP] php File upload

2008-08-08 Thread Andrew Ballard
On Fri, Aug 8, 2008 at 11:14 AM, Per Jessen [EMAIL PROTECTED] wrote: Per Jessen wrote: Tom wrote: Practical i implement a robust filebase in my new gamer portal and go to max. at upload values. If the users make a big upload, it should be stable. I think, later (after release) i will

Re: [PHP] Why PHP4?

2008-08-08 Thread Luke
A friend works in a place where they use pascal as a database interface! Luke Slater Lead Developer NuVoo On 8 Aug 2008, at 16:25, V S Rawat [EMAIL PROTECTED] wrote: On 8/8/2008 3:59 AM India Time, _Micah Gersten_ wrote: You can't steal it, but you can't do anything with it either, so

[PHP] More SOAP questions. Also, SOAP bug? Or just me? (long)

2008-08-08 Thread Christoph Boget
* I'm not sure if this is a bug (unlikely) or if it's just me (highly likely). Given the following WSDL, ?xml version=1.0? definitions xmlns:tns=urn:/test/testing xmlns:types=urn:/test/testing/types xmlns:sectypes=urn:/test/testing/soap/security/types

Re: [PHP] php File upload

2008-08-08 Thread Per Jessen
Andrew Ballard wrote: This time I had set the upload_file_size and post_max_size to 3000Mb each, which probably didn't work. When I tried the 1900Mb file again I got this error: [Fri Aug 08 16:57:28 2008] [error] [client 192.168.2.113] PHP [Warning: POST Content-Length of 1992294868 bytes

Re: [PHP] php File upload

2008-08-08 Thread Tom
Andrew write the answer: -1149239296 Bytes is indiz for to big. This time I had set the upload_file_size and post_max_size to 3000Mb each, which probably didn't work. When I tried the 1900Mb file again I got this error: [Fri Aug 08 16:57:28 2008] [error] [client 192.168.2.113] PHP Warning:

Re: [PHP] php File upload

2008-08-08 Thread mike
On 8/8/08, Luke [EMAIL PROTECTED] wrote: Is a 1.9 gb file upload even sustainable on even a fairly small scale web application? Maybe you could implement FTP if you trust the people that want to upload the file. This is why I am pushing for people to use PUT. Still over HTTP, uploaders can be

Re: [PHP] Graph type

2008-08-08 Thread tedd
At 3:59 PM +0100 8/8/08, Richard Heyes wrote: Anyone know what this graph type is called? Well, whatever it is I made one. It'll be online as soon as my website is. I would call it a bipolar bar chart. Cheers, tedd -- --- http://sperling.com http://ancientstones.com

Re: [PHP] Why PHP4?

2008-08-08 Thread Per Jessen
Luke wrote: A friend works in a place where they use pascal as a database interface! Nothing wrong with that - Pascal is a decent language. I know places that still use APL2 - you need a special keyboard for that. And you'll probably have to go and look up what it is :-)

Re: [PHP] Why PHP4?

2008-08-08 Thread Per Jessen
Robert Cummings wrote: I'm calling shenanigans. It was a breeze to setup windows 3.11 WFWG in VMWare. There's a VM for almost every old system these days. Very true, but not every one is a breeze. I've been trying to get to play Master Of Magic on DOS for quite some time. On OS2 it _was_ a

Re: [PHP] Kill Magic Quotes

2008-08-08 Thread mike
On 8/8/08, Stephen [EMAIL PROTECTED] wrote: I found this solution after a web search. I can't attribute the author, but would like to if I could. I have something like that myself, but even on the URL they linked it has a php.net approved snippet of code that works:

Re: [PHP] php File upload

2008-08-08 Thread Andrew Ballard
On Fri, Aug 8, 2008 at 1:08 PM, mike [EMAIL PROTECTED] wrote: On 8/8/08, Luke [EMAIL PROTECTED] wrote: Is a 1.9 gb file upload even sustainable on even a fairly small scale web application? Maybe you could implement FTP if you trust the people that want to upload the file. This is why I am

Re: [PHP] php File upload

2008-08-08 Thread mike
On 8/8/08, Andrew Ballard [EMAIL PROTECTED] wrote: I've not had to upload such large files over HTTP, so forgive my ignorance, but on the request end isn't the only difference between PUT and POST the verb used in the request (and the intent of the operation)? What can you do with PUT that

Re: [PHP] Graph type

2008-08-08 Thread Adam Richardson
When I first saw it, I thought of a stem and leaf graph: http://cnx.org/content/m10157/latest/#table3 http://www.nervenet.org/papers_images/cb2.jpg However, your stem remains constant (10), so I'm not really sure what you're graphing. Adam On Fri, Aug 8, 2008 at 1:11 PM, tedd [EMAIL PROTECTED]

Re: [PHP] Graph type

2008-08-08 Thread Richard Heyes
Hi, Well, whatever it is, I made one. Just a picture at the moment because I have no website... :-( http://picasaweb.google.com/richard.heyes -- Richard Heyes http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Graph type

2008-08-08 Thread tedd
At 7:45 PM +0100 8/8/08, Richard Heyes wrote: Hi, Well, whatever it is, I made one. Just a picture at the moment because I have no website... :-( http://picasaweb.google.com/richard.heyes -- Richard Heyes http://www.phpguru.org Seriously, it looks just like a horizontal bar chart showing

Re: [PHP] php File upload

2008-08-08 Thread Per Jessen
mike wrote: On 8/8/08, Andrew Ballard [EMAIL PROTECTED] wrote: I've not had to upload such large files over HTTP, so forgive my ignorance, but on the request end isn't the only difference between PUT and POST the verb used in the request (and the intent of the operation)? What can you do

[PHP] tidy

2008-08-08 Thread Selwyn Polit
How do I install php-tidy extension on a hosted linux? I don't have access to yum or apt-get. When I try pecl install tidy this fails .. checking for TIDY support... yes, shared configure: error: Cannot find libtidy ERROR: `/var/tmp/pear/download/tidy-1.2/configure --with-tidy' failed I am

Re: [PHP] php File upload

2008-08-08 Thread mike
On 8/8/08, Per Jessen [EMAIL PROTECTED] wrote: Same as POST then :-) (except for the resume bit). I still don't see much of a difference. It doesn't matter much to me, I'd just like to understand what the real difference is. Maybe I need to go and read RFC2616. I'm all for using existing

[PHP] Re: PUT vs. POST (was: php File upload)

2008-08-08 Thread Per Jessen
mike wrote: On 8/8/08, Per Jessen [EMAIL PROTECTED] wrote: Same as POST then :-) (except for the resume bit). I still don't see much of a difference. It doesn't matter much to me, I'd just like to understand what the real difference is. Maybe I need to go and read RFC2616. I'm all

[PHP] Inconsistent behavior. PHP5 FreeBSD server Vs PHP5 Windows Server.

2008-08-08 Thread merv
Hi, I have a strange problem with PHP5 on FreeBSD. When run on a FreeBSD server the decrypt function of a xTea encryption library does not work correctly. While the same PHP code runs without problem on a Windows Server. Has anybody experienced similar problems? I am at a dead end any help

Re: [PHP] how to curl

2008-08-08 Thread Nathan Nobbe
On 8/8/08, mukesh yadav [EMAIL PROTECTED] wrote: Hi, I want to send some text to the serverA For a varification and gettign some data from the server from the serverB. is it possible to achieve this using cURL If yes then can any one please tell me how do i achieve this? I tried to learn

Re: [PHP] php File upload

2008-08-08 Thread Tom
PUT is raw (AFAIK) That sounds good. Have you any link to a basicly methode description? This is a really new methode for me but sounds better than http upload btw. resume function is not bad. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Re: PUT vs. POST (was: php File upload)

2008-08-08 Thread mike
On 8/8/08, Per Jessen [EMAIL PROTECTED] wrote: I am not for or against either, I'm just looking for the right argument for PUT support as it seems to be lacking (and I've never found myself in a situation where PUT was the solution). I need to accept files of various sizes - up to 2GB, maybe

RE: [PHP] Re: PUT vs. POST (was: php File upload)

2008-08-08 Thread Boyd, Todd M.
-Original Message- From: mike [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2008 4:36 PM To: Per Jessen Cc: php-general@lists.php.net Subject: Re: [PHP] Re: PUT vs. POST (was: php File upload) On 8/8/08, Per Jessen [EMAIL PROTECTED] wrote: I am not for or against either,

[PHP] Re: Using Ajax to populate a drop-down list

2008-08-08 Thread Manuel Lemos
Hello, on 08/08/2008 12:58 AM Don said the following: Hi, I have a form with two lists. One is populated with many options while the second is populated with only a single item. When the first drop-down list is changed, I call a PHP script sing AJAX to populate the second list. I also

Re: [PHP] Graph type

2008-08-08 Thread Jim Lucas
tedd wrote: At 7:45 PM +0100 8/8/08, Richard Heyes wrote: Hi, Well, whatever it is, I made one. Just a picture at the moment because I have no website... :-( http://picasaweb.google.com/richard.heyes -- Richard Heyes http://www.phpguru.org Seriously, it looks just like a horizontal bar