| ||||||||||||
![]() |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
(#16)
|
(#17)
|
| Member Posts: 343 Join Date: Sep 2003 Location: My wife calls it the doghouse... |
27-09-2005, 08:01 AM
Quote:
I have it working under Windows 2003. The problem you are seeing with shell_exec() failing is because of the way you have the security permissions set on your server. Don't worry, this is a good thing! It means you have your web site users locked out of your Windows system folder. In order to get the shell_exec() to work, you will need to give the web site user account (IUSR_...) Execute privileges on the system file %systemroot%\system32\cmd.exe (C:\WINDOWS\SYSTEM32\CMD.EXE). SHELL_EXEC() fails because PHP launches CMD.EXE in order to run the command line app for aspell.exe. This should be done VERY VERY VERY carefully because it can compromise the security on your server. Make SURE that you ONLY grant the web site user for your SupportSuite/eSupport web site execute permissions to that one file. Do NOT give the web site user access to the folder or anything else in that folder. Make SURE that nobody else (other than you) has ANY access to upload scripts of ANY kind to the web site running your SupportSuite/eSupport web site. If you let anyone upload a script to that website, and the script calls a shell command via PHP, their script can compromise your server. Again, be VERY careful to make sure you grant ONLY the web site user account access to ONLY that file in the system32 directory. Note that in addition to mhunt's instructions above, I also had to add the "C:\Program Files\Aspell\bin" folder to the system path in order to get Aspell to find the dictionary files. Oh, and did I remember to mention that you NEED to be careful with your permissions? Eddie Web Site: http://www.netFusionKC.com Web Store: https://www.netfusionkc.com/store/ Anything I say or do is my own opinion and may make absolutely no sense to anyone but me... | |
| | |
(#18)
|
| Member Posts: 343 Join Date: Sep 2003 Location: My wife calls it the doghouse... |
27-09-2005, 08:14 AM
Quote:
This is because the files provided are from a *nix platform. It was the CR/LF conversion when they were extracted from the tar.gz file onto the Windows platform that killed them. Eddie Web Site: http://www.netFusionKC.com Web Store: https://www.netfusionkc.com/store/ Anything I say or do is my own opinion and may make absolutely no sense to anyone but me... | |
| | |
(#19)
|
(#20)
|
(#21)
|
| Member Posts: 343 Join Date: Sep 2003 Location: My wife calls it the doghouse... |
27-09-2005, 04:30 PM
Quote:
If someone knew enough to rewrite/recompile aspell.exe as an actual php module instead of a windows command line app, there would be a lot of happy campers visiting the GNU ASPELL web site! Web Site: http://www.netFusionKC.com Web Store: https://www.netfusionkc.com/store/ Anything I say or do is my own opinion and may make absolutely no sense to anyone but me... | |
| | |
(#22)
|
| New Member Posts: 20 Join Date: Apr 2005 |
27-09-2005, 06:40 PM
There has to be a spell checker for PHP thats integrated. Or how about a webservice, like Google Spell Checker API. Here some details: http://www.dotnetjunkies.com/Tutoria...3C09CD94B.dcik |
| | |
(#23)
|
| Chief Executive Officer Posts: 2,651 Join Date: May 2003 |
28-09-2005, 10:34 PM
We can use the PHP inbuilt spell checker, It might not make into the gold but the code can certainly be edited to support it. Regards, Varun Shoor -------------------------------------------------------------------
|
| | |
(#24)
|
(#25)
|
(#26)
|
(#27)
|
(#28)
|
| Chief Executive Officer Posts: 2,651 Join Date: May 2003 |
18-08-2006, 09:03 PM
I will see if we can add a toggle to switch to Aspell extension available with PHP (On most systems atleast) on Monday. If not, Then it might not make into the .98 stable build. Regards, Varun Shoor -------------------------------------------------------------------
|
| | |
(#29)
|
(#30)
|
![]() |
| Tags |
| checker, spell |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Spell Checker error | ]SK[ | SupportSuite, eSupport and LiveResponse | 7 | 03-09-2007 06:49 PM |
| No words in spell checker dictionary | IVRnet | SupportSuite, eSupport and LiveResponse | 0 | 06-07-2007 10:26 PM |
| Adding the JSpell Spell Checker to Submit a Ticket | chelsel | Developers & Code | 5 | 27-03-2007 04:57 PM |
| Spell Checker Failure. | Darren | SupportSuite, eSupport and LiveResponse | 23 | 30-10-2006 05:06 PM |