Jump to content

gw1500se

Members
  • Content Count

    242
  • Joined

  • Last visited

  • Days Won

    4

gw1500se last won the day on August 7

gw1500se had the most liked content!

Community Reputation

16 Neutral

About gw1500se

  • Rank
    Advanced Member

Profile Information

  • Location
    Georgia, USA

Contact Methods

  • Skype
    gw1500se

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Not for DNS assigned IPs. Static IPs are only a maybe. There is no way to capture that reliably without user interaction.
  2. IP address locations are based on the ISP location not the assigned user location.
  3. Uploading files is really not much of a security risk as long as you do a little due diligence. Since uploading files will never set the execute bit it cannot be executed unless the PHP programmer does something dumb with the file. This should help.
  4. If you don't know your own schema then it is impossible to get anything to work.
  5. You need to start with your schema. You seem to have mentioned what it is so show it.
  6. No you're stuck at the basics. You have to upload the files either way so breaking it up in chunks changes nothing other than making it more complicated. The chunks would need to be reassembled into files so it would still be uploading the same volume of data. What does the client side code look like that breaks it into chunks? From a PHP perspective, here is no timeout issue for uploading files unless the client stops. In that case the client can simply resume where it left off when it reconnects but that is mostly a client side issue. There may need to be some PHP code added to handle a resume but without more information it would be hard to say what (probably a session list if the successful uploads).
  7. This should get you started.
  8. Perhaps it is just an exercise in string handling that has no useful purpose. It would not be the first time for such an assignment.
  9. Since pathinfo() breaks is all down for you, just put it back together replacing the type. You can use implode or just concatenate the pieces (.).
  10. Please explain why you want to change the file type? That makes no sense to me.
  11. You can't just change the file type and expect it to work. A better method is to only allow 'png' file type. Use pathinfo() to check the file type and issue an error if it is not 'png'.
  12. gw1500se

    Webmaster

    I suggest you start by restructuring your code. Use a try/catch for the exception and a separate 'if' block to test '$this->mode'.
  13. gw1500se

    Webmaster

    First please edit your post and use the code icon (<>) for your code and select PHP as the type. It will make your code infinitely more readable. Second, tell use which line is 344.
  14. It will be more than just a script. You will need to set up a database as well to store the user login information. Try reading this to start.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.