php-general Digest 15 Nov 2009 10:20:08 -0000 Issue 6443

2009-11-15 Thread php-general-digest-help
php-general Digest 15 Nov 2009 10:20:08 - Issue 6443 Topics (messages 299823 through 299840): Re: exec() problem 299823 by: Ashley Sheridan 299824 by: A. Mannini 299825 by: A. Mannini 299826 by: Ashley Sheridan 299827 by: A. Mannini 299828 by:

php-general Digest 16 Nov 2009 02:41:54 -0000 Issue 6444

2009-11-15 Thread php-general-digest-help
php-general Digest 16 Nov 2009 02:41:54 - Issue 6444 Topics (messages 299841 through 299858): Shoutbox suggestion needed 299841 by: Cemal Eker Re: is Aptana taking a crap on the face of PHP? 299842 by: Andy Shellam (Mailing Lists) Developer needed in Rome, Italy

Re: [PHP] File To Blob Corruption

2009-11-15 Thread Ashley Sheridan
On Sun, 2009-11-15 at 16:43 +1300, German Geek wrote: Hi, Could it have something to do with an eof character being encoded or something like that? Do you really need to store the files in the DB? It uses more processing power if stored in the DB because on retrieval, you have to unescape the

[PHP] Shoutbox suggestion needed

2009-11-15 Thread Cemal Eker
Hello, I just want to implement a shoutbox script for an e-learning application. Searched Google for possible solutions but I just want to know what other developers use. AJAX and GPL is a must. Thanks. --- “Talk is cheap. Show me the code” - Linus Torvalds

Re: [PHP] is Aptana taking a crap on the face of PHP?

