473,569 Members | 3,009 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

What do I need to do to redirect my page?

1 New Member
I changed the real domains to domain since this is a public forum. This site is on another server now. Changing the URL after action does not work and I'm pulling my hair out. Thanks for your help in advance.

Expand|Select|Wrap|Line Numbers
  1. <form name="form" method="POST" action="http://example.org/fx/cfx.php" onsubmit='document.form.mstrPage.value = document.location.href;'>
  2.               <input type="hidden" name="redirect" value="http://example.org/autoreply/index.html">
  3.               <input type="hidden" name="mstrPage" />
  4.               <input type="hidden" name="subject" value="Contact form." />
  5.               <input type="hidden" name="require" value="Name,EMail_Address,comments,phone" />
  6.               <input type="hidden" name="security_check" value="<?php echo $enc_code?>" />
Jan 19 '11 #1
1 1671
Bharat383
93 New Member
nothing worry dear........
just make your path relative not an absolute path...
please remind this :: never use absolute path in page

in your code you had used two time absolute path just change it to this relative path......

your code action="http://example.org/fx/cfx.php"
change like this
action = "cfx.php"

Your code value="http://example.org/autoreply/index.html"
change like this
value = "index.html "


Bharat Parmar(Bharat38 3)
Apr 21 '12 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
2670
by: Sean Pinto | last post by:
My hosting company has an automatic redirect page called /missing/missing.php and I want to log all of the page not founds that result in a redirection to missing.php. I can't seem to find out how to get the string that the web user typed to get there. I have checked $_SERVER but it has /missing/missing.php and $_SERVER is empty. Does...
3
6530
by: Sean Berry | last post by:
Hi there. I am relativly new to Python CGI and need a question answered. I have made custom 404 error pages and have them in various web directories. I have not been able to figure out a way to have apache use a file not within it's own home directory, so I was going to have a .py file in cgi-bin forward the user on to the correct error...
1
1492
by: Umesha | last post by:
Hello pals, I have one problem, how to redirect the user from intro page to the main page, once user visits the site. If user visitng first time the intro page has to be shown, then further navigation he clikcs the home, he should not go the intro page he has to reidrect to main page. The cookie has to be writen in the intro page or main...
4
8748
by: shapper | last post by:
Hello, I am using the following code line in my VB code to redirect to another page inside my web site: Response.Redirect("Message.aspx") I am getting the error: The page isn't redirecting properly Firefox has detected that the server is redirecting the request for
7
1310
by: Abubakar | last post by:
Hi, I'm viewing this stack overflow help page ( http://support.microsoft.com/kb/315937 ) at the ms support site. I cant say I understand the concept of a "page" the way its used in this example/explanation. I mean I only am aware of the *simple*, *general*, paging concept, the one that is discussed often when explaning how an operating...
3
3163
by: Jason | last post by:
Matt suggests: <BODY onload="window.scrollTo(x,y)"> However I am linking to Google Images so I can't modify their page code. Is there a way to link from frame a to frame b so that the javascript in frame a decides and controls at what position the page will load?
1
1105
by: thirunavukarasukm | last post by:
i created one web form the form contain two label box and text box in the form one button is placed i click the button the page redirect to next page window.location.href="fdfgd.com";
9
2572
by: JCCDEVEL | last post by:
Hi All, I'm trying to do the following: 1) ON a php page, calculate fees based upon user entires. I'm calculating it in a javascript function and that is working well. However, I need to take that calculated amount and pass it to a new page on redirect. something like this: <input type="hidden" name="redirect"...
4
1789
by: sva0008 | last post by:
Hi, How do i redirect page in the javascript function? I am using Response.redirect ("LoadDetail_DS.asp"); but it gives me error : 'Response' is undefined. Thanks
4
10762
by: furqi | last post by:
I am currently a beginner in asp.net i am currently watching msdn videos of "beginners developers learning" i am on the topic of application state so i got confused on a topic of "cross page postback" can anybody explain what that is and another thing is "profile" object we use it in web.config file 1. what is cross page post back? 2. what is...
0
7703
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7619
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7930
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
6290
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5514
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3662
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1229
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
950
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.