Re: running exec() on client

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



George Pitcher wrote:
> Jochem,
> 
>> -----Original Message-----
>> From: Jochem Maas [mailto:jochem@xxxxxxxxxxxxx]
>> Sent: 16 January 2007 3:31 pm
>> To: George Pitcher
>> Cc: php-general@xxxxxxxxxxxxx
>> Subject: Re:  running exec() on client
>>
>>
>> George Pitcher wrote:
>>> Hi,
>>>
>>> I am looking for a solution to a server problem. I am part of a 2-person
>>> team - I look after document scanning, OCR (by outside
>> agencies) as well as
>>> all development.
>>>
>>> My colleague is responsible for obtaining copyright permission from
>>> publishers (for what I do). Part of her process is sending emails to
>>> publishers with Word attachments. These are presently being
>> generated by PHP
>>> on our NT server,but recently the process has started to slow down the
>>> server to the point of uselessness.
>> why is it slowing down? is this down to other work the server is doing?
>> are the files being generated becoming 'heavier'? (it's a have your cake
>> or eat it kind of situation, no?)
> 
> The other wor being done is requests for the documents being made by our
> clients (universities), file upload (usually large tiff files) and file
> download (usually small text-PDFs). We only have 80 clients so I would have
> thought the server should cope.

I'm guessing a bit but it sounds like inserting a stack of RAM will make
the problem go away for the foreseable future.

>> isn't it cheaper to install a dedicated server for your app?
>> (rather than making you jump thru hoops, I mean AFAICT this is
>> a core business activity.) an entry level windows server will set you
>> back for the price of a few days work - seems to me to be a much more
>> cost effective attack plan.
>>
> Unfortunately my bosses are pennypinching when it comes to these things,
> though I will be asking - just in case.

in which case he should understand that RAM is *a lot* cheaper than the days
of work your going to be doing (on top of your normal activities), no?

> 
>>> I'm looking for an alternative way to do this. My colleague has rejected
>>> text file attachments as looking unprofessional. I would like
>> to find a way
>>> of generating these files without actually needing to use COM,
>> or winword on
>>> the server. We looked at RTF templates but found the filesize too great.

what about PDF generation? no need for COM, should give you nice compact file
sizes (as well as readonly docs) ... downside is the ammount of coding it would take
... then again your average penny-wise, pound-foolish PHB will probably see it as a
cheaper alternative.

>>>
>>> One option I am considering is installing PHP on her PC and
>> doing the letter
>>> generation locally, but don't know how I'm going to trigger it
>> esp as our IT
>>> person has said I can't install Apache.
>> what he allows and what you can actually do are 2 different thing. ;-)
>>
> Alas, my colleague often needs IT help, and the tecchie is 6 feet away
> (literally), whereas I am 380 miles away, so any underhand activity by me is
> bound to be noticed.
> 
> Cheers
> 
> George
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux