I have the form all set up, but when I submit the form, I get set to my home page. Here is the link to the problem page: http://www.tynxis.com/newsite/index.php/domain-registrationHi all, I have a complex "whois" script that I would like to include inside a CMS page. The script is a form that posts the form results to itself, via an included (INC) file in the PHP script.
I tried putting the standard PHP include statement in a user-defined tag to call whois.php. That displayed the form OK, but when I submit I just get the form again, not the results.
To test what was happening, I created a tag "echo "IP ADDRESS: " . $_SERVER['REMOTE_ADDR'];". What gets returned is the IP address of the shared web server, not the IP address of my domain. I think this is the problem, but I am not sure.
Can anyone tell me if they have had success including a self-posting form in a page? Can it be done with a tag or does it need to be done with a module? If a module, then I'm a bit lost because I've not built one of those yet.
User Defined Tag for self posting PHP form
User Defined Tag for self posting PHP form
I found this post from about a year ago, and I am having the exact same problem. However, the post was never replied to. Can anyone help?
Websites at NINJA Speed!
-
- New Member
- Posts: 5
- Joined: Tue Mar 20, 2007 2:24 pm
Re: User Defined Tag for self posting PHP form
I'm having pretty much the same problem as well. The form will post back to itself and display the results table but with no results, so its not actually performing the lookup.
Does anyone have any ideas please??
Thanks
Matt
Does anyone have any ideas please??
Thanks
Matt