php-windows Digest 3 Feb 2002 12:26:43 -0000 Issue 983
Topics (messages 11803 through 11809):
Securite problem
11803 by: Roebie
11804 by: Roebie
Re: [PHP-DEV] Re: Securite problem
11805 by: James Cox
Re: installing and running php
11806 by: alain samoun
Apache variables
11807 by: B Thomas
Re: php 4.1 / xitami on a Win2k computer
11808 by: B Thomas
Re: DLL problems
11809 by: Dave
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 ---
Dear all,
I have a index.php3 file in a password protected directory (on Windows)
which calls two other files with
require_once("../code/anolislib2.php3");
require_once("../code/pageslib1.php3");
These two files are in another (not protected) directory. When I try to open
index.php3 with IE5.5 nothing happens. The files are not included, I get no
error message and no code at all is executed.
Why is this and what can I do about it ?
Thanks for any help.
Roebie
--- End Message ---
--- Begin Message ---
I have tried absolute paths but that does not solve the problem.
Unlike the filename extension suggests I am using php4.
The problem seems to be the password protection. When the three files are in
the same directory (be it protected or unprotected) everything works fine.
When index.php3 is in one directory and the other two files are in another
directory everything works fine but only if both directories are protected
or both are unprotected.
That including a script that is in a password protected directory is not
allowed seems reasonable to me, but the other way round ...?
--- End Message ---
--- Begin Message ---
Hi,
this isn't a problem for [EMAIL PROTECTED], as that's the developers
list. You will find most help on [EMAIL PROTECTED] or php-windows.
Thanks,
james cox
> -----Original Message-----
> From: Roebie [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, February 03, 2002 1:20 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
> [EMAIL PROTECTED]
> Subject: [PHP-DEV] Re: Securite problem
>
>
> I have tried absolute paths but that does not solve the problem.
> Unlike the filename extension suggests I am using php4.
>
> The problem seems to be the password protection. When the three
> files are in
> the same directory (be it protected or unprotected) everything works fine.
> When index.php3 is in one directory and the other two files are in another
> directory everything works fine but only if both directories are protected
> or both are unprotected.
>
> That including a script that is in a password protected directory is not
> allowed seems reasonable to me, but the other way round ...?
>
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
--- End Message ---
--- Begin Message ---
There is not much we can do to help you if you do not give us more
information, like:
PHP version, the script that you are running, the error message you get
etc...
A+
Alain
-----Original Message-----
From: brian [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 02, 2002 3:55 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] installing and running php
Hello everyone,
A small question:
I have installed Apache (that works)
I have installed php 4 and it gives the text of the scriptfile(phpinfo.php)
on the screen of IE
I have changed the conf. in the apache conf map.
I have changed the php.ini in the win map
But made a misstake somewhere.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
Hi.
Any ideas why Apache variables no longer parse in PHP anymore?
<?
echo $SCRIPT_NAME;
?>
Returns: nothing.
PHP 4.0.6
Apache 1.3.20
*frowns*
--- End Message ---
--- Begin Message ---
"Wolfgang Schneider" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello all,
>
> I am running Xitami together with PHP 4.1 and mySQL on a Win2k
> computer for locally testing websites ... everything seems to work
> fine, except for a bit of a strange thing I encountered now .
>
> When running the phpinfo() to get all the values for the system
> variables etc ... the PHP_SELF variable is blank/empty .... it should
> normally return the URL of the webpage from where you call the
> phpinfo () function or the variable itself.
>
> Anyone have an idea where the mistake might be? some Xitami server
> setting somewhere? perhaps a setting in the php.ini configuration?
> Any help is much appreciated. Thanks!
>
> God bless you with His grace and peace
> Wolfgang
>
> Looking for Biblical information? COME AND SEE!
> -- ONLINE Courses: http://classes.bibelcenter.de ... NEW!
> -- BibelCenter: http://www.bibelcenter.de
> -- Bookstore: http://www.worthy.net/BibelCenter/
>
>
>
Weird. I'm having the exact problem with PHP 4.0.6, Apache 1.3.20.
Except NO CGI variables work, very very weird indeed
--- End Message ---
--- Begin Message ---
Aliain,
I think your #2 might have been the problem. I had taken the dll's from
another source. So, I downloaded the entire package from php.net and dll's
seem to be loading.
THanks.
"Alain Samoun" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...> 1) Did you enable the
dll in php.ini (make sure that there is only one copy
> of php.ini in path)?
> 2) Did the dll have been compiled for your PHP version?
> 3) Some other reasons ;)
> A+
> Alain
>
>
> -----Original Message-----
> From: Dave [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 01, 2002 9:39 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] DLL problems
>
>
> Hi,
> I'm using win 98, php 4.04, and apache 1.3.19. Have had no problems
> executing simple scripts, including some with mySql access.
> HVR, when I uncomment any of the php dll's in the php.ini file I get the
> following message (one for each dll):
> "unable to load dynamic library 'c:\windows\system\php_gd.dll'. A device
> attached to the system is not functioning".
> The path shown is correct, so it seems to be 'seeing' the dll, but
something
> else is obviously not working. I get the same message for ANY dll,
specific
> to that file. Any clues as to what 'device' is not functioning?
> Thanks!
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--- End Message ---