you don't need frames to do this with php. just have the form submit to the current page. that'll reload the page and trigger the php. depending on how big a script your talking this can be done very easily with minimal distraction the user.
"Luis Ferro" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > You have a load of options but all depend on either frames, iframes or > url's or anything that has the ability to call a file from the server > like flash, java and the like... You need a technology that allows you > to transpose from the client-side - the browser - to the server side - > the php page. > > 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