request

Django-models. Complex request to database.

I need to make special request to database through django. For example: class Model(models.Model): name=models.CharField() date=models.DateTimeField() other=models.TextField() How do I ask for row which name containe word 'Hello' (it shoul ignor register of first letter) end it is must be in diapason of date, for exam...

How to get raw request in PHP?

I have a script called api.php on my server. I call it from other server using POST request. Is there any way to get in my api.php raw contents of POST request? ...

Read POST request parameters properly in PHP for request more than 1450 B?

I receive POST request on my api.php script. The content red using this code: $fp = fopen('php://stdin', 'r'); $all = ""; while($line = fgets($fp, 4096)) { $all .= $line; } echo $all; looks like this: ------------V2ymHFg03ehbqgZCaKO6jy Content-Disposition: form-data; name="intro" O ------------V2ymHF...

Is Request.PathInfo helpful when it comes to Search Engines?

I am having a website which extracts rss feeds and displays them inside an iframe. I am passing the title like :- http://foo.com/viewfeed.aspx/title?link=[link to rss feed] Now what I would like to know will this be crawled by search engines or not. ...

Firefox build a tree of all requests originating from the first GET request.

Hello Everyone, I'm new to Firefox development, and really what I'm looking for is documentation to look at/where to start in regards to the problem below: I'm writing a firefox plugin, and what I'm trying to figure out is how to get a set of all requests that are triggered due to the first GET request. An example would be when one to...

Google Image Search request URL - more than 21 results

Hi Is there are a way to get more than 21 results on Google Image Search FIRST PAGE. It seems the parameter &num is also limited to 21. Thanks for helping ...

C# ASP.Net : Get Custom Attribute of Hidden from Request.Form

Hey All, I have some code which is rendering some custom attributes of Hidden Control (without runat=server). Something like, And I have a lot of these hidden elements on my form. When I submit the form, I am looping through a set of ids, say 1200 to 1250, so I will read controls based on that, and also hidden with Request.Form["hd...

Compose Soap Request in Java

Dear all, I have a wsdl file and a detailed document about all the elements in every request and response from a web-service provider. My job is to compose around 40 requests and parse corresponding responses. More specifically, our platform submits the requests and gets responses from the service, so for me, as an application develop...

Flex 3 Webservice Request (setting value in the request from text field)

I have basic web service and I’m having problems sending proper request. If I send only text in the elements on the request the call is successful, but if I try to get value from text field and send in the request the value isn’t sent. I’m not sure why this is happening. Here is the code: import mx.rpc.events.ResultEvent; private...

reverse engineer out of date closed source application

I have an application called quiksilver which is designed to communicate with a microprocessor controlled electronic vacuum pump. The software is buggy and out of date and I am hoping to find someone who can help me create an open source alternative that is able to communicate to the device. I am into IT but I am by no means an experie...

How many requests per second should my asp(class) app handle

I'm profiling a asp(classic) web service. The web service makes database calls, reads/writes to files, and processes xml. On a windows server 2003 box(2.7ghz, 4 core, 4gb ram) how many requests per second should I be able to handle before things start to fail. I'm building a tool to test this, but I'm looking for a number of requests pe...

SQLite : finding a function's minimum values

Hi folks ! I have those tables Node (#id, route_id, lat, lng) Route(#id) And I have four input values : $lat1, $lng1, $lat2, $lng2, which represent 2 GPS coordinates GPS1 and GPS2. I also have a distance function that I added to the database : distance( lat1, lng1, lat2, lng2) What I am looking for is the request that will give me ...

Trying to tell the difference between a bad resource link and a random bad url from outside the site.

Hi all. I'm trying to make my exception notification a bit smarter. Currently, if i have a bad resource link such as a misnamed javascript file referred to in a file link tag, it triggers a "No route matches" error. I also get a "No route matches" error if someone just types some random url (eg when trying to hack the site). I'm tryi...

Logging in with http to Xing

I have this code to log in to xing: class Programm { private static HttpWebRequest request; private static HttpWebResponse response; public static void Main() { //string targetUrl = "/app/forum/seoparser/bpmn/"; string requestUrl = "http://www.xing.com/app/user"; //Diese Parameter werden per Post...

Get Request URL From Web Service

I have a web service, and this service has many function. My Other web applications use these functions. Can I get request URL or IP address in Web Service function. I want to get My Web Application's URL for security. How can I do? ...

How to stop loading a page after the request is sent?

Hi everyone I have an ASP.NET (C#) page that has a long load time (like 2 minutes). The user is presented with a little animation and a "please wait" message. If the user accidentally loads this page, they need to wait for it to load. My question is: Is there a way to stop the page load? Thank you ...

What language is the Facebook Questions application written in?

What languages are Facebook Questions coded in? PHP? What else? ...

Deny requests of any file without authentication

Hi guys. Try to access this image: https://mail.google.com/mail/pimages/2/up/buzz-icon2.png Gmail doesn't allow your request and redirect you to login, after that you will be able to see the image. I use php + nginx + fastcgi + mongodb and can't do this trick with sessions (not with images) or http authentication (user's password mus...

Problem when requesting a form using prototype on internet explorer 8

I'm trying to make a request using prototype 1.6.1 on ie 8, the following code works on Firefox: var myForm = document.forms[0]; myForm.request({ onSuccess: function(transport) { var url = getPath() + nomeAcao+'?modulo='+modulo; window.location = url; } }); When debugging, i get an error on t...

lobobrowser - setting aditional headers

is it possible to add some request headers to lobobrowser? ...