Click here to Skip to main content
15,914,111 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
GeneralRe: Upload audio and video files and play that files Pin
Malayil alex7-Apr-09 7:23
Malayil alex7-Apr-09 7:23 
GeneralRe: Upload audio and video files and play that files Pin
Marc Firth7-Apr-09 22:01
Marc Firth7-Apr-09 22:01 
QuestionProblems while accessing PHP website hosted on IIS 5.1 over LAN [modified] Pin
Pratik Vasant Shah5-Apr-09 18:40
Pratik Vasant Shah5-Apr-09 18:40 
AnswerRe: Problems while accessing PHP website hosted on IIS 5.1 over LAN Pin
Marc Firth6-Apr-09 5:59
Marc Firth6-Apr-09 5:59 
Questionadd a code to button on click/submit Pin
omlac2-Apr-09 21:09
omlac2-Apr-09 21:09 
AnswerRe: add a code to button on click/submit Pin
Luc Pattyn3-Apr-09 3:17
sitebuilderLuc Pattyn3-Apr-09 3:17 
GeneralRe: add a code to button on click/submit Pin
Right Handed Monkey7-Apr-09 1:59
Right Handed Monkey7-Apr-09 1:59 
AnswerRe: add a code to button on click/submit Pin
Marc Firth6-Apr-09 21:42
Marc Firth6-Apr-09 21:42 
<?php if($_POST['submit']){
echo "form submitted";
} ?>
<div id="mydiv">This is a div contents</div>
<form name="form1" action="" method="post">
<input type="button" name="mybutton" id="mybutton" onclick="document.getElementById('mydiv').innerHTML = 'my Test'" value="fill div" />
<input type="submit" value="submit" name="submit" />
</form>

The above code shows the difference between javascript & php. Javascript works on the page on the client side ("fill div" btn does not refresh the page). When you "submit" the form the contents of it are sent to the server. There the server sees that a form has been submitted and formats the page as required ( here it writes "form submitted to the beginning of the body text before sending it back to the client).


QuestionForm submition Pin
fabrice.leal2-Apr-09 10:51
fabrice.leal2-Apr-09 10:51 
QuestionIronPython Resources Pin
Davy Mitchell2-Apr-09 10:22
Davy Mitchell2-Apr-09 10:22 
AnswerRe: IronPython Resources Pin
Distind12-Oct-09 10:18
Distind12-Oct-09 10:18 
QuestionIronPython 2.6 Alpha1 Pin
Davy Mitchell1-Apr-09 21:01
Davy Mitchell1-Apr-09 21:01 
AnswerRe: IronPython 2.6 Alpha1 Pin
MikeBeard2-Apr-09 5:29
MikeBeard2-Apr-09 5:29 
GeneralRe: IronPython 2.6 Alpha1 Pin
Davy Mitchell2-Apr-09 10:15
Davy Mitchell2-Apr-09 10:15 
QuestionForums in php Pin
Malayil alex30-Mar-09 10:23
Malayil alex30-Mar-09 10:23 
AnswerRe: Forums in php Pin
EliottA30-Mar-09 10:32
EliottA30-Mar-09 10:32 
GeneralRe: Forums in php Pin
Malayil alex30-Mar-09 11:26
Malayil alex30-Mar-09 11:26 
GeneralRe: Forums in php Pin
Malayil alex11-Apr-09 11:15
Malayil alex11-Apr-09 11:15 
GeneralRe: Forums in php Pin
EliottA11-Apr-09 11:48
EliottA11-Apr-09 11:48 
Questionhow to install emac Pin
paul crescent30-Mar-09 2:28
paul crescent30-Mar-09 2:28 
AnswerRe: how to install emac Pin
Jimmanuel30-Mar-09 3:18
Jimmanuel30-Mar-09 3:18 
AnswerRe: how to install emac Pin
I am BATMAN31-Mar-09 7:04
I am BATMAN31-Mar-09 7:04 
Questionrewriterule for URL with Arguments problem [modified] Pin
random428-Mar-09 21:39
random428-Mar-09 21:39 
AnswerRe: rewriterule for URL with Arguments problem Pin
Marc Firth29-Mar-09 23:41
Marc Firth29-Mar-09 23:41 
AnswerRe: rewriterule for URL with Arguments problem Pin
random430-Mar-09 1:37
random430-Mar-09 1:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.