794 Topics
I'm looking for a process I don't know weather it will work or not. I want to connect a computer to a website using `HTTP Protocol`. Is this possible ? How we can communicate a system having a `static IP Address` from a `HTTP Protocol` ? Is there any way …
hi guys, i searched many times to find the correct answer ,but i didn't get it.so please tell me what does these errors stands for?
I am working with HTTP & RTSP Protocol. For live streaming video I am using RTSP Protocol. For RTSP live streaming my URL is something like this: rtsp://www.sitename.com:554/video/exp.mp4 But it's give me error "Cannot play video". Can any one suggest how RTSP will work & is there any other setting …
Hello everybody ! There is an issue that's driving me realy crazy. I'ts about Adobe DreamWeaver and adding MySQL Data Connection (For document type:PHP). When I input infrmation about: -Connection name -MySQL server(remote server) -username -password Which all of those infos are correct i receve a http error saying: "HTTP …
Before launching II7, we could not utitlize non-HTTP protocol in IIS Server. After IIS7; non-HTTP proctocol can be served in IIS Server. So My Question is that what is the purpose of HTTP now ? becuase we can do with NetTCPBinding with IIS Server too. No more complication; When we …
Ok this is the most unsoveable problem i have ever dealt with and the worst is i know it can be solved because someone has done it. I want my users after succsefull payment to be redirected to my site where i will capture their details and give them a …
Hi I have 4 affiliate sites that are all in the same niche and I have bought the domain names mainly because they are frequently searched for terms in google. However to update all four daily would take more time than I have, so I am considering doing a 301 …
Hello, I have a client that wants to switch his TLD (top level domain) over when the new design for his site goes live. Problem is his old domain have thousands of backlinks linking back to his old domain. The plan is to set up a 301 Re-Direct from the …
Hello, I need to know why this isn't working... I have tried many different things but still can't get it to work. (And, yes, I have replaced the MYPASSHERE with my password but it always says I have not registered yet...) Imports System.Net Imports System.IO Imports System.Text Public Class Form1 …
Hi ,i am trying to create a program to check my e-mail.It's OK ,but i can't login... I used fiddler to trace the request which were send from my PC and I receive that: POST http://www.example.com/login.php HTTP/1.1 Host: www.example.com Connection: keep-alive Content-Length: 346 Cache-Control: max-age=0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Origin: http://www.example.com User-Agent: …
During my study on web apli. I learnt that it enables you to create web services that would use HTTP protocol. My question is web api could it be a called the replacement for soap web services. what is the comparative advantage of using webapi over soap services
First of all let me clarify that I am programmer and that my knowledge in system administration are limited ( I know more than that limited spectrum but I wouldnโt trust me on those ). This idea arose out of two deferent needs , I have a dedicated server in …
Hello all, I am dealing with an SMS agregator company which has their server IP access restricted by default. But as I have created an account with them, they have added my VPS IP address (173.0.0.0) to their authorized IP address pool. This means that if I want to send …
I am redesigning a site in joomla, and moving it to new web host. The new site will be in Joomla 2.5, and the old site seems to be some version of Joomla 1.5 plus some home-made cms called netdocs. I am coming back to this after many years away. …
I am working on a series of web pages and I would like to be 100% certain that users cannot jump around to any page they like by typing a URL into their browser. I have used $_SERVER['HTTP_REFERER'] to check at the top of most pages and if the referer …
I have a javascript login box on my site ([url]www.cigardig.com[/url]) that a user can click on and login on any page. The way I would like it to work is that once a user hits submit, they are redirected back to the page they logged in on. So, for example, …
Hi Guys, I am writing a Perl script that needs to initiate various http (or https) requests. Before doing so, I would like first to verify that a given string is indeed a valid URL address. I would like to do so (preferably) **without** using regexp. Reason being, that URLs …
So a client of mine has about 150 domain names, all of them he is wanting to redirect to the primary domain name. I have done something like this for each domain name in the .htaccess file: Options +FollowSymLinks RewriteEngine On RewriteCond %{HTTP_HOST} ^domain12.com$ [NC] RewriteRule ^(.*)$ http://www.primarydomain.com/$1 [R=301,L] Options …
Hi I attached here a code that i have a problem with. the function CheckStatusCode() suppose to connect to uri and check the http response status. it should display on the screen the status received. usually the status is "OK" (200). but for instance if the page doesn't exist the …
Hi how do i create an application in ASP.net C# for HTTPWebRequest, HTTPWebResponse to send and get data back
Hi friends, I am struggle from last coup[le of days with this error. Error: `Forbidden You don't have permission to access /reports.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.` I tried to solve this by searching …
I am using curl function to login my web site using the Gmail username and password. Its working fine in my local environment but once i moving that file into my client server it returns the response **"HTTP/1.1 401 Unauthorized"**. provied some solution here is my curl function code for …
Hello, when I try to enter to the **PHP forum** (but also in the others under **Web Development** section) I get redirected to a malformed url: http://www.daniweb.com-development/php/17 I tried also with curl: curl --head http://www.daniweb.com/web-development/php/17 HTTP/1.1 301 Moved Permanently Date: Tue, 18 Dec 2012 15:31:11 GMT Server: Apache/2.2 Location: http://www.daniweb.com-development/php/17 …
I am using curl function to login my web site using the Gmail username and password. Its working fine in my local environment but once i moving that file into my client server it returns the response "HTTP/1.1 401 Unauthorized". provied some solution Thanks in advance, Ganeshkumar
I have a server which is hosting just a single site and because of this, I intend to redirect all traffic from domains which isn't mine to my domain. For example, if a random person decides for some reason to point their domain to my server, when my server gets …
i need to perform port forwarding in a desktop application written in C#. i used this code : using System; using System.Threading; using NATUPNPLib; namespace iSpyApplication { public static class NATControl { public static UPnPNAT NAT = new UPnPNAT(); private static IStaticPortMappingCollection _mappings; public static IStaticPortMappingCollection Mappings { get { …
I need to write a program (using Dev-C++) which can count the number of hyperlinks of a given web page. The main objective is to practice socket programming and try to use HTTP protocol. I am not sure exactly how to go about doing this. Can anyone help me figure …
A web server is used to process http request and send a response back to the client browser. I was wondering how does a client browser send a http request to the web server? Is it done via socket connection? Which socket connection is used to establish a connection with …
i am using the url = "https://prd.aps.net/cm/json/[email protected]&pass=ca4433$$&apikey=1dd80ss107s3ad9593c857cc6d14d3a3" Note:: if iam using the http as a protocol it just grab the values in a few seconds(3 to 4) but using https its a big issue around 40 sec it takes when i am calling curl_easy_perform(curl) why so? please take a part …
Having a problem with IE9 after deleting sweet time IM addon I keep getting IE launching, I've run AVG scan and the appropriate MS Malicious spyware removal tool but each show no infection. I've run Hijack this, see attached log: Logfile of Trend Micro HijackThis v2.0.4 Scan saved at 20:20:37, …
I'm learning http, and trying to use telnet to send my own http requests. In the command prompt, I entered: telnet google.com 80 Result: The screen is cleared and I see a blinking cursor. 1. Why don't I see any indication that I'm connected? Now, trying to type an http …
I know that for every HTTP request the request carry some request header parameters like Accept, Accept-Languate etc.. I understand the general meaning of those parameters. But how server utilizes that information, that is not yet unclear. For example, The request header "Accept" header means "Content-Types that are acceptable". And …
hello, i have checked online on a website which gives error **BadRequest(status code=400)** and gives response like : *'"message": "messages": [ "We are sorry, the item you selected, cannot be done" ] , "resultInfo": "result": "fail", "url": "http://www.abc.com/xyz/pqr/home", "resultCode": 400'* but when i am doing the same thing at my …
Hello Why does my cookie work offline but not offline? It simply stores text, nothing else. Is there some limit that can be blocking it or something?
public class SendMessage { public static void main(String[] args) throws UnsupportedEncodingException { //String strMsg=java.net.URLEncoder.encode("This is API msg", "UTF-8"); callURL("https://api.mVaayoo.com/mvaayooapi/[email protected]:1111&senderID=TEST SMS&receipientno=9999999999&dcs=0&msgtxt=msg&state=1"); } public static void callURL(String strURL){ System.out.println(" URL is :"+strURL); try{ URL obj = new URL(strURL); HttpURLConnection httpReq = (HttpURLConnection)obj.openConnection(); httpReq.setDoOutput(true); httpReq.setInstanceFollowRedirects(true); httpReq.setRequestMethod("GET"); String iStatus = httpReq.getResponseMessage(); System.out.println("iStatus: "+iStatus); } …
I've got a website with a splash page where users select one of two languages in which to access the page, and have the option of ticking a "remember me" checkbox, which would write a cookie. On subsequent visits to the splash page, the cookie would be read, and the …
# # This is the main Apache HTTP server configuration file. It contains the # configuration directives that give the server its instructions. # See <URL:http://httpd.apache.org/docs/2.2> for detailed information. # In particular, see # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html> # for a discussion of each configuration directive. # # Do NOT simply read the …
I've been trying to find a definition of this term: "HTTP endpoint" Does it just mean URL from a programmer's point of view, or something more?
Hi there, I am trying to access a 3rd party Apache/Axis web service where I am required to submit an HTTP header with username and password attached. I have added the service/reference no problem using the VB.Net add service reference. this has given a local object for their service. I …
Hello, I am having a bit of trouble using 301 redirects. I have used the following format, successfully, on many occasions (putting the following code in the .htaccess file and loading into the directory of the domain I wish to redirect): "redirect 301 /oldpage.html http://www.newdomain.com/newpage.html" The problem is that the …
I have some custome graphs that I have laid out on 3 seperate web pages that I would like to show on a dashboard/large monitor at my office. I would like the pages to refresh every 10 seconds and redirect to the next page in the cycle page1 => page2 …
Well! So here is what my problem is. Initially, I started my blog (running of wordpress cms) with a .asia domain. Now, I believe any .com domain would attract more people than any domain name that is targeted to one continent. So, I purchased a domain name with same name …
Hi I have a client for which I have built a site however they have an old domain which is being forwarded to the new domain. However there are listings for the old domain which contained pages which do not exist on the new site so page not found errors …
What is effect of specifying http content-length that is larger than the actual body length? This is because I am using libcurl to make http-post massages, and I dont want have a case whereby the specified content-length is smaller than the actual body length.
Hello There, I am David Blumenson. I am here to discuss a problem with one of the website. When I try to open the website with http:// it gives error while it show with https:// . Please suggest me what should I do?
I want to handle 404 error if script can't load some resouce after document is ready. Here is code: (function( $ ){ $.fn.onair=function(){ var tid = setInterval( function () { if ( document.readyState !== 'complete' ){ return; alert("salam") } else if(document.readyState=='complete'){ if (document.onerror){ //ajax $.ajax({ statusCode: { 404: function() { …
hi all, I was developing asp.net mvc4 web site. I think I have corrupted some configuration in web site by mistaken. Now I got following error. HTTP Error 401.2 - Unauthorized You are not authorized to view this page due to invalid authentication headers. Most likely causes: No authentication protocol …
Hi all :-) Just a question about a pecl module I'm having trouble installing I'm trying to install pecl_http on WHM. I go into Module Installers > PHP Pecl and then select PECL_HTTP. I'm getting the following error message when trying to attempt it: checking for curl/curl.h... not found configure: …
Hi Friends **Example:** URL: http://localhost/sitename/page=name i want to print **name** in my page. like You Are Here: Home ยป **name** Please can any one help me.
The End.