i have been able to pass value from form to ajax and to php to insert into my database. Now there is a value which determines whether to redirect to page 1 or page 2 after inserting. As well i alert that the form was successful. So i wanna know how to do pass this values back to ajax and how to redirect to the page i require.Thank you very much in advance.

Member Avatar
Member Avatar
+0 forum 3

Hi, I'm in need of assistance with mod_rewrite. Currently, I've a folder at www.domain.com/folder. I need to leave the files where they are, but have the address bar in the browser appear as someothername.domain.com Any help would be greatly appreciated! I should mention that I've already got a few .htaccess rules in place, as shown here: Options +FollowSymLinks RewriteEngine On RewriteCond %{SCRIPT_FILENAME} !-f RewriteCond %{SCRIPT_FILENAME} !-d RewriteRule ^(.+)$ index.php?$1 [QSA,L] Thanks in advance, -Ray

Member Avatar
Member Avatar
+0 forum 1

Hi I am trying to redirect a url in the htaccess file. RewriteEngineOn RewriteRule ^wakins.co.uk$ http://www.watkins.co.uk [R=301,L] and I have also tried this RewriteEngineOn RewriteRule ^/wakins.co.uk$ http://www.watkins.co.uk [R=301,L] Thanks in advance D

Member Avatar
Member Avatar
+0 forum 1

Hi, Please help me to resolve my Script Redirection problem. Actually i have developing simple crm application php using pdo->prepare. this is working fine in localhost. but what is my problem means redirection is not working, when i uploaded to server. for refernce i hereby attached . please help me anyone. <?php session_start(); $errmsg_arr = array(); $errflag = false; // configuration include("config/db-config.php"); // new data $user = $_POST['uname']; $password = $_POST['pword']; if($user == '') { $errmsg_arr[] = 'You must enter your Username'; $errflag = true; } if($password == '') { $errmsg_arr[] = 'You must enter your Password'; $errflag = true; …

Member Avatar
Member Avatar
+0 forum 3

I would like to replace ".city1{background:red;}" with ".city1 with http://city1.example.com" so that when user selects a city1 the page goes to the city1 url page. Since I don't need the color box with a message, can I remove the code: var cityChosen = getCookie('citychosen'); if(cityChosen!=null && cityChosen!=''){ var chosen = $('#choose option[value="'+cityChosen+'"]'); chosen.attr('selected',true); $("#output").removeClass().addClass(cityChosen).html("You have selected this last time.<br />" + chosen.text()); } Any help will be very much appreciated. <head> <style type="text/css"> <!-- *{ margin:0; padding:0;} body{ font:24px Verdana, Geneva, sans-serif; margin:100px;} #output{ color:#fff; margin:20px 0; padding:50px; height:200px; width:200px;} .default{ background:#CCC;} .city1{background:red;} .city2{background:blue;} .city3{background:orange;} .city4{background:plum;} --> </style> <script type="text/javascript" …

Member Avatar
Member Avatar
+0 forum 12

HI I'm having two wesites with same file sets I want to keep the one file set for both domains how to do this if the user visit www.abc.com the files will get from www.xyz.com kindly tell me how to do this one thing i don't want to keep file set in both side

Member Avatar
Member Avatar
+0 forum 1

Hi, I'm facing a problem with one of the wordpress website I've developed. I activated "Cloudflare" from the cpanel for the domain http://www.kovaidonbosco.com/. After that, all the pages in the website are pointing to the home page. Please try to select different pages from the menu and see. I de-activated "Cloudflare" and removed the DNS entry also. But still the same problem persists. Please help me with it. Thanks

Member Avatar
Member Avatar
+0 forum 1

i want to redirect all .html file in subdirtories into root directory with .htaccess file,it does not manner that how much directory is complicated or long. example1: http://www.example.com/folder/folder2/folder3/folder4/main.html to http://www.example.com/main.html example2 http://www.example.com/folder/manyfolder/main.html to http://www.example.com/main.html

Member Avatar
Member Avatar
+0 forum 1

Hi,guys.I have 1 question on the rest api redirection problem,hope you guys can help me to solve this problem,thanks. My question is: How to i embed the redirection script into the response api? eg,The user call http://domain.com/api=redirect&keyword= 'bla,bla,bla,bla'. What i want to do is to force the user to redirect to another url automatically when the user call rest api request like above?any idea or suggestion?is that simply include the javascript redirection into the response data will force the user redirect to another url?

Member Avatar
Member Avatar
+0 forum 1

I own the domain name "bitemelater.in" and I have forwarded it to my blog. I have enabled URL Masking from my domain registrar website. The problem is that it shows the same URL for all the pages. I want that it should show the URLs like bitemelater.in/about and so on. How can I do this?

Member Avatar
Member Avatar
+0 forum 1

Site link: [URL="http://www.stmatthias.co.uk"]http://www.stmatthias.co.uk[/URL] Basically, what i find is that whenever i try to refresh any page on my site, it takes you to the index.php There is also an issue that when i go on a page, say the about us page, it still says [url]www.stmatthias.co.uk[/url], instead of [url]www.stmatthias.co.uk/about.php/[/url] Any page entered in other than [url]www.stmatthias.co.uk[/url] brings up the index page, and there is no custom 404 page which say if you type in [url]www.stmatthias.co.uk/nonexistantpage.html[/url] comes up, Thanks for your help, Hope i made myself clear, not sure what i have done for this to happen,

Member Avatar
Member Avatar
+0 forum 9

i have a form, on which after i click submit, i want the existing elements to get cleared off , ie, all those form fields and button to be cleared, and the result i wanna display be displayed kind of like clrscr() in c++. is there anything in JSP or HTML for that? i want to do it on the same page only. that's why i'm asking and so please don't tell to print the new stuff on a new page [CODE] <html> <head> <title>parameter example</title> </head> <body> <form action="pex.jsp" method=POST> <table align=center border =1 > <tr> <td>param1 <td><input type=text …

Member Avatar
Member Avatar
+0 forum 3

I hope this is the right place to post this, since it's more of a wordpress question than anything else. I was wondering if anyone can give me an opinion on the best way to redirect a site to another url when a mobile phone opens the page. Since I'm using wordpress, my first thought was to create a page with a domain [url]http://www.example.com/mobile[/url] and assign a page template to it, and write a small function in the function.php to redirect using $_SERVER['HTTP_USER_AGENT']. I would rather have the domain as something like m.example.com by using sub domains but I don't …

Member Avatar
+0 forum 0

The End.