close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

WA Form Validation in PHP with forms in according and problems with link and validation - Please help

Thread began 12/29/2013 12:15 am by Venkatesh | Last modified 1/01/2014 12:42 pm by Venkatesh | 1923 views | 5 replies

Venkatesh

Hi Jason,
I tried using the Framework Builder. I am still running into problems.
My main page includes the header and footer that are called in via a PHP include on the main index page as:
<?php
error_reporting(E_ALL & ~E_NOTICE);
require_once('header.php');
require_once(basename(($_GET['page']!='' ? $_GET['page'] : 'home') . '.php'));
require_once('footer.php');
?>

I have attached my Menu file to this post.

I even changed the form post action to "<?php echo htmlentities($_SERVER["PHP_SELF"]); ?><?php echo (isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] != "")?"?".htmlentities($_SERVER["QUERY_STRING"]):""; ?>" as suggested elsewhere.

The server side validation works since it happens before form posting.

However once I submit the form with intentional errors in captch/security code, it doesn't submit but goes to http://localhost/index.php?page=practitioners

Where am I going wrong?

Please help.

Is it to do with the way my PHP Links are structured. I have made no progress in a week and I would really appreciate your help. Could you please look at my relevant zipped website files and see what is causing the error?

I used a static plugin and don't know if a dynamic plugin would have made a difference. I could not figure out how to use the dynamic plugin in terms of what variables to call.

When I point over the register button it shows http://localhost/index.php?page=practitioners (is this why it is not processing the form)

Please let me know since I don't know PHP coding but if given the right instructions I Can read up about it and set things right.

Attached Files
website.rar

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...