Ive been struggling for a while with this
Mainly on my upload script did i discover this issue as nothing was uploading.
Now I know because it was trying to upload to a none existent folder
So heres my script
[php]<?php
include_once (“header.inc.php”);
?>
Homepage[/php]
heres the page
http://www.staff.spardel.com/testpage.php (Note this is a subdomain)
Heres where it then send you to
http://www.staff.spardel.com/home/users/web/b2027/moo.lutarinet/Spardel/staff
Why does it do this?
I am still learning PHP so can you please explain to me why it is doing it and how I go about fixing it?
Thanks
Edit:
My upload script, is coded to upload files to spardel.com/images/
and was trying to upload to staff.spardel.com/images/
[php] $dest = $_SERVER[‘DOCUMENT_ROOT’].’/images/’.$filedunder.’/’.$insert_id.‘img.png’;[/php]