[PHP] large file uploads

2004-04-07 Thread Arthur Radulescu
Hello! Does any one now how I can handle large file uploads (around 10-20 MB) with PHP. I need this functionality into an intranet but I cannot figure out what I must configure to handle this. Thanks, Arthur Looking for a job!? Use

Re: [PHP] large file uploads

2004-04-07 Thread Arthur Radulescu
I have forgot to mention that I have tried this and modified the php.ini on a windows system but had no success. There is no error but the file does not get uploaded either. Arthur - Original Message - From: Jay Blanchard [EMAIL PROTECTED] To: John Nichel [EMAIL PROTECTED]; [EMAIL

Re: [PHP] large file uploads

2004-04-07 Thread Arthur Radulescu
://search.jobsgrabber.com - Original Message - From: Jay Blanchard [EMAIL PROTECTED] To: Arthur Radulescu [EMAIL PROTECTED]; John Nichel [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, April 07, 2004 5:12 PM Subject: RE: [PHP] large

Re: [PHP] large file uploads

2004-04-07 Thread Arthur Radulescu
The code is below (pieces of it). The folders have write permissions. It works just fine with smaller files but nothing happens with larger files if(!is_uploaded_file($_FILES['file']['tmp_name'])){ $ERR['file']=1; }

Re: [PHP] Auto-acks on posting.

2004-04-08 Thread Arthur Radulescu
Yes I get the same emails here -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP editor

2004-04-15 Thread Arthur Radulescu
Hello! This might sound like a stupid question but could anyone recommand a good PHP editor... I have used some editors until now but each one has some problems... Right now I am using PHPed which is pretty good but oine of the major problems is that it does fills the tabs with spaces which

Re: [PHP] PHP editor

2004-04-15 Thread Arthur Radulescu
It might be a directive for good programming but as long as this might double the size of a resulted page this is not good for me. Thanks anyway. Arthur Filling tabs with spaces is a directive for good programming - see http://pear.php.net If you want a good editor you can try EditPlus -

Re: [PHP] PHP editor

2004-04-15 Thread Arthur Radulescu
Not exactly... I was not reffering to PHP files... The white spaces from a template file will make double the size of certain files when they are sent to the browser... So a page of 50 k might have 100 K because of those white spaces instead of tabs... For a dial up connection this means a lot

Re: [PHP] PHP editor

2004-04-15 Thread Arthur Radulescu
Remove all whitespace from the final HTML, then all this doesn't matter. function cleanFinalOutput($html){ $return = eregi_replace(\n, , $html); $return = eregi_replace(\r, , $return); return eregi_replace(\t, , $return); } Have already thought about this but would this not be too

Re: Re[2]: [PHP] PHP editor

2004-04-15 Thread Arthur Radulescu
I fully agree with you but as I have mentioned the first time Zend seems to be to slow for fast editing... And sometimes it really takes too much from the computer resources... I spend around 8 to 10 hours a day inside of Zend Studio (it's open behind this email window as I type) and I couldn't

Re: [Re: [PHP] PHP editor]

2004-04-15 Thread Arthur Radulescu
PHP is one thing and HTML is another thing.. Check the google source code and you'll that this is how they have it... I assume the reason is to reduce the size of the page... --- That is not correct. Since PHP and HTML engines all ignore white space and comments it does not

Re: [Re: [PHP] PHP editor]

2004-04-15 Thread Arthur Radulescu
What I meant was that it is obiously that eliminating the spaces but not by a blind replacement, the new lines characters and even the tabs will reduce the size of the page which will result in a faster loading and less bandwidth consumed... And the example was google... Am I wrong with anything

Re: [Re: [PHP] PHP editor]

2004-04-15 Thread Arthur Radulescu
You are correct, but I believe the bandwidth savings is small. What I usually do for my apps is allow the admin to configure whitespace trimming. If configured, I only remove whitespace from the beginning of the line to the first non-whitespace character. This reduces the code size

Re: [PHP] Array Problem

2004-04-17 Thread Arthur Radulescu
That's how you could do it ... $ar = array(); $len = strlen($a); for ($i = 0; $i $len; ++$i) { $ar[] = $a{$i}; } If I remember well strlen is used for checking the length of a string... Arthur Looking for a job!? Use the

[PHP] searching trough doc and pdf files

2004-04-22 Thread Arthur Radulescu
Hello! I need to search on the disk trough doc and pdf files. What would you suggest me to use for reading and indexing those kind of files? Thanks, Arthur Looking for a job!? Use the smart search engine!! Find a Job from Millions

Re: [PHP] searching trough doc and pdf files

2004-04-22 Thread Arthur Radulescu
I've heard of some doc-html/text and pdf-html/text converters. You could convert them to that format (since you're just after the text, right?), and then search them that way. Might be able to use COM if you're on a Windows system, also. Any ideea what the name was? I am on a Linux system,

[PHP] converting movies

2004-05-06 Thread Arthur Radulescu
Hello! Does anyone know how I can convert movies from a format to another or how I could get a screenshot of the movie (the first scene) using PHP or at least something running on a linux system. Thanks, Arthur -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] ImageMagick

2004-06-15 Thread Arthur Radulescu
Hello! Does anyone knows if PHP library for ImageMagick has multilanguage support? I am planning to use it but I have not found anything related to this on their site Thanks, Arthur