lundi 11 avril 2016

set curect address to

i create simple plugin wordpress , one validationform.php and rflinsertdb.php when user click on submit form , i want got rflinsertdb.php the page validation and insert information to db , but wordpress give me Object not found!

The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error. this 2 php page in one folder that name in public ,i see to many codes in internet but not help, how can i do that ? thx alot i try this codes for action form

<form method="post" action="<?php bloginfo('template_url'); ?>/rflInsertdb.php">
    <p id="errorMessage"></p>

    <p>name: <input type="text" class="register" name="name" id="name"></p>

    <p>family: <input type="text" class="registerForm" id="family" name="family"></p>

    <p>numbers :<input type="number" class="registerForm" id="numbers" name="numbers" min="1" max="200" value="1"></p>

    <p>tell: <input type="text" class="registerForm" id="tell" name="tell"></p>

    <p><input type="submit" value="ثبت" class="registerForm" id="submit" name="submit"></p>

</form>



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire