401 Topics
![]() | |
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 … | |
I am connecting to a data stream that pushes data continuously and when I tried to set up a network stream I just could not connect and kept getting the 'not found' error. I used the httpwebrequest with webrequest.keepalive = true and started to consume the data by reading into … | |
As you can see from the title, I'm suffering the problem. developer.apple.com didn't provide much information about this, I have to ask for solution somewhere else. I already know how to up/down-load files and create directories, but the official reference doesn't say how to undo it. I hope some one … | |
import maya import sys import os from functools import partial import maya.cmds as cmds def customVer(FileName, version): #create a file path with the file you have and version you want version = 9000+int(FileName[(location-3):location]) newFileName = str((myFileName[0:(location-3)])) version = str(version-1) version = version[1:] newFileName = newFileName+str(version) return newFileName def newFile(myFileName): #find … | |
Hi everyone, I have been trying to code a facebook application using the API. Within this, I am required to include the base_facebook.php file. But I keep gertting an error Fatal error: Uncaught OAuthException: An active access token must be used to query information about the current user. thrown in … | |
HI I am developing a web service client using netbeans ide . I have used the code completion feature to implement the submit message method : import javax.xml.bind.JAXBElement; import uk.co.csoft.www2.dtd.sendsms5.Message; import uk.co.csoft.www2.dtd.sendsms5.ObjectFactory; import uk.co.csoft.www2.dtd.sendsms5.Recipient; public class Main { public static void main(String args[]) { //Recipient r = new Recipient(); //Message … | |
Hi, I'm creating a web app that downloads sms messages from an M2M server using a Soap Client. The problem I am getting is that the SoapClient is not being found when i do this: $m_obj_client = new SoapClient($m_wsdl); The error i receive is: Fatal error: Class 'SoapClient' not found … | |
Maybe I'm just missing something but I was thinking what do you call something like a Windows Form Application in Visual Studio where you can drag and drop and stuff like that. Do you call that an API or SDK or GUI or something else? By the way, as I … | |
Hi I need to manipulate a soap call before it's sent off to the soap server. Currently my soap call is constructed as follows: <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.xxxxxxx.co.za/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body> <ns1:SubmitStringLead> <xmlLead xsi:type="xsd:string"> <strXml> <Lead> <General> <dealer>419</dealer> <source ref="1334923054">randomstring</source> <enquiry>1</enquiry> <subtype>4</subtype> <comment /> </General> <Prospect> … | |
Hi there I'm new to soap and I'm using the NuSOAP library. I'm trying to send xml to a soap server and then receive a response. I'm getting nowhere with this and it's beginning to frustrate me. Here is what I was provided with: First Snippet POST /Submit.asmx HTTP/1.1 Host: … ![]() | |
I m creating an app! in which if the user moves the cursor the message should be displayed! But I m using setcursorpos() in my form to set cursor position which display the message! I dont want message to be displayed when mouse is moved through function, I want message … | |
Hi,guys.I have 1 question on the rest api redirection problem,hope you guys can help me to solve this problem,thanks. My question is: How to i embed the redirection script into the response api? eg,The user call http://domain.com/api=redirect&keyword= 'bla,bla,bla,bla'. What i want to do is to force the user to redirect … | |
Hi, This is the first time I'm working with consuming a web service which produces a lot of data and I have a hew questions. I've created web services in the past, so this part I understand. What I'm not sure about is how to consume the web service. I've … | |
Hi, I have an issue, with not being able to set the the correct header here is the operation from the WSDL: [CODE]- <wsdl:operation name="findRegistrationByID" parameterOrder="registrationID"> <wsdl:input message="impl:findRegistrationByIDRequest" name="findRegistrationByIDRequest" /> <wsdl:output message="impl:findRegistrationByIDResponse" name="findRegistrationByIDResponse" /> </wsdl:operation>[/CODE] This is also from WSDL: [CODE]- <wsdl:operation name="findRegistrationByID"> <wsdlsoap:operation soapAction="urn://url/findRegistrationByID" /> - <wsdl:input name="findRegistrationByIDRequest"> <wsdlsoap:body … | |
Does anyone know how to use youtube's api? I downloaded it from [URL="http://code.google.com/apis/gdata/articles/php_client_lib.html#php-path-installation"]here[/URL] But i cant figure out how to use a form to send a link to it and get back the name, keywords, html, description and thumbnail link..... Does anyone know how to get this info from youtube … | |
Hi Guys, I was hoping someone could point me in the right direction. I have a nusoap server that I am trying to pass an array of data to. For now I just want to simply pass this array back, before handling this data, mainly to help my learning process. … | |
Hello, I have been working with opengl and other graphics libraries and they all require the bits per pixel of the screen on initialization of a window. My question is, is there any way to get the system's preffered bits per pixel? or that of the monitor? | |
We're looking for a way to enable users to send us a file using one of our web pages. Cannot use MailAttachment because page doesn't have rights to write files to a directory (we can't change that) so are trying a Google Data API to upload to our Google Docs … | |
Are there anyone know how to select a tab in tabcontrol using API? Any help will be highly appreciated. | |
shell-scripting @ DaniWeb - Hello fellow members, I would like to ask for your assistance in creating a batch/autorun/exe file which can help me to make an autorun usb. So basically, I would like the USB to do the following: When usb is inserted, it should autorun and copy files … | |
Hi, I want to know if is possible to make those events/automation with a Python code( without any program like Pywinauto ), so I could compile the python code: 1. [B]sending keys to an active window;[/B] 2. [B]sending mouse clicks to specific coordinates in a window;[/B] 3. [B]set the window … | |
Hi, I want to know what Windows language can make ALMOST all sorts of automations like : [I]- sending keys, to a focused window ; - sending mouse clicks to specific coordinates in a window ; - finding if a window exists, by name ; - set it to be … | |
Hi,guys,morning to all :) I have face 1 situation, i already built an api using the rest method, and all my response data will be return in html data when i call the api, i testing on the same server using the jquery working fine, when i use on another … | |
Hey guys, Recently I started learning win32 api using C but I am pretty scared of the Long and confusing Variables used in it. It appears alot difficult for me to learn those as I am learning myself. Will such kinds of variables will appear in future or not. Thanks. … | |
I have a project that requires us to perform matrix multiplication via multi-threading, using the Windows API. I've got the basic code running and everything is well under sane/ideal conditions. But if my input matrices go beyond 10x10 the program ends up failing on WaitOnMultipleObjects(...) and runs the main thread … | |
Hi all, I have been asked to create an API for a website, which I would like to do, but havent done before. Does anyone have a good tutorial on using procedural style php, integrated with REST to make an API work? I have read that REST is really good … | |
I'm attempting to build my first windows phone 7 app using visual studio, I'm a complete novice at this so any help is much appreciated! The problem is that I'm trying to implement a text box so the user can enter a postcode and click a button, I then need … | |
Not sure if this can be done in php or whether I should look at other alternatives. I'm trying to access 4 different sources of data to put on one page - Amazon API, Ebay, our sales data on one server and our inventory data on another server. (Historical reason … | |
This is a way to force a given aspect ratio of a window any time the user tries to resize or cascade it. [CODE] double aspectRatio = 640.0 / 480.0; WPARAM sideBeingDragged = 0; LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) { switch(msg) { case WM_CLOSE: DestroyWindow(hwnd); … | |
Hi, I'm trying to implement a simple web application that will sit between IIS and the application. I need to monitor the API activity to get the calls and outgoing messages. I've been trying to mess around with HTTPListener as directed here: [URL="http://msdn.microsoft.com/en-us/library/system.net.httplistener.aspx"]http://msdn.microsoft.com/en-us/library/system.net.httplistener.aspx[/URL], but the request always come up as … | |
![]() | Hi Guy's, I need to write a simple application that posts to twitter using (most probably) the Zend framework. This application should work for only 1 user. I have tried numerous different tutorials, but keep getting stuck. Please help :-( |
Hello, I've built myself a nice, simple little store to sell some stuff I've got laying around and some nice jewelry I got last week. I would like to give users the option to pay with PayPal exclusively (since it will also process CC's I figure that's all I really … | |
Im trying to call python functions from C code, and i followed a sample from here [URL="http://docs.python.org/release/2.3.2/ext/pure-embedding.html"]http://docs.python.org/release/2.3.2/ext/pure-embedding.html[/URL] I also have the correct include file directries, library directries, and linked the python32.lib (im using python 32) however the error was that python/C APIs such as PyString_FromString, PyInt_FromLong, PyInt_AsLong are undefined (error … | |
Hello guys and girls I couldn't hel to wonder what is daniweb's community position towards the Stop Online Piracy Act to be discussed today in the US Congress. Is Dani censoring the logo tonight? | |
Hi, I'm learning to use the Simple, Fast, Multimedia Library (or SFML), and I was going through the tutorials on their website. The first one (found [URL="http://www.sfml-dev.org/tutorials/1.6/window-window.php"]here[/URL]) said the following: [QUOTE]Under Windows operating systems, you may have created a "Windows Application" project, especially if don't want the console to show … | |
I'm beginning game development, and I started by reading Michael Morrison's [I]Beginning Game Programming[/I], which teaches how to develop a game in C++ using the Win32 API. I've had a lot of trouble with things I don't have any experience in (when I shut down my program, the process still … | |
Hi,pleasure to meet you all.I wanna to ask how to write a javascript code to connect with php api authentication located at my server(eg. [url]www.mydomain.com/api/index.php[/url]). 1.I wanna put a javascript code to call the api authentication function at my website server so that other people can access through the api … | |
Hi,morning guys. I want to ask anybody know to write javascript to deal with the authentication API key of the php. My condition is like that: 1. i will provide the key to other site owner which already registed at my website. 2. then i want to write a javascript … |
The End.