
SourceCode Examples
@SCExamples
http://SourceCodeExamples.com
قد يعجبك
Detect Mobile browsers: class Mobile_Detect { protected $accept; protected $userAgent; protected $isMobile = fal... tinyurl.com/bpz87cw
Get current domain name: //Returns current domain and extension without www function curdomain() { $pageUR1 = pr... tinyurl.com/7rtbl5z
Get current page URL: function curPageURL() { $pageURL = 'http'; if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s"... tinyurl.com/77a9qz9
Age from DATE: This little function returns the age for this DATE (MySQL format) //Input format: YYYY-MM-DD func... tinyurl.com/855tyw6
Validate JSON format: //Check if a string is json format function is_json($json) { if ( preg_match('/^\{[^>]+\}$... tinyurl.com/6uxpcol
Get visitor IP address: //Return ip address of the visitor function ipadress() { return $_SERVER["REMOTE_ADDR"]; } tinyurl.com/6n5dpht
PHP Transform string to UTF-8 encoding: Here are some nice pieces of code that allow you to make all your data (... tinyurl.com/7se669m
Validate creditcard number: This piece of code will check if a creditcard number could possibly be valid, determined… tinyurl.com/3jw4cpw
Validate dutch bank account: This is a piece of code used to validate bank account numbers in the Netherlands,… tinyurl.com/3sz2d9m
Basic HTML5 site structure: This is a basic structure you can use for HTML5 pages. Please note, HTML5 is… tinyurl.com/3kstzvz
Simple file upload script: Here’s a simple script to upload a file to your webserver. You could combine this… tinyurl.com/3vxgokl
Align a website in the center: This CSS code will align your website in the center of the page, horizontal... tinyurl.com/3f2suw5
Date and time format like Facebook: This short PHP script will return a Facebook-like date and time format... tinyurl.com/4xvww97
Execute a PHP file in the background: This Ajax script will execute a PHP file on the background. It could... tinyurl.com/3lvt55l
Sleep (wait for X seconds): The following script will pause your javascript for x seconds (miliseconds act... tinyurl.com/3mr5sak
Mysql database connection: This is a simple example of how you could create a database connection from PHP… tinyurl.com/3jmjkhv
Timed redirect (redirect after x seconds): This piece of code will forward the user to a certain page afte... tinyurl.com/3cr8xb6
United States الاتجاهات
- 1. Happy Birthday Charlie 35.1K posts
- 2. Good Tuesday 27K posts
- 3. #tuesdayvibe 2,774 posts
- 4. #Worlds2025 38.7K posts
- 5. #PutThatInYourPipe N/A
- 6. #T1WIN 17K posts
- 7. Janet Mills 1,247 posts
- 8. Pentagon 71.2K posts
- 9. Dissidia 5,375 posts
- 10. #Wordle1578 N/A
- 11. Romans 10.8K posts
- 12. Martin Sheen 6,052 posts
- 13. Blinken 24.8K posts
- 14. Medal of Freedom 47.8K posts
- 15. No American 64K posts
- 16. JPMorgan 12K posts
- 17. Time Magazine 15.7K posts
- 18. Alec Baldwin 7,382 posts
- 19. Jake Moody 14.9K posts
- 20. Trump's Gaza 137K posts
Something went wrong.
Something went wrong.