[PHP] IP atlas alternatives anyone?

2003-06-04 Thread Simon Dedeyne
I'm looking for a little script like IP atlas: "IP-Atlas uses NetGeo data to find latitude and longitude coordinates for a domain or ip address, as well as the city and country. It then uses GD or CSS to plot it on the globe." http://xpenguin.com/ip-atlas.php This script seems to work for me,

[PHP] PDF generation & asian languages

2003-02-26 Thread Simon Dedeyne
Hi, Has anyone tried to generate PDF's that contain Japanese or Chinese characters with the PHP functions? I know you have to install the Asian language fontpack for PDF's but even generating the simplest test page leads to the most horrible crashes on my Windows XP system. (using PHP 4.3.0) Any

[PHP] serious problem with mbstring functions

2003-01-21 Thread Simon Dedeyne
When trying to do a search in a mbstring, I sometimes(!) get the following error: " Warning: mb_ereg_search()[function.mb-ereg-search]:mbregex compile err: premature end of regular expression in c:\myfile.php on line 12. " It's only the case for some strings. Why is this? I assume it must some

RE: [PHP] Mysql/php database performance question

2003-01-10 Thread Simon Dedeyne
I see what you mean Khalid, but I only retrieve 1 entry at the time, so exploding wouldn't be the biggest problem I suppose. Furthermore, if I use char columns, and some of those columns have lots of empty cells, isn't it a waste of space/lookup-time? So I think I have to reformulate the questio

[PHP] Mysql/php database performance question

2003-01-10 Thread Simon Dedeyne
Hi, I got a question about using Mysql databases. I load textdata in VARCHAR colums up to size 50. I have about 5 of those columns. The last columns often contain empty cells. (data are wordmeanings, many words have only a 1 or 2meanings) What would be faster/better: - putting everything in a b

[PHP] PHP 4.3.0 and multibytestrings?

2003-01-08 Thread Simon Dedeyne
I got a simple question. What do you have to do when you want to use multibytestring functions under PHP 4.3.0 assuming you're using the windows binaries and you're running on XP? Is it standard or do you have to adjust some things? Cheers, Simon -- PHP General Mailing List (http://www.php.net

[PHP] Split that keeps delimiter

2003-01-03 Thread Simon Dedeyne
Is there a way to split a string without using something like this: $keywords=preg_split("/[?!.]/", "this ! Is a possible test",PREG_SPLIT_DELIM_CAPTURE); My php version doesn't seem to support the flags, and I want to know which delimiter the string was splitted by. Kind regards, Simon De Deyne

[PHP] Upgrading PHP windows binaries

2002-11-27 Thread Simon Dedeyne
Hi, I want to see if I can use PHP 4.3.0RC1, and downloaded the windows binaries. Currently I'm using PHP 4.2.3 on a Win NT and XP OS, I've made the installation with the phpdev package from firepages. My question. What files do I have to change so I don't have to reinstall my Apache and Mysql

[PHP] Looking for compiled Windows PHP installation with multistring fts support

2002-11-19 Thread Simon Dedeyne
Hi, Does anybody know where to find a pre-compiled Windows (XP) version of PHP that includes multistring functions? I checked phpdev on firegpages and other sites that usually hold these installations but their versions don't support those multistrings yet. Any help/links are appreciated! Simon

[PHP] regular expressions question

2002-10-30 Thread Simon Dedeyne
I have a little question. I'm having some difficulty with regular expressions: here it is: (this)example should be output in an array [0]=> this [1]=> thisexample I'm supposing this should be done with preg_grep, but I'm not really familiar with some of it's syntax for the regular expression. I