Re: [PHP] PHP Web Applications

2007-06-28 Thread Tijnema
On 6/28/07, Daniel [EMAIL PROTECTED] wrote: It does?! I got it for something around $100 if I remember right. I don't remember you specifying that it had to be free either. Nope, I forgot to specify it, but $100 is still too much for me ;) I'm just a poor student :P Tijnema On Jun 27,

Re: [PHP] FreeMovie API

2007-06-28 Thread Tijnema
On 6/27/07, David Giragosian [EMAIL PROTECTED] wrote: Anyone using or know the status of the FreeMovie PHP toolkit? Seems like development stopped in 2004... David From sourceforge news: I am finishing work on a new version of FreeMovie. It will be properly documented and there will be a

Re: [PHP] Swear filter ideas

2007-06-28 Thread Tijnema
On 6/28/07, Richard Davey [EMAIL PROTECTED] wrote: Hi all, Just wanting to pick your collective brains on this one: How do you go about implementing a swear / bad-word filter in PHP? Reasons for needing one aside, I'm just wondering if you favour a regexp, a substr_count, or what? Do you like

Re: [PHP] Swear filter ideas

2007-06-28 Thread Steve Edberg
At 12:35 PM +0200 6/28/07, Tijnema wrote: On 6/28/07, Richard Davey [EMAIL PROTECTED] wrote: Hi all, Just wanting to pick your collective brains on this one: How do you go about implementing a swear / bad-word filter in PHP? Reasons for needing one aside, I'm just wondering if you favour a

Re: [PHP] Swear filter ideas

2007-06-28 Thread Robert Cummings
On Thu, 2007-06-28 at 12:35 +0200, Tijnema wrote: On 6/28/07, Richard Davey [EMAIL PROTECTED] wrote: Hi all, Just wanting to pick your collective brains on this one: How do you go about implementing a swear / bad-word filter in PHP? Reasons for needing one aside, I'm just wondering

[PHP] Include images in php file

2007-06-28 Thread Marek
Hi, I want to display images with my php script but i want it to be just ONE file. I can't have separate image files or folders etc. I suppose I could get this result by writing a function that generates the right image by drawing it from scratch. But that way I can't have any photos. My

Re: [PHP] Include images in php file

2007-06-28 Thread Stut
Marek wrote: I want to display images with my php script but i want it to be just ONE file. I can't have separate image files or folders etc. Why not? This seems like a rather daft limitation. I suppose I could get this result by writing a function that generates the right image by drawing

Re: [PHP] Include images in php file

2007-06-28 Thread Jochem Maas
Marek wrote: Hi, I want to display images with my php script but i want it to be just ONE file. I can't have separate image files or folders etc. I suppose I could get this result by writing a function that generates the right image by drawing it from scratch. But that way I can't have

Re: [PHP] Include images in php file

2007-06-28 Thread Marek
It's not really a limitation but a personal goal. I develop a small public script that is meant to be very compact and portable. All of its functionality fits nicely in one php file. But at the moment it requires a bunch of tiny icons. I would like to eliminate this and just have a single

Re: [PHP] Include images in php file

2007-06-28 Thread Robert Cummings
On Thu, 2007-06-28 at 16:39 +0300, Marek wrote: It's not really a limitation but a personal goal. I develop a small public script that is meant to be very compact and portable. All of its functionality fits nicely in one php file. But at the moment it requires a bunch of tiny icons. I

[PHP] Re: Swear filter ideas

2007-06-28 Thread Colin Guthrie
Richard Davey wrote: Hi all, Just wanting to pick your collective brains on this one: How do you go about implementing a swear / bad-word filter in PHP? Reasons for needing one aside, I'm just wondering if you favour a regexp, a substr_count, or what? Do you like to *** out the bad

Re: [PHP] Swear filter ideas

2007-06-28 Thread Daniel Brown
On 6/28/07, Robert Cummings [EMAIL PROTECTED] wrote: You got a problem with beasts of burden? No, we like you sometimes, Rob. ;-P -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Re: Swear filter ideas

2007-06-28 Thread Daniel Brown
On 6/28/07, Colin Guthrie [EMAIL PROTECTED] wrote: We implemented a simple key = value array map of rude words to sanitised equivalents: e.g. breast = sandwich, felch = retrieve etc. etc. Today we have Chicken Marsala over angel hair pasta, which is a chicken sandwich braised in Marsala

Re: [PHP] Include images in php file

2007-06-28 Thread Marek
Jochem Maas wrote: yes. well done for taking the time to search: And thank you for those links and a lovely sarcastic comment. If i had known to search for base64, i would not have asked, really. Other keywords like image in php jpg gif png include embed serialize in various combinations

Re: [PHP] Swear filter ideas

2007-06-28 Thread Robert Cummings
On Thu, 2007-06-28 at 10:06 -0400, Daniel Brown wrote: On 6/28/07, Robert Cummings [EMAIL PROTECTED] wrote: You got a problem with beasts of burden? No, we like you sometimes, Rob. ;-P You've been checking me out in the gym shower haven't you!! ;) But seriously, that was a good one :)

RE: [PHP] Include images in php file

2007-06-28 Thread Jim Moseby
snip ...it is more handy to have just one file instead of a folder system. Thats why $deity gave us gzip. ;-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Include images in php file

2007-06-28 Thread Jochem Maas
Jim Moseby wrote: snip ...it is more handy to have just one file instead of a folder system. Thats why $deity gave us gzip. ;-) whihc makes me think ... maybe the phar extension could be a good option? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: Swear filter ideas

2007-06-28 Thread Colin Guthrie
Daniel Brown wrote: On 6/28/07, Colin Guthrie [EMAIL PROTECTED] wrote: We implemented a simple key = value array map of rude words to sanitised equivalents: e.g. breast = sandwich, felch = retrieve etc. etc. Today we have Chicken Marsala over angel hair pasta, which is a chicken

