I'm trying to learn PHP and I have it loaded on my PC with XP pro and IIS
5.1. I run the following script and receive the error below.
//hit_counter1.php
$counter_file = "./count.txt";
if(!($fp = fopen($counter_file, "r"))) die ("Cannot open $counter_file.");
$counter = (int) fread($fp, 20);
fclose
php-windows Digest 6 Jul 2003 04:26:29 - Issue 1811
Topics (messages 20692 through 20696):
PHP 5 Beta 1 and IIS
20692 by: Denis Bourdon
20696 by: Frank M. Kromann
Sessions help needed!
20693 by: John Fuller
20694 by: Luis Ferro
Re: Fatal error with 'DB.php'
Hi Den,
PHP5 needs libxml2.dll and iconv.dll either in the same folder where
php.exe (CGI version) is or in %systemdir%\system32.
I prefer to keep everything in c:\php5. That makes it possible to run
different versions of PHP on the same system.
- Frank
> Hello there!
>
> Just wanted to know i
OK, I solved it.
It seems that I **HAVE TO**, **MUST**, **NO CHOICE** place my php.ini in
C:\WINNT (for NT and 2k) or PHP will not find it. This is a hardcoded path
done at compile time.
So, since no ini file, PHP was running on default values, thus it could not
find DB.php since the default path
Security alert:
If you don't check the post vars, someone could add after the password
something like
$password = "343'; drop database;";
If someone sent that in the password field... the database would be
droped (permissions could avoid part of the problem, but the
vulnerability stands)...
Hello all,
I am new to php in general and am trying to set up a user authentification system
with mysql. The registration page works well and sends all of the data to the
appropriate table in mysql. However, when I try to get the registered user to log in
and start a session, the system w
Hello there!
Just wanted to know if anyone succeeded in installing the latest PHP 5
Beta 1 under IIS (5 or 6)
I tried :
- ISAPI configuration : the loading of "php4isapi.dll" by W3SVC failed
(I put php4ts.dll and php.ini in %systemdir%)
- CGI/EXE configuration : I get the following (I put
"cgi.fo
php-windows Digest 5 Jul 2003 15:21:58 - Issue 1810
Topics (messages 20689 through 20691):
Re: Fatal error with 'DB.php'
20689 by: H Marc Bower
Length question
20690 by: Harpreet
20691 by: Svensson, B.A.T. (HKG)
Administrivia:
To subscribe to the digest, e-mail:
This question was just answered like two-three days before.
Please, check privious comments.
-Original Message-
From: Harpreet
To: [EMAIL PROTECTED]
Sent: 5-7-03 7:22
Subject: [PHP-WIN] Length question
Dear group members,
I have a field of type varchar[1000] in a sql server database. I