Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #3K
~13.0K People Reached
Favorite Forums

19 Posted Topics

Member Avatar for swilliamrobert

Hi, How can we destroy session after closed window or tab? If user close window, still session is alive after login the systems. Please give me good solutions. thanks for your time. William

Member Avatar for jkon
0
8K
Member Avatar for swilliamrobert

Hai, I downloaded and install sugar crm in my localhost.Inside the folder there is soap.php. when i run the file, all functions and wsdl file there. I want to create on soap client and access the WSDL url using my localhost. this is WSDL file URL( http:/localhost/scrm/soap.php?wsdl ) I want …

Member Avatar for pritaeas
0
246
Member Avatar for swilliamrobert

Hi, This is code. $toname = 'XXXXXXXX'; $to = 'test@mail.com'; $fromname = 'YYYYYYY'; $from = 'test123@mail.com'; $subject = 'This is test email '; $body = 'Hai this is test email MIME......Help me out.....'; $text_body ='<html> <head> </head> <body> <table align="center" cellpadding="5" cellspacing="0"> <tr align="right"> <td bgcolor="#336699"> <b><font color="#FFFFFF" face="Verdana, Arial, …

Member Avatar for pritaeas
0
123
Member Avatar for swilliamrobert

Hi, I have a problem to split and get the value in string. here example output --_BeginData_ payeeId=xxxx channelId=ECEP billAccountNo=exb111109-315262 billReferenceNo=TOPUP20111109200257 amount=42 paymentRefNo=61417686 transactionDate=20111109 transactionTime=194843 userFullName=KHOR JO FENG status=S --_EndData_ In above example, i need output for payeeId=xxxx, billAccountNo=exb111109-315262, billReferenceNo=TOPUP20111109200257 and etc., so i want value after the equal. It …

Member Avatar for diafol
0
186
Member Avatar for Charles1620
Member Avatar for n_e
0
115
Member Avatar for swilliamrobert

Hi, I want to destroy session when user close the browser tab or window in PHP. Please give me sample code. Thanks in advance. William

Member Avatar for divyakrishnan
0
214
Member Avatar for swilliamrobert

Hi, I have a problem duplicate entry in same time. I am getting some parameters in other gateway (some websites) and stored in Database. I trim all parameters. Before i store in db, i check db whether that record already exist or not. Other Gateway website which they send three …

Member Avatar for R0bb0b
0
877
Member Avatar for mtvaran

