[PHP] Credit Card Validation With Expiration Date

2002-07-30 Thread Laurent Drouet


Hi the ML

I'm looking for an algorithm or a free PHP Script which enable me to verify
expiration date with a credit card number.

Does anybody knows this ?

Regards

Laurent Drouet








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




[PHP] & vars and ocibindbyname

2002-06-12 Thread Laurent Drouet


Hi everbody,

I use Php 4.0.6  with oci and when I try to use OcibindByname php function
I receive the following warning :
Warning: Call-time pass-by-reference has been deprecated .
The problem is that this function requires the use of &vars

Any advice on the subject ?

Laurent Drouet


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




Re: [PHP] Using Oracle Data base store procedure (function, procedure, package)

2002-06-23 Thread Laurent Drouet


Hi

I think you should have a look to
http://www.php.net/manual/en/function.ocibindbyname.php.

I use this function to call an Oracle Stored Procedure and retrieve the
return value.

Regards

Laurent


   
   
èdy kurniawan  
   
, 
"php general"  
honda.com>   <[EMAIL PROTECTED]>   
   
cc:
   
24/06/02 04:46  Subject: Re: [PHP] Using Oracle 
Data base store procedure (function,  
Please respond to èdyprocedure, package)   
   
kurniawan  
   
   
   
   
   




Peter,

Thanks for your ASAP response,
Have you ever touch with oracle scripting ?
The manual doesn't show how we can execute kind of oracle store procedure
..

I thought that PHP only supporting for SQL - query only but not supported
to
retrieve PL-SQL,
When I do the samething with Oracle developer in PHP environment so I have
to convert my PL-SQL which stored in Oracle DB to PHP script. In my mind it
shows that PHP only use Oracle just only 'data storage', could not retrieve
many additional features of oracle itself.

CMIIW,
edyk


- Original Message -
From: "Peter" <[EMAIL PROTECTED]>
Subject: RE: [PHP] Using Oracle Data base store procedure (function,
procedure, package)


> have a look here ... this would be a good starting point...
>
> http://www.php.net/manual/en/ref.oracle.php
>
> I am sure this would be available in many other languages apart from just
english :)
>
>
> -Original Message-
> From: èdy kurniawan [mailto:[EMAIL PROTECTED]]
> procedure, package)
>
>
> very thanksful if you could refering to me what part (kinda) manual that
> shows my case ?
> i've ever read the PHP manual in english, but i can't find what i need.
>
> please..
>
> sincerely,
> edyk



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






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




[PHP] Web Services

2002-06-26 Thread Laurent Drouet


Hi the ML

I would like to know if there is a way to request data from a web services
for example http://glkev.net.innerhost.com/glkev_ws/Currencyws.asmx
using php without java ?

If yes do you have some examples ?


regards

Laurent


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




Re: [PHP] Web Services

2002-06-26 Thread Laurent Drouet


Thanks for the test .

I succeed in retrieving a number.

I had to add  $soapclient->setHTTPProxy to connect.

I don't know anything about webservices and I wonder if you know what I can
put in place of
$soapclient = new soapclient
('http://www.edelphi.com/scripts/KzAnyWho.exe/soap/IAnyWho');
   $result=$soapclient->call
('AnyWho',$parameters,"urn:AnyWhoIntf-IAnyWho","urn:AnyWhoIntf-IAnyWho#AnyWho");


to connect to the webservice
http://glkev.net.innerhost.com/glkev_ws/Currencyws.asmx

I didn't find anything in the declaration satarting with "urn";

Regards.

Laurent Drouet



   

"Thalis A. 
            
Kalfigopoulos"   To: Laurent Drouet <[EMAIL PROTECTED]> 

<[EMAIL PROTECTED]   cc:   

t.edu>   Subject: Re: [PHP] Web Services   

   

26/06/02 17:23 

   

   





You'll find sample code for both server and client in the README file of
the package.

I've written this client:



$areacode,'PhoneNumber'
=>$phonenum);
   $soapclient = new soapclient
('http://www.edelphi.com/scripts/KzAnyWho.exe/soap/IAnyWho');
   $result=$soapclient->call
