To answer the question in the subject line: use the HTML construction FORM.

To answer the question in your mail body (below):

First do you want the user to be able to transmit this file
from the client side to the server, or do you just want to
create a new file on the server?


In order to create the button. This is explain with
the HTML constrution FORM how to do this.

Have a look at this link:

http://www.w3.org/TR/1998/REC-html40-19980424/interact/forms.html

It will explain everything you need to know about FORM's.

in the FORM tag you must have the tag ACTION, wich will refer
to your php files that will (on the server side) handle the
task you need to performe.


-----Original Message-----
From: itai
To: [EMAIL PROTECTED]
Sent: 11-6-03 18:54
Subject: [PHP-WIN] how do i send a request by pressing a button

hi
i want to place a button on my home page which will create
a file on the server when pressed, how can i do it?
the button should call a php file or something but no new windows should
open and no refresh shuld be done on the site.
thanks

--
+Email: [EMAIL PROTECTED]



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to