Profile

Achievement

first submission:submitting first snipplet

apphp-snippets's Recent SnippetsTagged file



« Prev 1 Next »
This example shows you how to restrict to a specific file or multiple files. Add the following code block and edit the file name/s according to yuor needs.
0 934 posted 6 years ago by apphp-snippets
This example shows you how to remove file extension from URLs using .htaccess file directives. Remember, that "mod_rewrite" works only on Apache server. Before trying please be sure that you are working on Apache server and the "mod_rewrite" module/e...
0 759 posted 10 years ago by apphp-snippets
This snippet allows you set a limitation for download rate of the file that visitors download from your site.
1 985 posted 11 years ago by apphp-snippets
This code allows to pass filename in the $file_name variable and function will return file extension only.
0 704 posted 11 years ago by apphp-snippets
You may retrieve all needed file path data using PHP's built-in function pathinfo. You don't need to create your own functions or use regular expressions to get this info. It was already been created for this purpose.
0 913 posted 11 years ago by apphp-snippets
« Prev 1 Next »