Re: [PHP-WIN] upgrade imap dll problem

2003-09-22 Thread Gareth Thomas
Just figured out the problem, it seems to be with the particular DLL shipped with 4.3.2 and 4.3.3, if you look its different from the one shipped with 4.3.1. So I overwrote the 4.3.3 version and everything now works fine. Must be a problem only on NT because on Win2K box it works fine. - Orig

Re: [PHP-WIN] upgrade imap dll problem

2003-09-22 Thread Gareth Thomas
DLL's are in WinNT, WinNT/System32 and in the directory pointed to by the extension_dir setting in php.ini. Gareth Thomas - Original Message - From: <[EMAIL PROTECTED]> To: "C-omputerSolutions Webmaster" <[EMAIL PROTECTED]> Cc: "Mike Brum" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent:

[PHP-WIN] RE Serverside includes

2003-09-22 Thread Greg Whitehead
Hi all Could use some help in trying to get serverside includes under PHP going. Examples of some code would be great :) currently running apache1.3.27 and php4 on windows XP Thanks in advance Greg Whitehead

RE: [PHP-WIN] upgrade imap dll problem

2003-09-22 Thread Larry_Li
Copy All dlls in DLL folder into WinNT or WinNT/System32. C-omputerSolutions Webmaster <[EMAIL PROTECTED]> 09/23/2003 11:04 AM To: "Mike Brum" <[EMAIL PROTECTED]> cc: [EMAIL PROTECTED] Subject:RE: [PHP-WIN] upgrade imap dll problem all the dlls

RE: [PHP-WIN] upgrade imap dll problem

2003-09-22 Thread C-omputerSolutions Webmaster
all the dlls are in the proper folders for me. At 09:37 PM 9/22/2003, you wrote: And is that DLL in the folder specified? -Original Message- From: Gareth Thomas [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2003 9:36 PM To: Mike Brum; [EMAIL PROTECTED] Subject: Re: [PHP-WIN] upgra

Re: [PHP-WIN] upgrade imap dll problem

2003-09-22 Thread Gareth Thomas
I should add that I am using IIS and not Apache... Gareth Thomas Mercury Software Solutions, Inc 805-984-6541 http://www.mercurysoft.com - Original Message - From: "C-omputerSolutions Webmaster" <[EMAIL PROTECTED]> To: "Gareth Thomas" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Mon

Re: [PHP-WIN] upgrade imap dll problem

2003-09-22 Thread Gareth Thomas
Absolutely. Gareth Thomas Mercury Software Solutions, Inc 805-984-6541 http://www.mercurysoft.com - Original Message - From: "Mike Brum" <[EMAIL PROTECTED]> To: "'Gareth Thomas'" <[EMAIL PROTECTED]>; "'Mike Brum'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, September 22, 2003

RE: [PHP-WIN] upgrade imap dll problem

2003-09-22 Thread Mike Brum
And is that DLL in the folder specified? -Original Message- From: Gareth Thomas [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2003 9:36 PM To: Mike Brum; [EMAIL PROTECTED] Subject: Re: [PHP-WIN] upgrade imap dll problem Mike, extension_dir does point to the correct directory. I

Re: [PHP-WIN] upgrade imap dll problem

2003-09-22 Thread C-omputerSolutions Webmaster
i am having the same issue on my server. the server is running WinXP Pro w/ Apache 2.0 and PHP 4.3.3, no matter what extension i try to load or how i try to point to the extensions directory i get the following error from apache: Unknown(); Unable To Load Dynamic Link Library 'd:\php\ext

Re: [PHP-WIN] upgrade imap dll problem

2003-09-22 Thread Gareth Thomas
Mike, extension_dir does point to the correct directory. I do need the DLL since the application has an email module. Regards, Gareth Thomas - Original Message - From: "Mike Brum" <[EMAIL PROTECTED]> To: "'Gareth Thomas'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, Septembe

RE: [PHP-WIN] upgrade imap dll problem

2003-09-22 Thread Mike Brum
I can think of two ways to probably fix this - 1) If you want to get rid of the error you should be able to comment the line in your php.ini file: extension=php_imap.dll 2) If you look at your extension_dir directive in the php.ini file, I'm guessing it says something like extension_dir = d:\

