[PHP] Re: Kill Magic Quotes

2008-08-07 Thread Ross McKay
Dave M G wrote: >I am developing a web site that is hosted on a web server where I do not >have permission to change the php.ini file. > >This server has magic quotes turned on. I'd like them off. > >I wrote two functions to detect when magic quotes is on, and to try and >counter act its effects.

Re: [PHP] Kill Magic Quotes [SOLVED]

2008-08-07 Thread Dave M G
Richard, > Try php_value instead of php_flag, though both should work for this one. Whoops... my mistake. Without going into overly complicated details, I hadn't tested the original suggestion properly. Turns out, so far as I can tell, both of these lines work for me: php_value magic_quotes_g

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

2008-08-07 Thread Don
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 need to perform another task when the second list is changed

Re: [PHP] read a bunch of files that are in many directors into one string -- oops again

2008-08-07 Thread Richard Kurth
I had to add the full path and it works just fine. Thanks Well, make sure $rootPath is correct for your environment. Also, add a slash after the directory name. Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com Richard Kurth wrote: *Now I get this error

Re: [PHP] Re: Kill Magic Quotes

2008-08-07 Thread viraj
On Fri, Aug 8, 2008 at 9:05 AM, Chris <[EMAIL PROTECTED]> wrote: > http://www.php.net/get_magic_quotes_gpc > > It cannot be enabled/disabled at run time. It has to either be done in a > .htaccess or through apache/php.ini changes. afaik, turning off/on 'magic_quotes_sybase' is a workaround. it ov

Re: [PHP] read a bunch of files that are in many directors into one string -- oops again

2008-08-07 Thread Micah Gersten
Well, make sure $rootPath is correct for your environment. Also, add a slash after the directory name. Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com Richard Kurth wrote: > *Now I get this error > Warning*: chdir() [function.chdir]: No error (errno 0) in >

Re: [PHP] Re: Kill Magic Quotes

2008-08-07 Thread Chris
Roger Bigras wrote: you may try the ini_set('magic_quotes_gpc',0); RTM. http://www.php.net/get_magic_quotes_gpc It cannot be enabled/disabled at run time. It has to either be done in a .htaccess or through apache/php.ini changes. See this page for how to disable it: http://www.php.net/ma

[PHP] Re: Kill Magic Quotes

2008-08-07 Thread Roger Bigras
you may try the ini_set('magic_quotes_gpc',0); note, this line should be the first line of code. also make sure that that your php opener is the first line in your script. 1. This feature is DEPRECATED and REMOVED as of PHP 6.0.0. Relying on this feature is highly discouraged in php 6 the qu

Re: [PHP] Kill Magic Quotes

2008-08-07 Thread Dave M G
Richard, Thank you for replying. If you can't change php.ini, and if it's Apache, you maybe can just turn it off in .htaccess, far faster and easier than a PHP function. I looked on the web and found this line: php_flag magic_quotes_gpc off ... and added it to my .htaccess file. But it doesn'

Re: [PHP] read a bunch of files that are in many directors into one string -- oops again

2008-08-07 Thread Richard Kurth
*Now I get this error Warning*: chdir() [function.chdir]: No error (errno 0) in *C:\web\easycontactpro\removeemail.php* on line *7* Where can I find what errno 0 means it loops through all the directors but does not process any of the files foreach (range(0,22) as $dirNum) Thank you, Micah Gers

Re: [PHP] Kill Magic Quotes

