Hi
Sounds like a permission problem. You don't mention which HTTP server
you're using, but I know with Apache (and likely so with IIS also) PHP
can't run with 'Everyone' permissions as that is not the same as 'Anyone
at all'. If memory serves, Everyone is authenticated users + anonymous
users +
We used to use php 4 on our web server on win2000, and use the system()
to call some DOS programs. That how we call it:
$cmd = "c:\\Inetpub\\wwwroot\\test.exe";
$last_line = system($cmd, $retval);
print ("\nretval =\"". $retval. "\"\n");
It was working perfectly for years.
sry if i mistaken
- Original Message -
From: "Zleviticus" <[EMAIL PROTECTED]>
To:
Sent: Monday, July 09, 2007 10:11 PM
Subject: [PHP-WIN] Windows 2k3 sp2 and mssql error
> I am perplexed with an issue that i need help on. I have
searched and can
> not find a resolution and can not find
Generaly, i have this error ecause i am not using the right version of file
libmySQL.dll.
It seems like there is compatibility with this file and the one with came with
mysql (bin directory).
My workaround is to find all occurences of this file in the computer, delete
(or rename) them all. Then
Mysql can be configured to only allow connections from certain hosts,
and it appears your host is not allowed.
You need to talk to the mysql admin.
Matt
-Original Message-
From: Jacob Bergman [mailto:[EMAIL PROTECTED]
Sent: Monday, July 09, 2007 11:23 AM
To: Janet Valade
Cc: php-win
Ok, so I put the two files into my system32 directory, which seems to
have fixed the error I was getting... but wouldn't you know it, I know
have 3 more... :(
Warning: mysqli_connect() [function.mysqli-connect]: (0/1130): Host
'PHP-AND-MYSQL.VMware.psd267.wednet.edu' is not allowed to conne
Thanks for all the help guys... but I think I am going to blow away what
I have so far and install wamp5. I want to be able to get on with your
book Janet :) Thanks for the help though. I'm sure I will have plenty
more questions.
Jacob Bergman
Network Technician
Pullman School District #267
(509
The extension is also in the ext folder, I just copied it to the main
c:\php folder... mostly cause the book said too... O.o
Jacob Bergman
Network Technician
Pullman School District #267
(509) 432-4012
[EMAIL PROTECTED]
-Original Message-
From: Bill Bolte [mailto:[EMAIL PROTECTED]
Sent:
The extension probably needs to be in the "ext" folder inside the php
folder. There is an extension path statement in the ini that points to
where extensions should go.
-Original Message-
From: Jacob Bergman [mailto:[EMAIL PROTECTED]
Sent: Monday, July 09, 2007 11:04 AM
To: Stut
Cc: php-
Yes, I restarted Apache and yes I edited the correct php.ini file, it is
looking in C:\windows for the file and I checked to make sure that the
line was uncommented. Is there anything else I need to be changing in
the php.ini file?? I made sure the php_mysqli.dll file was in the
c:\php folder, in
Jacob Bergman wrote:
Sorry about that...
Anyways, I created a phpinfo page and don't see anything about mysql in
the output...
Then it's not enabled. Have you restarted your web server since changing
php.ini? Are you sure you changed the right php.ini (look near the top
of the phpinfo ou
Sorry about that...
Anyways, I created a phpinfo page and don't see anything about mysql in
the output...
PHP Version 5.2.3
System Windows NT PHP-AND-MYSQL 5.1 build 2600
Build Date May 31 2007 09:36:39
Configure Command cscript /nologo configure.js
"--enable-snapshot-build" "--with-gd
Please include the list when replying.
Jacob Bergman wrote:
Yeah, the extension=php_mysqli.dll line is enabled in the php.ini file.
Doesn't that error indicate something wrong with the php file itself?
Have you restarted Apache/IIS/whatever since changing it?
The error indicates that it doesn
Hi
make sure the required dll ("php_mysqli.dll") is enabled in the php.ini
and not still commented out as is the default
--
Niel Archer
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jacob Bergman wrote:
While trying to connect to the mysqll database with php, I use the
following file:
When I access this file I I get "Fatal error: Call to undefined function
mysqli_connect() in C:\Program Files\Apache
Group\Apache2\htdocs\mysql_up.php on line 13"
Not sure what is wrong..
While trying to connect to the mysqll database with php, I use the
following file:
Test MySQL
";
$host="PHP-AND-MYSQL";
$user="root";
$password="Britt9906";
$cxn = mysqli_connect($host,$user,$password);
$sql="SHOW STATUS";
$result = mysqli_query($cxn,$sql);
if(
I am perplexed with an issue that i need help on. I have searched and can
not find a resolution and can not find out what is going on.
Here is the situation:
I have a windows 2003 Server running IIS 6, php 5.2.1
I have another windows 2003 server running mssql 2000 with all the latest
service
i want to build a site where i can create an gallery
inside..
i just send/upload 1 zip file contain 5 pic.
after i upload.. the zip will extract and inside goes to
image folder.
can you help me?
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
18 matches
Mail list logo