22 Topics
![]() | |
Hello, I have been searching around the net looking for solutions to my problem, but none have worked. My issue is that when i redirect using: <meta http-equiv="Refresh" content="0; url=<?php echo $URL; ?>"> The hash tag part of URL gets removed by IE. So example.com/sample#foo will just load as example.com/sample. … | |
Cache in local storage of browsers gets cleared when website page redirects from AliPay payment website. This is happening in some computers and working fine in some. From my website user selects AliPay payment method then user is redirected to payment website and on successful payment is being redirected back … | |
I saw various search engine blogs/journals regarding http to https conversion, where all are saying that it is best to change your website from Http to Https for obtaining better Google rankings. However, is it recommended/accepted by Bing and Yahoo as a ranking factor? | |
This "FakeWebClient" will allow a C# application to send and receive cookies as part of the request. This behaviour is not available by default. Please note that on line 35 there is a possible NullReferenceException, I managed this at a level higher but you may wish to handle it in … | |
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'] != … ![]() | |
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(){ … ![]() | |
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 have just started to learn PHP.I have installed Netbeans and WampServer, now when i run a sample php code in netbeans, browser showing 404 error.i think everything installed correctly,may be its because of some connection problem with browser and netbeans,should i change something in project properties?.Could someone please help? | |
Hi! Im a noob to PHP but had to use it instead of ASP because I couldn't retrieve images from database using ASP + MS Access... Anyways.. I have couple questions: Number 1: How to retrieve and displaymultiple(!) images(jpg) from mysql DB? NUmber 2: I have a main page that … | |
Hi! Im a noob to PHP but had to use it instead of ASP because I couldn't retrieve images from database using ASP + MS Access... Anyways.. I have couple questions: Number 1: How to retrieve and displaymultiple(!) images(jpg) from mysql DB? NUmber 2: I have a main page that … | |
I want to create a redirect for anybody using: Mozilla Firefox 1.0.x Internet Explorer 1.0-5.x Safari 1.0-2.0.1 Opera 1.0-9.x I'm not sure how you do this (and yes, these are the browsers with jQuery problems. I need a jquery compatibility check) | |
The problem is as follows. When I enter to some page from my site clicking the link (FF browser), I am redirected to an unwanted site. And some window pops-up where you can choose whether to stay or leave the site. When you click I want to stay, the window … | |
Hi all. I'm a JSP newbie and I'm trying to write a small client application that should facilitate the user authentication onto wifi hotspots provided by a telco operator from my country. Basically the application stores the user credentials and when the user push the (only) button on the GUI … | |
Hello, About 2 weeks ago I got a pop up that appeared to be a Windows update, but upon completion, all I saw was one of those aggressive programs that says you have infections but there wasn't any when I ran my antivirus program. I ran AVG, Malwarebytes and Hijackthis … | |
Ladies and Gents, I would appreciate your help solving a problem with an XP laptop I have been asked to clean up. It was riddled with Malware and Spyware including various fake scanners asking the user to upgrade to pro. I have been running malwarebytes and avg 2011 on it, … | |
Hello! Yes, This is my first post. And it might seem a little selfish that i just joined to ask a question, so don't worry, i'm not gonna ask and run, i'll stick around. So my problem, what im trying to do is using regex i'm pulling information from a … | |
I need to temporarily disable 302 redirects in Firefox. How can I do this? I tried going to tools>options>advanced>general>checkmark warn me when sites try to redirect or reload the page, but that didn't work, 302 redirects are still followed. Is there anywhere in about:config that I can disable 302 redirects? | |
![]() | Sorry if this is in the wrong section (PHP), but wasn't sure where to put htaccess issues.... Here's the deal - I have two domains, let's say domain1.com and domain2.com. On my web server, I have domain1 set up as the primary domain (/public_html/), and domain2 is an addon domain … |
Everytime I do a search on Google, or Bing, or w/e, then I click on a link, it redirects me to advertisements over and over, I have to click like 5 different times to get where I want to go. Any help is appreciated!! Thanks! P.S. heres my registry: C:\Program … | |
Hey I've been having this problem of my browser redirecting randomly after a search on google and yahoo. It would even pop out an internet explorer window when I have nothing runing or clicked. This all started after picking up a XP Guardian Pro or so type of fake anti-spyware … | |
Hello DaniWeb Community! I'm currently working on a particularly troublesome problem with my mothers computer. What happens is if I search for something (eg. "apples") through either firefox and google or internet explorer and bing, I am redirected to spam sites. It is getting incredibly annoying. In addition, a new … |