[PHP] AI:Categorizer

2004-03-10 Thread Adam i Agnieszka Gasiorowski FNORD
Is there avaiable something alike a port of PERL AI:Categorizer? -- Seks, seksi, seksolatki... news:pl.soc.seks.moderowana https://hyperreal.info/pomoc/ { 1488 } WiNoNa = ) ( Szatan, Szatan...http://666-666.0-700.pl foReVeR( * ) Poznaj jej zwiewne ksztaty... http://www.opera.com

Re: [PHP] AI:Categorize

2004-03-10 Thread Adam i Agnieszka Gasiorowski FNORD
Evan Nemerson wrote: There is an artificial neural network extension in the CVS repository at sf.net/projects/fann (disclaimer, I'm the author of that extension and a developer for the FANN library). I don't know of any bayesian networks for PHP, but I could be wrong. Sorry to hear

Re: [PHP] PCRE vs. POSIX-extended for regular expressions

2004-01-27 Thread Adam i Agnieszka Gasiorowski FNORD
Pablo Gosse wrote: Hi all. Quick quesiton about PCRE vs. POSIX-extended regular expressions. How much of a difference is there between these two types of regular expressions. I know I've read that PCRE is faster, but is it that much of a difference? PCRE are _way_ more advanced,

Re: [PHP] Error Reporting help

2004-01-18 Thread Adam i Agnieszka Gasiorowski FNORD
Chris Edwards wrote: [cut] For example if I code echo This is a syntax error because of the double quote start and the single quote end '; I just get a blank screen. I have 14 pages of PHP settings printed out, so for any kind person that can help, I can respond with their

Re: [PHP] Readfile, DAP and 3 questions

2004-01-06 Thread Adam i Agnieszka Gasiorowski FNORD
Ryan A wrote: Opera version 6.5 and 7... I already had that set. Try asking again on news:opera.general (if your server does not carry this newsgroup, try news.opera.com). There are more Opera - knowleable people there :8]. I recall that there is a solution, I just cannot find

Re: [PHP] Readfile, DAP and 3 questions

2004-01-05 Thread Adam i Agnieszka Gasiorowski FNORD
Ryan A wrote: I am using the example from the online manual: http://de3.php.net/manual/en/function.readfile.php to read a file that is in a .htaccess protected folder and pop a download box to the client. Surprisingly, after screwing around with the example code for 2 mins I got it

Re: [PHP] Current Month Only ?

2004-01-05 Thread Adam i Agnieszka Gasiorowski FNORD
Dave Carrera wrote: How do I return from a MySql db, rows which only contain data for the CURRENT Month / Year ? So this month would currently return 5 days worth of data since it?s the 5th of Jan 2004. Thank you in advance for any examples, pointers or urls that may help with this.

Re: [PHP] CVS on Windows