[PHP-WIN] upgrade imap dll problem

2003-09-22 Thread Gareth Thomas
Hi, I have just upgraded a client server from 4.3.1 to 4.3.3, the server is = running Windows NT SP6. I upgraded by downloading the Zip file and = simply unzipping over the top of the old install. The webserver is on = drive C, and PHP is installed on drive D. After the installation however = I am

[PHP-WIN] Re: a Directory Crawler

2003-09-22 Thread Sek-Mun Wong
ooops, you need to change the "$this->recurseDirectory(getcwd().'/'.$file, getcwd(), $files)" to just plain "recurseDirectory(getcwd().'/'.$file, getcwd(), $files)" from inside the function if you're not planning on using this function from within a class... sorry about that only spotted it af

[PHP-WIN] Re: a Directory Crawler

2003-09-22 Thread Sek-Mun Wong
Ron, I've got a function that does it for directories, and I've just quickly modified it for you to do what you've stated, you can modify it if there is a problem. try this: $files = recurseDirectory("/home/mydir", null, null); foreach ($files as $i => $filename) { print "proce

[PHP-WIN] array math...

2003-09-22 Thread Bobo Wieland
Hi! if I have an multi dimensional array, like this: $myArr[0]["points"] = 5; $myArr[1]["points"] = 19; $myArr[2]["points"] = 12; $myArr[3]["points"] = 46; ...and I need to get the highest value stored in the $myArr[]["points"]-element, in this case 46, how do I do it? Thanks for your help!

RE: [PHP-WIN] LDAP extension hanging Apache

2003-09-22 Thread iforce
Yes, it does. Interestingly, I just tried modifying the extension_dir to use '/' instead of '\' as the directory separator, then I tried commenting out a different module (php_msql), and it hung Apache when restarting as well. So it appears that it's not just LDAP that's causing the problem -- it'

RE: [PHP-WIN] LDAP extension hanging Apache

2003-09-22 Thread C-omputerSolutions Webmaster
probably not helpful but does the php.ini extension_dir variable point to the location of the PHP extension dlls? e.g. c:/php/extensions/ At 04:59 PM 9/22/2003, you wrote: Oh yeah, forgot to mention that in the post. I did run Test Configuration, and it came back OK: d:/apache/conf/httpd.conf: Sy

RE: [PHP-WIN] LDAP extension hanging Apache

2003-09-22 Thread iforce
Oh yeah, forgot to mention that in the post. I did run Test Configuration, and it came back OK: d:/apache/conf/httpd.conf: Syntax OK Note the errors or messages above, and press the key to exit. -Original Message- From: C-omputerSolutions Webmaster [mailto:[EMAIL PROTECTED] Sent: Monday

[PHP-WIN] LDAP extension hanging Apache

2003-09-22 Thread iforce
OS: Win2k SP3 Apache: 1.3.24 PHP: 4.3.2 When I add 'extension=php_ldap.dll' to php.ini and restart the Apache service, it hangs and doesn't restart. No errors appear in error.log and nothing is printed to the console when using Apache's supplied service restart. When I comment out the above extens

RE: [PHP-WIN] Problem with 2 buttons

2003-09-22 Thread William Cheung
Please ignore the word "DEFANGED_". I don't know why it is there when I paste it. William Cheung B.Sc, MCSE, MCDBA Databyte Corp. -Original Message- From: William Cheung [mailto:[EMAIL PROTECTED] Sent: September 22, 2003 10:4

[PHP-WIN] Problem with 2 buttons

2003-09-22 Thread William Cheung
I have 2 buttons sitting next to each other. One to update; the other to cancel. However, no matter which button I click, the isset($_POST[“CHANGE”]) always returns true. My template code is list below. Could someone tell me what’s wrong with my code?                 

[PHP-WIN] a Directory Crawler

2003-09-22 Thread Herhuth, Ron
I'm stuck. I have been attempting to put together a script with little tidbits I've found in the manual but I'm unable to figure out how to do this. Basically I have a directory structure on my server that runs many levels deep and wide. In the directories there are several files with the extens

[PHP-WIN] Re: R: R: [PHP-WIN] Re: R: [PHP-WIN] Re: R: [PHP-WIN] PHP randomly is no t parsing a valid script

2003-09-22 Thread Svensson, B.A.T. (HKG)
This starts to get an interesting challenge now. :) Unfortunately one can't inspect the system in the way I would like to do, but anyhow... lets continue with the brainstorming: The php source code files might be written on bad blocks(?), or you might have hardware error with the RAM (unlikely -

