Creating web service in PHP using nusoap library

Following code will help in creating web service in PHP using nusoap library : <?php // wsdl configuration require(‘nusoap.php’); $ns=’http://localhost/nusoap’; $server = new soap_server(); $server->configureWSDL(‘new’,$ns); $server->wsdl->schemaTargetNamespace=$ns; // eof wsdl configuration // to register method $server->register(‘new’,array(‘str’ => ‘xsd:string’),array(‘return’ => ‘xsd:string’),$ns); // to register method // php function body function test($str) { return $str; } // eof

Read More →

Domain nameserver information for enom domains

Domain nameserver information for .com, .net, .org, .biz (enom) domains Following code will work for enom registrars :

  No related posts.

MaxMind – minFraud Integration

Maxmind – minFraud service is useful to validate the orders. It will help to identify risky orders The minFraud service is generally used to identify fraud online orders. Read More MaxMind – minFraud Integration code:

  No related posts.

ATOM – Payment Gateway Integration

Step  1. Create form

<form action='<?php echo $url?>’ method=’post’> <input type=’submit’ value=’Pay Now’ name=’btn_pay’ /> </form> Step 2. Handling Response

    No related posts.

EBS – Payment Gateway Integration

Step  1. Create form <form method=”post” action=”https://secure.ebs.in/pg/ma/sale/pay/”> <input type=”hidden” name=”account_id” value=”123″ /> <input type=”hidden” name=”mode” value=”TEST” /> <input type=”hidden” name=”description” value=”VAT invoice number #123″ /> <input type=”hidden” name=”reference_no” value=”123″ /> <input type=”hidden” name=”name” value=”” /> <input type=”hidden” name=”address” value=”” /> <input type=”hidden” name=”city” value=”” /> <input type=”hidden” name=”state” value=”” /> <input type=”hidden” name=”country” value=”US” />

Read More →

MYSQL connection issue in Codeigniter

How to fix MYSQL connection issue in Codeigniter:                 If you are using  codeigniter and facing issue in mysql connection set “db_debug” to FALSE. Check below settings in database.php: $db[‘default’][‘hostname’] = ‘localhost’; $db[‘default’][‘username’] = ‘user’; $db[‘default’][‘password’] = ‘pwd’; $db[‘default’][‘database’] = ‘your_db’; $db[‘default’][‘dbdriver’] = ‘mysql’; $db[‘default’][‘dbprefix’] = ‘tbl_’; $db[‘default’][‘pconnect’] =

Read More →

Domain nameserver information for UK domains

Following code will work for nominet registrars (UK domains)  

  No related posts.

PHP – Hypertext Preprocessor | Personal Home Page

It’s all about PHP This blog is created to share the knowledge. This will help the new user or learner to understand PHP. As I am working on PHP development since last 8 years. I want to create such platform so I can share knowledge with other developers and others can share knowledge with me

Read More →

1 65 66 67