Posted on Monday, October 04, 2021 @ 22:39:21 UTC in PHP by neralex
southern writes:
When looking for the best PHP scripts online, it’s easy to get overwhelmed. There are a lot of different offers out there often with large libraries of products.
Yet, ready-to-use PHP scripts are one of the easiest ways to add functionality to your site, from contact forms to shopping carts. So, in order to make it easy for you to find what you need, in this post we will go over six of the best directories for PHP scripts out there and what they have to offer.
more: WebSiteSetup
|
Posted on Monday, October 04, 2021 @ 22:38:58 UTC in PHP by neralex
southern writes:
News Lister is a free PHP script, that can be used to create simple news or articles management websites or to be integrated in existing websites to create news sections in them.
News Lister is also very easy to install and it's not using any database - the news information is stored in XML files and the uploaded images in local folders. This makes the installation very easy - it's just necessary to upload the script files (which you can download from the link below) to your website or folder in which you wish to install it.
It's also made to be responsive (mobile-friendly), so the website and interface adapt to the different devices like tablets and smartphones and their screen sizes.
You could find below a brief overview of its main features and online demos.
more: www.netartmedia.net/newslister
|
Posted on Monday, December 21, 2020 @ 11:21:24 UTC in PHP by neralex
southern writes:
Looking how to read a CSV using PHP? What to import a CSV into our database? The code snippet below will help you do just that.
PHP.net has the manual for the fgetcsv which is used in this example.
Example
$row = 1; if (($handle = fopen("test.csv", "r")) !== FALSE) { while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) { $num = count($data); echo "
$num fields in line $row:
\n"; $row++; for ($c=0; $c \n"; } } fclose($handle); }
Replace test.csv with your own file.
This snippet will parse CSV into a multidimensional array
*All code snippets are open source, everyone is free to use.
PhP Tricks
|
Posted on Monday, December 21, 2020 @ 11:21:07 UTC in PHP by neralex
southern writes:
Today I will share how to create simple and responsive jQuery carousel slider, although there are various ways to do but i will share the simplest way to achieve this goal.
JQuery carousel slider is very helpful, we used it several times in our web projects or blogs, you may want to display your blog recent posts, recent clients, recent project in a carousel slider or you may be want to make it your main page slider.
Steps to Create Simple and Responsive jQuery Carousel Slider
To create a simple and responsive jQuery carousel slider, we need to follow the below steps.
More All PhP Tricks
|
Posted on Tuesday, December 08, 2020 @ 20:26:35 UTC in Add-Ons by neralex
nextgen writes:
Nuke Revival has opened it's doors and we are beginning to add downloads to the site. Come visit and help the community grow. If you need a theme or graphics you can make a request and we will do our best to fulfill it. So stop in over at www.nukerevival.com
|
Posted on Tuesday, October 06, 2020 @ 20:07:50 UTC in Tutorials by neralex
southern writes:
As a web developer, you must have heard the term "cache" in various situations. To help you fully understand what cache means, we wrote this article.
Table Of Content
OpCode Cache
Application Cache
HTTP Cache
Proxy Cache
End
OpCode Cache
When running a PHP script. The interpreter will parse the script into a series of operation codes, commonly known as "opcodes".
By caching the opcode in memory, we can gain significant performance improvement. This is known as opCode cache.
There is a list of well-know opCode cache engines and they are:
Zend OpCache
APC User Cache
Alternative PHP Cache
Xcache
By default, PHP ships with Zend OpCache.
Application Cache
When building an application, we can utilize some cache strategies to avoid slow response:
Store data that is not changed often in a cache.
Store time-consuming computed data in a cache.
Above are known as application cache.
Read More...
|