php-windows Digest 29 Apr 2010 09:27:06 -0000 Issue 3799

Topics (messages 30050 through 30057):

Re: Unable to load php_msql.dll
        30050 by: Richard Quadling
        30051 by: Chris
        30052 by: Chris
        30053 by: Richard Quadling
        30054 by: Chris
        30055 by: Richard Quadling
        30056 by: Pierre Joye

MySQL database query passwort and username
        30057 by: Alexander Schunk

Administrivia:

To subscribe to the digest, e-mail:
        php-windows-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
        php-windows-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
        php-wind...@lists.php.net


----------------------------------------------------------------------
--- Begin Message ---
On 28 April 2010 15:33, Chris <cjav...@bellatlantic.net> wrote:
>
> Hello, and thanks for your assistance in advance.  I am running windows 2008 
> 64 bit/PHP 4.49 and mysql.  When I run my application, I get an error.  When 
> I check the php.log file it states:
>
> PHP Warning Unknown() Unable to load dynamic library 
> c:\php\extensions\php_msql.dll - The specified moduel could not be found. 
> Although that is the error, I know it is there.
>
> When I run dependency walker I see that php.exe cant find GPSVC.DLL 
> IESHIMS.DLL and LINKINFO.dll which all appear to be there.
>
> Any suggestions?
> Thanks Again.
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

Do you have c:\php\extensions\php_msql.dll?

If so, do you also have the msql.dll library available in your PATH somewhere?

php_msql.dll requires msql.dll

See the "Notes for Win32 users" on
http://docs.php.net/manual/en/msql.installation.php



--
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling

--- End Message ---
--- Begin Message --- Hello Richard, and thanks for your assistance. I do have it in the path. I have done a search on the server for msql.dll and it doesnt exist. Where does it come from and how do I get it?

Thanks,
Chris

"Richard Quadling" <rquadl...@googlemail.com> wrote in message news:r2v10845a341004280743obc4213eay22903118d3ee8...@mail.gmail.com...
On 28 April 2010 15:33, Chris <cjav...@bellatlantic.net> wrote:

Hello, and thanks for your assistance in advance. I am running windows 2008 64 bit/PHP 4.49 and mysql. When I run my application, I get an error. When I check the php.log file it states:

PHP Warning Unknown() Unable to load dynamic library c:\php\extensions\php_msql.dll - The specified moduel could not be found. Although that is the error, I know it is there.

When I run dependency walker I see that php.exe cant find GPSVC.DLL IESHIMS.DLL and LINKINFO.dll which all appear to be there.

Any suggestions?
Thanks Again.



--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Do you have c:\php\extensions\php_msql.dll?

If so, do you also have the msql.dll library available in your PATH somewhere?

php_msql.dll requires msql.dll

See the "Notes for Win32 users" on
http://docs.php.net/manual/en/msql.installation.php



--
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling
--- End Message ---
--- Begin Message ---
My bad....I do have msql.dll in c:\php and it is part of the env path.

Thanks,
Chris

""Chris"" <cjav...@bellatlantic.net> wrote in message news:6d.87.02305.a4c48...@pb1.pair.com...
Hello Richard, and thanks for your assistance. I do have it in the path. I have done a search on the server for msql.dll and it doesnt exist. Where does it come from and how do I get it?

Thanks,
Chris

"Richard Quadling" <rquadl...@googlemail.com> wrote in message news:r2v10845a341004280743obc4213eay22903118d3ee8...@mail.gmail.com...
On 28 April 2010 15:33, Chris <cjav...@bellatlantic.net> wrote:

Hello, and thanks for your assistance in advance. I am running windows 2008 64 bit/PHP 4.49 and mysql. When I run my application, I get an error. When I check the php.log file it states:

PHP Warning Unknown() Unable to load dynamic library c:\php\extensions\php_msql.dll - The specified moduel could not be found. Although that is the error, I know it is there.

When I run dependency walker I see that php.exe cant find GPSVC.DLL IESHIMS.DLL and LINKINFO.dll which all appear to be there.

Any suggestions?
Thanks Again.



--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Do you have c:\php\extensions\php_msql.dll?

If so, do you also have the msql.dll library available in your PATH somewhere?

php_msql.dll requires msql.dll

See the "Notes for Win32 users" on
http://docs.php.net/manual/en/msql.installation.php



--
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling


