php-windows Digest 26 Sep 2002 17:03:56 -0000 Issue 1358

Topics (messages 16012 through 16020):

Microsoft Outlook Contacts can be managed by a PHP Interface
        16012 by: Ernani Joppert Pontes Martins

Re: PHP/IIS5/MSSQL shows CGI Header Error
        16013 by: David Elliott
        16019 by: Matt Kynaston

Unable to load dlls
        16014 by: Douglas F. Keim
        16015 by: toby z

problem to open an oracle database
        16016 by: Rodrigo Reis da Rocha

first time installer...
        16017 by: Robert Pawlowicz
        16018 by: toby z

header("location:...") through proxy?
        16020 by: Ignatius Reilly

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---

    Hi Fellows,

    I have some knowledge of the MAPI and CDO API.

    Do any of you think it whould be useful to do ?

    Perhaps not so then I will waste my time.

    Perhaps yes, then I will start the development of it.

    The only problem of it is that it will only work on Windows Systems.

    Cheers,

    Ernani


--- End Message ---
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hail David

On 26 September 2002 at 13:52:09 +1000 (which was 04:52 where I live) David
Redmond might have written

> I am just wondering if anyone out there using PHP (4.2.3, bug also affects
> previous versions and the latest CVS snapshot) with IIS5 and receives the
> "CGI Header Error" in PHP scripts that use an MSSQL DB connection.

Yes.

> - I'm running PHP 4.2.3, IIS5, Win2K (SP3 + Q326830, Q295688, Q147222).
 4.2.2 IIS5 Win2K (server) SP2 + all security updates

> - IIS is configured to use Host Header
> - The error message that is returned via the script is;

> <head><title>Error in CGI Application</title></head>
> <body><h1>CGI Error</h1>The specified CGI application misbehaved by not
> returning a complete set of HTTP headers. The headers it did return
> are:<p><p><pre></pre>

> - If the slot is run as a local administrator then the error does not occur,
> similiary if you remove the IUSR access to the slot so that you are prompted
> for authentication, and you use an administrator account.

Err sorry what is 'slot'

< ... >

> If anyone has encountered this problem before and found a resolution for it,
> please post it here. As you may read from the bug thread, the developers of
> PHP seemed to have passed this off as an IIS issue.

No and it is a pain.

- --
 Regards,                  _______________________________________________
  David                   |    David  Elliott    |   Software Engineer    |
 _________________________| [EMAIL PROTECTED] | PGP Key ID 0x650F4534  |
| Cowboys DO IT on a horse.                                               |

-----BEGIN PGP SIGNATURE-----
Version: 6.5.8ckt Build 09 Beta 03

iQA/AwUBPZK2afmK8eZlD0U0EQLsMACgyObSJaaOlRpULAAcrxeR0nc0P0MAnj+u
3fjf5zgtx7uiOqjiRkhDIdmU
=Ggug
-----END PGP SIGNATURE-----


--- End Message ---
--- Begin Message ---
> > If anyone has encountered this problem before and found a
> resolution for it,
> > please post it here. As you may read from the bug thread,
> the developers of
> > PHP seemed to have passed this off as an IIS issue.

Hrm... haven't seen the exact error described, but gave up on mssql_*
functions under Win2K, IIS5, SQL Server 2000, PHP 4.2.2 because of the fact
they truncate varchar fields to 256 chars, among much other wierdness. See
my "MSSQL trouble: ansi_nulls?" posts to this forum from the end of Aug.

I suggest switching to odbc_* calls (hope you're nicely abstracted ;)

It seems to me that many of the problems with PHP's mssql support under
Windows stem from the fact they're built around dblib, which has hardly
changed since Microsoft bought SQL Server from Sybase. So long as this is
the case, the problems will only get worse. IMHO what PHP really needs is a
complete rewrite of the functions using OLEDB. Wish I had the time and
skills :(

Matt
--- End Message ---
--- Begin Message ---
I have tried to install PHP on XP Pro - Installed on D:\PHP.

tried the http://localhost/test.php but keep getting the error messages that
it was unable to load a whole bunch of dlls.

This certainly is not a typical windows install.  Too much manual stuff to
do apparently.


--- End Message ---
--- Begin Message ---

hi doug ...
silly it may sound but try copyin ur dlls to
c:\windows
or c:\windows\system32
n also u ll need a few in apache folder if ur using
apache ...

good luck ....

toby ....


 --- "Douglas F. Keim" <[EMAIL PROTECTED]> wrote:
> I have tried to install PHP on XP Pro - Installed on
> D:\PHP.
> 
> tried the http://localhost/test.php but keep getting
> the error messages that
> it was unable to load a whole bunch of dlls.
> 
> This certainly is not a typical windows install. 
> Too much manual stuff to
> do apparently.
> 
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>  

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--- End Message ---
--- Begin Message ---
Hi,

I´m having problem to acess an oracle database:
I´m using the general oracle functions (php_oracle.dll)
Warning: Oracle: Connection Failed: ORA-12560: TNS:error or protocol adapter
in d:\www\htdocs\ora_test.php on line 20
I have configured the ORACLE_HOME variable as well ORACLE_SID variable.
I can acess by TOAD or sql navigator but php dos not connect.

Can someone give me a sample script?

Tkx for help!
R3.
Rodrigo Reis da Rocha.
BRAZIL
Rio de Janeiro

--- End Message ---
--- Begin Message ---
I'm trying to include php as an apache module.  I've changed the httpd.conf
file by including the LoadModule, AddModule and AddType. I have also changed
the directory for the php4ts.dll file.  I have noticed that when I ran the
installer it loaded no sapi file into my php folder so the file refered to
in "LoadModule php4_module c:/php/sapi/php4apache.dll" does not exist.
What is going on?
incidentally, when I try to run Apache it fails to start with the aditional
instructions in the conf file.
Help would be much appreciated
Regards
Robert
[EMAIL PROTECTED]





--- End Message ---
--- Begin Message ---
check  for sapi folder where u initially  downloaded
php and copy it to the folder u ve installed php in
....

also move ur dlls around abit ... copy them in win or
win/sys32 folder and also in apache folder (where u ve
actually installed apache )....

hope this helps ...

good luck ...
toby ....

--- Robert Pawlowicz <[EMAIL PROTECTED]> wrote: >
I'm trying to include php as an apache module.  I've
> changed the httpd.conf
> file by including the LoadModule, AddModule and
> AddType. I have also changed
> the directory for the php4ts.dll file.  I have
> noticed that when I ran the
> installer it loaded no sapi file into my php folder
> so the file refered to
> in "LoadModule php4_module
> c:/php/sapi/php4apache.dll" does not exist.
> What is going on?
> incidentally, when I try to run Apache it fails to
> start with the aditional
> instructions in the conf file.
> Help would be much appreciated
> Regards
> Robert
> [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>  

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--- End Message ---
--- Begin Message ---
Hello,

I need to use header("location:some_url") from a cron job (to do some maintenance work 
on remote files)

my problem is that there is a proxy between me and some_url, so the GET request fails

Anybody knows how to do this?  

Thanks

Ignatius
--- End Message ---

Reply via email to