Hi, No need to use array for dropdown name cid[]. use only cid. then it should be work. ----------------------- <?php $con = mysql_connect("localhost","root",""); mysql_select_db("uni", $con)or trigger_error('MySQL error: ' . mysql_error()); $result = mysql_query("SELECT * FROM course") or trigger_error('MySQL error: ' . mysql_error()); if(!empty($_POST["submit"])) { $value = empty($_POST['question']) ? 0 : …

Member Avatar for mtvaran
0
162
Member Avatar for swilliamrobert

Hi, I do not know how to pass parameters using soapclient with call method in PHP. ---------------------------------------------------------------------- [B]Description:[/B] This command is used to authenticate the user. Most of the biz functions require authentication in order to function. If the session is already logged in then a subsequent successful login will …

0
91
Member Avatar for swilliamrobert

Hi, When we move to HTTPS to HTTP website, warning message come like below [B] warning message in Fierfox[/B] ---------------------------- [B][COLOR="Red"]Although this page is encrypted, the information you have entered is to be sent over an unencrypted connection and could easily be read by a third party. Are you sure …

Member Avatar for Graphix
0
168
Member Avatar for swilliamrobert

Hi, I want to send parameters to wsdl (xml file). I give sample code below. --------------- [B]createsession.php[/B] ------------------------------------------------ <?php session_start(); require_once('lib/nusoap.php'); $client = new soapclientw('https://www.domin.com/services/umarketsc?wsdl', true); $client->soap_defencoding = 'UTF-8'; $client->decode_utf8 = false; $sessionResult = $client->call('createsession'); // [B]No parameters[/B] echo 'Session ID : '. $sessionResult['sessionid']; ?> ------------ [B]End code[/B] --------------------------------------------------------------- [B]Sample …

0
90
Member Avatar for swilliamrobert

Response: ---------- [CODE]<?xml version="1.0" ?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns3:createsessionResponse xmlns="http://www.utiba.com/delirium/ws/TypedQuery" xmlns:ns2="http://www.utiba.com/delirium/ws/Misc" xmlns:ns3="urn:UMARKETSCWS" xmlns:ns4="http://www.utiba.com/delirium/ws/StdQuery"> <ns3:createsessionReturn> <ns3:sessionid>6DL42ED0GG67MADDTD96</ns3:sessionid> <ns3:result>0</ns3:result> <ns3:result_namespace>session</ns3:result_namespace> <ns3:createsessionReturn> <ns3:createsessionResponse> <S:Body> <S:Envelope>[/CODE] ------------------------- How can i get xmlns Attribute Values using PHP. [ICODE] <ns3:sessionid>6DL42ED0GG67MADDTD96</ns3:sessionid>[/ICODE] I want to take [ICODE]<ns3:sessionid>[/ICODE] value [ICODE][6DL42ED0GG67MADDTD96][/ICODE]. Please reply asap. very urgent. Thanks William

Member Avatar for swilliamrobert
0
1K
Member Avatar for swilliamrobert

Hi, I am new in SOAP webservice. I dont know how to use webserives in php. I need to develope for mobile application using SOAP. I run some sample code in my local server using SOAP file. I am getting WSDL format file. What is the use of WSDL. I …

0
76
Member Avatar for swilliamrobert

Hi, I have some critical sutiuation for sending email. Example: A. [url]www.othersite.com[/url] B. wwww.oursite.com Lets say : A sendig request to B, the B sendback response to A. B site does not open. B site sending values internally using CURL concept in php. But A site still open. Once A …

Member Avatar for swilliamrobert
0
145
Member Avatar for samsons17

Hi, If you want create login page for one user only, I think no need to create database for that. You just creat one text file and create name and password like(admin#adminpass).So you need to write cod, get values and explode this values from text file using php. Then u …

Member Avatar for swilliamrobert
0
247
Member Avatar for swilliamrobert

Hi, I have a problem sending values XML format using php. this is other website([url]http://www.ourmerchent.com/[/url]) sending values to Us example : $billAccountNo=10092417235315; $amount = 1020.00; using this values.. i need to send XML format to this [url]http://www.ourmerchent.com/[/url] url how can i convert to XML format and return those values to …

Member Avatar for swilliamrobert
0
133
Member Avatar for julianmoors

Hi, you can do like this <select onchange="showTutors(this.value)"> <option value="">Subject:</option> <option value="1">English</option> <option value="2">Chinese</option> <option value="3">Mathematics</option> <option value="4">Business</option> <option value="5">Science</option> <option value="6">ICT/Liberal Studies</option> <option value="7">Force</option> <option value="8">LCCI</option> <option value="9">IELTS</option> </select> <div id="tutors"> <select name="cat_name" id="m__Category"> <option value="">--Select Subject First--</option> </select> <div> ------------------ Then In Ajax File <select name="cat_name" > <option>--Select …

Member Avatar for P0lT10n
0
634
Member Avatar for g4george

Hi, Why thinking so hard Just check if values is empty go login page. if($username == "" || $password == ""){ Do something }else{ Do something } OR We can use isset also. But here no need i think. Just for checking values whether is null or not null. may …

Member Avatar for swilliamrobert
0
93
Member Avatar for swilliamrobert

Hi, I have some problem posting data to other page. Now i am explain. One page (called A.php) is refershing and checking database whether status 1 or 0. If sataus finds 1, A.php page posting values to B.php automatically. Then i need to confim whether B.php page getting values or …

Member Avatar for swilliamrobert
0
137

The End.