Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8076415
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T15:15:25+00:00 2026-06-05T15:15:25+00:00

*Hey , I have finished developing my app In my iphone apps I have

  • 0

*Hey ,
I have finished developing my app
In my iphone apps I have a string (created by user)
And a button ,
When button is touched the php is activated with the user given string
How can I prevent from someone to run my PHP file directly a million times with diffrentes string each time ?

Is that possible ? How ?
This is importment because php file activating MySQL query insert command .

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T15:15:26+00:00Added an answer on June 5, 2026 at 3:15 pm

    There are too many ways, but the simplest would be to increment a counter that you store in the session variable for each request and show a reject page when the counter hits a certain number.

    This means, of course, that you’re trusting the client to use the same session id for each request. If you’re willing to do a bit more work, then make the app send in the device UUID with each request (and reject request that don’t include it), and base your counter on the UUID.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hey I have this little javascript bookmark javascript:(function(){ window.open('http://www.mywebsite.com/index.php?currentsite#bookmark'); })() How can I get
Hey I have dynamic image begin created with imagecreate(), and I have random values
Hey I have seen sites that instead of an int show you a string.
Hey, I have an iphone program that has a parser that parses some XML
Hey I have a node <msg> which contains a message such as string1 string
Hey I have been given an essay to write about Processes and threads in
Hey I have created a Groovy script that will extract the version numbers of
Hey I have a problem in Javascript-PHP variable passing heres my php code: <li
Hey i have a textview i need to count the string length of textview
Hey i have been studying the bellman ford algorithm for single source shortest path

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.