2003-12-16 Thread Adam i Agnieszka Gasiorowski FNORD
Chris W. Parker wrote: I will be interfacing with a CVS server not hosted on a Windows machine (it will be a bsd/*nix variant) and frankly I've never used it. What client do all you Windows people use? Also, how does it wotk in conjuction with your favorite editor? (Mine is HTML-Kit.) Is it

Re: [PHP] PHP and Palm Pilot interaction

2003-12-15 Thread Adam i Agnieszka Gasiorowski FNORD
Dave G wrote: [...] But on the other hand, I was wondering if it may be possible to make use of the simple text editor on the Palm, or perhaps the newer Excel editors (which I have not yet tried), to create a file of flat data which could then be uploaded and interpreted by

Re: [PHP] [Fwd: failure notice]

2003-12-10 Thread Adam i Agnieszka Gasiorowski FNORD
Sophie Mattoug wrote: Does someone know why do I receive such messages each time I post to the list ?!? [snipped] Is a Illuminati conspiracy! Argh! -- Seks, seksi, seksolatki... news:pl.soc.seks.moderowana http://hyperreal.info { iWanToDie } WiNoNa) (

Re: [PHP] Images in MySQL vs directory/file?

2003-12-10 Thread Adam i Agnieszka Gasiorowski FNORD
Derrick Fogle wrote: I've read that, given the choice, you should never store images in a database because it makes the database dog slow. But I've got some parameters and issues that might make a difference: We (at hyperreal.info) are storing all the images attached to articles in

Re: [PHP] Problems with imagick's imagick_readimage

2003-12-09 Thread Adam i Agnieszka Gasiorowski FNORD
John Clegg wrote: Problem: I am trying to get imagick to load an image from a URL. I can read from a file on the a file system no problem. Maybe you should simply circumvent the problem - download the file to your location into a temporary file, then act on this file locally...Use

Re: [PHP] converting string into array with regex

2003-12-06 Thread Adam i Agnieszka Gasiorowski FNORD
CPT John W. Holmes wrote: From: Adam i Agnieszka Gasiorowski FNORD [EMAIL PROTECTED] No, no spaces between letters (otherways it would be very easy, indeed). So there is no way to match the space between alphanumeric chars and split on it? I was trying to avoid the loop

[PHP] converting string into array with regex

2003-12-05 Thread Adam i Agnieszka Gasiorowski FNORD
How would you specify a regex to convert string into array using preg_split? Is there some symbol specyfying a place between letters ? s t r i n g = array('s', 't', 'r', 'i', 'n', 'g') ^ ^ ^ ^ ^ , like this... -- Seks, seksi, seksolatki...

Re: [PHP] converting string into array with regex

2003-12-05 Thread Adam i Agnieszka Gasiorowski FNORD
Wouter van Vliet wrote: On vrijdag 5 december 2003 12:23 Burhan Khalid told the butterflies: Adam i Agnieszka Gasiorowski FNORD wrote: How would you specify a regex to convert string into array using preg_split? Is there some symbol specyfying a place between letters

Re: [PHP] Re: for help :how to detect norton client through php socket

2003-12-04 Thread Adam i Agnieszka Gasiorowski FNORD
lph wrote: why ? I manager a network including 2000 hosts, and i want to post the hosts ip and department not installing the norton client on our web page so i wonder to how to detect detect whether norton antivirus client are installed on the hosts through php socket If

[PHP] regular expression, image, name, alt, title, preg_match_all

2003-12-01 Thread Adam i Agnieszka Gasiorowski FNORD
I'm trying to develop a regex for matching with preg_match_all, I want to match such things like image name, image alt text, image title in construct like this: html... div class=class style=style img src=img=name alt=alt title=title / span class=class style=style text

Re: [PHP] regular expression, image, name, alt, title, preg_match_all

2003-12-01 Thread Adam i Agnieszka Gasiorowski FNORD
Sophie Mattoug wrote: Adam i Agnieszka Gasiorowski FNORD wrote: I'm trying to develop a regex for matching with preg_match_all, I want to match such things like image name, image alt text, image title in construct like this: html... div class=class style=style img

Re: [PHP] regular expression, image, name, alt, title, preg_match_all

2003-12-01 Thread Adam i Agnieszka Gasiorowski FNORD
Sophie Mattoug wrote: Sophie Mattoug wrote: Adam i Agnieszka Gasiorowski FNORD wrote: I'm trying to develop a regex for matching with preg_match_all, I want to match such things like image name, image alt text, image title in construct like this: html... div class

[PHP] PEAR::SOAP_Client, Google API

2003-11-28 Thread Adam i Agnieszka Gasiorowski FNORD
I'm trying to get ANYTHING out of google API (for now), but it doesn't let me. I use the SOAP_Client from PEAR project and the WDSL file you get from Google when you register your key for using with their API. When I give an action wrong parameters, everything works great,

Re: [PHP] Variable

2003-11-27 Thread Adam i Agnieszka Gasiorowski FNORD
Jorge Infante Osorio. wrote: I determinate the value of a variable in the botton of one page, and I want to use it in the middle of the page, inside a while structure, but I cantn, inside the while structure I calculate the value of this variable several times until I keep with the value

Re: [PHP] Regular Expression Help: genreate alphanumeric, 8 chars

2003-11-27 Thread Adam i Agnieszka Gasiorowski FNORD
David T-G wrote: Bogdan -- ...and then Bogdan Stancescu said... % % ...as in... % % ? % // Could've been done with ASCII sets, but this way % // you can easily tweak the eligible characters. % $eligible='abcdefghijklmnopqrstuvwxyz0123456789'; % $pwdLen=8; % $password='';

Re: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread Adam i Agnieszka Gasiorowski FNORD
John W. Holmes wrote: Adam i Agnieszka Gasiorowski FNORD wrote: Thomas Svenson wrote: If you would stop using M$ Outlook and switch to a better mail client that supports mailing lists, your problem would be solved. I wouldn't mind that at all. What clients do you recommend

Re: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread Adam i Agnieszka Gasiorowski FNORD
John W. Holmes wrote: Try the Opera's 7 M2 (build-in revolutionary email and news client). Is this an advertisement or does it actually have the features everyone is looking for? Oh, it does automatically sort all complying mailing lists, BTW, no need to create filters

Re: [PHP] Add Reply-To to this list(s)

2003-11-25 Thread Adam i Agnieszka Gasiorowski FNORD
Thomas Svenson wrote: If you would stop using M$ Outlook and switch to a better mail client that supports mailing lists, your problem would be solved. I wouldn't mind that at all. What clients do you recommend for WindwosXP? I want a small client (note: I have to use Outlook for business

Re: [PHP] Removing security-problematic chars from strings

2003-11-21 Thread Adam i Agnieszka Gasiorowski FNORD
Troy S wrote: What is the best way to remove the characters from strings that may cause security problems? Namely, `, ', , , , \ and all non-printing strings. Did I miss any? Thanks. Do it the other way, allow only characters you know are safe and strip the rest. Use, for

[PHP] sorting an array of regexes

2003-11-18 Thread Adam i Agnieszka Gasiorowski FNORD
There is an array of regexes, for example $array = array('moon', '[wh]ood', '[^as]eed' ... (about 300 entries). I want to sort it comparing to the character lenght of a regex. For example [wh]ood is 4 characters, moon is 4 characters. There are only letters of the alphabet

Re: [PHP] sorting an array of regexes

2003-11-18 Thread Adam i Agnieszka Gasiorowski FNORD
Eugene Lee wrote: On Tue, Nov 18, 2003 at 01:15:32PM +0100, Adam i Agnieszka Gasiorowski FNORD wrote: : : There is an array of regexes, for example : : $array = array('moon', '[wh]ood', '[^as]eed' ... : (about 300 entries). : : I want to sort it comparing

[PHP] syntax problem, constants in quoted strings

2003-11-18 Thread Adam i Agnieszka Gasiorowski FNORD
How do you insert a constant into a quoted string, do I need to use concatenation operator like this quoted string . CONSTANT . quoted string, or there is some way to insert it inline, like normal variables? -- Seks, seksi, seksolatki... news:pl.soc.seks.moderowana

Re: [PHP] sorting an array of regexes

2003-11-18 Thread Adam i Agnieszka Gasiorowski FNORD
Curt Zirzow wrote: * Thus wrote Adam i Agnieszka Gasiorowski FNORD ([EMAIL PROTECTED]): Eugene Lee wrote: On Tue, Nov 18, 2003 at 01:15:32PM +0100, Adam i Agnieszka Gasiorowski FNORD wrote: : : There is an array of regexes, for example : : $array = array('moon

Re: [PHP] help create community newbie guide to security

2003-11-11 Thread Adam i Agnieszka Gasiorowski FNORD
Chris W. Parker wrote: 10. Use htmlentities() on data that will be put through a SQL query to prevent XSS attacks. http://php.net/htmlentities How is it going to interact with MySQL FULLTEXT search SQL queries, where the characters and are in use as modifiers? -- Seks, seksi,

[PHP] hard(?) syntax problem

2003-11-04 Thread Adam i Agnieszka Gasiorowski FNORD
I want to access a value of an array by key, but the array is not a variable - it is a constant. How do I do it? I tried $value = PL_ORT[$key]; , but this doesn't work (parse error)... I even tried $value = {PL_ORT[$key]}; --

Re: [PHP] Headers, outputting a file ..

2003-09-17 Thread Adam i Agnieszka Gasiorowski FNORD
Wouter van Vliet wrote: 110 $File = $this-Get($User); 111 112 foreach($File['Headers'] as $H) header($H);; 113 readfile($File['Path']); Do I see TWO ; here or it's just a typo? -- Seks, seksi, seksolatki...

Re: [PHP] deprecated function list?

2003-08-21 Thread Adam i Agnieszka Gasiorowski FNORD
Chris wrote: How can I find a list of PHP functions that are deprecated? Also, how can I print to the browser the Notice message that would indicate that a function is depricated? Like: Notice: mysql(): This function is deprecated; use mysql_query() instead How about you do a search

Re: [PHP] counting files, choosing at random

2003-08-14 Thread Adam i Agnieszka Gasiorowski FNORD
David Otton wrote: On Wed, 13 Aug 2003 10:54:58 +0200, you wrote: I want to choose a file at random from a directory which adheres to certain naming scheme. I can't get it to work. It's probably something simple...Here is a relevant snippet: img src=/szukaj/images/i ?

Re: [PHP] how do I spoof a get request

2003-08-14 Thread Adam i Agnieszka Gasiorowski FNORD
Analysis Solutions wrote: By that logic, you would think that PHP sucks, because there are plenty of sucky PHP applications. :-) I've had folks say things along these lines. Considering the number of PHP related vulnerabilities showing up in Bugtraq/Security Focus newsletter, PHP must

Re: [PHP] Re: counting files, choosing at random

2003-08-14 Thread Adam i Agnieszka Gasiorowski FNORD
Peng Cheng wrote: i think the problem is there is a newline between the img src=/szukaj/images/i and ? . try write them in the same line may be a solution. Yes, you are right, I noticed it myself while trying David's solution. Thanks anyway. -- Seks, seksi, seksolatki...

[PHP] counting files, choosing at random

2003-08-14 Thread Adam i Agnieszka Gasiorowski FNORD
I want to choose a file at random from a directory which adheres to certain naming scheme. I can't get it to work. It's probably something simple...Here is a relevant snippet: img src=/szukaj/images/i ? chdir('./szukaj/images/'); echo mt_rand(0, count(glob('i*.gif', GLOB_NOSORT)) -

Re: [PHP] Red Hat 9, Apache 2, and PHP

2003-07-04 Thread Adam i Agnieszka Gasiorowski FNORD
Diana wrote: Hi, that sounds really impressive. I'm using Redhat 9 with the stuff from their Edition, that means Apache 2 and php together. Never had any issues (so far.keep my fingers crossed). The server is not under heavy load, but it is indeed a production server. I know it is not

Re: [PHP] multi line regular expression?

2003-07-01 Thread Adam i Agnieszka Gasiorowski FNORD
Tim wrote: i have a string that contains the following: $mystring=EOS (((TITLE))) *color* == this is where the content goes it can spreed many lines ... == EOS; i'm using this line of code to try and get the content between == and ==

Re: [PHP] limit on displaying a LONGTEXT filed from MySQL database

2003-06-22 Thread Adam i Agnieszka Gasiorowski FNORD
Artoo wrote: For example supose the 150th character is the v in the word privileges I would want to finish displaying the word and end with privileges rather then ending withpriv How about using the SUBSTRING_INDEX function with delimiter set to ' ' (space). You could select for