398 Topics
| |
Hi, I have an API script provided to people fetching data from my website. Other than stats information, how can I get to know that which websites are connecting my website's API? Any php function that I can include in my API script to get their domain names then insert … | |
**i have consumed a webservice (shown below) from webservicex.net into my client C#.NET application but it is returning this whole bunch of XML. Please, how do i get values of only <wind> and <temperature> elements into my application's textbox? Thanks** <string><?xml version="1.0" encoding="utf-16"?> <CurrentWeather> <Location>Madrid / Cuatro Vientos, Spain (LEVS) … | |
This snippet is easy: it defines an immutable wrapper around a sequence type (list, deque, etc) which allows a class, function or module to expose a read only version of a sequence to the outer world. A constant wrapper around mapping types could also be defined in a similar manner. | |
hi i was trying the following to invite the list of contacts from gmail. <html> <body> <?php if(isset($_POST['submit'])) { $email = 'https://mail.google.com/mail/feed/atom'; $sender = 'abc@gmail.com'; $send = mail($email, "Invitation", "Testing e-mail", "From: $sender"); echo $send; } ?> <form action='inviteList.php' method='post'> <font>Invite your friends</font><br><br> <font><b>Email: </b> <input type='text' name='email' size='30'><br> <input … | |
Hello everyone. I have a problem trying to develop a windows phone app as a university project. Part of it is to use google APIs. So I'm trying to make a test web request.My code is as follows: string api_request = "https://maps.googleapis.com/maps/api/place/textsearch/xml?query=restaurants+in+Sydney&sensor=true&key=AIzaSyDpXZSLtOeGLJcYwKKJs2yAAEdfLST0ZXs"; HttpWebRequest google_request = (HttpWebRequest)WebRequest.Create(api_request); HttpWebResponse google_response_file = (HttpWebResponse)google_response.GetResponse(); … | |
Hi all , I have a wevservice link say http://abc.com/wscom/MKWebService.rem from where I am trying to return value giving some parameters . The method and parameters are given below. method : GetInfo Parameters: string LicenseID string password Return Value: struct AnswerInt Now I have two xml files request.xml and response.xml … | |
Dear Sirs! I have this php syntax in my <head>. <?php // MySQL mysql_connect("localhost", "fundis_petrol", "petrol123") or die(mysql_error()); mysql_select_db("fundis_petrol") or die(mysql_error()); // Table $result = mysql_query("SELECT * FROM `fillingstations` LIMIT 0 , 30") or die(mysql_error()); // Print while($row = mysql_fetch_array($result)){ echo $row[2]; } ?> And I also have this JS … | |
Alright. I am making some decent progress here. I am trying to add a toolbar to my basic text editor that I am making using an internet tutorial. Anyways the problem is that I can get the bitmaps to display but they appear to be just that... bitmaps. When I … | |
I have a script that collects user IDs following a specific twitter user. The Twitter API allows only 4999 followers to be retrieved every call. I am trying to find out how to retrieve all the followers if a user has over 5000 users following them. I am using PHP … | |
I have this PHP program: <?php echo 'Start of Soap Request<br />'; $client = new SoapClient("http://192.168.201.67:10010/web/services/getItemDesc?wsdl"); print_r($client); echo '<br />Start of Var_Dump<br />'; var_dump($client); echo '<br />Result Print<br />'; $result = $client->testws(array("PEITEM" => "1020000000", "PEMSG" =>" ")); print_r($result); ?> That access a web service on my iSeries. I can get … | |
Hi, im wondering how i get this to work? <?php $client = new SoapClient("http://localhost:8731/phpwcf/?wsdl"); var_dump($client->KundLandKodAlternativ()); $response = $client->KundLandKodAlternativ(); $array1 = $response->KundLandKodAlternativResult->WCFString1; $array2 = $response->KundLandKodAlternativResult->WCFReturnString; echo count($array1); echo count($array2); ?> the line `var_dump($client->KundLandKodAlternativ());` gives object(stdClass)[2] public 'KundLandKodAlternativResult' => object(stdClass)[3] public 'WCFReturnString' => object(stdClass)[4] public 'string' => array (size=4) ... public 'WCFString1' … | |
How to get the videos in Listview with all the video details like views title author description dislikes likes favorites tags Thanks in advance! | |
Hi I am developing my own image hosting script and i want to add api image upload.However i have no idea of how to create API support at this moment.I particularly like the tinyurl api . How can i create a similar api so that users can upload images to … | |
hello! i have a function in my C# code that returns a string array. and when i test my function in WCF Test Client i get Name Value Type (return) length=4 System.String[] [0] "DE" System.String [1] "DK" System.String [2] "NO" System.String [3] "SE" System.String **code if i do var_dump on … | |
Hello im trying to get a hello world program to work from c# to wcf and then call it with php now have gone as far as i can get. **You have created a service.** To test this service, you will need to create a client and use it to … | |
i want to give sms sending service through my website plz tell me how to send sms through php tell me in detail | |
If you post a status update or share a link on facebook there is an option to tag your friends as being 'with you'. It's not the same as tagging them with @ symbols. here is an example: [http://www.facebook.com/karin.ohara....11246132363889](http://www.facebook.com/karin.ohara.98/posts/111246132363889) I'm trying to code this myself in php. It works for … | |
Hi! I am trying to upload images to teambox.com using curl and php, but I always get the error "Invalid file name", "you can't upload a blank file", and "Invalid Record". Any suggestions on how to fix it? here's my code: $fields = array( 'file' => file_get_contents($_FILES['upload_field_'.$task_id]['tmp_name']) ); $fields_string = … | |
Hello, i am programming an API so far i've coded so i can create new customers but my taughts here is that i have a function (i think that is the right word for it) public void writeCustomer (string CustomerNumber, string CustomerOrgNumber, string CustomerName, string PostAdr, string PostAdr2, string GLN, … | |
Hey everyone, I'm learning how to use cakePHP framework. I'm just wondering that how one gets so familiar with a bunch of API's quickly. Do people memorise them at all? I ain't going to because I don't see the point in memorising some things that I even won't need to … | |
I've used malloc countless times, but as far as I know, reading and writing to memory that isn't expressly yours (which is in fact done by the malloc function) causes a segfault. If I wanted to make my own dynamic allocation functions my computer would probably just laugh at me … | |
I have a Web Service I setup on the iSeries. It works when using SOAPUI and it works from the Built in test facility in the Native Web server. But when I try to access it form the following PHP program it fails to return any data. I am obviously … | |
Hello, I am currently writing my thesis about IT technologies etc. etc. and I have one chapter where i compare REST and SOAP, but I can not find how and when (i mean some king of events in the past) REST started (mainly in Web) to replace SOAP as technology … | |
Building an application or site in PHP that uses the eBay API can at first be quite a daunting task, just trying to get your head around that vast selection of API's available to the budding developer for eBay can take a while in its self before you even write … | |
Hey, I have the following code and I am trying to get Google Maps API to add a parker to each location and thats working fine! However, I cant seem to get my tab's working in each info window? Here is my code: <script type="text/javascript"> var locations = [ ['Jackson … | |
Howdy, I'm trying to write a program that will copy files from one destination to another. After some reasearch it was suggested that I use SHFileOperation, and SHFILEOPSTRUCT. I'm trying to set the struct members accordance with [MSDN](http://msdn.microsoft.com/en-us/library/bb759795%28v=vs.85%29.aspx), however, I run into a problem with pTo and pFrom. The error … | |
I currently have a client who came to me asking me how to build a system for him where he can give varying levels of discounts to events based on the number of people who get referred via a unique affiliate link/cookie. The key stumbling block for this project isn't … | |
Recently 2 Admins on my website asked me that they would like to Code a software which will help them Moderate normal users and i agreed by saying that i would code them a very! simple API with only the basic stuff they would need. Now the question that came … | |
a script which will show a page content like video, photos to a user if they share it on Facebook. i mean to watch a video they have to share it first and only then they will able to watch it from web page...can i do it with javascript? like … |
The End.