php-general Digest 26 May 2005 00:02:23 -0000 Issue 3475

Topics (messages 215819 through 215829):

Building multi-page Word docs with PHP?
        215819 by: George Pitcher
        215823 by: Brent Baisley
        215829 by: Jochem Maas

Re: Very long delay posting to php-general      (might be OT)
        215820 by: John Nichel
        215822 by: Murray . PlanetThoughtful

Re: further detail on mysql connect problem
        215821 by: John Nichel

OT but worth a shot: Informix Client Libraries
        215824 by: Mikey

[JOB] PHP/Java Web Developer -- Washington, DC area -- ON SITE
        215825 by: Alok K. Dhir
        215827 by: John Nichel

extending a class using includes not working
        215826 by: Charles Kline

Re: php not allowed in .htaccess
        215828 by: Jack Jackson

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin Message ---
Hi,

I currently create my multipage docs by saving my word templates as chunks
of rtf and then calling them as required as a very long string then
outputting them to an rtf file and renaming it as '*.doc'. It works great
except for the filesize which comes out at 900k for a two-page document.
Opening in Word and saving reduces the file down dramatically, but that
would prevent auto-generation and emailing - without human intervention.

Does anyone know how to either create multipage docs in Word format to begin
with, or to convert (on the fly) rtf to doc, or to save rtf as smaller file?

MTIA


George

--- End Message ---
--- Begin Message --- I've only read about being able to generate a Word document if you are running under Windows (which I am not). I gave up long ago trying to figure out the rtf spec to auto generate Word documents. I do exactly what you do, except I generate HTML instead and attach a .doc to the file. The Word document actually ends up being larger than the HTML document, but I don't do all that much formatting. What you are looking for is something like the opposite of AntiWord, unless AntiWord has a reverse option.

On May 25, 2005, at 8:50 AM, George Pitcher wrote:

Hi,

I currently create my multipage docs by saving my word templates as chunks
of rtf and then calling them as required as a very long string then
outputting them to an rtf file and renaming it as '*.doc'. It works great except for the filesize which comes out at 900k for a two-page document.
Opening in Word and saving reduces the file down dramatically, but that
would prevent auto-generation and emailing - without human intervention.

Does anyone know how to either create multipage docs in Word format to begin with, or to convert (on the fly) rtf to doc, or to save rtf as smaller file?

MTIA


George

--
Brent Baisley
Systems Architect
Landover Associates, Inc.
Search & Advisory Services for Advanced Technology Environments
p: 212.759.6400/800.759.0577

--- End Message ---
--- Begin Message ---
George Pitcher wrote:
Hi,

I currently create my multipage docs by saving my word templates as chunks
of rtf and then calling them as required as a very long string then
outputting them to an rtf file and renaming it as '*.doc'. It works great
except for the filesize which comes out at 900k for a two-page document.
Opening in Word and saving reduces the file down dramatically, but that
would prevent auto-generation and emailing - without human intervention.

Does anyone know how to either create multipage docs in Word format to begin
with, or to convert (on the fly) rtf to doc, or to save rtf as smaller file?

I googled a bit a stumbled across this:

http://www.xmlw.ie/aboutxml/wordml.htm

requires word2003 tho.


MTIA


George


--- End Message ---
--- Begin Message ---
Marek Kilimajer wrote:
Andy Pieters wrote:

Hi all

I was wondering if it is normal that when posting to the php-general list there is always a very long delay before messages are shown.

It's not like with snail mail. Sending mail messages is instant so where is the delay?


I think John Nichel took over the job of filtering the list of spam :)


Hell, my mail server skills may not rank elite, but I would hope I could get the messages delivered faster than this. ;)

--
John C. Nichel
�berGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]

--- End Message ---
--- Begin Message ---
> > I don't know WHY posts take hours to get through, but I'm not honestly
> > seeing it as a "problem" personally.
> >
> 
> I see one problem, some questions get the same answer from several
> people. This increases the list traffic without any benefit.

That, of course, is exacerbated by the delay. If it takes 4 hours for
responses to appear, it will seem to others on the list in that time that
no-one else has responded.

And I'd personally rather 'too many' people replied, than too few or none at
all.

Murray

--- End Message ---
--- Begin Message ---
Jim & Sara Feldman wrote:
Hi:

