php-windows Digest 5 Jun 2002 07:37:47 -0000 Issue 1176

Topics (messages 14072 through 14076):

Re: PHP 4.2.1. on PWS...
        14072 by: Max Sullivan

Cant Connect to INFORMIX DB
        14073 by: Gastón

Re: form Post action
        14074 by: Steve Yates

Re: notice:undefined variable
        14075 by: Steve Yates
        14076 by: Marius Venter

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,

You need to set cgi.force_redirect = 0 in your php.ini file.

-----Original Message-----
From: Mircea Goia [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, June 04, 2002 7:37 AM
To: [EMAIL PROTECTED]
Subject: PHP 4.2.1. on PWS...


Hi,

I've installed PHP 4.2.1 (Windows installer) on Windows 98 which uses
Personal Web Server 4.

And when I'm trying to access a .php page I get this:
~~~~~~~
Security Alert! The PHP CGI cannot be accessed directly.
This PHP CGI binary was compiled with force-cgi-redirect enabled. This
means that a page will only be served up if the REDIRECT_STATUS CGI
variable is set, e.g. via an Apache Action directive.

For more information as to why this behaviour exists, see the manual
page for CGI security.

For more information about changing this behaviour or re-enabling this
webserver, consult the installation file that came with this
distribution, or visit the manual page. ~~~~~~~~

   What this means? I visited those two links but I didn't understand
too much (my background is ASP/SQL server)

When I used PHP 4.1.1. (also Windows installer) on the same
configuration all worked well.

What should I do for PHP 4.2.1.to work?

Thanks,
Mircea

--
Mircea Goia
Web Developer and web design team coordinator http://www.deep.ro (DEEP
Foundation) http://www.jiuvalley.com (Jiu Valley regional web portal)
----------------
Mircea Goia
Dezvoltator web si coordonator echipa web design http://www.deep.ro
(Fundatia DEEP) http://www.valeajiului.ro (portalul regional al Vaii
Jiului)




--- End Message ---
--- Begin Message ---
Hi,
I need some help (or maybe a lot), to get PHP connecting to my Informix DB.
I'm pretty new to PHP, and i don't have a clue of what i'm doing wrong.

I'm using IIS 4.0 under Win NT 4.0.
with PHP 4.2.1

I've tried to connect throw ODBC driver, and directly from native functions
but both fail.
The messages are:
When i use ODBC:
Warning: SQL error: [INTERSOLV][ODBC Informix driver][Informix]Cannot open
file 'csql.iem' , SQL state S1000 in SQLConnect

When i use native functions:
PHP Warning: Unable to load dynamic library
'C:\Php421\extensions\php_ifx.dll' - The specified procedure could not be
found. in Unknown on line 0


Thanks,
Gastón.


--- End Message ---
--- Begin Message ---
> "Martin.Andrew" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > This document resulted from a POST operation and has expired from the

    Still sounds like a caching issue to me.  Change the name of the
posted-to page temporarily, or set a caching timeout for that page, or try
holding down the shift key as you click the button to post to that page.

 - Steve Yates
 - MONEY IS THE ROOT OF ALL EVIL.  Send me $20 for more info!

/ Taglines by Taglinator - www.srtware.com /




--- End Message ---
--- Begin Message ---
"Michael Davey" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> If you are leasing space, you will probably not have access to the php.ini
> file to make this change.

    A quick alternative might be to add

extract($HTTP_POST_VARS);

to the beginning of the script.  This will autocreate all posted vars just
like if register_globals was on.

 - Steve Yates
 - I've been rich and I've been poor. Rich is better.

/ Taglines by Taglinator - www.srtware.com /




--- End Message ---
--- Begin Message ---
Steve,

Thanks but it created another message:


Security Alert! The PHP CGI cannot be accessed directly.
This PHP CGI binary was compiled with force-cgi-redirect enabled. This means
that a page will only be served up if the REDIRECT_STATUS CGI variable is
set, e.g. via an Apache Action directive.

For more information as to why this behaviour exists, see the manual page
for CGI security.

For more information about changing this behaviour or re-enabling this
webserver, consult the installation file that came with this distribution,
or visit the manual page.

PHP: Error parsing C:\WINNT\php.ini on line 62

Regards,

Marius

Steve Yates <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> "Michael Davey" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > If you are leasing space, you will probably not have access to the
php.ini
> > file to make this change.
>
>     A quick alternative might be to add
>
> extract($HTTP_POST_VARS);
>
> to the beginning of the script.  This will autocreate all posted vars just
> like if register_globals was on.
>
>  - Steve Yates
>  - I've been rich and I've been poor. Rich is better.
>
> / Taglines by Taglinator - www.srtware.com /
>
>
>
>


--- End Message ---

Reply via email to