2009-11-15 Thread Andy Shellam (Mailing Lists)
* It is FREE (unlike Zend's retarded $500 price tag). I bought Zend Studio back in the 5.5 days - a couple of months after that they announced they were dropping support for the standalone IDE and made Studio an Eclipse plugin. It was then they added about $200 to the price. I moved to

[PHP] Developer needed in Rome, Italy

2009-11-15 Thread intelllim...@gmail.com
Hi All, I'm looking for a PHP MySQL JavaScript CSS HTML developer, full time, in Rome, Italy. Laurentina area. Qualification is not compulsory (degree ... certification ...) and can be first experience. Ability to read English is a requirement (so that the candidate can benefit studying real

[PHP] fread() memory problems

2009-11-15 Thread Ashley Sheridan
I was just wondering why fread() seems to use so much memory when reading in a file. My php.ini has a script memory limit of 32MB, yet PHP hits its memory limit on a 19MB mbox file that I'm reading in. How is it possible that this function can use 150% of a files' size in memory?! Thanks, Ash

[PHP] mail mimedecode with multiple mails in one mbox file

2009-11-15 Thread Ashley Sheridan
Hi all, I'm having a bit of difficulty seeing my way through this. I think I'm on the right path with mimeDecode, but I can't get it to read all of the emails in an mbox file which contains 100 emails; it only reads the first. I've looked over the docs on pear.php.net, but can't seem to find any

Re: [PHP] mail mimedecode with multiple mails in one mbox file

2009-11-15 Thread Per Jessen
Ashley Sheridan wrote: Hi all, I'm having a bit of difficulty seeing my way through this. I think I'm on the right path with mimeDecode, but I can't get it to read all of the emails in an mbox file which contains 100 emails; it only reads the first. I've looked over the docs on

Re: [PHP] mail mimedecode with multiple mails in one mbox file

2009-11-15 Thread Ashley Sheridan
On Sun, 2009-11-15 at 20:54 +0100, Per Jessen wrote: Ashley Sheridan wrote: Hi all, I'm having a bit of difficulty seeing my way through this. I think I'm on the right path with mimeDecode, but I can't get it to read all of the emails in an mbox file which contains 100 emails; it

[PHP] this has got me baffled: imagesx() and imagesy() reporting the wrong size?

2009-11-15 Thread Ben
On my site I have a web form for users to upload graphics, however there are constraints on the size allowed. Recently, a user has been having problems, because the code is reporting the wrong size - a size too small to be allowed! They sent me a copy of the image so I could confirm the

Re: [PHP] this has got me baffled: imagesx() and imagesy() reporting the wrong size?

2009-11-15 Thread Ashley Sheridan
On Sun, 2009-11-15 at 15:07 -0500, Ben wrote: On my site I have a web form for users to upload graphics, however there are constraints on the size allowed. Recently, a user has been having problems, because the code is reporting the wrong size - a size too small to be allowed! They sent

[PHP] Lightweight web server for Windows?

2009-11-15 Thread O. Lavell
What do people on this list use as an ultra-lightweight web server (with PHP capability of course) on Windows? I have an old but still well functioning laptop that I have just given a second life by installing Windows Fundamentals (a stripped down version of XP). This works surprisingly well.

Re: [PHP] this has got me baffled: imagesx() and imagesy()reporting the wrong size?

2009-11-15 Thread Ben
Ashley Sheridan wrote: On Sun, 2009-11-15 at 15:07 -0500, Ben wrote: On my site I have a web form for users to upload graphics, however there are constraints on the size allowed. Recently, a user has been having problems, because the code is reporting the wrong size - a size too small to be

[PHP] Help needed with calculation

2009-11-15 Thread Chris Payne
Hi everyone, I'm not sure of the correct formula for this, if I have a file - just for example, that is 10245458756 bytes long and the download speed is 60KB a second, what formula would I use to calculate how many seconds/minutes/hours it would take to download the file? Maths really isn't my

[PHP] Re: File To Blob Corruption

2009-11-15 Thread Nisse Engström
On Sat, 14 Nov 2009 17:39:20 -0800, Don Wieland wrote: Hello, I am trying to create an UPLOAD page to Update a Images and PDFs into a BLOB field in mySQL. The image keeps getting corrupted (it draws a portion of the image and the rest is GRAY) We tried it with Safari and Firefox with

[PHP] Re: Help needed with calculation

2009-11-15 Thread Ben
Chris Payne wrote: Hi everyone, I'm not sure of the correct formula for this, if I have a file - just for example, that is 10245458756 bytes long and the download speed is 60KB a second, what formula would I use to calculate how many seconds/minutes/hours it would take to download the file?

Re: [PHP] Help needed with calculation

2009-11-15 Thread Adam Shannon
If the download speed is constant (linear) then you can just use. (10245458756 / 6t)/1000 = kb/second or (10245458756 / 6t)/6 = kb/minute The general form would be. (size_of_file / download_speed * time) / convert_to_units Where t (or time) is the amount of seconds that the download

Re: [PHP] this has got me baffled: imagesx() and imagesy()reporting the wrong size?

2009-11-15 Thread Ashley Sheridan
On Sun, 2009-11-15 at 16:25 -0500, Ben wrote: Ashley Sheridan wrote: On Sun, 2009-11-15 at 15:07 -0500, Ben wrote: On my site I have a web form for users to upload graphics, however there are constraints on the size allowed. Recently, a user has been having problems, because the code

Re: [PHP] this has got me baffled: imagesx() andimagesy()reporting the wrong size?

2009-11-15 Thread Ben
Ashley Sheridan wrote: On Sun, 2009-11-15 at 16:25 -0500, Ben wrote: Ashley Sheridan wrote: On Sun, 2009-11-15 at 15:07 -0500, Ben wrote: On my site I have a web form for users to upload graphics, however there are constraints on the size allowed. Recently, a user has been having problems,

[PHP] Re: mail mimedecode with multiple mails in one mbox file

2009-11-15 Thread Manuel Lemos
Hello, on 11/15/2009 05:22 PM Ashley Sheridan said the following: Hi all, I'm having a bit of difficulty seeing my way through this. I think I'm on the right path with mimeDecode, but I can't get it to read all of the emails in an mbox file which contains 100 emails; it only reads the

Re: [PHP] Lightweight web server for Windows?

2009-11-15 Thread Jonathan Tapicer
Try nginx (http://nginx.net/), very light, has a Windows binary distribution and can be configured easily for PHP. You can also find some version of Lighttpd compiled for Windows and skip the compilation troubles, and you can use this: http://sites.google.com/site/lightytray/ to control the

[PHP] Re: Lightweight web server for Windows?

2009-11-15 Thread Manuel Lemos
Hello, on 11/15/2009 07:00 PM O. Lavell said the following: What do people on this list use as an ultra-lightweight web server (with PHP capability of course) on Windows? I have an old but still well functioning laptop that I have just given a second life by installing Windows Fundamentals