[PHP] Spelling without Aspell/Pspell

2004-03-10 Thread Justin French
Has anyone written/found a library (commercial/free/whatever) that can be used like Aspell/Pspell, but doesn't require a recompile of PHP? In other words, something that will work on a base install of PHP4.2+. --- Justin French http://indent.com.au -- PHP General Mailing List (http://www.php.net

Re: [PHP] ASP to PHP language problems

2004-03-10 Thread Alistair Hayward
To everyone, especially Richard, Thanks a lot for the help. I have accomplished everything I needed to do with your help, and I have never used PHP before. Thanks again! alistair -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Are $_POST and $_GET interchangable? MORE

2004-03-10 Thread daniel
something a little off topic, aparantly the manual says that $_POST is read only ? I've managed in 4.3.1 to add tot he $_POST array after posting ?? hehe > > "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] [snip] > stuff > [/snip] > >>From http://www.w3.org/T

Re[2]: [PHP] Re: Are $_POST and $_GET interchangable? MORE

2004-03-10 Thread Richard Davey
Hello daniel, Thursday, March 11, 2004, 2:40:08 AM, you wrote: deo> something a little off topic, aparantly the manual says that $_POST is read deo> only ? Where does it say this? The $_POST array is like any other array, although populated at the start, you can still manipulate it, remove from

Re: [PHP] Spelling without Aspell/Pspell

2004-03-10 Thread Evan Nemerson
On Wednesday 10 March 2004 05:59 pm, Justin French wrote: > Has anyone written/found a library (commercial/free/whatever) that can > be used like Aspell/Pspell, but doesn't require a recompile of PHP? If modules are okay, there's an extension for enchant in PECL. Otherwise, at least aspell has a

Re: [PHP] AI:Categorizer

2004-03-10 Thread Evan Nemerson
On Wednesday 10 March 2004 04:08 am, Adam i Agnieszka Gasiorowski FNORD wrote: > Is there avaiable something alike > a port of PERL AI:Categorizer? Google didn't know what that was, so I'm assuming you meant AI::Categorize. If you just want to classify documents as, for example, html, pdf,

Re: [PHP] Passing array from class to class produces more than one result...

2004-03-10 Thread Firman Wandayandi
Hi Jon! If you wanna do that, use pass by reference operator "&" in front of your method/function, the method should be like this: class someClass { function &fetchArray() { // do something } } Good luck, Firman - Original Message - From: "Jonathan Villa" <[EMAIL PRO

Re: [PHP] Spelling without Aspell/Pspell

2004-03-10 Thread daniel
is there a prebuilt so for solaris ? which i cant load in via php load_dl ? > On Wednesday 10 March 2004 05:59 pm, Justin French wrote: >> Has anyone written/found a library (commercial/free/whatever) that can >> be used like Aspell/Pspell, but doesn't require a recompile of PHP? > > If modules are

Re: [PHP] How to mesure response time of php pages

2004-03-10 Thread Tom Rogers
Hi, Thursday, March 11, 2004, 11:05:08 AM, you wrote: M> Hi there, M> can anybody recommend tools to messure page loading time of php pages. M> I am working on a new site and it apears to me that the old one loads M> much faster. Are there any tools around to break this down to hard numbers? M>

[PHP] odd acrobat reaction to streaming files

2004-03-10 Thread Scott Taylor
I have been using a php file to stream pdf (and various other sorts of files)... Here's my code. if ($extension == ".doc"){$type = "application/msword";} else if ($extension == ".pdf"){$type = "application/pdf";} else if ($extension == ".exe"){$type = "a

Re: [PHP] magic_quotes_sybase - Windows MSSQL

2004-03-10 Thread Tom Rogers
Hi, Thursday, March 11, 2004, 3:23:20 AM, you wrote: J> My ISP has the following settings in their php.ini file: J> magic_quotes_gpc = ON J> magic_quotes_sybase = OFF J> I am using a Windows Server and a SQL Server database. J> I need to set magic_quotes_sybase to ON so that quotes will be esca

Re: [PHP] odd acrobat reaction to streaming files

2004-03-10 Thread daniel
stuff i've added to my header class header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header("Cache-Control: no-store, no-cache, must- revalidate"); header("Cache-Control: post-check=0, p

Re: [PHP] Unique ID system - need help/ideas

2004-03-10 Thread trlists
On 10 Mar 2004 J J wrote: > My problem is how do I recreate this in PHP to make > sure any newly added records follow this same unique > ID? I haven't played much with these functions but I think for MySQL you'd want something like this, for the state "XX" (excuse the wrapped lines):

[PHP] Regexp Oddity

2004-03-10 Thread trlists
I must be missing something obvious ... I am trying to use backreferences in a PCRE regexp to check for a repeated character, but they don't seem to work. I've used regexps often before, but never needed backreferences. For example this: print "Matches: " . preg_match("/(a)\1/", "aa"

Re: [PHP] Unique ID system - need help/ideas

2004-03-10 Thread J J
Wow I think you are on to something!!! I'll give it a whirl! Thanks! --- [EMAIL PROTECTED] wrote: > On 10 Mar 2004 J J wrote: > > > My problem is how do I recreate this in PHP to > make > > sure any newly added records follow this same > unique > > ID? > > I haven't played much with these fun

[PHP] Screen Res

2004-03-10 Thread res0b8b6
I am trying to get the users screen res into a var for php. And I have the Javascript that gets the screen res. But when I try to put that into a var, it puts it in as a string, storing the javascript code instead of the results of that code. Is there a way to fix this? -- PHP General Mailing Lis

[PHP] Re: Screen Res

2004-03-10 Thread Luis Mirabal
please post the code, so we can see the errors luis. "Res0b8b6" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > I am trying to get the users screen res into a var for php. And I have > the Javascript that gets the screen res. But when I try to put that into > a var, it puts it

[PHP] Listing for a specific list of files

2004-03-10 Thread Brent Clark
Hi there I need to perform a function whereby I can list a directory (which is I can do) but the problem is that I want to list only a certain list of files that is in the directory. for example in linux I do a: ls -l 00*.pdf If some one can knows of a url as an example or could help in some wa

Re: [PHP] Screen Res

2004-03-10 Thread Raditha Dissanayake
1) Your questions is not very clear. 2) javascript and php are not stronly typed languages. 3) This topic has been covered quite extensively in the past please check the archives. all the best res0b8b6 wrote: I am trying to get the users screen res into a var for php. And I have the Javascript

