I'm publishing a page URL
eg mysite.com/disclaimer/someinfo
this page shows an agreement, and if the user clicks the agree button then a PDF file is streamed as an attachment.
The purpose of this is the user can then share this URL but anyone else following the link must also read the agreement before downloading the file. The actual file does not have a URL but is held elsewhere on the server so the only way to download...
Search Result
Collapse
16 results in 0.0024 seconds.
Keywords
Members
Tags
-
Response.WriteFile & Response.Redirect
-
Windows Service to monitor HTTP requests
Hello.
I developed a Console application which monitored HTTP requests using the third party component called Fiddler (fiddlerCore). This works as expected.
I need to convert this functionality into a Windows Service. The code is the same as the console application except for that it is in a Windows Service.
I can install the service and start it correctly but none of the events which monitor HTTP requests... -
http proxying python and Mechanize
Hi I am trying to make this code run through a new proxy ip each time it runs (ideally using a .txt list of proxies, I know they have to be http). How would I go about doing that, thanks! (also I am willing to buy actual http proxies in order for this to work if thats what I have to do. I just want to the code to work, so far it hasn't).
running vista, python 2.7 and mechanize
Code:#!/usr/bin/python import mechanize
-
Downloading (a webpage) in C++
Hi, I'm fairly new to socket/network programming.
Code:#include <iostream> #include <cstring> #include <cstdlib> #include <fstream> #include <sys/socket.h> #include <sys/types.h> #include <netinet/in.h> #include <arpa/inet.h> using namespace std; int main() { int sockfd; sockaddr_in addr; char rqt[]
-
HTTP Server Response Headers
Hi i need to make a BASIC HTTP server for a project using JUST TCP/IP Sockets so please don't suggest anything that would use some of C#'s higher level networking components, Thanks =).
Anyway my problem:
i have created the server and it all works so far but i haven't implemented the HTTP Headers properly, if i leave out all the headers i wrote then some browsers work fine with it (can't remember which) but when i add... -
How do I get the image to load ?
The codes below send a request to server and the server sends a response back. Then, the client formats the request and makes it a url that it loads on imageitem. This works fine using the emulator but as I deploy it on my mob, It is able to retrieve the string from my server but as it tries to load the image, it says NegativeArrayEx ception.
Note:1. I have web already activated on my mob
2. When I use a static url, it works... -
phpuser123 started a topic Why the length of image array differs url is static string or returned from a funct?in JavaWhy the length of image array differs url is static string or returned from a funct?
Code:public void run() { try { System.out.println("Sending message..."); stringItem.setText(stringItem.getText() + "1"); sendMessage("Query,map,$,start,211,Arsenal,!"); stringItem.setText(stringItem.getText() + "2"); String unformattedurl = receiveMessage(); stringItem.setText(stringItem.getText()
-
Why the app gives receive failed message?
I am running an app that sends a query to a server and the server returns a string query back. Using the received query, the client formats the string and converts it to URL. Then, loads a map using this url. However, after client receives the string query and formats it, it displays receive failed ..
Why is it giving this msg?
Code:public void run() { try { System.out.println("Sending
-
What does the 7-Error in HTTP connection mean?
I am getting 7-Error in HTTP connection message while trying to connect to the web usig j2me?
What does it mean? -
matheussousuke started a topic Is there a way to embed windows media player and control its parameters with PHP?in PHPIs there a way to embed windows media player and control its parameters with PHP?
I spent about 3 weeks on this. First I tried WMP embedded, didnt work (active x issue), then JW PLayer, didnt work too, then Flow Player, then Jw wmv player silver light (Yehaa, it worked, parcialy...)
It was 2 weeks to realize that flow player and jw player work with RTMP, but not with MMS video streams.
So, my question is: Is there a way to embed windows media player and control its parameters with PHP?
I... -
How to get a HTTP Status code in a C program?
Hey guys, I'm trying to make a program that checks a specific internet address and gives me back the HTTP Status Code, I have to do it in C because it's a school project.
I'm using the Cygwin compiler on a Windows 7 (64-bit version)
I've searched Google for some good examples, but all I come across is C# and C++ codes.
Code:HttpWebRequest HttpWReq = (HttpWebRequest)WebRequest.Create("http://www.google.com/services/");
-
I cannot seem to get Inet1.OpenURL to work properly anylonger
I first wrote a program many years ago that used
Code:If frmConfig.finduserv = "Primary" Then tDataToGet = Inet1.OpenURL("http://www.findu.com/cgi-bin/rawposit.cgi?call=" & txt_CallSign & "&start=" & txt_StartHours & "&length=" & txt_LenHours & "&time=" & chk_TimeStamp, icString) End If
-
Logging into a site that uses Live.com authentication with C#
I've been trying to automate a log in to a website I frequent, www.bungie.net. The site is associated with Microsoft and Xbox Live, and as such makes uses of the Windows Live ID API when people log in to their site.
I am relatively new to creating web spiders/robots, and I worry that I'm misunderstandin g some of the most basic concepts. I've simulated logins to other sites such as Facebook and Gmail, but live.com has given me nothing... -
Without using browser I want to send one HTTP link to server
How would i use a C program to send URL by using http protocol to webserver(SMS Gateway)?
By using browser I am able to send SMS by using URL. But i'd like to send information in a similar way via code in my desktop application. -
How do i do two consecutive WebRequest.GetResponse ?
i'm new to c#
the following is my code:
*************** *************** ************
HttpWebRequest myRequest = (HttpWebRequest )WebRequest.Cre ate("http://www.google.com" );
HttpWebResponse myResponse = (HttpWebRespons e)myRequest.Get Response();
myResponse.Clos e();
myRequest = (HttpWebRequest )WebRequest.Cre ate("http://www.mns.com");
myResponse = (HttpWebRespons e)myRequest.Get Response();...