funkyjunky Posted June 18, 2006 Share Posted June 18, 2006 Hey guys!On my page http://h1.ripway.com/funkyjunkyflash/gallery.htmlI want to be able to let people submit .swf files to me.By basically placing things on my server.I have been folowing this: http://www.tizag.com/phpT/fileupload.phpBut if you try uploading any (small) file the php is mucked up on my site.I think ive got to the "PHP - File Upload: uploader.php" stage of the tutorial.Ive created a PHP file on dreamweaver.What code do i use?Ed Link to comment Share on other sites More sharing options...
justsomeguy Posted June 19, 2006 Share Posted June 19, 2006 It looks like you are trying to access something that you don't have permission to access. Warning: main(): open_basedir restriction in effect. File(\\192.168.1.16\webfiles\files/classes/upload/upload_class.php) is not within the allowed path(s): (.) in \\192.168.1.16\webfiles\files\2006-6\892579\uploader.php on line 8That would be the open_basedir restriction. There seems to be some confusion with the slashes also (\\192.168.1.16\webfiles\files/classes/upload/upload_class.php). Your webserver might only allow you to open files in the same folder as the script that is running.Check line 8 and see what is going on there. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now