- Cell Phones 606
- Editors 254
- Education, Science & Engineering 303
- Games 1637
- Internet 552
- Stock Market 14
- Web Design 89
- Scripts 362
- Miscellaneous 87
- Mobile Software 24
- Multimedia & Graphics 1064
- PC 350
- Programming 347
- Security 1326
- SEO 65
- Utilities 833
Get server time in javascript, php, and ajax #84
Uploaded: 17.03.2021
Content: 0084_server_time.zip 2,22 kB
Product description
The script allows you to get the current server time when you click on the html button.
The result is displayed on the screen and updated with each new click on the button.
The script is executed without reloading the page using javascript, php and ajax technologies.
======= How the script works =======
When you click on the HTML button, the script executes an ajax request to the server where the php file is located.
The php file detects the server time and sends the data back to the page in the browser.
The received data is displayed on the page.
= = = = = = = The script includes files =======
server_time.html -contains html, javascript (ajax) code;
server_time.php -contains php code;
Additional information
========== Warranty and License
http://www.mobile-island.narod.ru/license2.html
Feedback
0Period | |||
1 month | 3 months | 12 months | |
0 | 0 | 0 | |
0 | 0 | 0 |