Code snippets of PHP and
Javascript
- Anil Kumar Panigrahi
Snippet 1 : Generate the random numbers with
limits and those numbers shouldn’t be repeat
using PHP
Snippet 2: Get the file extension using PHP
Snippet 3: How to clean a string using php
code
Snippet 4: Addslashes function in Javascript
Snippet 5: Generating Random Password
using PHP code
Snippet 6: How to calculate the list of dates
between two dates
Snippet 7: URL or String encode using
Javascript
Snippet 8: How to include external js,css
files with javascript
Snippet 9: To count the characters in a
textarea
Snippet 10: Inserted value is Number or not
validation using Javascript
Thank You ...
- Anil Kumar Panigrahi
http://www.anil2u.info/2013/10/code-snippets-php-javascript/
Upcoming SlideShare
Loading in …5
×

Code snippets of PHP and Javascript by Anil Kumar Panigrahi

410 views
351 views

Published on

Code snippets of PHP and Javascript by Anil Kumar Panigrahi

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
410
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
2
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Code snippets of PHP and Javascript by Anil Kumar Panigrahi

  1. 1. Code snippets of PHP and Javascript - Anil Kumar Panigrahi
  2. 2. Snippet 1 : Generate the random numbers with limits and those numbers shouldn’t be repeat using PHP
  3. 3. Snippet 2: Get the file extension using PHP
  4. 4. Snippet 3: How to clean a string using php code
  5. 5. Snippet 4: Addslashes function in Javascript
  6. 6. Snippet 5: Generating Random Password using PHP code
  7. 7. Snippet 6: How to calculate the list of dates between two dates
  8. 8. Snippet 7: URL or String encode using Javascript
  9. 9. Snippet 8: How to include external js,css files with javascript
  10. 10. Snippet 9: To count the characters in a textarea
  11. 11. Snippet 10: Inserted value is Number or not validation using Javascript
  12. 12. Thank You ... - Anil Kumar Panigrahi http://www.anil2u.info/2013/10/code-snippets-php-javascript/

×