With frames, you can point a form submit button to a page that opens the php file that creates the file on the server and then presents the success and or insuccess of it.
With iframes, you can use javascript to change the source document of the iframe to the same php file. The same goes to replace the source of an image (which can be changed to the same page, if the page in the end sends correctly an image).
With java and flash you can do the same... In flash for instance, you can either process it directly by making the button a flash file, or using javascript to order flash to do get the php page (and thrus creating your file)...
There are much more options ;)
Cheers, Luis Ferro
itai wrote:
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