Further to the discussion begun by Jim Stapleton, I have worked out one
more wrinkle.
Some apps install elements in the path using shell variables, i.e.-
PATH Entry Resolves To
-
%SystemR
OK it's fixed. Thamks to all that provided some help. I put all the files in /dll
and /sapi in the root. Just basically followed the directions here:
http://us2.php.net/install.windows.iis
--
George Hester
__
"George Hester" <[EMAIL PROTECTED]> wrote in messag
This is my code...
It displays one result then thows up the following error
Warning: mysql_fetch_assoc(): 3 is not a valid MySQL result resource in
c:\inetpub\wwwroot\testy\Untitled-1.php on line 29
--
PHP Windows Mailing List (http://www.php.net/)
To uns
Hi.
When I set session expiration using:
ini_set('session.gc_maxlifetime','3');
and I refresh page after 10 seconds or even change my system time to a
few hours ahead, the session variables still exist. It doesn't work even
if I change it directly in php.ini. I am running the Apache 2 with PHP
I have the following problem:
This one does not work:
$query = "SELECT * from user where name='$userid' and
pass=password('$password')";
$result = mysql_query($query, $link);
$num_rows = mysql_num_rows($result);
I get this error message:
Warning: mysql_num_rows(): supplied argument is not a
Greetings!
I'm porting all my old ASP websites to PHP and have run into a small
problem. One of my pages is a gallery in which images can (should) only
be viewed by authenticated users in my MySQL database. The images are
stored in a non-web accessible directory. For example.. say my root
website
I would thing you could do something similar using the GD "image" functions,
http://www.php.net/manual/en/ref.image.php
in your html page code and this module
would
basically;
1. determine the type of image (jpec, gif, etc) (note you can pass ?parms
in get format to your imagemodule
Do:
$query = "SELECT * from user where name='$userid' and
pass=password('$password')";
echo $query. ".r\n";
See what the string looks like, and if you can replicate the problem by
trying to execute that string in the mysql.exe command line tool.
You ererror suggest that you have some kind of