- how to set random string that refresh after every 5 min itself without reloading the webpage in php ?
Shikha_1 -4 Light Poster
Recommended Answers
Jump to PostWhat do you mean by a random string?
What about the refresh? Are you talking about an AJAX call?
Jump to PostI am assuming you are requiring a captcha of some sort.
As pritaeas stated, look into AJAX.
You can refresh a css DIV using AJAX without refreshing the entire page.
Generate the string with PHP and embed the string/function into the css DIV.
Make an AJAX call whenever you want …
Jump to PostTHis certainly sounds like a captcha. But it doesn't make much sense to me. A user has to wait 5 minutes for a new string? Or can they just refresh the page? Or open multiple tabs or windows?
All 10 Replies
pritaeas 2,211 ¯\_(ツ)_/¯ Moderator Featured Poster
Shikha_1 -4 Light Poster
Banderson 29 Junior Poster in Training
Atli 182 Posting Pro

diafol
Shikha_1 -4 Light Poster
Atli 182 Posting Pro
Shikha_1 -4 Light Poster
Atli 182 Posting Pro

diafol
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.