Is it possible?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
revbackup
Forum Commoner
Posts: 29
Joined: Tue Jun 09, 2009 1:52 am

Is it possible?

Post by revbackup »

Is it possible to upload an html file online through a PHP function????
What i mean is, I have a function here that generates an html page....
and its working perfectly!
But my problem is, how can i possibly upload the file online?
perhaps to an ftp page or something....

the reason why i want to upload the file online is so that I will just
get the URL of the page and use that URL somewhere else....
User avatar
mikemike
Forum Contributor
Posts: 355
Joined: Sun May 24, 2009 5:37 pm
Location: Chester, UK

Re: Is it possible?

Post by mikemike »

Have a read of some PHP file upload tutorials.

Here's the first one Google gave me:
http://www.tizag.com/phpT/fileupload.php
Post Reply