last day (14 days later) » 

5:35 AM
щл
ok
Now I write a script that refreshes every 5 sec
and displys php://input
tried to send on it put data
 
okay - does it work?
 
still doesn't work, when it refreshes output is empty
nope=(
 
wait, step back a little - rethink your logic, what is it that you want to do?
why are you even trying to receive and send with the same script? if you are using it for a RESTFul service, most of my RESTFul services return a image URL, not image data
 
1. Load file via POST html on my server at some location - ok
 
so care to share your exact situation?
 
5:39 AM
2. send this image via PUT to script on same server - done too
3. display or just do something with this data.
 
okay - so if you are sending the image back to the same server, meaning, the other party is also a server?
so if you send the data back to the same server, the server should be able to receive the data - so it probably needs to have a LAMP or similar stack setup
and ocne the data is received it should convert the received data to an image.
the whole thing sounds; at least to me, not right - unless you can explain the situation to me./
 
I have LAMP on my server
so what should I do with put? write in database or smth like that?
 
again - please tell me the whole problem, why you want to send the data back - can you explain the scenario. Who knows, may be i have better solution for you?
 
ok, one person should send me some data(image) from device via put. I should receive it.
 
so device is a mobile phone, right?
 
5:49 AM
intercom
 
ok so you get the image from the device...go on, tell me
 
so to test it I should write this strange thing that send and recieves same info on seerver
 
so if the intercom sends you the image, you process it and send it back to the intercom?
 
nope I should process it and place on my own server
 
okay - but you keep saying you want to send it back via PUT?
 
5:52 AM
Yes, I need it to test the receiving of put
back on my server
witout intercom
when I do this
person from intercom will send it
 
so you want to emulate how the intercom will send data right?
 
exactly
 
ha ha - so your server is local right?
 
so ur server is online on a http server?
 
5:54 AM
yes)
http
 
okay, so you normally dont do put and get from the same server
u use tools that help you test it
code.google.com/a/eclipselabs.org/p/restclient-tool/
these tools let you test post data, so you can see how your server is responding
 
so I send my put requests there?
to this tool?
 
yes, you download and install it
then you test out your requests to your server and you can see the responses
that's how you test your RESTFul or API service, at least, that's the best way
i think you can even use fiddler, but not too sure about it - cause i only use to see how my requests are being handled in the background
another would be getpostman.com/features
There are so many ways to test it friend...
??
 
6:14 AM
does it work?
 
6:45 AM
hi, just a quickie, is there anything like class="active" in WPF application menubar??
I wanted to highlight the current TAB selected from the menubar of my application
for example.. if currently I am in Inventory tab, so I wanted to highlight or change its color to something else than other tabs
i.imgur.com/5O5qxsb.png?1
 
I was going to dinner sory
now back
veeru
should I accept your answer then
 

last day (14 days later) »