RE: [PHP-WIN] Automatic load .php page

2003-09-22 Thread Ryan Vesely
The header option works well for me, but Mike is right about not starting a session. This means the action of your authentication code must effectively redirect to the correct page. For mine, I use one of 4 different usertypes, the designation of which is created upon registration. So, once the

[PHP-WIN] R: [PHP-WIN] Re: R: [PHP-WIN] Re: R: [PHP-WIN] PHP randomly is no t parsing a valid script

2003-09-22 Thread Francesco . Marsan
Also elsewhere, like (very often): "parse error, unexpected T_ENCAPSED_AND_WHITESPACE" -Messaggio originale- Da: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED] Inviato: lunedì 22 settembre 2003 17.07 A: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Oggetto: [PHP-WIN] Re: R:

[PHP-WIN] R: R: [PHP-WIN] Re: R: [PHP-WIN] Re: R: [PHP-WIN] PHP randomly is no t parsing a valid script

2003-09-22 Thread Francesco . Marsan
I doubt it is a EM-radiation influence, because the twin machine that is working is in the same rack as this one. But of course it could always be another kind of hardware error, it is always possible. I don't see any other anomaly in the machine though. I haven't experienced any delays, in fact th

[PHP-WIN] Re: R: [PHP-WIN] Re: R: [PHP-WIN] Re: R: [PHP-WIN] PHP randomly is no t parsing a valid script

2003-09-22 Thread Svensson, B.A.T. (HKG)
A long shoot: may it be a hardware signal transmission error? Have you experienced long delays with reading/writing operations etc? Is the server exposed for (strong) EM-radiation sources? On Mon, 2003-09-22 at 17:14, [EMAIL PROTECTED] wrote: > Also elsewhere, like (very often): "parse error, un

[PHP-WIN] Re: R: [PHP-WIN] Re: R: [PHP-WIN] PHP randomly is not parsing a valid script

2003-09-22 Thread Svensson, B.A.T. (HKG)
Is there error always related with a logical expression or could it be elsewhere? On Mon, 2003-09-22 at 16:53, [EMAIL PROTECTED] wrote: > Every time it is a different error - but always a syntax error - like if > the line of code contained a syntax error, which in fact it does not. E.g. I > get

[PHP-WIN] R: [PHP-WIN] Re: R: [PHP-WIN] PHP randomly is not parsing a valid script

2003-09-22 Thread Francesco . Marsan
Every time it is a different error - but always a syntax error - like if the line of code contained a syntax error, which in fact it does not. E.g. I get an error that an invalid logical and (&&) is appearing (and in fact there is one in the line of code) but it is not really invalid. I just need

php-windows Digest 22 Sep 2003 14:49:15 -0000 Issue 1922

2003-09-22 Thread php-windows-digest-help
php-windows Digest 22 Sep 2003 14:49:15 - Issue 1922 Topics (messages 21476 through 21490): Re: Automatic load .php page 21476 by: Mike Brum 21477 by: John Ellingsworth Auto load data 21478 by: ascll Re: generate img with fonts... 21479 by: toby z MySQL que

[PHP-WIN] Re: R: [PHP-WIN] PHP randomly is not parsing a valid script

2003-09-22 Thread Svensson, B.A.T. (HKG)
Would it be possible to post a snippet of the error message? On Mon, 2003-09-22 at 15:19, [EMAIL PROTECTED] wrote: > I ported all the code/data to a twin machine I have. And there everything > works fine - no problems - as was also in my production machine, before the > problems started to appear.

[PHP-WIN] R: [PHP-WIN] PHP randomly is not parsing a valid script

2003-09-22 Thread Francesco . Marsan
I ported all the code/data to a twin machine I have. And there everything works fine - no problems - as was also in my production machine, before the problems started to appear. The *only* difference between the 2 machines is that one has W2000 Server Italian version, and the other one the English

Re: [PHP-WIN] PHP randomly is not parsing a valid script

2003-09-22 Thread Svensson, B.A.T. (HKG)
In that case; has anybody changes the server settings? You might want to review all relevant settings of the server. Kind regards, //Anders On Mon, 2003-09-22 at 14:08, Francesco wrote: > Unfortunately it cannot be a data problem, because PHP finds syntax errrors > every time in some o

RE: [PHP-WIN] PHP randomly is not parsing a valid script

2003-09-22 Thread Mike Brum
If you're positive that it's the server(s), then why not take another machine, install PHP & Apache, port the code and confirm that it's code-independant? -M -Original Message- From: Francesco [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2003 8:09 AM To: [EMAIL PROTECTED] Subjec

Re: [PHP-WIN] PHP randomly is not parsing a valid script

2003-09-22 Thread Francesco
Unfortunately it cannot be a data problem, because PHP finds syntax errrors every time in some other part of the code. And not just in one script, also in many others. Also in a distributed application (an evaluation versione of WebEdition CMS) I got those "false" syntax errors. Every time, it is s

Re: [PHP-WIN] PHP randomly is not parsing a valid script

2003-09-22 Thread Svensson, B.A.T. (HKG)
There might be a lot of reasons, but a some brains storm ideas might be: a) New type of data (well formed or not) is feed to the script, and it cant handle this type of format. b) New functionality has been added and these function can't handle either valid or invalid data formats c) Old f

[PHP-WIN] PHP randomly is not parsing a valid script

2003-09-22 Thread Francesco
My platform: W2000 Server SP4 with latest MS vulnerability patches applied. Apache 1.3.22, PHP 4.2.2. Since a couple of weeks I have this very nasty problem: Intermittently PHP is not parsing a valid script. It spits out an error regarding some syntax error in the code, but the code is in fact per

[PHP-WIN] PHP randomly is not parsing a valid script

2003-09-22 Thread Francesco
My platform: W2000 Server SP4 with latest MS vulnerability patches applied. Apache 1.3.22, PHP 4.2.2. Since a couple of weeks I have this very nasty problem: Intermittently PHP is not parsing a valid script. It spits out an error regarding some syntax error in the code, but the code is in fact per

Re: [PHP-WIN] MySQL question

2003-09-22 Thread Ignatius Reilly
One possible reason why it does not work is that the DAY() function does not exist. Use DATE_FORMAT() instead. Ignatius _ - Original Message - From: "Disko_kex" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 22, 2003 10:47 AM Subject: [PHP-WIN]

[PHP-WIN] Re: MySQL question

2003-09-22 Thread Sek-Mun Wong
of course this is a php newsgroup :) try DAYOFMONTH DAY is only available in mysql 4.1.1 "Disko_kex" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi SELECT RegDate FROM table WHERE month(RegDate) = '10' // this is working SELECT RegDate FROM table WHERE day(RegDate) = '2' // w

[PHP-WIN] MySQL question

2003-09-22 Thread Disko_kex
Hi SELECT RegDate FROM table WHERE month(RegDate) = ’10’ // this is working SELECT RegDate FROM table WHERE day(RegDate) = ’2’ // why isn´t this working?

Re: [PHP-WIN] generate img with fonts...

2003-09-22 Thread toby z
--- Comex <[EMAIL PROTECTED]> wrote: > > ofcourse u can > Yes, but it would take less time to not use PHP. are u tellin me or askin ? :S toby Want to chat instantly with your online friends? Get the FREE Y

[PHP-WIN] Auto load data

2003-09-22 Thread ascll
Greetings, I'm designing a table with 21 columns and 3 rows (1-row column header, 2-row data) store in .php file, and each cell of this table storing a value, that I stored it using MySQL database. Now, I want all the values (just the values, but NOT the table) shown on this page automatic update