Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Posts posted by phppup

  1. @gizmola Thanks.

    And yes.  Again, I haven't started to write the actual code, but that was my thought process (especially since so many of the tags fit such a similar format.

    I guess I've actually come quite a way (thanks to those that have helped me HERE).

    *i wonder if it's time to change my username???!?*

    • Like 1
  2. @cyberRobot Yes, I do consider the description tag as one of the "usual."

    I discovered a meta for security and refresh that I am unfamiliar with and uncertain about.

    As for you saying


    too many people willing to pack those meta tags

    Yes, that was me from way back when.  I suppose I owe an apology to everyone that I effected. (although I never got too crazy and NEVER used irrelevant terms)

  3. @gizmola With all due respect, I don't think google is the ONLY search engine on earth.  (Sorry, not a fan of theirs, but still fond of you.  LOL)

    Are there any less popular meta tags that I should use (beyond the usual list) or recommended settings to be aware of?

  4. I'm not sure whether I'm becoming overindulgent or a real developer, so please advise me.

    I have several webpages for a new website. I am well acquainted with them and their content.

    As I began planning to publish these pages, I realized I could probably utilize an array to include meta data for bots and search engines.

    My thinking was something like:

    for ($I=0; $I<count($meta); $I++){
    if ($page.I){
    echo $meta[I]


    I'm concerned with the effectiveness of doing this.

    Will bots and crawlers see it as legitimate and valid the same as if each page had "hand written" meta data?

    Or will it flag it as illegitimate or miss it, thereby hurting the pages placement in search results?

    Not much more to provide since I'm asking the question BEFORE attempting the code.





  5. I'd try this for starters:

    ////$gname =  $row["fname"];
    $gname = 20; //this will give you an easy way to spot the added value and see that it increases 
    $user_updated_token = ($user_token) + 1;
      $sql_l = "UPDATE users SET token='$user_updated_token' WHERE id=$gname";

    I don't use PDO, some in not sure about 

    if ($conn_l->query($sql_l) === TRUE)
    //would == be more accurate than ===

    And are you repeating this query? You already have it once, don't you?

  6. It seems to me that you may want to restructure your process (especially if your learning) because it's easier to learn to code correctly than to learn bad habits.

    And it's easier to find and resolve issues on smaller projects than large.

    What @mac_gyver is providing you may be advanced information, but it is accurate.

    If a user of your small group tells you that their balance is incorrect, you currently have no recourse but to shrug your shoulders and respond that your code is full-proof (not very reassuring to a disgruntled user).

    Mac's method would offer an additional table for transactions that would allow you to say, " You had this many tokens on DATE and you received X many on these dates from user 1, use 2, etc. You also gave to these people on these dates, and this is my evidence to support the inquiry."

    More advanced, but much more useful.

  7. You should not use the asterisk * to select EVERYTHING unless you NEED everything pulled from each row of the table. Only SELECT what is required for reaching your goal.

    SELECT merely pulls data.

    UPDATE will overwrite columns. WHERE will tell the table which SPECIFIC cells should be effected.

    You can search for helpful tutorials for SELECT, UPDATE and WHERE online.

  8. Legal advice is not provided here, but you can always contact an attorney or do you own research with an emphasis on your LOL locality.

    Beyond my disclaimer, I do not think that gathering the information should cause a problem.  How you use it could be a different issue.

    In other words, collecting email addresses to use to contact your customers/users would be a reasonable business activity.

    Collecting the information to coordinate malicious activity would likely be frowned upon.

    Divulging the personal data on a billboard by a highway would probably be unwise.

    But again, this would be a good reason to have some kind of notification that informs users of what you are doing and your intentions.

    If the do not agree with the terms, then they can decline.

  9. I think requinix was trying to point out, in a sarcastic tone, that any protection is better than none.

    Also, I don't see why it would be illegal to collect email addresses.

    If you are in a region that does not permit this, perhaps a notice or terms of service stating: "This website saves all applicable data during usage" will be beneficial (but I cannot provide legal advice on this).

  • 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.