--- End Message ---
--- Begin Message ---
On 28 April 2010 15:55, Chris <cjav...@bellatlantic.net> wrote:
> Hello Richard, and thanks for your assistance.  I do have it in the path.  I
> have done a search on the server for msql.dll and it doesnt exist.  Where
> does it come from and how do I get it?
>
> Thanks,
> Chris
>
> "Richard Quadling" <rquadl...@googlemail.com> wrote in message
> news:r2v10845a341004280743obc4213eay22903118d3ee8...@mail.gmail.com...
> On 28 April 2010 15:33, Chris <cjav...@bellatlantic.net> wrote:
>>
>> Hello, and thanks for your assistance in advance. I am running windows
>> 2008 64 bit/PHP 4.49 and mysql. When I run my application, I get an error.
>> When I check the php.log file it states:
>>
>> PHP Warning Unknown() Unable to load dynamic library
>> c:\php\extensions\php_msql.dll - The specified moduel could not be found.
>> Although that is the error, I know it is there.
>>
>> When I run dependency walker I see that php.exe cant find GPSVC.DLL
>> IESHIMS.DLL and LINKINFO.dll which all appear to be there.
>>
>> Any suggestions?
>> Thanks Again.
>>
>>
>>
>> --
>> PHP Windows Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>
> Do you have c:\php\extensions\php_msql.dll?
>
> If so, do you also have the msql.dll library available in your PATH
> somewhere?
>
> php_msql.dll requires msql.dll
>
> See the "Notes for Win32 users" on
> http://docs.php.net/manual/en/msql.installation.php
>
>
>
> --
> -----
> Richard Quadling
> "Standing on the shoulders of some very clever giants!"
> EE : http://www.experts-exchange.com/M_248814.html
> EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
> Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
> ZOPA : http://uk.zopa.com/member/RQuadling
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

At the command prompt, can you type ...

C:
CD \PHP
php -m
php -i | find "ext"
php -i | find "msql"

Can you let me know what you get for each of the php commands?

Mine is ...

[2010/04/28 16:46:37] [C:\php-4.4.9] [] >php -m
[PHP Modules]
bcmath
calendar
com
ctype
ftp
msql
mysql
odbc
overload
pcre
session
standard
tokenizer
wddx
xml
zlib

[Zend Modules]