('AnyWho',$parameters,"urn:AnyWhoIntf-IAnyWho","urn:AnyWhoIntf-IAnyWho#AnyWho");

   echo("RESULTS for ($areacode) $phonenum\n");
   if(is_array($result)){
 foreach($result as $key=>$val){
   echo("$key -> $val\n");
         }
   }
}

?>



Phone Number:  - 







It is a client for this service:

http://www.edelphi.com/scripts/KzAnyWho.exe/


cheers,
thalis



On Wed, 26 Jun 2002, Laurent Drouet wrote:

>
> Do you have an URL of a web service and a PHP script from wich I can
start
> my tests ?
>
> Regards
> Laurent
>
>
>
>

> "Thalis A.

> Kalfigopoulos"   To: Laurent Drouet
<[EMAIL PROTECTED]>
> <[EMAIL PROTECTED]   cc:
[EMAIL PROTECTED]
> t.edu>   Subject: Re: [PHP] Web
Services
>

> 26/06/02 17:10

>

>

>
>
>
>
> I've used Dietrich's SOAP implementation for PHP and have been able to
use
> only with specific type of webservices ( and
> ). Unfortunately your service has style
> ="document" and use="literal", so I'm not sure about it.
>
> It can be found at:
> http://dietrich.ganx4.com/nusoap/index.php
>
> cheers,
> thalis
>
>
> On Wed, 26 Jun 2002, Laurent Drouet wrote:
>
> >
> > Hi the ML
> >
> > I would like to know if there is a way to request data from a web
> services
> > for example http://glkev.net.innerhost.com/glkev_ws/Currencyws.asmx
> > using php without java ?
> >
> > If yes do you have some examples ?
> >
> >
> > regards
> >
> > Laurent
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>
>






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




[PHP] OCIBindByName & pass-by-reference

2003-09-17 Thread Laurent Drouet
Hi,

My Php Version is 4.3.1

When I use ocibindbyname like below

OCIBindByName($stmt,":nb_lines_matched", $nblignes, 32)

I receive the following message :

[Tue Sep 16 13:43:01 2003] [error] PHP Warning:  Call-time
pass-by-reference has been deprecated - argument passed by value;  If you
would like to pass it by reference, modify the declaration of
ocibindbyname().  If you would like to enable call-time pass-by-reference,
you can set allow_call_time_pass_reference to true in your INI file.
However, future versions may not support this any longer.  in
/var/www/ican/automatch.php on line 34

What is the "Good" Solution to solve it ?

Regards

Laurent Drouet

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



[PHP] Re indent

2002-05-29 Thread Laurent Drouet


Does anybody know a good tool (if possible freeware) to automatically
Re-indent PHP code running on windows ?

Laurent Drouet


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




[PHP] unsetting function

2002-05-29 Thread Laurent Drouet

Hi the ML

I would like to know if there is a way to unset a function or to replace
function contents by an other ?

Regards

Laurent


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




Re: [PHP] Re: php+oracle

2002-05-29 Thread Laurent Drouet


I don't know for Win2000 but for my NT box I had to put the file
php_oci8.dll in the winnt directory like the php.ini.

Laurent Drouet



   

"Maurice   

Kevenaar"To: [EMAIL PROTECTED] 

 Subject: [PHP] Re: php+oracle 

   

23/05/02 21:49 

   

   





Try to install the windows 2000 support tools and check width the
Dependency
Walker the file and ll see witch file is missing!

--

Maurice

"Mauricio" < schreef in bericht
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi for all.
> I have php+apache+win2000+client oracle in my machine.
> I configured my php.ini with:
> extension_dir and uncomment extensions in php_oci8.dll
> But, when I restart my apache, I receive the following error:
>
> Unable to load dynamic library "c:\php\extensions/php_oci8.dll". It was
not
> possible to find the specified procedure.
> Can anyone help me with the configuration of php+oracle?
>
> --
> Mauricio
> +55 - (041) - 219-5246
> [EMAIL PROTECTED]
>
>



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






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




[PHP] if foreach

2002-05-29 Thread Laurent Drouet

Hi !

I would like to know if somebody already done the following thing :

I'm writing a function which accept 2 args : $conditions and $summary

in my function I have to construct an if statement with these arg like :

if
foreach ($conditions as $key=>$val)

 ($val==$summary["$key"])
   {
statements to execute if the condition is right for all
$conditions
}

How can i do it  ?


Laurent Drouet


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