![]() |
|
#1
|
||||
|
||||
CHMOD Question :)hi,
i have this very simple upload script, that i'm trying to modify. basically, something is wrong w/ my direcotory structure, because i keep getting a CHMOD error, but when i upload a file, it flashes an error on the page, and then redirects somewhere else. how can i see that error? you can see it here: http://www.xrumxrum.com/test/upload/upload.php if you try it, upload a .txt file, and see what happens. any help would be greatly appreciated! Thanks! __________________
Xrum! |
|
#3
|
||||
|
||||
Re: CHMOD Question :)I tried uploading a file just now.
I got this error: change permission to 777 failed!!. If you want to suppress that error (warning) message, you could simply disable it for the function by prepending an asterisk '@'. E.g.: if( @move_uploaded_file() ).... Within a PHP script, you could redirect by using the header() function. For example: PHP Code:
What you have now is this: HTML Code:
__________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
Recent GIDBlog
Toyota - 2008 July Promotion by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Multiple modules compilation: begginer's question | bithead | C Programming Language | 7 | 25-May-2005 21:36 |
| non-member function question | crq | C++ Forum | 1 | 03-Feb-2005 21:59 |
| Simple question on arrays--please help! | brookeville | C++ Forum | 16 | 17-Nov-2004 23:23 |
| Repetition structure problem and question | brookeville | C++ Forum | 17 | 29-Oct-2004 17:48 |
| question of practice | magiccreative | C++ Forum | 1 | 06-Feb-2004 07:17 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The