Beck1
09-02-2004, 10:05 AM
I am having a problem setting these two variables on a guest book script:
$guestbookreal = "/home/yourname/public_html/guestbook.html";
$guestlog = "/home/yourname/public_html/guestlog.html";
The script all works fine when I try it on a domain that is hosted on it's own, but the domain I want to add the script to is parked on the same webspace as another domain, and none of the variations I have tried seem to work - an internal 500 error keeps appearing when I try to submit the form on the addguest page.
The public_html folder sits under the domain folder (which is named as the URL).
I've tried:
$guestbookreal = "/home/yourname/wwwfoldername/public_html/guestbook.html";
$guestlog = "/home/yourname/wwwfoldername/public_html/guestlog.html";
$guestbookreal = "/home/wwwfoldername/yourname/public_html/guestbook.html";
$guestlog = "/home/wwwfoldername/yourname/public_html/guestlog.html";
$guestbookreal = "/wwwfoldername/home/yourname/public_html/guestbook.html";
$guestlog = "/wwwfoldername/home/yourname/public_html/guestlog.html";
and
$guestbookreal = "/wwwfoldername/yourname/public_html/guestbook.html";
$guestlog = "/wwwfoldername/yourname/public_html/guestlog.html";
Can anyone help? I'd be really grateful.
Thanks,
Beck
$guestbookreal = "/home/yourname/public_html/guestbook.html";
$guestlog = "/home/yourname/public_html/guestlog.html";
The script all works fine when I try it on a domain that is hosted on it's own, but the domain I want to add the script to is parked on the same webspace as another domain, and none of the variations I have tried seem to work - an internal 500 error keeps appearing when I try to submit the form on the addguest page.
The public_html folder sits under the domain folder (which is named as the URL).
I've tried:
$guestbookreal = "/home/yourname/wwwfoldername/public_html/guestbook.html";
$guestlog = "/home/yourname/wwwfoldername/public_html/guestlog.html";
$guestbookreal = "/home/wwwfoldername/yourname/public_html/guestbook.html";
$guestlog = "/home/wwwfoldername/yourname/public_html/guestlog.html";
$guestbookreal = "/wwwfoldername/home/yourname/public_html/guestbook.html";
$guestlog = "/wwwfoldername/home/yourname/public_html/guestlog.html";
and
$guestbookreal = "/wwwfoldername/yourname/public_html/guestbook.html";
$guestlog = "/wwwfoldername/yourname/public_html/guestlog.html";
Can anyone help? I'd be really grateful.
Thanks,
Beck