2,928 Topics

Member Avatar for
Member Avatar for nHulk

"httpError: The Http Transport returned a 0 status code. This is usually the result of mixing ajax and full requests. This is usually undesired, for both performance and data integrity reasons." I am getting this error in my web page form... how to get rid of this message ............

Member Avatar for LastMitch
0
413
Member Avatar for reececropley

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 …

Member Avatar for LastMitch
0
142
Member Avatar for cwarn23

In php/html/javascript there are two different ways you may redirect a user to another page however there are a few things to consider before choosing with method to use. As you should know by now php has the ability to send html and javascript to the web browser and php …

Member Avatar for coreyavis
4
2K
Member Avatar for dalilice

Hello guy, I have a website it's basicly a rss feed website. When a user click on a link they leave the page (with _blank). But i want to make a leave page something like www.domain.com/go/ they stay on this page for let's say 5 sec and they the script …

Member Avatar for pritaeas
0
232
Member Avatar for skliz

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

Member Avatar for skliz
0
147
Member Avatar for jkon

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 …

Member Avatar for JorgeM
0
424
Member Avatar for George_91

I'm creating a website which requires a Login. When it logs in the system it creates a Session. But I don't know how to validate my next page. Because if the user types the name of the second page in the browser, it enters without problem. What I want is …

Member Avatar for Webville312
1
23K
Member Avatar for brenton_77

Hi, I'm trying to redirect the admin user from my login.aspx page to the admin.aspx page and any other domain user to the default.aspx page. I have no problems getting the domain users redirecting or having a message displayed when the credentials are incorrect, however when I enter the admin …

Member Avatar for brenton_77
0
2K
Member Avatar for newebmaster

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. …

Member Avatar for JorgeM
0
933
Member Avatar for sj2222

I was previously hosted by a 3rd party website builder. They sent me the files on a disk (for some reason not FTP). I uploaded those files to Dreamweaver. Now the CSS is displaying in Design mode but not in live mode. HELP! <!--[if lte IE 8]> <link type="text/css" rel="stylesheet" …

Member Avatar for JorgeM
0
186
Member Avatar for ffej2ffej

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 …

Member Avatar for diafol
0
289
Member Avatar for jrotunda85

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, …

Member Avatar for bakhtn
0
2K
Member Avatar for AmieCutie

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 …

Member Avatar for AmieCutie
0
271
Member Avatar for liran

Hey, I have some command, I'll call it "command". I need to do this: yes | command but without a pipe, there is a reason for this, because for the specific use, pipe before the command is not allowed, that's not the point. Is there an alternative I can use …

Member Avatar for rubberman
0
1K
Member Avatar for igalbk

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 …

Member Avatar for honeyxyz
0
702
Member Avatar for anisha.silva

Hi how do i create an application in ASP.net C# for HTTPWebRequest, HTTPWebResponse to send and get data back

Member Avatar for LastMitch
0
296
Member Avatar for mrabrar09

Hello everyone am facing an error exception SQLServerException: The TDS protocol stream is not valid Jan 19, 2013 4:21:02 PM com.microsoft.sqlserver.jdbc.TDSReader throwInvalidTDS SEVERE: ConnectionID:18 got unexpected value in TDS response at offset:1508 Jan 19, 2013 4:21:02 PM com.microsoft.sqlserver.jdbc.TDSReader throwInvalidTDS SEVERE: ConnectionID:18 got unexpected value in TDS response at offset:1451 com.microsoft.sqlserver.jdbc.SQLServerException: …

Member Avatar for pritaeas
0
1K
Member Avatar for AARTI SHRIVAS

is it possible in php java scrip and jquery that we give a condition and redirect page to another pages on depending on those condition like if($id==1) { header(location:page1.php); } else { header(location:page2.php); } the value of id comes from database. something like that using jc jquery enything please help …

Member Avatar for AARTI SHRIVAS
0
310
Member Avatar for pham.vanmanh.50

