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 147 posted 2 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 116 posted 6 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 177 posted 7 years ago by apphp-snippets
This code allows to pass filename in the $file_name variable and function will return file extension only.
0 128 posted 7 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 163 posted 7 years ago by apphp-snippets
« Prev 1 Next »