[PHP-WIN] Re: Installing Pear on Win XP

2005-01-18 Thread Jason Barnett
Raymond Still wrote: Please forgive the somewhat off topic post, but this just seemed like the best place to start. This is a fine place to ask, but for future PEAR questions you might also try the php-pear-general group. I'm trying to install PEAR on my Win XP box. I'm running Apache and PHP 5.

RE: [PHP-WIN] Output Image from Db to Browser

2005-01-18 Thread Randy Clamons
Mike, I'm wondering, are you trying to send the image inline with the rest of the page, or is it response to an img tag? Randy Clamons Systems Programming Astro-auction.com > Original Message > From: "Wagner, Aaron" <[EMAIL PROTECTED]> > To: "MikeA" <[EMAIL PROTECTED]>

[PHP-WIN] Re: Output Image from Db to Browser

2005-01-18 Thread MikeA
I've tried both ways. I call the function from within the and I have tried to echo it outside of that. Which is the best way and/or the proper way? I still cannot get it to work but I have one more thing to try that a gentleman just sent. Any ideas are certainly welcome! Mike "Randy Clamo

[PHP-WIN] Installing Pear on Win XP

2005-01-18 Thread Raymond Still
Please forgive the somewhat off topic post, but this just seemed like the best place to start. I'm trying to install PEAR on my Win XP box. I'm running Apache and PHP 5. It seems like the best place to put PEAR is in the Apache htdocs folder. I installed Apache under the "Program Files" folder. (no

RE: [PHP-WIN] Output Image from Db to Browser

2005-01-18 Thread Wagner, Aaron
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of MikeA > Sent: January 17, 2005 17:31 > To: php-windows@lists.php.net > Subject: [PHP-WIN] Output Image from Db to Browser > > > I am trying to output a JPG image to the browser without > creating a file. I have tried

[PHP-WIN] error handling

2005-01-18 Thread phpWalter
What error handling routines/classes/etc do you use, and why? Walter -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Weird windows error

2005-01-18 Thread Frank M. Kromann
You are not supposed to register the php_mssql.dll with windows. It's a php dll to be used under windows, not a normal Windows dll. All you need to have is extension=php_mssql.dll in your php.ini file (a php.ini file that can be found by apache, either in your windows directory or the apache2\vin

Re: [PHP-WIN] Weird windows error

2005-01-18 Thread David Elliott
-- Hail php-windows, Historians believe that on 18 January 2005, at 13:51:49 +0200 (which was 11:51 where I live) Louis Youngon php-windows@lists.php.net wrote and made these points > I've now upgraded both Apache and PHP. > Apache is version 2.0.52 and PHP is version 5.0.3.3. I've put the d

[PHP-WIN] Latest version of Sql Server client tools (was weird windows error)

2005-01-18 Thread Louis Young
Hi According to google the reason for me experiencing the mssql dll problem is because I don't have the latest version of MS SQL Server client tools installed. I have MS SQL Server 2000 developer edition client tools. Does anyone know where I can find the right version or at least the right ver

[PHP-WIN] Weird windows error

2005-01-18 Thread Louis Young
Hi there I've now upgraded both Apache and PHP. Apache is version 2.0.52 and PHP is version 5.0.3.3. I've put the dll php_mssql.dll into C:\windows\system32 and then I do: C:\WINDOWS\system32>regsvr32 php_mssql.dll but I get the following error: --- RegSvr32 --

Re: [PHP-WIN] Pre-selecting country

2005-01-18 Thread Luis Ferro
Yes there is ;) Check out the MaxMind services (the free service should be enought for that effect). [if i recall correctly, php.net uses this to try to locate the nearest mirror when downloading]. Cheers, Luis Ferro Zu3Bi wrote: I'm creating a survey, and i have a list of countries in a combo b

[PHP-WIN] Pre-selecting country

2005-01-18 Thread Zu3Bi
I'm creating a survey, and i have a list of countries in a combo box to be selected, is there way to find out from which country the client is accessing the survey so i can pre select the country without him/her having to select it... Thx guys :) Zu3Bi -- PHP Windows Mailing List (http://www.ph

[PHP-WIN] Stored proc

2005-01-18 Thread Louis Young
Hi Guys I'm trying to execute an MSSQL 2000 stored proc in PHP: This: $sp_FINGPDebtorBalance_query=mssql_query($_GLOBALS["GPDB"] . "sp_FINGPDebtorBalance_rset '" . trim($Outlet_session) . "E', 0"); produces the following: *Warning*: mssql_query(): Query failed in *c:\program files\apache group\a

Re: [PHP-WIN] Php And Mail

2005-01-18 Thread David Elliott
Hello php-windows, On 18 January 2005, at 16:45:31 +1000 (which was 06:45 where I live) Dean Hayes on php-windows wrote (and possibly edited) > I am in the process of doing a small mailing list script. Does anyone have > any ideas an a SMTP server i can install under 98SE that is free and works i

Re: [PHP-WIN] Re: Output Image from Db to Browser

2005-01-18 Thread graeme
I've found a book that might help... "PHP graphics Handbook" from Wrox. The example they have to get an image from a MySQL table is as follows: after a successful query... $buffer = stripslashes(mysql_result($result,0,0); header("Content-type: image/jpg"); echo $buffer; ... and then close the dat

[PHP-WIN] PHP doesn't like COM

2005-01-18 Thread Louis Young
Hi Guys I tried using COM to connect to Excel, but this didn't work, so I'm using PEAR now, but now there's another issue. I'm trying to connect to an ActiveX component and having trouble again. The following line of code: $DelphiASPObj =& new COM("ClientBalance.coClientBalance") or Die("Did no

[PHP-WIN] Php And Mail

2005-01-18 Thread Dean Hayes
I am in the process of doing a small mailing list script. Does anyone have any ideas an a SMTP server i can install under 98SE that is free and works i can not seem to find one and my ISP will not allow me to use it without loggin in first Dean "The Insane Guy" Hayes <-- I design and i redesign

[PHP-WIN] Browscap.ini

2005-01-18 Thread Hassan Shaikh
Hi All, I am getting *Cannot open 'c:\PHP\extra\browscap.ini' for reading* on a Windows 2003/IIS setup with PHP. Can anyone help out? Seems like a pretty known error coz many links were found while Googling. Thanks. Hassan -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP-WIN] Re: Output Image from Db to Browser

2005-01-18 Thread MikeA
I had tried that once but then I was requested the download the file. But I gave your suggestion a shot and I am getting an error message saying there is an error in the JPG file. BTW, looking back at my original post I accidentally left out how I was calling the function. I used this first.