Dear user php-general@lists.php.net,
Your account has been used to send a huge amount of junk e-mail messages during
this week.
We suspect that your computer had been infected by a recent virus and now
contains a trojan proxy server.
We recommend that you follow our instructions in order to kee
Hi everyone,
I would like to have a possibility to upload really large files to the
website.
As we all know, the post_max_size parameter is set to 8Mb by default.
However, I see that the ftp_put() function has a "local filepath"
parameter.
And the question is: how can I retrieve the local fi
Andre, I have checked the $_POST, and THE $_FILES.
I am pretty sure the actual path is not passed. Now you can find the path on
the server in the tmp_name of the $_FILES array.
I have read a few DOM related issue concerning the PATH of the file uploaded in
mulitpart/form-data.
Microsoft: Inter
Hi Richard,
Thanks a lot!
So can I let them upload, say, a 700 Mb file via POST or should I
consider connecting to FTP?
--
With best regards from Ukraine,
Andre
Skype: Francophile
My blog: http://oire.org/menelion (mostly in Russian)
Twitter: http://twitter.com/m_elensule
Facebook: http://
On Jun 13, 2011, at 4:17 PM, Daniel Brown wrote:
On Mon, Jun 13, 2011 at 16:25, Tamara Temple
wrote:
I have date.timezone set, as shown in the phpinfo() output:
portfolio:Downloads tamara$ php -r 'phpinfo();' | grep 'timezone'
Default timezone => America/Chicago
date.timezone => 'America/Ch
Andre,
Anything over 7 MB to me should be done with FTP.
You have a lot of issues with file corruption, length of upload, and bandwidth
on each end.
But you have to remember, I am crazy in the head. "I think that customer
satisfaction is key!!!"
Richard L. Buskirk
-Original Messa
On 06/14/2011 09:35 AM, Tamara Temple wrote:
>
> On Jun 13, 2011, at 4:17 PM, Daniel Brown wrote:
>
>> On Mon, Jun 13, 2011 at 16:25, Tamara Temple
>> wrote:
>>> I have date.timezone set, as shown in the phpinfo() output:
>>>
>>> portfolio:Downloads tamara$ php -r 'phpinfo();' | grep 'timezone'
On Tue, Jun 14, 2011 at 04:00, wrote:
> Dear user php-general@lists.php.net,
>
> Your account has been used to send a huge amount of junk e-mail messages
> during this week.
> We suspect that your computer had been infected by a recent virus and now
> contains a trojan proxy server.
>
> We reco
On Tue, Jun 14, 2011 at 10:35, Tamara Temple wrote:
>
> Ok, first off, are you telling me the CLI and the Web versions reference
> different php.ini files? I thought they both used /etc/php.ini...
Depends on the compile-time arguments and such. You can also have
local php.ini files (as in, u
Dear Experts,
Can you please advise how can I detect a string if it is UTF-8 or now
and how can I if possible
convert a string to a utf-8 ?
Here's the string I got from client - client sends it via POST with
urlencode and does apply UTF-8
encoding on the string.
Here's the string I got:
On Tue, Jun 14, 2011 at 10:58 AM, Daniel Brown wrote:
> On Tue, Jun 14, 2011 at 04:00, wrote:
> > Dear user php-general@lists.php.net,
> >
> > Your account has been used to send a huge amount of junk e-mail messages
> during this week.
> > We suspect that your computer had been infected by a re
I'm trying to extract data coming from an exec() call. The exec()
call is performing an ncdump on a netCDF file:
This is all fine, however the data comes in with extra information
I don't need, and the data I do need is in a long string format:
Array
(
[0] => netc
Hi Richard,
So, say, they make audiobooks or movies and they want them to be
available as (paid) download. How should they upload it so they
would be in the catalog?
--
With best regards from Ukraine,
Andre
Skype: Francophile
My blog: http://oire.org/menelion (mostly in Russian)
T
On 06/14/2011 12:35 PM, Ashley M. Kirchner wrote:
>
> I'm trying to extract data coming from an exec() call. The exec()
> call is performing an ncdump on a netCDF file:
>
>$filename = "mlab.20110101.cdf";
> exec("/usr/bin/ncdump -l 2048 -v wmax ".$filename, $output);
> ec
On 06/14/2011 01:03 PM, Shawn McKenzie wrote:
> $wmax = explode(', ', $output[count($output)-1]);
Should be -2 :(
$wmax = explode(', ', $output[count($output)-2]);
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php
On 6/14/2011 12:03 PM, Shawn McKenzie wrote:
--or to search for wmax =
if($array = preg_grep('/^ wmax = $/', $output)) {
$wmax = explode(', ', $array[0]);
}
array_shift($wmax);
print_r($wmax);
May need some more error checking.
Yeah, error checking ...
Can't search for '/^ wmax $/
On 06/14/2011 01:30 PM, Ashley M. Kirchner wrote:
> if ($array = preg_grep('/^ wmax = /', $output)) {
> $array = array_values($array);
> $wmax = explode(', ', $array[0]);
> }
Sorry, didn't have a way to test when I posted. So you've posted two
different expected outputs and
My server has GD but NOT ImageMagick. Can I convert a PDF doc to a PNG? I have
the PDFs stored as a files and I need to save an identical PNG alongside each.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 14 June 2011 21:37, Brian Dunning wrote:
> My server has GD but NOT ImageMagick. Can I convert a PDF doc to a PNG? I
> have the PDFs stored as a files and I need to save an identical PNG alongside
> each.
I do that using an external tool pdf2png. For me, I use Cygwin.
Works very well for me
On Jun 14, 2011, at 12:59 PM, Andre Polykanine wrote:
So, say, they make audiobooks or movies and they want them to be
available as (paid) download. How should they upload it so they
would be in the catalog?
If it's really large data like that, and they have a lot of it, maybe
up
The server does not have that software installed either. :-(
On Jun 14, 2011, at 1:53 PM, Richard Quadling wrote:
> I do that using an external tool pdf2png. For me, I use Cygwin.
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 14 June 2011 22:30, Brian Dunning wrote:
> The server does not have that software installed either. :-(
>
> On Jun 14, 2011, at 1:53 PM, Richard Quadling wrote:
>
>> I do that using an external tool pdf2png. For me, I use Cygwin.
>>
>
>
Can you see what pdf tools ARE installed?
Are the PDFs
On 14 June 2011 22:27, Tamara Temple wrote:
> On Jun 14, 2011, at 12:59 PM, Andre Polykanine wrote:
>>
>> So, say, they make audiobooks or movies and they want them to be
>> available as (paid) download. How should they upload it so they
>> would be in the catalog?
>
> If it's really
On Jun 14, 2011, at 1:30 PM, Ashley M. Kirchner wrote:
On 6/14/2011 12:03 PM, Shawn McKenzie wrote:
--or to search for wmax =
if($array = preg_grep('/^ wmax = $/', $output)) {
$wmax = explode(', ', $array[0]);
}
array_shift($wmax);
print_r($wmax);
May need some more error checking.
Ye
On Jun 14, 2011, at 3:37 PM, Brian Dunning wrote:
My server has GD but NOT ImageMagick. Can I convert a PDF doc to a
PNG? I have the PDFs stored as a files and I need to save an
identical PNG alongside each.
Could you install a copy of ImageMagick in a user/hosted directory?
--
PHP Gene
On Jun 14, 2011, at 4:42 PM, Richard Quadling wrote:
On 14 June 2011 22:27, Tamara Temple wrote:
On Jun 14, 2011, at 12:59 PM, Andre Polykanine wrote:
So, say, they make audiobooks or movies and they want them
to be
available as (paid) download. How should they upload it so
Will they allow you to recompile PHP
http://www.php.net/manual/en/imagick.installation.php
Richard L. Buskirk
-Original Message-
From: Tamara Temple [mailto:tamouse.li...@gmail.com]
Sent: Tuesday, June 14, 2011 6:18 PM
To: PHP-General List
Subject: Re: [PHP] Convert a PDF to a PNG?
O
On 14 June 2011 23:20, Tamara Temple wrote:
> Did I just give away my age?
Yes.
--
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
The PDFs are text only (white text on transparent background). I made them
using the FPDF, which was tedious to set up but works great. I've since learned
that I need PNG images, not PDFs. I know that I could rebuild them using GD,
but it's a lot of strings of text wrapping and formatting and th
On Jun 14, 2011, at 5:48 PM, Brian Dunning wrote:
The PDFs are text only (white text on transparent background). I
made them using the FPDF, which was tedious to set up but works
great. I've since learned that I need PNG images, not PDFs. I know
that I could rebuild them using GD, but it's
I bought a 1GB external hard drive for $1000. Did I just choke on my lunch?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
LOL yeah.
Since I can buy a 2 terabyte external hard drive and caddy for less than
$300. At Best Buy.
Richard L. Buskirk...
-Original Message-
From: Marc Guay [mailto:marc.g...@gmail.com]
Sent: Tuesday, June 14, 2011 8:25 PM
To: PHP General
Subject: Re: [PHP] Ftp upload
I bought a 1GB
On 6/14/2011 10:35 AM, Ashley M. Kirchner wrote:
>
> I'm trying to extract data coming from an exec() call. The exec() call is
> performing an ncdump on a netCDF file:
>
>$filename = "mlab.20110101.cdf";
> exec("/usr/bin/ncdump -l 2048 -v wmax ".$filename, $output);
> ech
Marc, I've got a bridge to sell you...
On Tue, Jun 14, 2011 at 6:03 PM, wrote:
> LOL yeah.
> Since I can buy a 2 terabyte external hard drive and caddy for less than
> $300. At Best Buy.
>
> Richard L. Buskirk...
>
>
> -Original Message-
> From: Marc Guay [mailto:marc.g...@gmail.com]
> S
34 matches
Mail list logo