Re: [nyphp-talk] Stripping formatting from a word document

2007-07-17 Thread Anirudh Zala
On Wednesday 18 Jul 2007 01:07:49 csnyder wrote: > On 7/17/07, Jon Baer <[EMAIL PROTECTED]> wrote: > > I think he was asking about a .doc file directly? Im suprised that > > manipulation of Word docs always comes up on the list + the resources are > > pretty limited. > > > > One project I found a

Re: [nyphp-talk] CakePHP

2007-07-17 Thread Jon Baer
A good interview ... http://devzone.zend.com/article/2349-PHP-Abstract-Podcast-Episode-11- Opinionated-Software -snip- Today’s special guest is Chris Hartjes. Chris has been building PHP applications since 1998. Currently employed as a Senior Developer for the Cake Development Corporation,

Re: [nyphp-talk] Stripping formatting from a word document

2007-07-17 Thread csnyder
On 7/17/07, Jon Baer <[EMAIL PROTECTED]> wrote: I think he was asking about a .doc file directly? Im suprised that manipulation of Word docs always comes up on the list + the resources are pretty limited. One project I found a while ago was antiword in which the sources are available: http:/

Re: [nyphp-talk] Should PHP5 be used for this?

2007-07-17 Thread Mitch Pirtle
Let me just say that I am absolutely *relieved* to see stuff like this happen to someone other than me. I was beginning to think it was a personal problem, but clearly it is not. -- Mitch, heaving a sigh of relief On 7/17/07, Brian O'Connor <[EMAIL PROTECTED]> wrote: Hello all, -- Brian O'Co

Re: [nyphp-talk] Should PHP5 be used for this?

2007-07-17 Thread csnyder
On 7/17/07, Brian O'Connor <[EMAIL PROTECTED]> wrote: Someone I develop with created a good User class that I've been looking at, and I feel that's a good example of something to use an object for. Other examples that I could look into would be very helpful. Yeah, MVC. It works really well to

Re: [nyphp-talk] Should PHP5 be used for this?

2007-07-17 Thread Tom Sartain
when I see a task, and I think of how to do it with objects, I see more code and more obstacles than just placing it in the file (not even necessarily a function), and more work, for nice, but not essential benefits. Think of it this way: All computer programming can be reduced to procedural c

Re: [nyphp-talk] Should PHP5 be used for this?

2007-07-17 Thread Brian O'Connor
Hope my last email was received more as playful than annoying. I figured you had done what I've done too many times in the past and just sent a message before it was ready to go out. Happens to all of us. Yes, I took it as a playful response to my mistake, I laughed :) Thanks to everyone wh

Re: [nyphp-talk] Should PHP5 be used for this?

2007-07-17 Thread Allen Shaw
Brian O'Connor wrote: Here's my problem : I don't see how using php5 and oop would really benefit me in building websites. I understand objects, code reusability and all that. So I'm going to put the areas of my site here, and see how you guys would build objects for them. I have these sect

Re: [nyphp-talk] Should PHP5 be used for this?

2007-07-17 Thread Tom Sartain
Personally, I use objects in 'boring' websites for the entire page. I have a page object which is instantiated at the beginning on the script and starts up the output buffer. From there, I can set the title any number of times throughout the script, add external stylesheets, external javascript or

Re: [nyphp-talk] Should PHP5 be used for this?

2007-07-17 Thread Jon Baer
I think the announcement of end of life for PHP4 should be enough to move on to PHP5. As per why OO is beneficial I think it would be best to @ least look at one of the major frameworks out there, either CakePHP, Symfony, Joolma, etc and see how they are built since it is a good case of how

Re: [nyphp-talk] Should PHP5 be used for this?

2007-07-17 Thread Brian Dailey
Brian, I suggest that you look into MVC frameworks (like CakePHP) to see how you could use them to create your new website. That would help you to better understand OOP, and how you seperate different functions into logical categories. For example, with some of your pages that will probably

[nyphp-talk] Should PHP5 be used for this?

