Re: [nyphp-talk] Converting the pesky MS Word quotes and other characters

2008-10-29 Thread Daniel Convissor
-- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409 __

Re: [nyphp-talk] Converting the pesky MS Word quotes and other characters

2008-10-29 Thread Michael Southwell
Hans Zaunere wrote: Has anyone on here found a viable solution? Everything seems to work on the www side of things but as soon as i use the data in an RSS feed it does not seem to like the MS Word characters. Word/etc always manages to create new and exciting chars, but the following usually t

[nyphp-talk] OpenID is what?

2008-10-29 Thread mikesz
Hello NYPHP, Having been recently hacked and several of my webmaster email account names being hijacked by spammers, I am looking for viable solutions to safeguard my websites and the membership of these sites. I just ran across some discussion about openID (yes, I have been in a cave now for som

RE: [Fwd: [nyphp-talk] Sun/MySQL/PHP Special Presentation - YOU PICK]

2008-10-29 Thread Hans Zaunere
> + 1 for Tag system Thanks all - I think this one is pretty much unanimous... H ___ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participa

RE: [nyphp-talk] Converting the pesky MS Word quotes and other characters

2008-10-29 Thread Hans Zaunere
> // convert smart quotes and mdashes > $wordchars=array('—','"','"',''',''',"…"); I've ran into strange and subtle issues when actually putting the chars to replace themselves into code. This is especially frustrating with encoding/etc of various files, in which cases sometimes these won't m

Re: [Fwd: [nyphp-talk] Sun/MySQL/PHP Special Presentation - YOU PICK]

2008-10-29 Thread Jake McGraw
+ 1 for Tag system On Wed, Oct 29, 2008 at 3:16 PM, Tom Sartain <[EMAIL PROTECTED]> wrote: > +1 for Writing Tag Systems as well > > On 10/29/08, Shari Halter <[EMAIL PROTECTED]> wrote: >> >> >> +1 for Writing Tag systems in PHP/MySQL >> >> >> >> -shari >> >> >>

Re: [nyphp-talk] Converting the pesky MS Word quotes and other characters

2008-10-29 Thread Joseph Crawford
I'm not sure why but neither suggestion seemed to work, here is what I found that does work /** * Remove unwanted MS Word high characters from a string * * @param string $string * @return string $string */ function sanitizeString($string = null) { if(is_null($string)) return false;

Re: [nyphp-talk] Converting the pesky MS Word quotes and other characters

2008-10-29 Thread csnyder
On Wed, Oct 29, 2008 at 3:40 PM, Hans Zaunere <[EMAIL PROTECTED]> wrote: > > $this->Value = str_replace(array(chr(0x92),chr(0x93), > chr(0x94),chr(0x96),chr(0x97),chr(0x85)), > array('\'','"','"','-','-','...'),$this->Value); > Yep, use Hans' it's more readable. Chris Snyder http://chxor.chxo.co

Re: [nyphp-talk] Converting the pesky MS Word quotes and other characters

2008-10-29 Thread csnyder
On Wed, Oct 29, 2008 at 3:30 PM, Joseph Crawford <[EMAIL PROTECTED]> wrote: > Has anyone on here found a viable solution? Everything seems to work on the > www side of things but as soon as i use the data in an RSS feed it does not > seem to like the MS Word characters. > That's for sure. Here's

RE: [nyphp-talk] Converting the pesky MS Word quotes and other characters

2008-10-29 Thread Hans Zaunere
> Has anyone on here found a viable solution? Everything seems to work > on the www side of things but as soon as i use the data in an RSS feed > it does not seem to like the MS Word characters. Word/etc always manages to create new and exciting chars, but the following usually take care of most

[nyphp-talk] Converting the pesky MS Word quotes and other characters

2008-10-29 Thread Joseph Crawford
Has anyone on here found a viable solution? Everything seems to work on the www side of things but as soon as i use the data in an RSS feed it does not seem to like the MS Word characters. Thanks, Joseph Crawford ___ New York PHP Community Talk Mai

Re: [Fwd: [nyphp-talk] Sun/MySQL/PHP Special Presentation - YOU PICK]

2008-10-29 Thread Tom Sartain
+1 for Writing Tag Systems as well On 10/29/08, Shari Halter <[EMAIL PROTECTED]> wrote: > > > +1 for Writing Tag systems in PHP/MySQL > > > > -shari > > > ___ > New York PHP Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > N

RE: [Fwd: [nyphp-talk] Sun/MySQL/PHP Special Presentation - YOU PICK]

2008-10-29 Thread Shari Halter
+1 for Writing Tag systems in PHP/MySQL -shari ___ 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:

Re: [nyphp-talk] Sun/MySQL/PHP Special Presentation - YOU PICK

2008-10-29 Thread Ajai Khattri
On Wed, 29 Oct 2008, Hans Zaunere wrote: > -- Writing Tag systems in PHP/MySQL, that scale to memcached, with XDebug > for Profiling; Writing a social application such as forums, messaging or > guilds with PHP/MySQL and what happens when a million people show up on > opening day. +1 Good timing

[Fwd: [nyphp-talk] Sun/MySQL/PHP Special Presentation - YOU PICK]

2008-10-29 Thread Anthony Wlodarski
+1 for Writing Tag systems in PHP/MySQL -Anthony Original Message Subject: [nyphp-talk] Sun/MySQL/PHP Special Presentation - YOU PICK Date: Wed, 29 Oct 2008 12:20:54 -0400 From: Hans Zaunere <[EMAIL PROTECT

[nyphp-talk] Sun/MySQL/PHP Special Presentation - YOU PICK

2008-10-29 Thread Hans Zaunere
All, We're pleased to host two of Sun/MySQL premier technical team members for a NYPHP Special Presentation, November 12th. We'll put the announcement out this week, but first you need to pick which presentation should be given - these are technical/overview presentations. These are the options

Re: [nyphp-talk] serving a download only to authenticated users

2008-10-29 Thread Corey H Maass - gelform.com
It's also straight forward to hide the location o the original file by using fopen, fread. // authentication logic, then... $fileName = 'whatever.ppt'; $filePath = 'folder/' $fileName; header('Content-Disposition: atachment; filename="' . $fileName . '"'); header("Content-Type: application/ppt")