My site is [seoitc.com](http://www.seoitc.com), we are using joomla for this site, but have 1 problem when i try auto redirect to anypage that show error: Warning: Cannot modify header information - headers already sent by (). I tried change redirect to use js but cant use same status(302,303...) same as …

Member Avatar for diafol
0
1K
Member Avatar for jesminheren131
Member Avatar for ganesh641

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 …

Member Avatar for veedeoo
0
5K
Member Avatar for cereal

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 …

Member Avatar for diafol
2
268
Member Avatar for kalathankam

how can i remove the scripts from tinymceeditor? <script id="__changoScript" type="text/javascript">// <![CDATA[ var __chd__ = {'aid':11079,'chaid':'www_objectify_ca'};(function() { var c = document.createElement('script'); c.type = 'text/javascript'; c.async = true;c.src = ( 'https:' == document.location.protocol ? 'https://z': 'http://p') + '.chango.com/static/c.js'; var s = document.getElementsByTagName('script')[0];s.parentNode.insertBefore(c, s);})(); // ]]></script>

Member Avatar for LastMitch
0
74
Member Avatar for ganesh641

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

Member Avatar for cereal
0
83
Member Avatar for Borzoi

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 …

Member Avatar for Borzoi
0
310
Member Avatar for Nina 4 Ever

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 { …

Member Avatar for TnTinMN
0
1K
Member Avatar for IcyFire

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 …

Member Avatar for IcyFire
0
271
Member Avatar for solomon_13000

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 …

Member Avatar for ~s.o.s~
0
226
Member Avatar for AndyPants

Hello, I currently am running a gameing server and found some php code to send RCON commands to my game server. I am completly new to PHP, but not new to code. I would appreceate if someone could fix these 2 lines of code. On my XAMPP server I have …

Member Avatar for diafol
0
184
Member Avatar for TioNacho

My laptop is infected and I have tried everything I know to clean it. I now need your help to interpret the attached Hyjackthis report. My normal anti-virus/Firewall is ESET NOD32. I have run the following, in Safe mode: * NOD32 Virus checker * Adaware * Spybot S&D * Karpersky …

Member Avatar for ocdpcfix.com
0
196
Member Avatar for sh2012.aps

i am using the url = "https://prd.aps.net/cm/json/login.json?username=aps@aps.com&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 …

0
170
Member Avatar for stephen.caddick.9

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, …

Member Avatar for dfinc
0
162
Member Avatar for gosweetten

Hi everyone, Im newbie...I have comp problem...Pls kindly help me... T_T I dont know what happened... usually I can install new font ... **Local Disk (C)_Windows_Font** ... and open the WINDOWS EXPLORER to view the font that I already installed or copy paste the font to this folder... Then suddenly …

Member Avatar for Djmann1013
0
368
Member Avatar for chyllz21

hello, desktop .ini has taken control of some of my folders and files. also, turned on pc and it said it couldn't load neccasary files and went into a scan. it seemed fake but nothing ever happened. Logfile of Trend Micro HijackThis v2.0.4 Scan saved at 10:50:23 AM, on 11/5/2012 …

Member Avatar for caperjack
0
310
Member Avatar for bvrameshbabu

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 …

Member Avatar for pritaeas
0
172
Member Avatar for harishbansal90

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 …

Member Avatar for JOSheaIV
0
343
Member Avatar for nHulk

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/MessageCompose?user=user@gmail.com: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); } …

0
181
Member Avatar for Patiodude

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 …

Member Avatar for Taywin
0
174
Member Avatar for bleedi

Hey there, I've got a small problem. I'm writing an UDP client-server system, and I wanted to use streams with UDP. I found [UDPOutputStream](http://www.java2s.com/Code/Java/Network-Protocol/UDPOutputStream.htm) source and pasted it into my project. Now, when I try to initialize it, it freezes. This is how I try to initialize it: outStream = …

Member Avatar for bleedi
0
276
Member Avatar for pmark019

This code is a java code. Can you please help me convert this to c#? private static URL URLObj; private static URLConnection connect; static String source = ""; public static void main(String[] args) { try { URLObj = new URL("http://students.usls.edu.ph"); connect = URLObj.openConnection(); connect.setDoOutput(true); } catch (MalformedURLException ex) { System.out.println("The …

Member Avatar for cale.macdonald
0
466
Member Avatar for yoyo12345

# # 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 …

Member Avatar for yoyo12345
0
248
Member Avatar for arabgogs

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 …

0
150
Member Avatar for TealList

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 …

Member Avatar for TealList
0
128
Member Avatar for suncica2222

I'm using Netbeans 7, JEE project with application client, stateless ejb with remote interface, and JPA entity clasess made from sql script. Interfaces are in separate library project which is referenced in ejb and client project. **And the problem is the remote method that use custom interface object made from …

0
190
Member Avatar for lockdon

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 …

Member Avatar for JorgeM
0
166
Member Avatar for chetanbhasin

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 …

Member Avatar for JorgeM
0
257
Member Avatar for jward50

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 …

Member Avatar for JorgeM
0
185
Member Avatar for manaila

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.

Member Avatar for pritaeas
0
141
Member Avatar for pzuurveen

i got a testing blog that got spammed. So I removed the entire blog. Now weeks later, my errorlog still get thousends of 404's a day. I still want to see 'normal' 404 from other sites on that server. There are no files in that dir but .htaccess: RewiteEngine on …

0
165
Member Avatar for daniwrites

Hi Everyone, I would really appreciate some help on this. I'm a web project manager - and the machine mgmt gave me has pretty much given up completely. It only works in Safe Mode - luckily Safe Mode with networking so I am able to get online. I have backed …

Member Avatar for cede_delcon
0
595

The End.