53 Solved Topics
Remove Filter | |
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. … | |
Hi All, I have a PHP code which do some changes to the POST variables it receives and redirect the page to some other page. This PHP code was initially designed to work without Ajax. So there wasn't any problem with the redirect function and it perfectly handles the POSt … | |
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'm using javascript code to redirect visitor to random link like the example below but sometimes i get error 404 response :( var pageArr = ["http://google.com", "http://yahoo.com", "http://bing.com", "http://youtube.com", "http://facebook.com"]; document.location.href = pageArr[Math.ceil(Math.random()*5)]; ps:the code does exist in external js file what the problem here ? i'm not coder … | |
I'm trying to combine the functionality of the 3 codes below to produce a delayed redirect to a random URL while displaying a bar filling up by %. Each one works great, but I need all 3. Any help would be greatly appreciated. Thanks! **The first redirects after a delay** … | |
i have a problem to redirect user to the requested page after login. 1-this are my files:login.php,register.php,protected.php,plan1.php,member.php et plan2.php,home.php 2-plan1,plan2, and member have a check before people have access. 3-when a user click on plan1 for exemple and get redirect on login.php 4-My problen is after logged in he goes … | |
Now this one always bugs me! I'm dealing with a lot of checks that result in redirection dependant on certain results. **Example:** 1) If session exists and users lands on login.php they are pointed to index.php. 2) When landing on any page after loggining in, if their account isn't complete … | |
The problem started with getting redirected when we searched with Google. So we tried other search engines which worked for a little while but now it doesn't matter which search engine we use. If you go back to the original search after you are redirected a time or two you … | |
I have a contact form in a popup div. I want the contact form to redirect to the popup div with an error or a successful message when form is completed obviously depending if message was sent NOT A PAGE. Please can someone help me. <?php //set variable error var … | |
Hy All Im here again to ask for you help. I still in the begining to launch the site, and i found a major error. The theory is the following. I planning to start a Pay per download site, which mean the members upload a file and when somebody want … | |
if a or b selected from select menu i want to submit values else other is selected from select menu i want to redirect to other website please help me urgent. ** my form code is ** <table> <tr> <td><label> <select name="community" id="select7" > <option value="a">a</option> <option value="b">b</option> <option value="other">other</option> … | |
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 … | |
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 … | |
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 … | |
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 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 … | |
Ok, I am having a 'WTF' moment, I cannot see what is going wrong and it is really beginning to bug me. I am attempting to send a user to an error page if the username or password is incorrect but it keeps redirecting to a page which doesn't exist … | |
A web site I'm trying develop has several pages that won't open unless the user is logged in. If not logged in, the user is redirected to a login page that tells the user why they were reditrected. Prior to the redirection, a SESSION variable stores the path back to … | |
Hello everyone! I want to monitor my network using wireshark 's tshark command line tool. What i want to accomplish is to redirect tshark's output to a c++ application, so i can examine data and output a more comprehensive analysis without keeping a huge amount of data. I am working … | |
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 I have a form page (form.php) which calls a seperate PHP page to insert a new record (insert.php). Insert.php then redirects to a listing page (list.php) using [CODE]header('Location: list.php?z='.$access);[/CODE] ($access is the user id and priveledge level and is passed through all pages as our company does not allow … | |
Hi ! I'm trying to learn about sockets using winsock in c++. What I want to do is have one computer (my computer) act as a mini server for my friend to connect to directly from his house (different ISP). I am wondering if it is possible using sockets to … | |
hello ppl :) i use .htaccess for my PHP site to redirect without changing the URL in the adress bar for example: [url]http://www.example.com/news/This.is.a.new[/url] my .htaccess sends from /news/ folder sends the user to [url]http://example.com/news.php?id=142151[/url] ... and i can't send another variable to the [url]http://www.example.com/news/[/url] folder because is redirected to news.php?id... … | |
I have a blog with a domain that I moved to a new host and now it doesn't have SSL certificate installed on it. There are certain links to that domain that where bookmarked using https and now that SSL is not installed on the new server users who access … | |
Hello I wonder if anyone could help me with the following please? I have scratched my head and played around but not been able to move forward. I am creating a script to redirect a user to a random link on my site. The first part of the code extracts … | |
Sorry I'm still very new at this and there is probably an easier way to write this code. I want to have a contest page automatically redirect to another after a certain date. I have the code to turn on and off content after a certain date and I have … | |
| I just started on SPOJ. It tests by redirecting standard input and output to files. Is there a way to do that directly from the terminal instead of modifying the program. |
I'm Working with register module with xmlHttpRequest. I have checking all. When i was trying to redirect after successfull its displaying the response with in the given div. [CODE] <script type="text/javascript"> function showRegister() { if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code … | |
Hi all I've searched everywhere on the internet including Daniweb for this answer but I can't find one. I don't want to break the rules, so I've changed the real domain name to domain.co.uk I manage a website [url]www.domain.co.uk[/url] where the owner requires a subdomain called quotes.domain.co.uk He then needs … | |
Hi, I'm on an Apache server. I'm trying to create a permanent redirect of an entire website to a single page on the new site. I'm using this: Redirect 301 / [url]http://www.cvm.org.uk/wales/index.php[/url] Redirect 301 /links.php [url]http://www.cvm.org.uk/wales/index.php[/url] The first line works fine for the index.php page of the site. The second … |
The End.