php-windows Digest 12 Dec 2004 01:07:44 -0000 Issue 2502

Topics (messages 25143 through 25146):

Re: php-startup unable to find library php_pdf.dll
        25143 by: Greg Heller

Re: Absolute includes
        25144 by: re_action

Re: Marty Yantzie - COM Object help- have working .asp example - Paymentech
        25145 by: Charles P. Killmer

Apache 2.0.52 + PHP 4.3.9 + mySQL 4.1.7 -- OLD mysql library
        25146 by: AlliXSenoS

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 ---
here is the error from the apache error log.


PHP Warning:  PHP Startup: Unable to load dynamic library 
'c:\php\ext\php_pdf.dll' - The specified module could not be found.

 in Unknown on line 0


"Greg Heller" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Everytime I start apach I get this error
>
> Any suggestions 

--- End Message ---
--- Begin Message ---
Hello S.D.Price,

on Win32:
include ("c:\\path\\file.ext");

on *nix:
include ("/path/file.ext");

Friday, December 10, 2004, 3:34:30 PM, you wrote:


SDP> Hi, can anyone help me out. What would I need to do to use an absolute
SDP> php includes to include this file in

SDP> 1. Windows 2000 - IIS
SDP> 2. Unix linux - Apache

SDP> : <!--#include virtual="/wwwcommon/site/test.htm" --> 

SDP> Thanks

SDP> Steven






-- 
Best regards,
 re_action                            mailto:[EMAIL PROTECTED]

--- End Message ---
--- Begin Message ---
Marty Yantzie  wrote a question about Paymenttech and php back in July
of 2003.  Marty did you ever get this figured out.  
 
Anybody else, has anyone else run into problems with this?
 
 
Original Message:
I am trying to setup an small ecommerece site. I would like to use php 
to accomplish this. I have been able to get the .asp example to work 
fine but am having trouble getting the asp converted to php. Am i 
heading in the right direction? Any ideas? 


Here is a trimmed version of the PHP that I am trying to use. 


<? 
 $trans = new COM("Paymentech.Transaction")or die("Unable to instanciate

Payment Transaction"); 
 $trans->Type = 'CC.Authorize'; 
 $trans->Field('MessageType')='AC; 
 $trans->Field('MerchantID')='1234567890123'; 
 $trans->Field('BIN')='000002'; 
 $trans->Field('AccountNum')='1234567890123'; 


 $Resp = $trans->Process(); 
?> 
------------------------------------------------------------------------

----- 
Here is the ASP that works 


<% 
 Dim trans 
 Set trans = Server.CreateObject ("Paymentech.Transaction") 
  
    trans.Type = "CC.Authorize" 
    trans.Field("MessageType") = "A" 
   
    trans.Field("MerchantID") = Request("MerchantID") 
    trans.Field("BIN") = Request("BIN") 
    trans.Field("AccountNum") = Request("AccountNum") 
    trans.Field("OrderID") = Request("OrderID") 
    trans.Field("Amount") = Request("Amount") 
    trans.Field("Exp") = Request("ExpDate") 
    trans.Field("AVSname") = Request("AVSName") 
    trans.Field("AVSaddress1") = Request("AVSAddress1") 
    trans.Field("AVScity") = Request("AVScity") 
    trans.Field("AVSstate") = Request("AVSstate") 
    trans.Field("AVSzip") = Request("AVSzip") 
    trans.Field("Comments") = Request("Comments") 
    trans.Field("ShippingRef") = Request("ShippingRef") 
      
 Set Resp = trans.Process () 
%> 


 
Charles Killmer
Netgain Technology
[EMAIL PROTECTED]
Office: (320) 251-4700 ext 107
 

--- End Message ---
--- Begin Message ---
hello everyone!

I have a problem, and it goes like this:


I installed Apache 2 on my Windows dev box (because A1 sucks on Windows) 
and PHP 4.3.9 (because that's what I have on my hosting box) and mySQL 
4.1.7 cause it's the latest

everything went well, I even ran a phpinfo() to see if everything was 5/5


I then decided it would be cool to have phpMyAdmin to make data transfers a 
lot easier...


after installing those 3 pieces of software, I really wasn't prepared for 
the anguish of getting pMA to work :)


it repeatedly reports
MySQL said:
#1251 - Client does not support authentication protocol requested by 
server; consider upgrading MySQL client


I have compared phpinfo() output on my hosting box and on my windows dev 
box and I found this teeny weeny difference:

dev box: Client API version     3.23.49
hosting box: Client API version         4.0.22


I have read the latest 'solutions' from this newsgroup but I still can't 
seem to get it working. please help me, I'm becoming VERY desperate


I have replaced c:\php\dlls\libmySQL.dll with C:\Program Files\MySQL\MySQL 
Server 4.1\bin\libmySQL.dll, no change noticed

I have then attempted to copy the same libmySQL.dll file to the extensions 
folder and load it -- no success... till I found out I had to modify 
extension_dir to "C:\php\extensions"... then I got a 'Invalid library 
(maybe not a PHP library) 'libmysql.dll'' error from Apache...


only thing that strikes me odd is that I can't find php_mysql.dll or 
php_mysqli.dll anywhere in the installation...

please assist me. thank you,
Luka aka AlliX


-- 
* AlliXSenoS * mailto:[EMAIL PROTECTED]

--- End Message ---

Reply via email to