400 Topics

Member Avatar for
Member Avatar for joshl_1995

Hello Community, I was wondering if i can get some help with the 4shared php api. [Here](http://www.4shared.com/developer/docs/samples/#PHP) is a sample on how to upload a file. But now i need to know how to delete a file, by the way i have never used an api. Please Help...

Member Avatar for pritaeas
0
268
Member Avatar for aldm

Hi, is there any API for historical dates on web that returns data in xml or json format. For example, I need to get importants events in history on todays day and show that events in my app. Is there any good place to do it? And if you know …

Member Avatar for pritaeas
0
232
Member Avatar for richprich

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 …

Member Avatar for richprich
0
150
Member Avatar for Lyfe

**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) …

Member Avatar for tinstaafl
0
310
Member Avatar for Gribouillis

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.

Member Avatar for Gribouillis
2
576
Member Avatar for shahai.ali

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 …

Member Avatar for shahai.ali
0
280
Member Avatar for SpyrosMet

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(); …

Member Avatar for SpyrosMet
0
375
Member Avatar for subrata_ushasi

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 …

Member Avatar for pritaeas
0
334
Member Avatar for tibormarias

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 …

Member Avatar for tibormarias
0
271
Member Avatar for Some Dude

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 …

Member Avatar for Some Dude
0
450
Member Avatar for straylight

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 …

0
92
Member Avatar for svilla

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 …

Member Avatar for maba001
0
1K
Member Avatar for Dendei

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' …

Member Avatar for Dendei
0
261
Member Avatar for alex.blanc.52

How to get the videos in Listview with all the video details like views title author description dislikes likes favorites tags Thanks in advance!

Member Avatar for pritaeas
0
179
Member Avatar for Khav

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 …

Member Avatar for pritaeas
0
214
Member Avatar for Dendei

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 …

Member Avatar for Dendei
0
600
Member Avatar for Dendei

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 …

Member Avatar for adam.adamski.96155
0
708
Member Avatar for ak47carbon

i want to give sms sending service through my website plz tell me how to send sms through php tell me in detail

Member Avatar for JMills330s
0
258
Member Avatar for karin.ohara.98

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 …

Member Avatar for LastMitch
0
523
Member Avatar for cmsc

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 = …

Member Avatar for pritaeas
0
260
Member Avatar for mo_anees
Member Avatar for Dendei

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, …

Member Avatar for Dendei
0
246
Member Avatar for rotten69

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 …

Member Avatar for iamthwee
0
167
Member Avatar for Mahkoe

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 …

Member Avatar for WaltP
0
235
Member Avatar for svilla

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 …

0
102
Member Avatar for GarciaPL

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 …

Member Avatar for GarciaPL
0
237
Member Avatar for waxdaddy

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 …

Member Avatar for waxdaddy
0
1K
Member Avatar for Danny159

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 …

Member Avatar for pritaeas
0
301
Member Avatar for Macilath

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 …

Member Avatar for nullptr
0
992
Member Avatar for theonlylos

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 …

Member Avatar for cuonic
0
297

The End.