Re: [PHP] Regexp Oddity

2004-03-10 Thread Raditha Dissanayake
print "Matches: " . preg_match('/((?i)rah)\s+\1/', "RAH RAH") . "\n"; print "Matches: " . preg_match('/((?i)rah)\s+\1/', "rah rah") . is what you should use. [EMAIL PROTECTED] wrote: I must be missing something obvious ... I am trying to use backreferences in a PCRE regexp to check for a r

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 hea

[PHP] Scripts creating files and folders into un/grp "Nobody" on Apache

2004-03-10 Thread Jay
Hi. I have a script that creates a folder and a bunch of jpegs... however instead of creating them into the user/group I'm in (let's call it "myGroup") it creates them into "Nobody". The problem becomes that when I ftp in to delete the files and idenitfy myself as myGroup, it fails to delete any o

[PHP] Scripts creating files and folders into un/grp "Nobody" on Apache

2004-03-10 Thread Jay
Hi. I have a script that creates a folder and a bunch of jpegs... however instead of creating them into the user/group I'm in (let's call it "myGroup") it creates them into "Nobody". The problem becomes that when I ftp in to delete the files and idenitfy myself as myGroup, it fails to delete any o

Re: [PHP] Scripts creating files and folders into un/grp "Nobody" on Apache

2004-03-10 Thread Tom Rogers
Hi, Thursday, March 11, 2004, 5:20:04 PM, you wrote: J> Hi. J> I have a script that creates a folder and a bunch of jpegs... however J> instead of creating them into the user/group I'm in (let's call it J> "myGroup") it creates them into "Nobody". The problem becomes that when I J> ftp in to dele

[PHP] Scripts creating files and folders into un/grp "Nobody" on Apache

2004-03-10 Thread Jay
Hi. I have a script that creates a folder and a bunch of jpegs... however instead of creating them into the user/group I'm in (let's call it "myGroup") it creates them into "Nobody". The problem becomes that when I ftp in to delete the files and idenitfy myself as myGroup, it fails to delete any of

Re: [PHP] Scripts creating files and folders into un/grp "Nobody" on Apache

2004-03-10 Thread Jay
> Use the php ftp functions to create directories and move uploaded > files would be one way. > > -- > regards, > Tom Move the uploaded files? You mean create the directory in the wrong spot and then move it to the right spot? and the same with the files? -- PHP General Mailing List (http://www

[PHP] Re: Listing for a specific list of files

2004-03-10 Thread David Robley
[EMAIL PROTECTED] (Brent Clark) wrote in news:[EMAIL PROTECTED]: > Hi there > > I need to perform a function whereby I can list a directory (which is I > can do) > but the problem is that I want to list only a certain list of files that > is in the directory. > for example in linux > I do a: >

Re[2]: [PHP] Scripts creating files and folders into un/grp "Nobody" on Apache

2004-03-10 Thread Tom Rogers
Hi, Thursday, March 11, 2004, 5:52:08 PM, you wrote: >> Use the php ftp functions to create directories and move uploaded >> files would be one way. >> >> -- >> regards, >> Tom J> Move the uploaded files? You mean create the directory in the wrong spot and J> then move it to the right spot? and

<    1   2