Automatic site hosting?

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
Grundlegod
-


Joined: 01 Dec 2003
Posts: 13

PostPosted: Sat Mar 06, 2004 8:06 pm    Post subject: Automatic site hosting? Reply with quote

Is there some cms or control panel that I can set up on abyss to host sites and stuff for free without havinbg to manualy create the directories? thanks for the help in advanced :)
_________________
Back to top View user's profile Send private message
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Sat Mar 06, 2004 9:43 pm    Post subject: Reply with quote

Well I'm sure there is a script floating around on hotscripts.com or similar sites that can create directories when users fill out a form. I'm not too adept with PHP to make a script myself... sorry.
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
eznetlinks
-


Joined: 27 Sep 2003
Posts: 144

PostPosted: Thu Mar 11, 2004 5:22 am    Post subject: Reply with quote

Here is a php script that will create a directory and an index file.
Must be in root directory to work.

addir.php

<?
$cont = "Welcome to your new homepage replace this with your new index.html";
$domain = $_ENV["SERVER_NAME"];
$filename = $_POST["Newdirectory"];
if ($filename != "")
{
if (is_dir($filename)) {
echo "The directory $filename already exists, Please choose another name.";
}
else
{
mkdir($filename);
fopen("$filename/index.html", 'w+');
$newindex = fopen("$filename/index.html","a");
fwrite($newindex, $cont);
fclose($newindex);
header("Location: http://$domain/$filename/index.html");
}
}
else
{
echo "<form method=\"post\" action=\"$PHP_SELF\">";
echo "New Directory<br>";
echo "<input name=\"Newdirectory\" size=\"30\" maxlength=\"50\"><br>\n";
echo "<input type=\"submit\" value=\"Create My New Site\">\n";
echo "</form>";
}
?>

modify as you please

:D
Back to top View user's profile Send private message Visit poster's website
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Thu Mar 11, 2004 6:36 am    Post subject: Reply with quote

You seem to know your PHP. First the multiple site script, now this; when will the madness ever end?! Hehe...
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
eznetlinks
-


Joined: 27 Sep 2003
Posts: 144

PostPosted: Thu Mar 11, 2004 1:32 pm    Post subject: Reply with quote

aww shucks!

I like to help when i can.

:D
Back to top View user's profile Send private message Visit poster's website
Hunted
-


Joined: 24 Nov 2003
Posts: 71

PostPosted: Sat Mar 13, 2004 11:09 am    Post subject: Reply with quote

Hmm, would there be a script that would create a FTP and a mySQL/phpMyAdmin account?
Back to top View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
eznetlinks
-


Joined: 27 Sep 2003
Posts: 144

PostPosted: Sat Mar 13, 2004 1:31 pm    Post subject: Reply with quote

I agree the script isn't of much use without a ftp setup. I may be able to help with that. However what i know about sql you could write on a head of a pin with a broad tip marker. Realisticly i can't be of any help in a reasonable amount of time with the sql portion. I will post again when i get the ftp issue resolved. It may be some time though. I would like to wait for the new release of AWS to see if they give us a command line 'RESTART' so sub directorys can be created.
Back to top View user's profile Send private message Visit poster's website
GameFalcon
-


Joined: 14 Mar 2004
Posts: 4

PostPosted: Sun Mar 14, 2004 8:58 pm    Post subject: Reply with quote

Yaknow, one thing I just have to question about you, is you spent WAY to many hours in front of technical books when you were like 3 years old, right? ROFL

Heheh, sometimes I wish I was a smart as you, but then I'm also glad I'm not 'cuz then it makes for wonderous things being able to plead ignorance and actually be tellin' the truth. LOL
Back to top View user's profile Send private message
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Mon Mar 15, 2004 3:36 am    Post subject: Reply with quote

Ignorance is bliss. And tech books KICK ASS! Hehe...
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group