Jump to content
xisto Community

Search the Community

Showing results for tags 'generate'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Help & Support
    • Alerts, News & Announcements
    • Web Hosting Support
    • Introductions
  • Computers & Tech
    • Science and Technology
    • Software
    • The Internet
    • Search Engines
    • Graphics, Design & Animation
    • Computer Gaming
    • Websites and Web Designing
    • Mobile Phones
    • Operating Systems
    • Programming
    • Online Advertising
    • Hardware Workshop
    • Computer Networks
    • Security issues & Exploits
  • Others
    • General Discussion
    • Business Forum
    • Photography
    • Health & Fitness
    • Dating And Relationships
    • The Vent
    • Art & Creativity
    • Home & Garden

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Location


Interests

Found 2 results

  1. Hi, I set up VSP stats and everything works great except for skills.They are all showing zero.When I parse a log file I get hundreds of errors that in vsp.php file on line 542 there is a "division by zero".The log continues to parse and finishes successfully but skills aren't being generated.The full content of line 542 is: $prob_killer_wins = 1 / (1 + exp(($victim_skill - $killer_skill) * ($event_factor > 0 ? 1 : -1) / $variance)); Does anyone know which part causes the issue and how to fix this ? Thanks !
  2. I am trying to create a randomly generated phrase that can easily be shared amongst social media websites, specifically twitter. I am using the following PHP code to generate a random phrase. This code looks in 'responses.txt' for a line with a phrase and I can call that line. <!-- HEADER --><?php$randomThings = file('**responses.txt**', FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);?><!-- CALL SCRIPT --><?phpecho $randomThings[mt_rand(0,count($randomThings)-1)];?> How would I be able to have, for example, retweet button next to this generated line that retweets the phrase with a predetermined #hatchtag (via #[websitename]). I'm more interested in the twitter aspect, but other social media websites could help other people. I'm not too familiar with how Twitter API works, so I was wondering if anyone knew how I could call it in PHP.
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | 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.