-
February 1st, 2007, 10:53 AM
#1
Looking for free form submit php script?
Looking for free form submit php script?
Suggest me free form submit php script i want to use in my sites.
Tapan Sant
Director of ITMatchOnline-Outsourcing Portal.
Last edited by tapansant; February 1st, 2007 at 10:55 AM.
-
February 1st, 2007, 11:28 AM
#2
Re: Looking for free form submit php script?
Sorry but could you please elaborate? It's not very clear what you need to be able to do with PHP.
Edited: Forms are submitted using HTML submit buttons or javascript to do the same thing. These things are client-side (meaning the user side) but PHP is server-side so it cannot submit a form, only receive data sent from one.
Last edited by Nibinaear; February 9th, 2007 at 04:33 AM.
-
February 4th, 2007, 09:36 PM
#3
Re: Looking for free form submit php script?
Think he's asking for a premade php form for submitting data. Don't think there are any premade 1's out there. And i don't think anyone here will code the form for you.
-
February 9th, 2007, 09:46 AM
#4
Re: Looking for free form submit php script?
Don't mix the concepts:
The form is HTML, Javascript submits the form and PHP manipulates the content of the form on the server. There's no PHP form, unless it's generated by it.
Just do it yourself, it's fun. Depending on the level of the complexity, it is almost always the same. It begins with:
Code:
<SCRIPT Language="JavaScript">
function TellJavaScripttoCallServerSideScript()
{
...
document.form.submit();
}
</SCRIPT>
<form name="form" action="GiveMeSomeHTMLResult.php" method="post" target="_self">
...
<INPUT TYPE="BUTTON" ONCLICK="TellJavaScripttoCallServerSideScript();"
</form>
-
February 11th, 2007, 01:43 PM
#5
Re: Looking for free form submit php script?
Originally Posted by davidc2p
Don't mix the concepts:
The form is HTML, Javascript submits the form and PHP manipulates the content of the form on the server. There's no PHP form, unless it's generated by it.
Just do it yourself, it's fun. Depending on the level of the complexity, it is almost always the same. It begins with:
Code:
<SCRIPT Language="JavaScript">
function TellJavaScripttoCallServerSideScript()
{
...
document.form.submit();
}
</SCRIPT>
<form name="form" action="GiveMeSomeHTMLResult.php" method="post" target="_self">
...
<INPUT TYPE="BUTTON" ONCLICK="TellJavaScripttoCallServerSideScript();"
</form>
Why submit it with Javascript when you can do it with HTML?
tapansant: do it yourself and when you hit a problem post here.
-
February 12th, 2007, 04:25 AM
#6
Re: Looking for free form submit php script?
Originally Posted by visualAd
Why submit it with Javascript when you can do it with HTML?
Sometimes you need to submit using Javascript. For example, you might need to do some javascript validation and if there are no problems then submit the form.
-
February 12th, 2007, 05:58 AM
#7
Re: Looking for free form submit php script?
Originally Posted by Nibinaear
Sometimes you need to submit using Javascript. For example, you might need to do some javascript validation and if there are no problems then submit the form.
You should use the submit event of the form to do that, not a button. If Javascript is disabled on the client there is no way the user can submit the form and validation should always be done on the server as well as the client.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|