[PHP-WIN] Re: Unexplained CGI error

2003-03-04 Thread Michael Power
"CGI error". It > sounds to me like bug of uninitialized variable or some buffer overrun > problems (if it would be a problem in php.ini - at least it would not be > random :). > Do you know how to fix this problem? > I'm using PHP4.3.1 in CGI mode. Btw, which version works bett

Re: [PHP-WIN] Re: destroying COM objects

2003-02-28 Thread Michael Power
> "Rich Gray" > > I may be talking out of my proverbial but I believe unset() will just remove > the reference to the object it won't destroy the object itself which is why > I suggested $obj = null in my earlier message... however I'm probably being > pedantic as the next gc cycle will clean up ob

[PHP-WIN] Re: destroying COM objects

2003-02-28 Thread Michael Power
unset($com_object); -- Michael Power Software Developer Concentrix Limited ___ Helping you strengthen your customer relationships To find out more about how we can help you visit our website http://www.concentrix.co.uk The Technology Centre, Epinal Way

[PHP-WIN] Re: newbie: dynamic forms

2003-02-28 Thread Michael Power
You appear to have a twitch... ;) Mike > "Edward David" > > Hi, > > I am trying to create a form that has checkboxes displayed. > If the box is checked then show below the checkbox input items related to > the parent checkbox. > If the user has not entered his name then do not display the submit

[PHP-WIN] Re: newbie: Dynamic forms

2003-02-28 Thread Michael Power
-- Michael Power Software Developer Concentrix Limited ___ Helping you strengthen your customer relationships To find out more about how we can help you visit our website http://www.concentrix.co.uk The Technology Centre, Epinal Way, Loughborough, Leicestershire

[PHP-WIN] Re: Having problems connection PHP to MSSQL2000

2003-02-27 Thread Michael Power
Did you enable the appropriate extension? If so have to given the IUSR_XXX (PHP) user permission to access/execute? Do phpinfo() to see if MSSQL is enabled... Cheers Mike -- Michael Power Software Developer Concentrix Limited ___ Helping you strengthen your

Re: [PHP-WIN] Duplicate entry removal

2003-02-27 Thread Michael Power
it better to just: > > SELECT DISTINCT YEAR() FROM ; > > > > regds, > > -----Original Message- > From: Michael Power [mailto:[EMAIL PROTECTED] > > Better yet define the required dataset with SQL to speed the > whole process > up: > > "SELECT YEA

Re: [PHP-WIN] newbie: installing php_gd

2003-02-27 Thread Michael Power
Try "C:\php4\extensions" i.e. add the dbl quotation marks. Cheers Mike > "Anthony Ritter" > Rich, > On MS Win 98 / Apache / PHP 4 > > If somebody out there using Win can check my php.ini file and advise me what > I'm doing wrong. > > I have uncommented: > .. > extension=php_gd.dll >

[PHP-WIN] Re: html2pdf on windows?

2003-02-27 Thread Michael Power
COM functions. Then use the command line app. Ghostscript (free from www.ghostscript.com) to convert the Post Script to a PDF. The advantage of this approach is you can create a PDF out of anything you can select a printer for and print from via COM... Just a thought??? Cheers Mike -- Michael Po

Re: [PHP-WIN] Duplicate entry removal

2003-02-26 Thread Michael Power
Better yet define the required dataset with SQL to speed the whole process up: "SELECT YEAR(your_date) FROM table_name GROUP BY your_date"; Cheers Mike > "Matt Hillebrand" > array_unique() > > |-Original Message- > |From: Per Christian [mailto:[EMAIL PROTECTED] > | > |Hi > | > |I'm build

[PHP-WIN] Re: Windows vs. linux

2003-02-25 Thread Michael Power
In my experience the only things you really need to look out for are: 1) file functions requiring different path details (and associated access permissions - CHMOD). 2) line breaks in files/output. 2) extensions/changes to PHP exe other than the default can be a pain if you're not the administrator

[PHP-WIN] Re: Unexplained CGI error

2003-02-25 Thread Michael Power
At last found some info... http://bugs.php.net/bug.php?id=9852 Looks like I might have to move to ASP.NET after all unless the PHP boys pull their fingers out... :( Cheers Mike > "Mary Sweeney" > I had a very nice little application I was working on. I selected options > from an html page and

[PHP-WIN] Re: Unexplained CGI error

2003-02-25 Thread Michael Power
No this is a little more complex than that... The scripting works fine then randomly you'll get the CGI errors. I find I get them when executing a script which echo's out frames. Each frame is populated with another PHP script and when executed you end up with the browser window framed correctly

[PHP-WIN] Re: Unexplained CGI error

2003-02-24 Thread Michael Power
What is a CVS??? I'm having the same problem. Everything works fine on a Win2K server with no patches. Run Windows update and apply all the patches then install PHP and suddenly you start getting the CGI errors as described. Please clarify what I/we need to install to fix this... Cheers Mike