hi, You can transfer the file via ftp; you even don't need root access for this if the system is properly set up. There are plenty of docs and examples in the manual about the ftp extension. There shouldn't be a problem figuring out how it works.
And please, next time, this is the wrong list. Such questions are best ask at [EMAIL PROTECTED] . - Markus On Tue, Apr 23, 2002 at 10:05:31AM -0500, Dave wrote : > Is there a way to create a file to a remote host. > > IE: I have a php script on www.somedomain.com for example - and I want to > fill out a form on this php script and make it create a file called > "index.html" on say www.someotherdomain.com for example. > > I have admin and root access to BOTH domains. > > Is there a way I can popen or fopen a file using ftp username and password? > > The end result - I want to create index pages on the fly by filling out a > form - which will in return create the page for my other web sites. > > So far, I have successfully created the index page. But to get it to the > other site I am manually downloading the index page to my local computer, > and uploading it to its new site - Not the most effective way to do things. > > Any ideas??? > Thanks in advance > Dave > > > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php -- Please always Cc to me when replying to me on the lists. GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc "Mind if I MFH ?" "What QA did you do on it?" "the usual?" "ah... none :)" -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php