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
299843 by: intelllimike.gmail.com

fread() memory problems
299844 by: Ashley Sheridan

mail mimedecode with multiple mails in one mbox file
299845 by: Ashley Sheridan
299846 by: Per Jessen
299847 by: Ashley Sheridan
299858 by: Manuel Lemos

this has got me baffled: imagesx() and imagesy() reporting the wrong size?
299848 by: Ben
299849 by: Ashley Sheridan
299852 by: Ben
299856 by: Ashley Sheridan
299857 by: Ben

Lightweight web server for Windows?
299850 by: O. Lavell

Re: File To Blob Corruption
299851 by: Nisse Engström

Help needed with calculation
299853 by: Chris Payne
299854 by: Ben
299855 by: Adam Shannon

Administrivia:

To subscribe to the digest, e-mail:
php-general-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
php-general-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
php-gene...@lists.php.net


--
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
> 
> * 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 NuSphere PhpEd and was happy with that for a couple of years, now 
I'm on a Mac and haven't been able to find a decent IDE for either PHP or C++.

Apple's Xcode seems to do the job for C++ (although better code completion 
wouldn't go a miss) but it fails miserably with PHP.  Komodo was great for PHP 
but quite often it kept failing to load my class definitions for the code 
completion (and kept my processor sat at 25% use the whole time it was running.)

I thought NetBeans was Java-only (and proprietary) but evidently it's come a 
long way since I last looked at it - I'm just downloading it now to see if it 
will handle both PHP and C++.

--- End Message ---
--- Begin Message ---
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 world documentation).

Example of previous jobs are welcome
even if they are amateur.

References are a plus.

Please contact me off-list.


Regards and have a nice evening,
Mike
--- End Message ---
--- Begin Message ---
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
http://www.ashleysheridan.co.uk


--- End Message ---
--- Begin Message ---
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
way to get the other 99 emails out!

Does anyone know of any way to do this, or have you done something
similar another way? Just to clarify, I won't be connecting to an
external mailbox for this, so it has to be something I can use on a
local mbox file.

Ps, sorry to anyone who thinks bad of me for opening two threads at
once, but they are quite separate, and valid, and contrary to popular
belief, us men *can* actually multitask!


Thanks,
Ash
http://www.ashleysheridan.co.uk


--- End Message ---
--- Begin Message ---
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 pear.php.net, but can't seem to find any
> way to get the other 99 emails out!
> 
> Does anyone know of any way to do this, 

Look up "formail -s"


/Per

-- 
Per Jessen, Zürich (9.0°C)

--- End Message ---
--- Begin Message ---
On Sun, 2009-11-15 at 20:54 +0100, Per Jessen wrote:

> Ashley Sheridan wro

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: A. Mannini
299829 by: Ashley Sheridan
299830 by: Kim Madsen
299831 by: A. Mannini
299832 by: A. Mannini

Re: exec() problem [SOLVED]
299833 by: A. Mannini

Re: RIGHT Function?
299834 by: sono-io.fannullone.us

File To Blob Corruption
299835 by: Don Wieland
299836 by: German Geek
299840 by: Ashley Sheridan

Re: uniqid() and repetition of numbers generated
299837 by: German Geek

Re: What method is best for generating thumbnails in PHP from PDF's?
299838 by: German Geek

Re: Need suggestions on PHP frameworks
299839 by: German Geek

Administrivia:

To subscribe to the digest, e-mail:
php-general-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
php-general-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
php-gene...@lists.php.net


--
--- Begin Message ---
On Sat, 2009-11-14 at 22:20 +0100, A. Mannini wrote:

> Hi all,
> 
> i've a problem using exec() on a Linux server with PHP 5.2.9 on Apache 
> 2.2.13. Safe mode is OFF and Apache isn't chrooted.
> 
> I would run /usr/lib/mailman/bin/find_member -l   so i used 
> exec("sudo run /usr/lib/mailman/bin/find_member -l  
> ",$output) and set /etc/sudoers with apache ALL=NOPASSWD: 
> /usr/lib/mailman/bin/find_memberbut it doesn't work.
> 
> I tried simple commands "/bin/ls" works, "sudo -V" work but "sudo 
> /bin/ls" doesn't work.
> 
> I get return code 1 and no messages in logs..
> 
> What is worng?
> 
> Thanks
> 
> Alessandro
> 


Did you mean to put 'run' into the exec call?

Thanks,
Ash
http://www.ashleysheridan.co.uk


--- End Message ---
--- Begin Message ---

 Hi all,

i've a problem using exec() on a Linux server with PHP 5.2.9 on Apache
2.2.13. Safe mode is OFF and Apache isn't chrooted.

I would run /usr/lib/mailman/bin/find_member -l   so i used
exec("sudo run /usr/lib/mailman/bin/find_member -l 
",$output) and set /etc/sudoers with apache ALL=NOPASSWD:
/usr/lib/mailman/bin/find_memberbut it doesn't work.

I tried simple commands "/bin/ls" works, "sudo -V" work but "sudo
/bin/ls" doesn't work.

I get return code 1 and no messages in logs..

What is worng?

Thanks

Alessandro
--- End Message ---
--- Begin Message ---

Ashley Sheridan ha scritto:


Have you checked to ensure that the exec is actually running at all? 
Check the error logs to see what they say. There may be a problem with 
the string argument for exec(), like an unescaped character that is 
causing an issue


Thanks,
Ash
http://www.ashleysheridan.co.uk




Yes i had no messages in Apache logs so i tried to use error_log in 
php.ini but again no messages.
Don't know if there is a way to see what php module interpeter and try 
to execute.


Thanks

Alessandro
--- End Message ---
--- Begin Message ---
On Sun, 2009-11-15 at 00:06 +0100, A. Mannini wrote:

> Ashley Sheridan ha scritto:
> >
> > Have you checked to ensure that the exec is actually running at all? 
> > Check the error logs to see what they say. There may be a problem with 
> > the string argument for exec(), like an unescaped character that is 
> > causing an issue
> >
> > Thanks,
> > Ash
> > http://www.ashleysheridan.co.uk
> >
> >
> 
> Yes i had no messages in Apache logs so i tried to use error_log in 
> php.ini but again no messages.
> Don't know if there is a way to see what php module interpeter and try 
> to execute.
> 
> Thanks
> 
> Alessandro
> 


I think for something like that, you should be looking at your system
logs, as that's likely where the errors would log.

Thanks,
Ash
http://www.ashleysheridan.co.uk


--- End Message ---
--- Begin Message ---

Ashley Sheridan ha scritto:

On Sun, 2009-11-15 at 00:06 +0100, A. Mannini wrote:


Ashley Sheridan ha scritto:
Have you checked to ensure that the exec is actually running at all? 
Check the error logs to see what they say. There may be a problem with 
the string argument for exec(), like an unescaped character that is 
causing an issue


Thanks,
Ash
http://www.ashleysheridan.co.uk


Yes i had no messages in Apache logs so i tried to use error_log in 
php.ini but again no messages.
Don't know if there is a way to see what php module interpeter and try 
to execute.


Thanks

Alessandro




I think for something like that, you should be looking at your system
logs, as that's likely where the errors would log.

Thanks,
Ash
http://www.ashleysheridan.co.uk





Looked to all log...nothing! :-(
--- End Message ---
--- Begin Message ---

Ashley Sheridan ha scritto:

On Sun, 2009-11-15 at 00:06 +0100, A. Mannini wrote:


Ashley Sheridan ha scritto:
Have you ch