2007-07-17 Thread Brian O'Connor
My apologies, the web browser decided to send prematurely on that one. Hello all, I've been on this list for a few years now reading, and attribute much of my knowledge of PHP to users on this list (in one way or another). I am currently rebuilding my homepage from scratch, which means I have t

Re: [nyphp-talk] Stripping formatting from a word document

2007-07-17 Thread Jon Baer
I think he was asking about a .doc file directly? Im suprised that manipulation of Word docs always comes up on the list + the resources are pretty limited. One project I found a while ago was antiword in which the sources are available: http://www.winfield.demon.nl/ There is one file i

Re: [nyphp-talk] Should PHP5 be used for this?

2007-07-17 Thread Allen Shaw
Brian O'Connor wrote: Hello all, Hello, Brian. -- Allen Shaw Polymer (http://polymerdb.org) slidePresenter (http://slides.sourceforge.net) ___ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presen

Re: [nyphp-talk] closing a page

2007-07-17 Thread Jon Baer
echo '

[nyphp-talk] Should PHP5 be used for this?

2007-07-17 Thread Brian O'Connor
Hello all, -- Brian O'Connor ___ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org/show_parti

[nyphp-talk] closing a page

2007-07-17 Thread shaiju davis
hi, I have a php page with content download option and I need to close the window just after it shows the download option. Is it possible ? Thanks in advance, Shaiju Davis. ___ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/

Re: [nyphp-talk] Stripping formatting from a word document

2007-07-17 Thread Keith Casey
On 7/17/07, Jeff Loiselle <[EMAIL PROTECTED]> wrote: http://us.php.net/strip_tags looks promising. On Jul 17, 2007, at 11:19 AM, Urb LeJeune wrote: > Is anyone aware of any PHP code that will strip formatting from a > Word document? This one is a bit old but comes in handy too: http://shiflet

Re: [nyphp-talk] Stripping formatting from a word document

2007-07-17 Thread Ben Sgro \(ProjectSkyLine\)
Hello, http://www.phpwordlib.motion-bg.com/ Looks good...but cost $..so doesn't look so good. But has a demo. Also, this code snippet: Hi I wish to read MS Word document content using PHP as like text file. Is anybody know any open source PHP script for it. or any other way to do it? O

Re: [nyphp-talk] Practical Extraction in PHP

2007-07-17 Thread csnyder
On 7/16/07, Brian Dailey <[EMAIL PROTECTED]> wrote: Would it be easier to obtain the results in another fashion? If you ran some sort of 'df -h' on a Linux file system you could get the disk space from that. Are the emailed reports are your only option? Yeah, it's probably just better to have

Re: [nyphp-talk] Stripping formatting from a word document

2007-07-17 Thread Jeff Loiselle
http://us.php.net/strip_tags looks promising. On Jul 17, 2007, at 11:19 AM, Urb LeJeune wrote: Is anyone aware of any PHP code that will strip formatting from a Word document? Urb Urb Dr. Urban A. LeJeune, President E-Government.com 800-204-9545 _

[nyphp-talk] Stripping formatting from a word document

2007-07-17 Thread Urb LeJeune
Is anyone aware of any PHP code that will strip formatting from a Word document? Urb Urb Dr. Urban A. LeJeune, President E-Government.com 800-204-9545 ___ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon

Re: [nyphp-talk] Manipulating $_REQUEST Directly

2007-07-17 Thread Chris Shiflett
As a side note to this discussion, using $_REQUEST is a poor practice. For one, it makes it practically impossible to adhere to the HTTP specification: "In particular, the convention has been established that the GET and HEAD methods SHOULD NOT have the significance of taking an action other than

Re: [nyphp-talk] Manipulating $_REQUEST Directly

2007-07-17 Thread csnyder
On 7/16/07, Peter Sawczynec <[EMAIL PROTECTED]> wrote: I have inherited some old legacy code that down and dirty uses $_REQUEST to universally grab all varibales from combined GET and/or POST form submissions. So I want to be equally blunt and directly chop up and massage $_REQUEST before any co