[2010/04/28 16:46:52] [C:\php-4.4.9] [] >php -i | find "ext"
Content-type: text/html
<style type="text/css">
a:link {color: #000099; text-decoration: none; background-color: #ffffff;}
a:hover {text-decoration: underline;}
.center {text-align: center;}
.center table { margin-left: auto; margin-right: auto; text-align: left;}
.center th { text-align: center !important; }
.p {text-align: left;}
<tr><td class="e">default_mimetype</td><td class="v">text/html</td><td
class="v">text/html</td></tr>
<tr><td class="e">docref_ext</td><td class="v"><i>no value</i></td><td
class="v"><i>no value</i></td></tr>
<tr><td class="e">extension_dir</td><td class="v">./extensions</td><td
class="v">./extensions</td></tr>
<tr><td class="e">CLASSPATH </td><td class="v">.;C:\Program
Files\Java\jre6\lib\ext\QTJava.zip </td></tr>
<tr><td class="e">QTJAVA </td><td class="v">C:\Program
Files\Java\jre6\lib\ext\QTJava.zip </td></tr>
<tr><td class="e">_SERVER["CLASSPATH"]</td><td class="v">.;C:\Program
Files\Java\jre6\lib\ext\QTJava.zip</td></tr>
<tr><td class="e">_SERVER["QTJAVA"]</td><td class="v">C:\Program
Files\Java\jre6\lib\ext\QTJava.zip</td></tr>

[2010/04/28 16:46:53] [C:\php-4.4.9] [] >php -i | find "msql"
<h2><a name="module_msql">msql</a></h2>



Richard.

-- 
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling

--- End Message ---
--- Begin Message ---
Pretty much the same exact thing.
C:\PHP>php -m

[PHP Modules]

bcmath

bz2

calendar

com

ctype

domxml

ftp

gd

msql

mysql

odbc

overload

pcre

session

standard

tokenizer

wddx

xml

xslt

zlib



[Zend Modules]





C:\PHP>php -i | find "ext"

Content-type: text/html

<style type="text/css">

a:link {color: #000099; text-decoration: none; background-color: #ffffff;}

a:hover {text-decoration: underline;}

.center {text-align: center;}

.center table { margin-left: auto; margin-right: auto; text-align: left;}

.center th { text-align: center !important; }

.p {text-align: left;}

<tr><td class="e">default_mimetype</td><td class="v">text/html</td><td class="v">text/html</td

</tr>

<tr><td class="e">docref_ext</td><td class="v"><i>no value</i></td><td class="v"><i>no value</

i></td></tr>

<tr><td class="e">extension_dir</td><td class="v">c:\php\extensions</td><td class="v">c:\php\e

xtensions</td></tr>



C:\PHP>php -i | find "msql"

<h2><a name="module_msql">msql</a></h2>



C:\PHP>




"Richard Quadling" <rquadl...@googlemail.com> wrote in message news:g2o10845a341004280847p72d4a00evf85cb63b9d298...@mail.gmail.com...
On 28 April 2010 15:55, Chris <cjav...@bellatlantic.net> wrote:
Hello Richard, and thanks for your assistance. I do have it in the path. I
have done a search on the server for msql.dll and it doesnt exist. Where
does it come from and how do I get it?

Thanks,
Chris

"Richard Quadling" <rquadl...@googlemail.com> wrote in message
news:r2v10845a341004280743obc4213eay22903118d3ee8...@mail.gmail.com...
On 28 April 2010 15:33, Chris <cjav...@bellatlantic.net> wrote:

Hello, and thanks for your assistance in advance. I am running windows
2008 64 bit/PHP 4.49 and mysql. When I run my application, I get an error.
When I check the php.log file it states:

PHP Warning Unknown() Unable to load dynamic library
c:\php\extensions\php_msql.dll - The specified moduel could not be found.
Although that is the error, I know it is there.

When I run dependency walker I see that php.exe cant find GPSVC.DLL
IESHIMS.DLL and LINKINFO.dll which all appear to be there.

Any suggestions?
Thanks Again.



--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Do you have c:\php\extensions\php_msql.dll?

If so, do you also have the msql.dll library available in your PATH
somewhere?

php_msql.dll requires msql.dll

See the "Notes for Win32 users" on
http://docs.php.net/manual/en/msql.installation.php



--
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



At the command prompt, can you type ...

C:
CD \PHP
php -m
php -i | find "ext"
php -i | find "msql"

Can you let me know what you get for each of the php commands?

Mine is ...

[2010/04/28 16:46:37] [C:\php-4.4.9] [] >php -m
[PHP Modules]
bcmath
calendar
com
ctype
ftp
msql
mysql
odbc
overload
pcre
session
standard
tokenizer
wddx
xml
zlib

[Zend Modules]


[2010/04/28 16:46:52] [C:\php-4.4.9] [] >php -i | find "ext"
Content-type: text/html
<style type="text/css">
a:link {color: #000099; text-decoration: none; background-color: #ffffff;}
a:hover {text-decoration: underline;}
.center {text-align: center;}
.center table { margin-left: auto; margin-right: auto; text-align: left;}
.center th { text-align: center !important; }
.p {text-align: left;}
<tr><td class="e">default_mimetype</td><td class="v">text/html</td><td
class="v">text/html</td></tr>
<tr><td class="e">docref_ext</td><td class="v"><i>no value</i></td><td
class="v"><i>no value</i></td></tr>
<tr><td class="e">extension_dir</td><td class="v">./extensions</td><td
class="v">./extensions</td></tr>
<tr><td class="e">CLASSPATH </td><td class="v">.;C:\Program
Files\Java\jre6\lib\ext\QTJava.zip </td></tr>
<tr><td class="e">QTJAVA </td><td class="v">C:\Program
Files\Java\jre6\lib\ext\QTJava.zip </td></tr>
<tr><td class="e">_SERVER["CLASSPATH"]</td><td class="v">.;C:\Program
Files\Java\jre6\lib\ext\QTJava.zip</td></tr>
<tr><td class="e">_SERVER["QTJAVA"]</td><td class="v">C:\Program
Files\Java\jre6\lib\ext\QTJava.zip</td></tr>

[2010/04/28 16:46:53] [C:\php-4.4.9] [] >php -i | find "msql"
<h2><a name="module_msql">msql</a></h2>



Richard.

--
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling
--- End Message ---
--- Begin Message ---
On 28 April 2010 17:13, Chris <cjav...@bellatlantic.net> wrote:
> Pretty much the same exact thing.

Excellent. So the library is loaded and working.

What is the exact error are you getting? Is this on your machine or the server?

-- 
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling

--- End Message ---
--- Begin Message ---
hi,

Out of curiosity, why do you need msql? Or are you actually looking for mssql?

On Wed, Apr 28, 2010 at 4:33 PM, Chris <cjav...@bellatlantic.net> wrote:
> Hello, and thanks for your assistance in advance.  I am running windows 2008
> 64 bit/PHP 4.49 and mysql.  When I run my application, I get an error.  When
> I check the php.log file it states:
>
> PHP Warning Unknown() Unable to load dynamic library
> c:\php\extensions\php_msql.dll - The specified moduel could not be found.
> Although that is the error, I know it is there.
>
> When I run dependency walker I see that php.exe cant find GPSVC.DLL
> IESHIMS.DLL and LINKINFO.dll which all appear to be there.
>
> Any suggestions?
> Thanks Again.
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>



-- 
Pierre

@pierrejoye | http://blog.thepimp.net | http://www.libgd.org

--- End Message ---
--- Begin Message ---
Hello,

i am writing a login script with php and  mysql:

while($dbbenutzer = mysql_fetch_row($sqlbenutzername))
        while($dbpasswort = mysql_fetch_row($sqlpasswort)){


           echo $dbbenutzer[$i];
           echo $dbpasswort[$j];
       if($benutzername == $dbbenutzer and $pass == $dbpasswort){
         echo '<p>Sie haben sich erfolgreich angemeldet</p>';
         echo '<a href="willkommen.html">Willkommen</a>';
              }
        }

       }

I have the username=benutzername in one column and the
password=passwort in the oher column.
Now i use mysql_fetch_row to go through the columns and try to compare
the values given by sql select statement
with the values provided by the user.

The problem is that this code only finds the firs entry moritz and
123456 and not the second. There are two values in the database morith
123456 and thomas thorr. These are sample values for testing only.

Is there an easier way to write a login script?

thank you
Alexander

--- End Message ---

Reply via email to