Jump to content

phpmillion

Members
  • Content count

    84
  • Joined

  • Last visited

  • Days Won

    2

phpmillion last won the day on January 24

phpmillion had the most liked content!

Community Reputation

8 Neutral

About phpmillion

  • Rank
    Regular Member

Contact Methods

  • Website URL
    https://www.phpmillion.com

Profile Information

  • Gender
    Not Telling
  • Location
    Lithuania
  1. phpmillion

    truncate text

    What is nothing here? You don't see any output? You see incorrect output? You get any error? Page is empty and has nothing on it?
  2. phpmillion

    Execute another page from within function?

    Just make a curl request to it.
  3. phpmillion

    md5 sum help

    Well, that's because your $string variable is this text - "/home/PhoneFirmware/100/md5.txt" If you want to get content of file (not the location of file), use file_get_contents function. Your first line of code should be: $string=file_get_contents("/home/PhoneFirmware/100/md5.txt");
  4. phpmillion

    String comparisons using xpath

    Which version of xpath do you use? Such a comparison ( >a ) was only added in v2.0. I guess it also applies to your 2nd attempt ( @lastUpdate > '2018-03-07' ) because it's actually a string comparison too.
  5. phpmillion

    Document upload security?

    I don't think PHP has more other options to check file security. However, you can always send file (before it's stored on your server) to Vrus Total using their API - https://developers.virustotal.com/v2.0/reference If your server has something like ClamAV installed, it also helps. ClamAV has a PHP extension too, but I think it only works with PHP 5.x
  6. phpmillion

    Document upload security?

    You may also want to do the same checks (extension, mime type) before outputting content of files stored on server. It will add a bit extra of security in case files that were validated previously (and stored on your server now) were somehow modified/replaced by 3rd parties later.
  7. phpmillion

    using escape sequence

    You are doing it almost right, and the only issue is the mixed order of arguments in your code. I'm sure you will solve it in 5 seconds after taking a quick look at the documentation.
  8. phpmillion

    PHP and .htaccess Help

    They use mod_rewrite. I see requinix explained it with more details and posted his explanation a second before my post, so you should really be able to get it done now.
  9. phpmillion

    custom imdb plugin

    In this case, your only choice is to hire a coder, I think. Or learn to code yourself, but it will take some time...
  10. phpmillion

    PayPal friends and family link

    This forum is surely for getting help and helping others, but I believe it should be a common sense to ask a question clearly at least. In this case, the question was very general, which can be solved by searching PayPal forums or PayPal knowledgebase, and it was not related to coding itself. I hope you were able to find a link to PayPal forums where this question is answered for you. Hint - the topic in PayPal forums is marked as "solved".
  11. phpmillion

    PayPal friends and family link

    Took me 5 seconds to enter your question into search engine, 1 more second to click a link (which leads to PayPal forums) and several more seconds to find the answer.
  12. phpmillion

    n00b help - pulling two sql tables

    Most likely you are looking for MySQL JOIN functionality. https://www.w3schools.com/sql/sql_join.asp
  13. phpmillion

    PHP on WordPress problem.

    He did not buy it, he downloaded it from website with nulled scripts (this specific code is a part of nulled theme with extra "bonus" added) and now is asking for someone to fix it for him. To the OP - if you really bought the template, its author can solve any issues you have. But you did not buy; therefore, it's nice to see you have malware problems now.
  14. phpmillion

    vetify login and then load second page?

    I personally include file like "check_user_login.php" in all sections that need to be protected. The file that checks login looks the following: custom code to verify if user is logged in with valid password if ($user_is_logged_in!==true) { //redirect to login page header ("login.php"); exit(); }
  15. phpmillion

    custom imdb plugin

    What exactly should the plugin do?
×

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.