bambinou1980 Posted November 12, 2015 Share Posted November 12, 2015 Hello, I am on a shared server and currently developing an app where the admin can upload pdf to a folder. My first problem is that the upload won't happen if this folder is not CHMOD777. But because it is a shared server I am quiet limited with what I can do. My second problem is that I would prefer to have the upload folder below the root level, what can I do for this to happen code wise please? Shall I just treat it as as a normal upload? Thank you, Ben Quote Link to comment Share on other sites More sharing options...
ginerjm Posted November 12, 2015 Share Posted November 12, 2015 (edited) Why not read the php manual for functions that facilitate this? Try move_uploaded_file for syntax and examples. Edited November 12, 2015 by ginerjm Quote Link to comment Share on other sites More sharing options...
bambinou1980 Posted November 12, 2015 Author Share Posted November 12, 2015 Perhaps because I am trying to gain a bit more time by asking someone who already knows the function I am looking for? Thank you. Quote Link to comment Share on other sites More sharing options...
ginerjm Posted November 12, 2015 Share Posted November 12, 2015 We usually help people with their code. Not write their code. Quote Link to comment Share on other sites More sharing options...
bambinou1980 Posted November 12, 2015 Author Share Posted November 12, 2015 This means that every single guy who ask a question about coding(for guidance) because they are not really sure about the best solution to adopt should actually never post in forum because there is a PHP manual out there......How stupid I am...really sorry. I could not have worked this one by myself, thanks again mate, you are the best......... Quote Link to comment Share on other sites More sharing options...
ginerjm Posted November 12, 2015 Share Posted November 12, 2015 When you get a coding method written then ask for help to perfect it or improve it. Til then enjoy the learning process. Quote Link to comment Share on other sites More sharing options...
bambinou1980 Posted November 13, 2015 Author Share Posted November 13, 2015 Anyway, we have found codingforums.com and the guys there have answered everything, so now we can move forward.... Thank you for your time. Quote Link to comment Share on other sites More sharing options...
QuickOldCar Posted November 13, 2015 Share Posted November 13, 2015 A lot of coders post multiple forums, doesn't matter where you got help, it matters if that person was willing Quote Link to comment Share on other sites More sharing options...
bambinou1980 Posted November 13, 2015 Author Share Posted November 13, 2015 (edited) yes, you are exactly pointing to what i just said, " the guys there have answered everything, so now we can move forward.... ". I never said it matters where I am getting help from, I was pointing to the other forum just to say that the problem has been resolved and that we could all move on. Edited November 13, 2015 by bambinou1980 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.