[PHP-DB] Re:

2006-03-11 Thread Miles Thompson
At 11:43 PM 3/10/2006, Ron Piggott (PHP) wrote: X-Spam-Scan: YES X-Spam-Flag: NO X-Spam-Level: / X-Spam-Score: 0.0 (0) X-Spam-Report: score=0.0 stars= tests=UNPARSEABLE_RELAY=0.001 X-Virus-Scan: YES X-Headers-End: 1FHupX-MO-JB X-Delivered-To: [EMAIL PROTECTED] Subject: [PHP-DB] unescape a

Re: [PHP-DB] Excel to CSV

2006-03-11 Thread tg-php
The other response is half correct.. I havn't seen anything to read data from Excel with PHP (although it's technically possible, just kind of complicated) so the easiest solution is to use Excel and just have it load the file and save it in CSV format. The part that's not entirely correct

Re: [PHP-DB] unescape a string

2006-03-11 Thread Ludvig Ericson
http://uk2.php.net/stripslashes On 3/11/06, Ron Piggott (PHP) [EMAIL PROTECTED] wrote: Is there a way to unescape a string once the command mysql_real_escape_string($variable); has been used on it? (This is to display it to the screen, instead of sending it to the database.) Ron --

Re: [PHP-DB] Database abuse help needed

2006-03-11 Thread Ludvig Ericson
Erm, dude, chill out with the elitism. I think there's more then 2% knowing about regexes, and more then 5% of those 2% that can write oh-so-complex regular expressions (Either GMail mangled the indentation or you need help with that part, by the way _) Oh and you complain about it not catching

Re: [PHP-DB] flash/php problem

2006-03-11 Thread Micah Stevens
On Friday 10 March 2006 6:24 pm, Anthony Lee wrote: Actually, I don't see why either method would work: The SWF is in a static HTML page. It requests an mp3, and loads it without having to refresh. So it needs an mp3 returned, not another SWF. Updating the DB from the SWF call sounds cool,

Re: [PHP-DB] Excel to CSV

2006-03-11 Thread Micah Stevens
I've never used it, but: http://sourceforge.net/projects/phpexcelreader/ -Micah On Saturday 11 March 2006 5:53 am, [EMAIL PROTECTED] wrote: The other response is half correct.. I havn't seen anything to read data from Excel with PHP (although it's technically possible, just kind of

Re: [PHP-DB] unescape a string

2006-03-11 Thread Micah Stevens
On Saturday 11 March 2006 6:11 am, Ludvig Ericson wrote: http://uk2.php.net/stripslashes This would partially unescape it, but mysql_escape_string does more than just add slashes to a string. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP-DB] flash/php problem

2006-03-11 Thread Hoz
(sorry i'm late ;)) well it's all done and works perfectly i send the mp3 ID to SWF, then update DB with PHP i call from SWF, return the mp3 file to SWF then play the file. i cant show you the result, but it looks nice really thank you all ! big up Tony ;) Th. - Original Message -

Re: [PHP-DB] Database abuse help needed

2006-03-11 Thread Julien Bonastre
Yes.. elitism ;-) That is I The indentation, yes, formatting of emails across different clients will always be an issue. Regardless though, and thankfully, my code was only a few one liners, whereby the indentation didn't play a huge role at all in representing statements and their

Re: [PHP-DB] Database abuse help needed

2006-03-11 Thread Ludvig Ericson
Well, no matter how long you spend on coding a regex - no sane one would capture all misspellings possible. It's impossible. Think of these: fukc, fucck, f uck, fu ck, fuc k, f ukc, fu kc, fuk c, fu kk, fawk, faak, fak, etc. There are quite a lot A not too sober Ludvig. On 3/12/06, Julien