Re: [PHP] Re: Swear filter ideas

2007-06-28 Thread Jochem Maas
Colin Guthrie wrote: Daniel Brown wrote: On 6/28/07, Colin Guthrie [EMAIL PROTECTED] wrote: We implemented a simple key = value array map of rude words to sanitised equivalents: e.g. breast = sandwich, felch = retrieve etc. etc. Today we have Chicken Marsala over angel hair pasta, which

Re: [PHP] Re: Swear filter ideas

2007-06-28 Thread Daniel Brown
On 6/28/07, Colin Guthrie [EMAIL PROTECTED] wrote: Daniel Brown wrote: On 6/28/07, Colin Guthrie [EMAIL PROTECTED] wrote: We implemented a simple key = value array map of rude words to sanitised equivalents: e.g. breast = sandwich, felch = retrieve etc. etc. Today we have Chicken

Re: [PHP] Re: strange include path error

2007-06-28 Thread Jim Lucas
brian wrote: Greg Beaver wrote: brian wrote: PHP 5.1.4 on Fedora 2 I recieved a note from a client about a problem with their site today. Looking at the error log, i found that the DB connection script that's included into any other that needs it was throwing an error because MDB2.php

Re: [PHP] Re: strange include path error

2007-06-28 Thread brian
Jim Lucas wrote: brian wrote: FWIW, i've also carefully gone over the site and everything seems to be in order. The error was triggered when some script included a DB connection script (that has require_once 'MDB2.php';) but, unfortunately, the error msg doesn't specify which it was. I

Re: [PHP] Re: Swear filter ideas

2007-06-28 Thread Dan
:O Bad Word :P Anyway, I would think that there should be some sort of library already out there that has this functionality. This problem has been arround since the internet started. - Dan Daniel Brown [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On 6/28/07, Colin Guthrie

[PHP] Re: Problems with mirror site script

2007-06-28 Thread Dan
If you're looking to build an web based proxy that supports ads, there's already tons of scripts out there that do it securely, and render very nicely. Most even supporting ad management. CGIProxy http://www.jmarshall.com/tools/cgiproxy/ PHProxy http://whitefyre.com/poxy/ Zelune

[PHP] Currency Exchange Database?

2007-06-28 Thread Tom Ray [Lists]
I have a client that's looking to do auto conversions of currency on their reservation payment form. No big deal, I can that part down. However, exchange rates change on a minute to minute basis and they want the program to automatically know the current rates. Is there an online database or a

RE: [PHP] Re: Swear filter ideas

2007-06-28 Thread Daevid Vincent
This problem has been arround since the internet started. rant problem? They're just words! Not sure why some people are so offended by them? My parents have even purchased a little device that sits between their TV and DVD/VHS and bleeps out bad words. And they're in their 60's and have no

RE: [PHP] Re: Swear filter ideas

2007-06-28 Thread Robert Cummings
On Thu, 2007-06-28 at 17:57 -0700, Daevid Vincent wrote: This problem has been arround since the internet started. rant problem? They're just words! Not sure why some people are so offended by them? My parents have even purchased a little device that sits between their TV and

RE: [PHP] Re: Swear filter ideas

2007-06-28 Thread Steve Edberg
At 9:27 PM -0400 6/28/07, Robert Cummings wrote: On Thu, 2007-06-28 at 17:57 -0700, Daevid Vincent wrote: This problem has been arround since the internet started. rant problem? They're just words! Not sure why some people are so offended by them? My parents have even purchased a

Re: [PHP] Include images in php file

2007-06-28 Thread Larry Garfield
Skip raster images and just output the images as SVG. OK, only works in Firefox 1.5+, but it would get you everything in one file without bloated encoding. :-) On Thursday 28 June 2007, Marek wrote: It's not really a limitation but a personal goal. I develop a small public script that is

Re: [PHP] Include images in php file

2007-06-28 Thread Robert Cummings
On Thu, 2007-06-28 at 22:56 -0500, Larry Garfield wrote: Skip raster images and just output the images as SVG. OK, only works in Firefox 1.5+, but it would get you everything in one file without bloated encoding. :-) No need to have bloated encoding.. just have the file check itself for a

Re: [PHP] Currency Exchange Database?

2007-06-28 Thread Paul Scott
On Thu, 2007-06-28 at 20:44 -0400, Tom Ray [Lists] wrote: I have a client that's looking to do auto conversions of currency on their reservation payment form. No big deal, I can that part down. However, exchange rates change on a minute to minute basis and they want the program to

Re: [PHP] Include images in php file

2007-06-28 Thread Robert Cummings
On Fri, 2007-06-29 at 00:20 -0400, Robert Cummings wrote: On Thu, 2007-06-28 at 22:56 -0500, Larry Garfield wrote: Skip raster images and just output the images as SVG. OK, only works in Firefox 1.5+, but it would get you everything in one file without bloated encoding. :-) No need to

Re: [PHP] Currency Exchange Database?

2007-06-28 Thread Tom Ray [Lists]
I thought about that but I'm looking to make it seem-less. I just want to get the numbers and do the conversion myself not have the third party do it. I just need an updated list on a daily/hourly basis. Paul Scott wrote: On Thu, 2007-06-28 at 20:44 -0400, Tom Ray [Lists] wrote: I have a

RE: [PHP] Currency Exchange Database?

2007-06-28 Thread Andy B.
You could have a look at the Euro foreign exchange reference rates rom the European Central Bank. They also provide a regularly updated XML file: http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html Hope it helps... Andy -Original Message- From: Tom Ray [Lists]