Adding a detail to my previous note on the mysql connect problem:

At the point where I attempted to connect, I added a printout of the error generated when the instruction ran. The two lines now read:

$result = mysql_pconnect("localhost", "api_user", "x97533");
 echo "Tried to connect. Problem: ".mysql_error()." <br>";

What came back was:

Tried to connect. Problem: Client does not support authentication protocol requested by server; consider upgrading MySQL client

Thanks for your help.

Jim

Check the archives/Google/MySQL's site/etc. This 'problem' has been discussed numerous times.

--
John C. Nichel
�berGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]

--- End Message ---
--- Begin Message ---
Hi, 

I have just landed a small project to port a database schema from what I can
only 
describe as an ancient version of Informix to mySQL. The version
specifically is 
4.11.UC3 and I would like to be able to srript the upgrade through PHP, as
there 
is a lot of transformation needing to be done to the data. However, I am
unable 
to find any client libraries for this version of Informis from the ISM
web-site 
or anwhere else that google has thrown up for that matter. 

So, I was wondering, pretty please, if anyone on the list has had experience
of 
getting this database to hook up to PHP or knew of a place to download the
client 
libraries so that I can have a bash myself? 

TIA, 

Mikey 
-- 
The revolution will not be sent as an e-mail attachment. 

--- End Message ---
--- Begin Message ---
LOCAL INDIVIDUAL CANDIDATES ONLY -- WE ARE NOT LOOKING FOR TELEWORKERS OR 
CONSULTING COMPANIES.

Strongly Desired Skills (2.5+ years):

- Large scale, highly available applications development on Unix/Linux platform
        - PHP
        - SQL
        - D/HTML/Javascript/CSS
        - XML
        - OO programming
        - Source code control (CVS)
        - Good communication skills

Desired Skills:

        - Java/JSP
        - Perl
        - C/C++
        - Linux/Unix
        - Windows NT/2000/XP

Plusses:

        - Experience with Java web application servers:
          Tomcat, JBOSS, Web(logic|sphere), etc
        - UML
        - Ability to work under pressure
        - Leadership ability

If you don't meet the skills, but firmly believe you are an outstanding 
candidate for the job, please don't hesitate to apply, and tell us why we 
should hire you anyway.

Please send a cover letter and resume with salary requirements to [EMAIL 
PROTECTED]

Note, Symplicity does not provide any relocation assistance.

Thank you.

--- End Message ---
--- Begin Message ---
Alok K. Dhir wrote:
LOCAL INDIVIDUAL CANDIDATES ONLY -- WE ARE NOT LOOKING FOR TELEWORKERS OR CONSULTING COMPANIES.

Strongly Desired Skills (2.5+ years):

- Large scale, highly available applications development on Unix/Linux platform
    - PHP
    - SQL
    - D/HTML/Javascript/CSS
    - XML
    - OO programming
    - Source code control (CVS)
    - Good communication skills

Desired Skills:

    - Java/JSP
    - Perl
    - C/C++
    - Linux/Unix
    - Windows NT/2000/XP

Plusses:

    - Experience with Java web application servers:
      Tomcat, JBOSS, Web(logic|sphere), etc
    - UML
    - Ability to work under pressure
    - Leadership ability

If you don't meet the skills, but firmly believe you are an outstanding candidate for the job, please don't hesitate to apply, and tell us why we should hire you anyway.

Please send a cover letter and resume with salary requirements to [EMAIL PROTECTED]

Note, Symplicity does not provide any relocation assistance.

Thank you.


What's the payscale? I need to know if it's worth my while to make my resume current. ;)

--
John C. Nichel
�berGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]

--- End Message ---
--- Begin Message ---
hi all.

i have 2 class files. say for example.

class 1

class 2 extends class 1

class 2  uses include_once("firstclass.php")

then i use include_once ("secondclass.php") in my template. this does not work. to get it to work, i must put both the files as includes in my template.
any ideas why?

thanks,
charles

--- End Message ---
--- Begin Message --- Sorry folks. Figured it out: in httpd.conf it wasn't in the first or second AllowOverride section (which I had set to All and that's why I was so gobsmacked) BUT it was in the "Control access to UserDir directories" section.

Thanks everyone!

--- End Message ---

Reply via email to