[PHP] htmlentities() and the macintosh character set

2003-09-13 Thread Michael Winston
Hello- I have a request but don't know where to send it. Thus, it ends up here. Alternately, I'm looking for some solutions: The request: Can the macintosh character set be added as an option for htmlentities() and other commands? That would be so helpful for our mac-based company. The

[PHP] embedding PHP in MySQL

2003-09-18 Thread Michael Winston
I've been working on this for a few days and can't get it. I would like to stick some php code into a sql databases and be able to evaluate it when it's called up. Foe example, let's say there's some text in a table in MySql that says blah blah blah ? $mysql_query(SELECT * FROM X WHERE 1);

[PHP] imagepsloadfont on mac os x

2003-10-08 Thread Michael Winston
Hi- I'm trying to get imagepsloadfont() to work. I'm on OS X and know next to nothing about font types or how the Mac might handle them differently. Basically, using the below code, I'm trying to call up Skia.dfont, one of the fonts that comes with OS X. The code I'm using is straight from

[PHP] imagepsloadfont returns wrong datatype

2003-10-10 Thread Michael Winston
Hi- I *finally* got imagepsloadfont() to work on my Mac OS X box (it helps if you actually have a .pfb file). Now I'm having problems with another aspect of imagepsloadfont(). The docs say it should return an int, however it's returning a resource. I'm guessing this is why imagestring and

[PHP] swf to jpg using ming/imagemagick?

2003-10-21 Thread Michael Winston
Hey- I'm interested in taking a flash file and somehow extracting a frame of it, saving that frame as a jpg. I see the swf and ming functions in the php docs but it appears that it cannot read an existing SWF. Even if it could, I'm not sure how much help that would be. I've also