2008-08-07 Thread Chris
public static function restoreSlashes($string) { // Check if "Magic Quotes" is turned on. if (get_magic_quotes_gpc()) { // Add escape slashes. return addslashes($string); } // Return a string that has escape slashes. return $string; } Wrong way around. If gpc is enabled,

Re: [PHP] Kill Magic Quotes

2008-08-07 Thread Richard Lynch
If you can't change php.ini, and if it's Apache, you maybe can just turn it off in .htaccess, far faster and easier than a PHP function. You are calling the removeSlashes, right? And, really, there is no reason for the restoreSlashes function to exist. If you ever think you need it, you're wrong

[PHP] Kill Magic Quotes

2008-08-07 Thread Dave M G
PHP List, I am developing a web site that is hosted on a web server where I do not have permission to change the php.ini file. This server has magic quotes turned on. I'd like them off. I wrote two functions to detect when magic quotes is on, and to try and counter act its effects. But it do

Re: [PHP] PHP 4.4.9 Released!

2008-08-07 Thread Robert Cummings
Long live PHP4 *meheheheheh* Cheers, Rob. On Thu, 2008-08-07 at 22:47 +0200, Derick Rethans wrote: > Hello, > > The PHP development team would like to announce the immediate > availability of PHP 4.4.9. It continues to improve the security and the > stability of the 4.4 branch and all users a

Re: [PHP] Why PHP4?

2008-08-07 Thread Robert Cummings
On Thu, 2008-08-07 at 17:29 -0500, 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? > > > V S Rawat wrote: > > > > I was surprised to see some very busy and well to do Chartered > > Accountants, Company Secretaries still usin

Re: [PHP] read a bunch of files that are in many directors into one string -- oops again

2008-08-07 Thread Micah Gersten
foreach (range(0,22) as $dirNum) Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com Richard Kurth wrote: > *I get this when I run it > Parse error*: syntax error, unexpected T_DNUMBER in *remove.php* on > line *4 > it does not like the *foreach (0..22 as $dirNum

Re: [PHP] read a bunch of files that are in many directors into one string

2008-08-07 Thread Micah Gersten
oops. foreach (range(0..22) as $dirNum) :) Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com Richard Kurth wrote: > *I get this when I run it > Parse error*: syntax error, unexpected T_DNUMBER in *remove.php* on > line *4 > it does not like the *foreach (0..22

Re: [PHP] read a bunch of files that are in many directors into one string

2008-08-07 Thread Richard Kurth
*I get this when I run it Parse error*: syntax error, unexpected T_DNUMBER in *remove.php* on line *4 it does not like the *foreach (0..22 as $dirNum) Try this: $rootPath = '/remote'; $string = ''; foreach (0..22 as $dirNum) { $dir = "$rootPath/$dirNum"; chdir($dir); $files = glob("1

Re: [PHP] read a bunch of files that are in many directors into one string

2008-08-07 Thread Micah Gersten
Try this: $rootPath = '/remote'; $string = ''; foreach (0..22 as $dirNum) { $dir = "$rootPath/$dirNum"; chdir($dir); $files = glob("13*"); foreach ($files as $file) { $string .= file_get_contents($file); } } echo $string; Thank you, Micah Gersten onShore Networ

Re: [PHP] read a bunch of files that are in many directors into one string

2008-08-07 Thread Richard Kurth
Version 5 First, which version of PHP? PHP 5 added a lot of features for reading files. Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com Richard Kurth wrote: I am trying to read a bunch of files that are in many directors into one string But it will onl

Re: [PHP] read a bunch of files that are in many directors into one string

2008-08-07 Thread Micah Gersten
First, which version of PHP? PHP 5 added a lot of features for reading files. Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com Richard Kurth wrote: > I am trying to read a bunch of files that are in many directors into > one string > But it will only read one

[PHP] read a bunch of files that are in many directors into one string

2008-08-07 Thread Richard Kurth
I am trying to read a bunch of files that are in many directors into one string But it will only read one file. Every file is a number 134328923 but they all start with 13 They are in 22 directors named 0 to 22 How can I make the script look in each directory and read each file into a string tha

Re: [PHP] php File upload

2008-08-07 Thread Jim Lucas
Simple answer is yes. But others might argue this answer. Luke wrote: Tom's machine only has 1 GB of physical memory doesn't it? Could that be the problem? 2008/8/7 Jim Lucas <[EMAIL PROTECTED]> Tom wrote: Hi, on a linux system (Suese 10.2) with 1 GB memory its not possible to upload via

Re: [PHP] Why PHP4?

2008-08-07 Thread Micah Gersten
You can't steal it, but you can't do anything with it either, so what's the point of having it? Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com V S Rawat wrote: > > I was surprised to see some very busy and well to do Chartered > Accountants, Company Secretar

Re: [PHP] Why PHP4?

2008-08-07 Thread V S Rawat
On 8/7/2008 7:42 PM India Time, _Judson Vaughn_ wrote: Kudos to Richard. If its fixed, don't break it. Jud. == Per Jessen wrote: Richard Heyes wrote: I'm interested - why are people still using PHP4? It's been over 4 years (I think) - plenty of time to upgrade to five. Migrat

[PHP] JDBC Wrapper for PHP

2008-08-07 Thread Micah Gersten
Does anyone know of a JDBC API Wrapper that can be called from PHP? I'm already using this to connect to Java: http://php-java-bridge.sourceforge.net/doc/ -- Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Object overhead vs. arrays

2008-08-07 Thread Nathan Nobbe
On Thu, Aug 7, 2008 at 7:21 AM, Christoph Boget <[EMAIL PROTECTED]>wrote: > I knew that there would be some overhead when working with objects vs > working with arrays, but I didn't expect this much. Is there some > optimization that I could do to improve the performance any? While > the script

Re: [PHP] A few questions about PHP's SOAP module

2008-08-07 Thread Nathan Nobbe
On Thu, Aug 7, 2008 at 1:29 PM, Christoph Boget <[EMAIL PROTECTED]> wrote: > * I'm trying to better understand the 'classmap' option for the > SoapClient class. Is it used to define the class of an instantiated > object which will be passed as an argument to the server's function > call? So, as

Re: [PHP] php File upload

2008-08-07 Thread Luke
Tom's machine only has 1 GB of physical memory doesn't it? Could that be the problem? 2008/8/7 Jim Lucas <[EMAIL PROTECTED]> > Tom wrote: > >> Hi, >> >> 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

[PHP] PHP 4.4.9 Released!

2008-08-07 Thread Derick Rethans
Hello, The PHP development team would like to announce the immediate availability of PHP 4.4.9. It continues to improve the security and the stability of the 4.4 branch and all users are strongly encouraged to upgrade to it as soon as possible. This release wraps up all the outstanding patches

Re: [PHP] php File upload

2008-08-07 Thread Jim Lucas
Tom wrote: Hi, 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

Re: [PHP] php File upload

2008-08-07 Thread Tom
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 "Per Jessen" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] Tom wrote: > i

RE: [PHP] Re: Version Control Software

2008-08-07 Thread Boyd, Todd M.
> -Original Message- > From: Benjamin Darwin [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 07, 2008 2:05 PM > To: Colin Guthrie > Cc: php-general@lists.php.net > Subject: Re: [PHP] Re: Version Control Software > > I'm wondering if anybody knows of a version control software > pro

[PHP] A few questions about PHP's SOAP module

2008-08-07 Thread Christoph Boget
* I'm trying to better understand the 'classmap' option for the SoapClient class. Is it used to define the class of an instantiated object which will be passed as an argument to the server's function call? So, as a very simplistic example, it might go something like this: sStockSymbol = $sStockS

Re: [PHP] Re: Version Control Software

2008-08-07 Thread Benjamin Darwin
On Thu, Aug 7, 2008 at 10:02 AM, Colin Guthrie <[EMAIL PROTECTED]> wrote: > Robert Cummings wrote: > >> On Thu, 2008-08-07 at 09:43 +1000, Ross McKay wrote: >> >>> On Wed, 6 Aug 2008 16:42:23 -0400, "Benjamin Darwin" wrote: >>> >>> [...] I'm wondering if anybody knows of a version control sof

[PHP] Re: Scripts for removing Reg entries

2008-08-07 Thread Shawn McKenzie
Perkins, Ryan wrote: I was looking thru some of the scripts that were mentioned and I am wondering if there is a way to write on that will delete registry entries? I am trying to uninstall Office 97 on XP machines and there are a lot of pieces left after the uninstall has run. I would need to loo

[PHP] Re: ReflectionClass

2008-08-07 Thread Shawn McKenzie
Viktor Popov wrote: Hi, Do you know where can I find more information about using the ReflectionClass. What is it for? In which situation can I use it and so on. Thank you in advance! Viktor http://php.net/language.oop5.reflection -Shawn -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Re: Variable number of parameters

2008-08-07 Thread Shawn McKenzie
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 parameters and send the appropriate amount to another funct

Re: [PHP] php File upload

2008-08-07 Thread Per Jessen
Tom wrote: > i use ext3 > Im realy on no limit. destination ist /tmp and is fairly empty. > The question is now, if cache full => must hypothetical swap used? > ok, im glad to see your result. No, high utilization of file system cache will not cause any swapping - file system caching uses whatev

Re: [PHP] php File upload

2008-08-07 Thread Tom
i use ext3 Im realy on no limit. destination ist /tmp and is fairly empty. The question is now, if cache full => must hypothetical swap used? ok, im glad to see your result. "Per Jessen" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] Tom wrote: >>Ah, so it's not PHP and it'

Re: [PHP] An appeal to your better nature

2008-08-07 Thread Robert Cummings
On Thu, 2008-08-07 at 11:50 +0200, Børge Holen wrote: > On Thursday 07 August 2008 03:57:06 you wrote: > > On Thu, 2008-08-07 at 00:46 +0200, Børge Holen wrote: > > > On Wednesday 06 August 2008 20:00:50 tedd wrote: > > > > At 9:11 AM -0400 8/5/08, Daniel Brown wrote: > > > > >On Tue, Aug 5, 2008 a

Re: [PHP] php File upload

2008-08-07 Thread Per Jessen
Tom wrote: >>Ah, so it's not PHP and it's not apache using up your memory - it's >>your >>filesystem cache. Check how many files you have in the tmp directory >>and the destination directory. > > Okay, thats light in the darkness. But i don't have any idea what i > can do here. tmp is empty. >

Re: [PHP] php File upload

2008-08-07 Thread Tom
>Ah, so it's not PHP and it's not apache using up your memory - it's your >filesystem cache. Check how many files you have in the tmp directory >and the destination directory. Okay, thats light in the darkness. But i don't have any idea what i can do here. tmp is empty. Look at the first entry,

Re: [PHP] An appeal to your better nature

2008-08-07 Thread Børge Holen
On Thursday 07 August 2008 16:58:32 tedd wrote: > At 4:35 PM +0200 8/7/08, Børge Holen wrote: > >On Thursday 07 August 2008 16:28:12 tedd wrote: > > > At 11:50 AM +0200 8/7/08, Børge Holen wrote: > > > >> > I'm just gonna comment some here. Hell, it's a bitch to loose > > > >> > data, but I gi

Re: [PHP] php File upload

2008-08-07 Thread Per Jessen
Tom wrote: > With what linux BS have you tested? It was an older SUSE Linux 8.2. But the OS shouldn't matter - maybe the PHP release and maybe the apache ditto. > No, it isn't the apaches job/problem. > I do nothing with the file. Looking for $_FILES Varables and then > move_uploaded_file. Th

Re: [PHP] php File upload

2008-08-07 Thread Tom
With what linux BS have you tested? No, it isn't the apaches job/problem. I do nothing with the file. Looking for $_FILES Varables and then move_uploaded_file. But i said it before, the problem is not at this point. If i upload the file and watch memory with vmstat, free is going 0, cache is goi

Re: [PHP] An appeal to your better nature

2008-08-07 Thread tedd
At 4:35 PM +0200 8/7/08, Børge Holen wrote: On Thursday 07 August 2008 16:28:12 tedd wrote: > At 11:50 AM +0200 8/7/08, Børge Holen wrote: > >> > I'm just gonna comment some here. Hell, it's a bitch to loose data, > >> > but I give you this... These "pro's" here, ain't getting things done,

Re: [PHP] An appeal to your better nature

2008-08-07 Thread Børge Holen
On Thursday 07 August 2008 16:28:12 tedd wrote: > At 11:50 AM +0200 8/7/08, Børge Holen wrote: > >On Thursday 07 August 2008 03:57:06 you wrote: > >> On Thu, 2008-08-07 at 00:46 +0200, Børge Holen wrote: > > > > On Wednesday 06 August 2008 20:00:50 tedd wrote: > > > > > Sure it takes a lot of ti

Re: [PHP] Re: Variable number of parameters

2008-08-07 Thread Philip Thompson
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 parameters and send the appropriate amount to another function? db->prepare("SELE

Re: [PHP] php File upload

2008-08-07 Thread Per Jessen
Tom wrote: > hmm, memory buying is okay, not the final solution. I think php design > fault on this function. It's not comprehensible why php use such a > lot main memory for an upload. Well, PHP doesn't - the upload is apaches job. Once the file is uploaded, PHP is invoked to process it. You d

Re: [PHP] An appeal to your better nature

2008-08-07 Thread tedd
At 11:50 AM +0200 8/7/08, Børge Holen wrote: On Thursday 07 August 2008 03:57:06 you wrote: On Thu, 2008-08-07 at 00:46 +0200, Børge Holen wrote: > > On Wednesday 06 August 2008 20:00:50 tedd wrote: > > > Sure it takes a lot of time to backup, but less than the alternative. > > I'm just

Re: [PHP] php File upload

2008-08-07 Thread Per Jessen
Tom wrote: > But on a big website with upload enabled and 30 users upload simultan > a 20 MB File, they lost the upload while php hold all in memory/Cache > and swap is not used. I don't understand why php write the upload > chunck for chunck (i can look this) in upload temp file AND holds the >

Re: [PHP] Why PHP4?

2008-08-07 Thread Judson Vaughn
Kudos to Richard. If its fixed, don't break it. Jud. == Per Jessen wrote: Richard Heyes wrote: I'm interested - why are people still using PHP4? It's been over 4 years (I think) - plenty of time to upgrade to five. Migration issues for instance - we have quite a bit of code th

[PHP] Re: Version Control Software

2008-08-07 Thread Colin Guthrie
Robert Cummings wrote: On Thu, 2008-08-07 at 09:43 +1000, Ross McKay wrote: On Wed, 6 Aug 2008 16:42:23 -0400, "Benjamin Darwin" wrote: [...] I'm wondering if anybody knows of a version control software program that may fit my needs. Basically, I'm looking for something that runs locally, not

[PHP] Scripts for removing Reg entries

2008-08-07 Thread Perkins, Ryan
I was looking thru some of the scripts that were mentioned and I am wondering if there is a way to write on that will delete registry entries? I am trying to uninstall Office 97 on XP machines and there are a lot of pieces left after the uninstall has run. I would need to look and see if the entry

Re: [PHP] php File upload

2008-08-07 Thread Tom
hmm, memory buying is okay, not the final solution. I think php design fault on this function. It's not comprehensible why php use such a lot main memory for an upload. ""Richard Heyes"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Well, you lost me right about... Well

Re: [PHP] php File upload

2008-08-07 Thread Richard Heyes
Well, you lost me right about... Well when you started. But memory is cheap...:-/ -- 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-07 Thread Tom
smaller files is no problem. The error occoured, if the uploaded File is bigger than the installed main memory. Ok, i know that http ist not designed for big uploads. But on a big website with upload enabled and 30 users upload simultan a 20 MB File, they lost the upload while php hold all in m

[PHP] Object overhead vs. arrays

2008-08-07 Thread Christoph Boget
I knew that there would be some overhead when working with objects vs working with arrays, but I didn't expect this much. Is there some optimization that I could do to improve the performance any? While the script below is just a benchmark test script, it approximates functionality that I'm going

Re: [PHP] How to encrypt php code.

2008-08-07 Thread Jason Pruim
On Aug 7, 2008, at 8:57 AM, mukesh yadav wrote: Hi folks, I have Given a task to make a application installation using key. The installation file is ready I have to just add the Registration key feature. I have to do following task. 1. when user gives the url a installation page apears. when

[PHP] How to encrypt php code.

2008-08-07 Thread mukesh yadav
Hi folks, I have Given a task to make a application installation using key. The installation file is ready I have to just add the Registration key feature. I have to do following task. 1. when user gives the url a installation page apears. when he clicks on user agree terms, it goes to then nex

Re: [PHP] php.ini and pgsql extension issue

2008-08-07 Thread emassip
Got same problem exactly today w/ 5.2.6 with zip archive. Note that there has been many changes w/ pgsql extension in 5.2.6. It seems that extension file is corrupted, or that my piece of software (izarc) don't deal correctly with it. Looks also like daily snapshots of 5.2.6 are corrupted too.

Re: [PHP] php File upload

2008-08-07 Thread Richard Heyes
> No Apache limit, enough diskspace, no permission problem. > Fact is: During upload looking at main memory, goes to 0 and if 0 uploadet > tmp File was deleted and no error occur. > > It was great, if anybody can test such a upload. The uploaded File musst be > greater as main memory. While teh ulo

Re: [PHP] php File upload

2008-08-07 Thread Tom
No Apache limit, enough diskspace, no permission problem. Fact is: During upload looking at main memory, goes to 0 and if 0 uploadet tmp File was deleted and no error occur. It was great, if anybody can test such a upload. The uploaded File musst be greater as main memory. While teh uload is run

[PHP] ReflectionClass

2008-08-07 Thread Viktor Popov
Hi, Do you know where can I find more information about using the ReflectionClass. What is it for? In which situation can I use it and so on. Thank you in advance! Viktor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php File upload

2008-08-07 Thread Per Jessen
Tom wrote: > No, ist'not a php limit. The upload is written in main memory, if i > look with vmstat, free is going to 0 and the php upload breaks at 0 > bytes free. Nothing swap used. Any other ideas? > Interesting problem - maybe an apache limit? Lack of diskspace? Permissions? Which error d

[PHP] Re: RSS Feed using PHP/MySQL errors

2008-08-07 Thread Peter Ford
Don Mak wrote: Trying to create an articles rss feed for my site and I keep getting an error that says: = A semi colon character was expected. Line: 7 Character: 60 http://www.chirunning.com/shop/pages.php?pageid=19&id=383 = This is an easy one: in both of the following lines @mysql_

Re: [PHP] An appeal to your better nature

2008-08-07 Thread Børge Holen
On Thursday 07 August 2008 03:57:06 you wrote: > On Thu, 2008-08-07 at 00:46 +0200, Børge Holen wrote: > > On Wednesday 06 August 2008 20:00:50 tedd wrote: > > > At 9:11 AM -0400 8/5/08, Daniel Brown wrote: > > > >On Tue, Aug 5, 2008 at 8:53 AM, Aschwin Wesselius > > > > > > > ><[EMAIL PROTECTED]>

Re: [PHP] php File upload

2008-08-07 Thread Tom
No, ist'not a php limit. The upload is written in main memory, if i look with vmstat, free is going to 0 and the php upload breaks at 0 bytes free. Nothing swap used. Any other ideas? "Per Jessen" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] Tom wrote: > Hi, > > on a linu

Re: [PHP] php File upload

2008-08-07 Thread Per Jessen
Tom wrote: > Hi, > > 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 > scr

Re: [PHP] [scalability, performance, DoS] To or not to process images at runtime

2008-08-07 Thread Per Jessen
Marcelo de Moraes Serpa wrote: > Less manegeable becouse I would have to keep copies of the pictures on > the disk. If I ever want to change these watermarks, I would have to > somehow recreate them. It is more work to do than if I used the > per-request runtime applying of watermark approach, sin

Re: [PHP] [scalability, performance, DoS] To or not to process images at runtime

2008-08-07 Thread Marcelo de Moraes Serpa
@Per Jessen Disk-space is cheap, especially if you don't need to be worried about backup etc. I'm not sure why you think applying watermarks in an off-line process would any less manageable than doing it on-line. Well, the processing will be "online" in the sense that it will be triggered via an

[PHP] Anyone use FileMaker

2008-08-07 Thread Micah Gersten
I'm wondering if anyone here has experience integrating FileMaker with PHP using either ODBC or JDBC. -- Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php