- 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 PostDoesn't really sound like a very secure captcha check though. If the text is just floating around in a DIV on the page, not as a part of an image or some other form hard to extract the string from, then it's more or less pointless. No bot would be …
All 10 Replies
pritaeas
2,194
¯\_(ツ)_/¯
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.