i see what you are saying, but that didn't work. here's how the page works...
you signup and it makes a mysql entry with 'siteName' being one of the fields. for example, if i sign up as 'Bob' and choose 'BobsSite' as my url, the actual url will be:
http://telviorhostingbeta.freehostia.co ... _BobsSite/
So... the way the dir is created is in the /loggedin/editor dir with a '_' before the url. the editor is in /loggedin/editor/tEdit/e5/advanced/
the editor dir (which contains the opendir problem) is in a deeper directory than the files being viewed. Try looking at the error now:
http://telviorhostingbeta.freehostia.co ... u=testuser
-----------------------------------------------------------
a deeper look at how the url is made:
-user signs up with the url 'GregsBlog'
-the form they used to submit that information is sent on to the $_POST of the PHP document that processes that:
(adduser.php)
<?php
$theurl1 = $_POST['chosen_url']; // 'GregsBlog'
$theurl = "_" . $theurl1; // '_GregsBlog'
$user = $_POST['submitted_username'];
(MYSQL CONNECT STUFF)
(MYSQL UPDATE (Updates the blank 'siteName' field for the user to $theurl))
header("Location: editor.php?user=$user");
?>
On the Editor page, it gets the MySQL value for 'siteName' from the user's entry (_GregsBlog). Then the problem:
the opendir command opens the folder 'http://telviorhostingbeta.freehostia.com/loggedin/editor/$theurl/'
^ $Theurl being the 'siteName' value for the user from the database.
if that doesn't help, make yourself an account called 'Tester' for example and see for yourself how it works. I'll delete it later. If that doesn't help, i can give you the username/password for my freehostia account and you can see the code from signup all the way through the editor and then i'll change the password. Thanks.