2,928 Topics
![]() | |
Hi, I don't know if there is some name for this but what I want to create a script in php which runs in the background and capable of sending and receiving messages. This is what I want to do exactly: 1. Listen to a URL http://site1.com through xmpp protocol. … | |
Hello good people. I am trying to add a snippet of javascript to the head tag of a mobile site that checks if the visitor is using a PC and if the visitor is viewing the mobile site on a PC I want them to be redirected to the normal … | |
Hello all: Somebody, anybody, please please help. I am running the latest version of Fedora and below you will find the contents of /etc/httpd/conf/httpd.conf file. My problem is that when I try to view my site from the web I get the "Forbidden / You don't have permission to access … | |
Hi can anyone help me find what am i doing wrong. i have an xml request that check data on db and return the result. and base on that result it will clear or highlight a textbox. its working fine using the original function but when i add another xml … | |
Dear Readers, I have a simple HTML form pointing to a PHP (<form action="xy.php" method="post">), and if I type http:// into an input of the form, it won't run. If I type anything else the form runs. How can I solve this? Maybe somewhere it is interfering with another http:// … ![]() | |
I believe I got a trojan virus that has caused some damage to my computer which will no longer connect to the internet. I read several threads on here and these are the steps I have already taken: 1)I downloaded and ran Marlwarebytes and AVG. (I think it found the … | |
I've been having a ton of problems since my boyfriend clicked on an email he thought was authentic from an ebay fraud. Web pages have been slow to not responsive, I kept getting errors about remote server refusing connections, the lan service kept showing proxy server settings and when I … | |
Hello, I'm carlo and I have been experiencing this problem for about a week now. The windows defender is not functioning and the win explorer keeps on closing. here is my hijackthis file: Logfile of Trend Micro HijackThis v2.0.4 Scan saved at 3:04:04 AM, on 9/14/2013 Platform: Unknown Windows (WinNT … | |
Is the check: if (!isset($_SERVER['HTTPS']) OR empty($_SERVER['HTTPS'])) { // We are NOT using SSL } a fool-proof way of checking if we are NOT using SSL with PHP/Apache? I understand that IIS sets to 'on/off' but that's irrelevant for me. I am just wondering if I additionally need to check … | |
Just discovered PLOOP.com. Have all the folders but the bootloader file online is said to be outdated. don't know where the newes file is | |
Just a show of hands, how many people have taken the plunge and migrated to HTTPS since Google's announcement? I was really against it at first, because I just don't like to do things just for SEO's sake, and it seemed to me like this was one of those things. … | |
Hello, I am trying fix this error after adding newfilename for picture upload: studentinfo.php <?php // Check if session is not registered, redirect back to main page. // Put this code in first line of web page. session_start(); if(!isset($_SESSION['username'])) { header("location:index.php"); exit; } ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 … | |
An interesting [post](http://googleonlinesecurity.blogspot.in/2014/08/https-as-ranking-signal_6.html) appeared yesterday in the official Google Online Security and Webmaster Central blogs which confirms that in an effort to "make the Internet safer" it has been testing a system which looks at "whether sites use secure, encrypted connections as a signal in our search ranking algorithms." This … | |
I need to ask question. I am sure it is easy once I figured it out or someone on here points me in the right direction. What I am trying to do is keep the header fixed and the parallax image at a default state is as it appears when … ![]() | |
Hi, I am trying to write a .htaccess script that can redirect any URL on my site (whether it exists or not, including sub-domains) to the index page of that site. For example: example.com/pages/page.htm ---> example.com sub.example.com/page.htm ---> example.com error.example.com/error ---> example.com I've tried a few things with mod_rewrite but … | |
Not sure if it's just me but the home page doesn't work. It's just presenting the background colour but no content. The following is received by the browser: <!DOCTYPE HTML> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" xml:lang="en-US" lang="en-US"> <head> <!-- CSS --> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width" /> <link rel="stylesheet" … | |
It's an interesting question, and one that's being raised by Gartner which is predicting that [URL="http://www.gartner.com/it/page.jsp?id=1392716"]the number of wireless e-mail users will reach an incredible one billion[/URL], worldwide, by the end of 2014. A number that's not too hard to accept, given that earlier this year global business wireless e-mail … | |
I have this on my error log. GET /wall/roves/378 HTTP/1.1" 404 212 i know it means that page its not found but i cant figure out why? its an Apache thing? | |
I am using upload services and i have to use a request over http due to which IE gives me "Mixed Content" popup. My client do not want this. Is there any way to hide or handle it through java script or in Jquerry or C#? Additional Info: Web Application … | |
![]() | Hi! Its been a while since i've been here but this place was always good to me before. Well my computer was really slow and 100% usage, i also noticed mysearchdial popup through firefox and i thought it was like an addon so i actually used that it silly me … ![]() |
I have some experience with client-server codes. TCP and udp client. I want to know how a stream socket works with HTTP. This client is for a server-client code where the greatest common divisor is calculated and displayed. #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <errno.h> #include <string.h> #include <sys/types.h> … | |
I have a python code that reads a file into a stringio. This works great but now i need to do is http post from the stringio and i can not figure it out. Any help would be greatly appriciated cause this is really conffusing and i dont know what … | |
I moved my old site to the new domain and have parked the old site over the new domain. Any ideas how to do the proper 301 redirect so the old site redirects each page to the new site. So: http://dwhs.net/web-hosting-plans.htm Redirect to: http://webhost.pro/web-hosting-plans.htm So far I just have: Options … | |
I've searched the internet for a solution to this problem, to no avail. I'm getting an increasing number of complaints that, as the title says, my joomla sites are displaying as 503 errors in windows phone 8. HTTP 503 service unavailable. I've tested it on a lumia 1520 and I … | |
Hi! I'm not a web developer, but I'm a blogger and I would like some tips on how to create a 404 error message or to do something about this message feom Blogger: "Sorry, the page you were looking for in this blog does not exist." I would like to … | |
Ok so I have been searching for several days on how to write a simple python script that will HTTP post to my server. I am jsut looking for some tips on how to write this properly cause as of right now im having to upload my add and update … | |
Hello, I have little knowledge with PHP and I was assigned to try to fix some of the things that don't work in a website. The website basically deals with two different users, a trader who can post articles and a blogger who can post blogs. When a user registers … | |
I am having issues with bookmarks directing to other webites. I can save bookmarks but when I click them later it goes to another website like http://www.adcash.com/script/pop_packcpm.php?k=5223ae7e0c776178106.541145&h=59ebbf60230047531bf2e60d5ae2390545fce553&id=0&ban=178106&r=136690&ref=h&data=&subid= I have windows 8 and am using Firefox which says it is up to date. How do I get rid of the virus? … | |
Hello, I am installing openmeetings by following this instruction: [Openmeetings installation](http://neanderslob.com/2013/09/27/how-to-install-open-meetings-on-ubuntu-12-04/) Can anyone help me guess what may cause the error? I have the following error after installing openmeetings: Step 10: Run Openmeetings! -------------------- Openmeetings Error while running installer, please check your installation org.dom4j.DocumentException: languages/languages.xml (No such file or directory) … | |
This is my code for jquery script [code] // $Id: jquery.js,v 1.6 2006/12/23 21:46:35 dries Exp $ eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('l(1l 1x.6=="Q"){1x.Q=1x.Q;u 6=q(a,c){l(a&&1l a=="q"&&6.C.21&&!a.1G&&a[0]==Q)v 6(Y).21(a);a=a||Y;l(a.3n)v 6(6.1Q(a,[]));l(c&&c.3n)v 6(c).1X(a);l(1x==7)v 1m 6(a,c);l(1l a=="24"){u m=/^[^<]*(<.+>)[^>]*$/.3c(a);l(m)a=6.3F([m[1]])}7.2a(a.14==2o||a.D&&a!=1x&&!a.1G&&a[0]!=Q&&a[0].1G?6.1Q(a,[]):6.1X(a,c));u C=15[15.D-1];l(C&&1l C=="q")7.V(C);v 7};l(1l $!="Q")6.3W$=$;u $=6;6.C=6.8h={3n:"1.0.4",66:q(){v 7.D},1S:q(2R){v 2R==Q?6.1Q(7,[]):7[2R]},2a:q(64){7.D=0;[].1q.17(7,64);v 7},V:q(C,1h){v 6.V(7,C,1h)},8k:q(1j){u 2h=-1;7.V(q(i){l(7==1j)2h=i});v 2h},1r:q(1I,11,B){v 1I.14!=3X||11!=Q?7.V(q(){l(11==Q)J(u E 1z 1I)6.1r(B?7.1o:7,E,1I[E]);G 6.1r(B?7.1o:7,1I,11)}):6[B||"1r"](7[0],1I)},1a:q(1I,11){v 7.1r(1I,11,"3j")},2D:q(e){e=e||7;u t="";J(u j=0;j<e.D;j++){u … | |
This ones got me confused, I'm a total noob but I created a joomla site, hosted by justhost and it's fine on all browsers apart from Windows 8 Phones running Internet Explorer 10 where all you get is the HTTP 503 Service Unavailable. I've checked it via http://downforeveryoneorjustme.com which says … | |
Input: Feb 15 2014 09:31:00 ERROR {http--0.0.0.0-0000-000} [54d70-54d70-54d70-54d70-54d70][478-478-478-478-478] JabberServlet - Provisioning exception while parsing protocol Feb 15 2014 09:31:00 ERROR {http--0.0.0.0-0000-000} [54d70-54d70-54d70-54d70-54d70][478-478-478-478-478] JabberServlet - Failed to extract text from response Feb 15 2014 09:31:00 ERROR {http--0.0.0.0-0000-000} [54d70-54d70-54d70-54d70-54d70][478-478-478-478-478] JabberServlet - Error while loading make model Feb 15 2014 10:31:00 ERROR {http--0.0.0.0-0000-000} … | |
The world's largest technical support, software and hardware companies use Linux on a daily basis for a variety of tasks and solutions. This post gives you an overview of all the ways in which large companies use Linux. Most don't use Linux on the desktop but do use it in … | |
So I'm trying to figure out why my get method doesn't pass its test. This is my attempt at the get method: public Value get(Object key) { //Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key. for (Pair<Key,Value> … | |
Hello all, I have a wordpress site, http://gardenoftomorrow.com/ As of the first 3 years, my wordpress permalink structure has been /%category%/%postname%-%post_id%/ I now plan on changing the category each post is filed under, and changing my permalink structure to /%postname%/ I made the permalink change, and I've setup redirection for … | |
Every page of DaniWeb has a Javascript error that says: Uncaught SecurityError: Blocked a frame with origin "http://www.daniweb.com" from accessing a frame with origin "https://www.facebook.com". The frame requesting access has a protocol of "http", the frame being accessed has a protocol of "https". Protocols must match. I haven't changed anything … | |
hello friends, we have stuck with one problem while doing program of mail api. we have doing unread mails via mail api,but its not perfectly working. There is an problem in reading content of (multipart type) of mail. it will work on Text/Plain type. Following is my code.please let me … | |
I have got this code from an article on secure login systems. I know basically nothing about php so I would like to know if this is good code to use? Part 1 of 8: Configure Your Server 1. 1 Install a Web Server, PHP and MySQL on your server. … | |
Hi, I'm not sure if I'm posting this in the correct place as this is related to nginx configuration and not specifically PHP scripts. If I am posting this in the wrong section, please let me know and I will post it in the correct location (unless a Mod is … | |
Hello, im trying to get the answers from the secound array but it takes just the last question and answer hers is the code: search.setOnClickListener(new View.OnClickListener() { String[] questions = { "http", "arp", "asd" }; String[] answers = { "HyperText Transfer Protocol", "Advanced Research Project", "asdasdasdasdasdasdasdasd." }; @Override public void … | |
Hi, I changed my wodrpress URL manually and after then i saved and loged out from admin panel . now i can't login to my wordpress Admin page after changing The URL 's and whenever i want to log in it redirects to other page that i changed in URL … | |
Hello Community, I was just wondering what this url is "https://fbcdn-photos-d-a.akamaihd.net/hphotos-ak-ash3/hellocdn.html?v=1" for some reason on start-up my computer will open this url not all the time but occasionally. It doesn't do anything it just gives my a blank page, the HTTPS certificate is in affect so I don't thing it's … | |
hello i have a problem if anyone can solve it please help me... i have a page from which i get type on left side of page from refrence page...and when i click any one of the reference it shows list on same page regarding to that reference when i … | |
Hello guys, i'm having this project where i must create a server that communicates with a browser.I must write something like this in the browser: http://localhost:11880/path and the message printed in the server will be: GET /path HTTP/1.1 Host: localhost:11880 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Ubuntu/10.04 … | |
while(1){ new=accept(socket, (struct sockaddr*)&peer_addr,&peer_addrlen); if (new<0){ break; } else{ recv(new,mesg,sizeof(mesg),0); if (strstr(mesg, "GET") != NULL){ printf("\n%s",mesg); FILE *write = fdopen(new, "w"); fprintf(write, "HTTP/1.1 200 OK\nContent-length: 47\nContent-Type: text/html\n\n<html><body>< H1>HTTP/1.1 200 OK</H1></body></html>"); fflush(write); } else if (strstr(mesg, "POST") != NULL){ strcpy(resp,"POST\nContent-length: 47\nContent-Type: text/html\n\n<html><body><H1>POST</H1></body></html>"); c=send(new,&resp,sizeof(resp),0); printf("%c",c); } else{ strcpy(resp,"HTTP/1.1 500 Server Interval Error\nContent-length: … | |
I have the cookies and subdomain selection for header: <script type="text/javascript" src="/static/js/jquery-1.3.2.min.js"></script> <script type="text/javascript"> $(function(){ var city = readCookie('city'); if(city !=null && city !=''){ window.location.href = 'http://' + city + '.example.com'; } $('#citygo').change(function(){ var city = $(this).val(); window.location.href = 'http://' + city + '.example.com'; }); }); function createCookie(name,value,days) { if … | |
I'm not exactly sure what the problem is but the cookies aren't available for subdomains. Is there any way around this, or is there a better way to set the cookies domain? Thanks! <?php ini_set("session.cookie_domain", ".example.com"); // Set cookie and redirect when user change city if( isset($_POST['city']) && $_POST['city'] != … ![]() | |
i have a simple note and images storing java program that stores data into the server..i'm confused about what to use for building the server..should the server be built using sockets?? or which listens for http requests (the client sends json data)?? could anyone please tell me which one would … | |
The cookie is not holding and the domain example.com cannot redirect to a.example.com when I type on the address bar. Anyone good at cookies? Any help will be very much appreciated. $(function(){ var city = getCookie('city'); if(city !=null && city !=''){ window.location.href = 'http://' + city + '.example.com'; } $('#citygo').change(function(){ … ![]() | |
We have a socket application with lots of queries in it. The problem after doing some sample of jmap -histo we notice the number of sockets keep growing and resultsets fluctuates. Checked through and ensure all the resultset are closed and finally even the socket is close just based on … |
The End.