tag:blogger.com,1999:blog-38235454195276753362024-02-20T02:48:43.922-08:00Business SoftwareThe Business of Open Source Softwareolasofthttp://www.blogger.com/profile/13298273921219612551noreply@blogger.comBlogger16125tag:blogger.com,1999:blog-3823545419527675336.post-37033918013919613002023-11-25T21:55:00.000-08:002023-11-25T21:55:55.212-08:00An overview of the changes in PHP 8.3<p>1. PHP 8.3 Release Overview:</p><p> PHP 8.3 has reached feature freeze, with beta releases already available, and is scheduled for general availability on November 23, 2023.</p><p> The release focuses on cleaning up the language and aligning features with the language's evolution in recent years.</p><p>2. New Features in PHP 8.3:</p><p> Typed Class Constants: Constants in PHP 8.3 can now declare their type explicitly, impacting interfaces, abstract classes, and child classes.</p><p> Dynamic class constant and Enum member fetch support: Allows accessing class constants and Enum members dynamically.</p><p> json_validate() function: A new function for efficiently validating JSON strings.</p><p> Random extension additions: Enhancements to the "Random" extension for generating random bytes.</p><p> Addition of mb_str_pad(): A new function similar to str_pad() but works with multibyte strings.</p><p>3. Addition of #[\Override] attribute:</p><p> Developers can use this attribute to indicate that a method intends to override a parent method. It helps prevent mistakes during code upgrades.</p><p>4. Changes and Deprecations in PHP 8.3:</p><p> Various changes and deprecations are introduced, including improvements to unserialize(), class_alias support for aliasing PHP builtins, and more.</p><p>5. Considerations When Upgrading or Migrating:</p><p> Due to the number of deprecations and changes, PHP teams are advised to closely inspect their codebase when planning the migration to PHP 8.3.</p><p> The blog suggests checking the official PHP documentation for migration guidance, which becomes available closer to the release date.</p><p>6. Final Thoughts:</p><p> While the new features may not be a significant factor for migration, PHP 8.3 offers quality of life improvements, and upgrading ensures three years of community support.</p><p> Developers are encouraged to start investigating changes that might impact their applications and review the official PHP documentation upon release.</p><p><br /></p>olasofthttp://www.blogger.com/profile/13298273921219612551noreply@blogger.com0tag:blogger.com,1999:blog-3823545419527675336.post-25012053470465271092017-09-19T00:41:00.000-07:002017-09-19T00:41:07.283-07:00Laravel Tutorial: Step by Step Guide to Building Your First Laravel Application<div dir="ltr" style="text-align: left;" trbidi="on">
<h1 class="post__title">
</h1>
Since its initial release in 2011, Laravel has experienced
exponential growth. In 2015, it became the most starred PHP framework on
GitHub and rose to the go-to framework for people all over the world.<br />
Laravel focuses on you, the end user, first which means its focus is
on simplicity, clarity, and getting work done. People and companies are
using it to build everything from simple hobby projects all the way to
Fortune 500 companies.<br />
My goal with this Laravel tutorial to create a guide for those just
learning the framework. This guide will take you from the very beginning
of an idea into a real deployable application.<br />
This look at Laravel will not be exhaustive, covering every detail of
the framework, and it does expect a few prerequisites. Here is what you
will need to follow along:<br />
<ul>
<li>A local PHP environment (Valet, Homestead, Vagrant, MAMP, etc.).</li>
<li>A database. I’ll be using MySQL.</li>
<li>PHPUnit installed</li>
<li>Node installed</li>
</ul>
Note: For the local PHP environment I am using a Mac and like to use <a href="https://laravel.com/docs/5.4/valet">Valet</a>
because it automatically sets up everything. If you are on Windows, you
should consider Homestead or some flavor of a virtual machine.<br />
I am attempting to go through the process of creating a new
application just as I would in a real world environment. In fact, the
code and idea are taken from a project I built.<br />
<h2>
Planning</h2>
Every project has to start from somewhere, either assigned to you by
your work or just an idea in your head. No matter where it originates,
thoroughly planning out all the features before you start coding is
paramount in completing a project.<br />
How you plan is dependent on how your mind works. As a visual person,
I like to plan on paper, drawing out the way I picture the screens
looking and then working backward into how I’d code it out. Others
prefer to write a project plan in a text file, wiki, or some mind
mapping tool. It doesn’t matter how you plan, just that you do it.<br />
For this guide, we are going to be building a link directory. Here is a list of basic goals for this links app:<br />
<ol>
<li>Display a simple list of links.</li>
<li>Create a form where people can submit new links.</li>
<li>Validate the form</li>
<li>Insert the data into the database.</li>
</ol>
Let’s get started building all this out.<br />
<h2>
The First Steps</h2>
With a simple plan of attack outlined, it’s time to get a brand new
empty project up and running. I like to put all my projects in a ~/Sites
directory, and these instructions will use that location. I’ve already
“parked” this directory in Valet, so any folders will automatically be
mapped to “foldername.dev” in the browser.<br />
Open your terminal application and switch into this directory.<br />
<pre><code class="hljs">cd ~/Sites
</code></pre>
Next, install Laravel’s command line installer:<br />
<pre><code class="hljs php">composer <span class="hljs-keyword">global</span> <span class="hljs-keyword">require</span> <span class="hljs-string">"laravel/installer"</span>
</code></pre>
Once that finishes you can create the project by running:<br />
<pre><code class="hljs php">laravel <span class="hljs-keyword">new</span> links
</code></pre>
This will create a new directory named “links” and install an empty
Laravel project. Visiting “links.dev” in the browser now shows the
default Laravel welcome page:<br />
<img alt="" class="alignnone size-full wp-image-8457" data-recalc-dims="1" src="https://i0.wp.com/wp.laravel-news.com/wp-content/uploads/2016/03/laravel-landing.png?resize=525%2C234" /><br />
Now scaffold out the authentication system by running:<br />
<pre><code class="hljs css"><span class="hljs-selector-tag">php</span> <span class="hljs-selector-tag">artisan</span> <span class="hljs-selector-tag">make</span><span class="hljs-selector-pseudo">:auth</span>
</code></pre>
Even though this tutorial will not dive into authentication by
running this command, it will modify our views and routes. So by doing
it early, we don’t have to worry about it messing with any of our code.<br />
With the basics setup and working it’s time to start doing some coding.<br />
<h2>
Building a List of Links</h2>
If you start thinking about the whole finished project, it’s easy to
get overwhelmed. The best way to fight this is to break everything down
into small tasks. So, let’s start with showing a list of links.<br />
Even though showing a list of links sounds like a small task it still
requires a database, a database table, data in the table, a database
query, and a view file.<br />
Creating a migration will be the first step, and the Laravel Artisan command line tool can help us create that.<br />
<pre><code class="hljs">php artisan make:migration create_links_table --create=links
</code></pre>
Now, open the file this command created. It will be located at database/migrations/{{datetime}}_create_links_table.php<br />
Inside the up method add our new columns:<br />
<pre><code class="hljs php">Schema::create(<span class="hljs-string">'links'</span>, <span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-params">(Blueprint $table)</span> </span>{
$table->increments(<span class="hljs-string">'id'</span>);
$table->string(<span class="hljs-string">'title'</span>);
$table->string(<span class="hljs-string">'url’)->unique();
$table->text('</span>description<span class="hljs-string">');
$table->timestamps();
});
</span></code></pre>
Save the file and run the migration:<br />
<pre><code class="hljs">php artisan migrate
</code></pre>
Now we need to enter some data and Laravel provides two features that
help with this. The first is database seeds and model factories. But
before we can use those we will need a model which can be generated like
this:<br />
<pre><code class="hljs css"><span class="hljs-selector-tag">php</span> <span class="hljs-selector-tag">artisan</span> <span class="hljs-selector-tag">make</span><span class="hljs-selector-pseudo">:model</span> <span class="hljs-selector-tag">Link</span>
</code></pre>
Open the ModelFactory.php file and let’s add one for the links table:<br />
<pre><code class="hljs php">$factory->define(App\Link::class, <span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-params">(Faker\Generator $faker)</span> </span>{
<span class="hljs-keyword">return</span> [
<span class="hljs-string">'title'</span> => $faker->name,
<span class="hljs-string">'url'</span> => $faker->url,
<span class="hljs-string">'description'</span> => $faker->paragraph,
];
});
</code></pre>
Next, create the link seeder, so we can easily add demo data to the table:<br />
<pre><code class="hljs css"><span class="hljs-selector-tag">php</span> <span class="hljs-selector-tag">artisan</span> <span class="hljs-selector-tag">make</span><span class="hljs-selector-pseudo">:seeder</span> <span class="hljs-selector-tag">LinksTableSeeder</span>
</code></pre>
Open the LinksTableSeeder.php file that was just created, and in the
run method we will utilize the links model factory we created above:<br />
<pre><code class="hljs php"><span class="hljs-keyword">public</span> <span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">run</span><span class="hljs-params">()</span>
</span>{
factory(App\Link::class, <span class="hljs-number">10</span>)->create();
}
</code></pre>
Open the DatabaseSeeder.php and add this to the run method:<br />
<pre><code class="hljs php"><span class="hljs-keyword">$this</span>->call(LinksTableSeeder::class);
</code></pre>
You can now run the migrations and seeds to add data to the table automatically:<br />
<pre><code class="hljs">php artisan migrate --seed
</code></pre>
<h3>
Routing and Views</h3>
To build out a view showing the list of links first open the routes/web.php file and you should see the default route below:<br />
<pre><code class="hljs php">Route::get(<span class="hljs-string">'/'</span>, <span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-params">()</span> </span>{
<span class="hljs-keyword">return</span> view(<span class="hljs-string">'welcome'</span>);
});
</code></pre>
Laravel provides us two options at this point. We can either add our
code additions directly to the route closure, where the “return view..”
is, or we can move the code to a controller. For simplicity let’s add
our needed code to fetch the links directory in the closure.<br />
<pre><code class="hljs php">Route::get(<span class="hljs-string">'/'</span>, <span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-params">()</span> </span>{
$links = \App\Link::all();
<span class="hljs-keyword">return</span> view(<span class="hljs-string">'welcome'</span>, [<span class="hljs-string">'links'</span> => $links]);
});
</code></pre>
Next, edit the welcome.blade.php file and add a simple foreach to show all the links:<br />
<pre><code class="hljs php">@<span class="hljs-keyword">foreach</span> ($links <span class="hljs-keyword">as</span> $link)
<li>{{ $link->title }}</li>
@<span class="hljs-keyword">endforeach</span>
</code></pre>
If you refresh your browser, you should now see the list of all the
links added. With that all set, let’s move to submitting links.<br />
<h2>
Submitting Links</h2>
The next major feature is the ability for others to submit links into
the app. This will require three fields: title, URL, and a description.<br />
I am a visual person and before planning out features that will
require HTML I like to draw them out so I can get an idea of what I’m
building in my head. Here is a simple drawing of this form:<br />
<img alt="" class="alignnone size-full wp-image-8456" data-recalc-dims="1" src="https://i2.wp.com/wp.laravel-news.com/wp-content/uploads/2016/03/form-drawing.jpg?resize=525%2C586" /><br />
Since we’ve added all the core structure, model factory, migration,
and model, in the last section, we can reap the benefits by reusing all
those for this section.<br />
First, create a new route in the routes/web.php file:<br />
<pre><code class="hljs php">Route::get(<span class="hljs-string">'/submit'</span>, <span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-params">()</span> </span>{
<span class="hljs-keyword">return</span> view(<span class="hljs-string">'submit'</span>);
});
</code></pre>
We will also need this view file so we can go ahead and create it at
resources/views/submit.blade.php and add the following boilerplate
bootstrap code:<br />
<pre><code class="hljs javascript">@extends(<span class="hljs-string">'layouts.app'</span>)
@section(<span class="hljs-string">'content'</span>)
<div class="hljs-class" span="">
<span class="hljs-keyword">class</span></div>
</code></pre>
</div>
=<span class="hljs-string">"container"</span>>
<span class="xml"><span class="hljs-tag"><<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"row"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">h1</span>></span>Submit a link<span class="hljs-tag"></<span class="hljs-name">h1</span>></span>
<span class="hljs-tag"><<span class="hljs-name">form</span> <span class="hljs-attr">action</span>=<span class="hljs-string">"/submit"</span> <span class="hljs-attr">method</span>=<span class="hljs-string">"post"</span>></span>
{!! csrf_field() !!}
<span class="hljs-tag"><<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"form-group"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">label</span> <span class="hljs-attr">for</span>=<span class="hljs-string">"title"</span>></span>Title<span class="hljs-tag"></<span class="hljs-name">label</span>></span>
<span class="hljs-tag"><<span class="hljs-name">input</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"text"</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"form-control"</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"title"</span> <span class="hljs-attr">name</span>=<span class="hljs-string">"title"</span> <span class="hljs-attr">placeholder</span>=<span class="hljs-string">"Title"</span>></span>
<span class="hljs-tag"></<span class="hljs-name">div</span>></span>
<span class="hljs-tag"><<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"form-group"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">label</span> <span class="hljs-attr">for</span>=<span class="hljs-string">"url"</span>></span>Url<span class="hljs-tag"></<span class="hljs-name">label</span>></span>
<span class="hljs-tag"><<span class="hljs-name">input</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"text"</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"form-control"</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"url"</span> <span class="hljs-attr">name</span>=<span class="hljs-string">"url"</span> <span class="hljs-attr">placeholder</span>=<span class="hljs-string">"URL"</span>></span>
<span class="hljs-tag"></<span class="hljs-name">div</span>></span>
<span class="hljs-tag"><<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"form-group"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">label</span> <span class="hljs-attr">for</span>=<span class="hljs-string">"description"</span>></span>Description<span class="hljs-tag"></<span class="hljs-name">label</span>></span>
<span class="hljs-tag"><<span class="hljs-name">textarea</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"form-control"</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"description"</span> <span class="hljs-attr">name</span>=<span class="hljs-string">"description"</span> <span class="hljs-attr">placeholder</span>=<span class="hljs-string">"description"</span>></span><span class="hljs-tag"></<span class="hljs-name">textarea</span>></span>
<span class="hljs-tag"></<span class="hljs-name">div</span>></span>
<span class="hljs-tag"><<span class="hljs-name">button</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"submit"</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"btn btn-default"</span>></span>Submit<span class="hljs-tag"></<span class="hljs-name">button</span>></span>
<span class="hljs-tag"></<span class="hljs-name">form</span>></span>
<span class="hljs-tag"></<span class="hljs-name">div</span>></span>
<span class="hljs-tag"></<span class="hljs-name">div</span>></span>
@endsection
</span>
Now, let’s create a route to handle the POST data and do our
validation. Let’s create that route and add our validation rules in:<br />
<pre><code class="hljs php"><span class="hljs-keyword">use</span> <span class="hljs-title">Illuminate</span>\<span class="hljs-title">Http</span>\<span class="hljs-title">Request</span>;
Route::post(<span class="hljs-string">'/submit'</span>, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(Request $request)</span> </span>{
$validator = Validator::make($request->all(), [
<span class="hljs-string">'title'</span> => <span class="hljs-string">'required|max:255'</span>,
<span class="hljs-string">'url'</span> => <span class="hljs-string">'required|max:255'</span>,
<span class="hljs-string">'description'</span> => <span class="hljs-string">'required|max:255'</span>,
]);
<span class="hljs-keyword">if</span> ($validator->fails()) {
<span class="hljs-keyword">return</span> back()
->withInput()
->withErrors($validator);
}
$link = <span class="hljs-keyword">new</span> \App\Link;
$link->title = $request->title;
$link->url = $request->url;
$link->description = $request->description;
$link->save();
<span class="hljs-keyword">return</span> redirect(<span class="hljs-string">'/'</span>);
});
</code></pre>
This route is a little more complicated than the others. First, we
are injecting the Illuminate\Http\Request which will hold all of the
POST data. Then, we create a new Validator instance with our rules. If
this validation fails, it returns the user back with the original input
data and with the validator errors.<br />
Finally, if everything passed validation, we use the “App::Link” model to add the data.<br />
<h2>
Conclusion</h2>
Congratulations on making it through the tutorial. This guide was
designed to get you started on building your app, and you can use this
as a building block to you gain the skills you need to build your
application. I know this covers a lot of features and can be
overwhelming if you are not familiar with the framework.<br />
I hope this introduction to Laravel shows you why so many people are excited about the framework.<br />
Join the weekly <a href="https://laravel-news.com/newsletter">newsletter</a> and check out the <a href="https://laravel-news.com/category/laravel-tutorials">Laravel tutorials</a> section of the site to go deeper and learn even more about the framework.olasofthttp://www.blogger.com/profile/13298273921219612551noreply@blogger.com0tag:blogger.com,1999:blog-3823545419527675336.post-14057092553084609332017-03-29T11:01:00.001-07:002017-03-29T11:10:19.020-07:00Install Elastix from USB Step by Step<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="post-body entry-content" id="post-body-2901503209057593273" itemprop="description articleBody">
<h2>
<span style="font-family: "arial" , "helvetica" , sans-serif; font-size: medium;">Install Elastix from USB Step by Step </span></h2>
<div style="text-align: justify;">
<span style="font-family: "arial" , "helvetica" , sans-serif;">Elastix is one of<span style="font-family: "arial" , "helvetica" , sans-serif;"> </span>the best Open Source Unified Communications Servers available today, it<span style="font-family: "arial" , "helvetica" , sans-serif;"> </span>is very easy to install but the installer is designed to be run from<span style="font-family: "arial" , "helvetica" , sans-serif;"> </span>CDROM and we can make the installation in several devices that don´t have an optical drive. This document will guide you to modify the installer so you can install entirely from an USB Flash drive.</span></div>
<div style="text-align: justify;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br></span></div>
<div style="text-align: justify;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><span style="color: red;"><b>Warning</b>:<br>
The Server Security is a very important and serious aspect in a VoIP server, this guide will not cover that but there is plenty of information on that topic in the Internet. If you are looking for a professional installation contact me and I'll be glad to help you for a <br>
very reasonable price.</span></span><br>
</div></div></div><a href="http://olasoftsite.blogspot.com/2017/03/henrys-it-tech-blog-install-elastix.html#more">Read more »</a>olasofthttp://www.blogger.com/profile/13298273921219612551noreply@blogger.com0tag:blogger.com,1999:blog-3823545419527675336.post-26284920954634392732017-03-22T04:35:00.001-07:002017-03-22T04:37:18.303-07:00JQuery autocomplete tutorial with PHP and MySQL<div dir="ltr" style="text-align: left;" trbidi="on">
<div dir="ltr" style="text-align: left;" trbidi="on">
My goal was to make an <b>autocomplete </b>on a site that passed also another value as the selected to the new page.<br>
<br>I have a <b>MySQL</b> database with a table called Customer with several fields but the important ones are :<br>
<div class="crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-58d25a323d408595732007" style="font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;">
<div class="crayon-plain-wrap">
<textarea class="crayon-plain print-no" data-settings="dblclick" readonly="readonly" style="-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;" wrap="soft">`id` int(11) NOT NULL AUTO_INCREMENT,
`firstName` varchar(50) NOT NULL DEFAULT '',
`lastName` varchar(50) NOT NULL DEFAULT '',
`customerCode` varchar(6) NOT NULL DEFAULT ''</textarea></div>
<div class="crayon-main" style="overflow: hidden; position: relative; z-index: 1;">
<table class="crayon-table">
<tbody>
<tr class="crayon-row">
<td class="crayon-nums " data-settings="show"><div class="crayon-nums-content" style="font-size: 12px !important; line-height: 15px !important;">
<div class="crayon-num" data-line="crayon-58d25a323d408595732007-1">
1</div>
<div class="crayon-num crayon-striped-num" data-line="crayon-58d25a323d408595732007-2">
2</div>
<div class="crayon-num" data-line="crayon-58d25a323d408595732007-3">
3</div>
<div class="crayon-num crayon-striped-num" data-line="crayon-58d25a323d408595732007-4">
4</div>
</div>
</td>
<td class="crayon-code"><div class="crayon-pre" style="-moz-tab-size: 4; -o-tab-size: 4; -webkit-tab-size: 4; font-size: 12px !important; line-height: 15px !important; tab-size: 4;">
<div class="crayon-line" id="crayon-58d25a323d408595732007-1">
`id`<span class="crayon-h"> </span><span class="crayon-t">int</span>(11)<span class="crayon-h"> </span><span class="crayon-r">NOT NULL</span><span class="crayon-h"> </span>AUTO_INCREMENT,</div>
<div class="crayon-line crayon-striped-line" id="crayon-58d25a323d408595732007-2">
`firstName`<span class="crayon-h"> </span><span class="crayon-t">varchar</span>(50)<span class="crayon-h"> </span><span class="crayon-r">NOT NULL</span><span class="crayon-h"> </span><span class="crayon-r">DEFAULT</span><span class="crayon-h"> </span><span class="crayon-s">''</span>,</div>
<div class="crayon-line" id="crayon-58d25a323d408595732007-3">
`lastName`<span class="crayon-h"> </span><span class="crayon-t">varchar</span>(50)<span class="crayon-h"> </span><span class="crayon-r">NOT NULL</span><span class="crayon-h"> </span><span class="crayon-r">DEFAULT</span><span class="crayon-h"> </span><span class="crayon-s">''</span>,</div>
<div class="crayon-line crayon-striped-line" id="crayon-58d25a323d408595732007-4">
`customerCode`<span class="crayon-h"> </span><span class="crayon-t">varchar</span>(6)<span class="crayon-h"> </span><span class="crayon-r">NOT NULL</span><span class="crayon-h"> </span><span class="crayon-r">DEFAULT</span><span class="crayon-h"> </span><span class="crayon-s">''</span></div>
</div>
</td>
</tr>
</tbody></table>
</div>
</div>
<br>
For the <b>HTML</b> I used a simple inputfield (which can be in a form) :<br>
<div class="crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-58d25a323d416817075473" style="font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;">
<div class="crayon-plain-wrap">
<textarea class="crayon-plain print-no" data-settings="dblclick" readonly="readonly" style="-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;" wrap="soft"><form action="" method="post">
<input type="text" placeholder="Name" id="customerAutocomplte" class="ui-autocomplete-input" autocomplete="off">
</form>
</textarea></div>
<div class="crayon-main" style="overflow: hidden; position: relative; z-index: 1;">
<table class="crayon-table">
<tbody>
<tr class="crayon-row">
<td class="crayon-nums " data-settings="show"><div class="crayon-nums-content" style="font-size: 12px !important; line-height: 15px !important;">
<div class="crayon-num" data-line="crayon-58d25a323d416817075473-1">
1</div>
<div class="crayon-num crayon-striped-num" data-line="crayon-58d25a323d416817075473-2">
2</div>
<div class="crayon-num" data-line="crayon-58d25a323d416817075473-3">
3</div>
</div>
</td>
<td class="crayon-code"><div class="crayon-pre" style="-moz-tab-size: 4; -o-tab-size: 4; -webkit-tab-size: 4; font-size: 12px !important; line-height: 15px !important; tab-size: 4;">
<div class="crayon-line" id="crayon-58d25a323d416817075473-1">
<span class="crayon-r "></span><br>
<form span="">
<span class="crayon-r "><span class="crayon-e "><form action="" font="">
<span class="crayon-o">=</span><span class="crayon-s ">""</span><span class="crayon-h"> </span><span class="crayon-e ">method</span><span class="crayon-o">=</span><span class="crayon-s ">"post"</span> ></form>
</span></span></form>
<span class="crayon-r ">
</span></div>
<div class="crayon-line crayon-striped-line" id="crayon-58d25a323d416817075473-2">
<span class="crayon-i "> </span><span class="crayon-r "><span class="crayon-e "><input font="" type=""><span class="crayon-o">=</span><span class="crayon-s ">"text"</span><span class="crayon-h"> </span><span class="crayon-e ">placeholder</span><span class="crayon-o">=</span><span class="crayon-s ">"Name"</span><span class="crayon-h"> </span><span class="crayon-e ">id</span><span class="crayon-o">=</span><span class="crayon-s ">"customerAutocomplte"</span><span class="crayon-h"> </span><span class="crayon-e ">class</span><span class="crayon-o">=</span><span class="crayon-s ">"ui-autocomplete-input"</span><span class="crayon-h"> </span><span class="crayon-e ">autocomplete</span><span class="crayon-o">=</span><span class="crayon-s ">"off"</span><span class="crayon-r "> ></span></span></span></div>
<div class="crayon-line" id="crayon-58d25a323d416817075473-3">
<span class="crayon-r "></span></div>
</div>
</td></tr>
</tbody></table>
</div>
</div>
</div>
<br>
Using <b>jQuery autocomplete</b> one combines the autocomplete to the inputfield so at the page is a piece of Javascript.<br>
For this I inserted the jQuery scripts that you can find <a href="http://api.jqueryui.com/autocomplete/">here</a>.<br>
</div><a href="http://olasoftsite.blogspot.com/2017/03/jquery-autocomplete-tutorial-with-php.html#more">Read more »</a>olasofthttp://www.blogger.com/profile/13298273921219612551noreply@blogger.com0tag:blogger.com,1999:blog-3823545419527675336.post-1575755037181794192017-01-27T03:24:00.001-08:002017-01-27T03:24:19.748-08:00GeneralSQL: TempDB running out of space<a href="http://generalsqlnaveengupta.blogspot.com/2017/01/tempdb-running-out-of-space.html?spref=bl">GeneralSQL: TempDB running out of space</a>: First of all need to check, if any stored procedure (or nested) are running in Transaction. If transaction is very long means there are lot...olasofthttp://www.blogger.com/profile/13298273921219612551noreply@blogger.com0tag:blogger.com,1999:blog-3823545419527675336.post-54410620868480223302017-01-27T03:21:00.001-08:002017-01-27T03:21:58.860-08:00SmartTutorials - php mysql jquery javascript ajax html5 css3 CAKEPHP tutorial: Export MySQL SELECT Query into CSV File<a href="http://blog.smarttutorials.net/2016/06/Export-MySQL-SELECT-Query-into-CSV-File.html?spref=bl">SmartTutorials - php mysql jquery javascript ajax html5 css3 CAKEPHP tutorial: Export MySQL SELECT Query into CSV File</a>: Sometimes we need to export MySQL SELECT query results into CSV format for testing or some other purpose. Here we are going to see how to o...olasofthttp://www.blogger.com/profile/13298273921219612551noreply@blogger.com0tag:blogger.com,1999:blog-3823545419527675336.post-74612723416693903072017-01-27T03:20:00.001-08:002017-01-27T03:20:55.080-08:00Monty says: In search of a BSD/LGPL/Apache licensed client lib...<a href="http://monty-says.blogspot.com/2010/12/in-search-of-bsdlgplapache-licensed.html?spref=bl">Monty says: In search of a BSD/LGPL/Apache licensed client lib...</a>: We have received many requests for a client library for MariaDB (and MySQL) under a license other than the GPL, and decided that it's no...olasofthttp://www.blogger.com/profile/13298273921219612551noreply@blogger.com0tag:blogger.com,1999:blog-3823545419527675336.post-85973649739834152222017-01-27T03:18:00.003-08:002017-01-27T03:18:55.137-08:00mySQL DBA, Architecture, Dev, Scale, HA, Code : Building a realtime Feed with RabbitMQ Node.js AMQ...<a href="http://mysqldba.blogspot.com/2011/06/building-realtime-feed-with-rabbitmq.html?spref=bl">mySQL DBA, Architecture, Dev, Scale, HA, Code : Building a realtime Feed with RabbitMQ Node.js AMQ...</a>: Being a backend programmer, I rarely code in JavaScript. Today I code a lot of cross browser JavaScript with the fantastic lib jquery and it...olasofthttp://www.blogger.com/profile/13298273921219612551noreply@blogger.com0tag:blogger.com,1999:blog-3823545419527675336.post-20984317613311305892017-01-27T03:18:00.001-08:002017-01-27T03:18:14.221-08:00mySQL DBA, Architecture, Dev, Scale, HA, Code : Federating THE friends table in a Sharded mySQL en...<a href="http://mysqldba.blogspot.com/2015/04/federating-friends-table-in-sharded.html?spref=bl">mySQL DBA, Architecture, Dev, Scale, HA, Code : Federating THE friends table in a Sharded mySQL en...</a>: A friends table is the cornerstone of social applications. Its purpose is to define relationships and help answer the question what are my ...olasofthttp://www.blogger.com/profile/13298273921219612551noreply@blogger.com0tag:blogger.com,1999:blog-3823545419527675336.post-56832129548313933092017-01-27T03:17:00.001-08:002017-01-27T03:17:31.169-08:00mySQL DBA, Architecture, Dev, Scale, HA, Code : INNODB Tablespace Copy in Go Lang<a href="http://mysqldba.blogspot.com/2016/11/innodb-tablespace-copy-in-go-lang.html?spref=bl">mySQL DBA, Architecture, Dev, Scale, HA, Code : INNODB Tablespace Copy in Go Lang</a>: I just uploaded a quick tool that I think you will find useful if you need to consolidate, expand innodb databases if tablespaces are in use...olasofthttp://www.blogger.com/profile/13298273921219612551noreply@blogger.com0tag:blogger.com,1999:blog-3823545419527675336.post-43891862593842197232017-01-27T03:11:00.001-08:002017-01-27T03:11:23.944-08:00Open Source For Geeks: Introduction to crontab - scheduling tasks in Linu...<a href="http://opensourceforgeeks.blogspot.com/2016/12/introduction-to-crontab-scheduling.html?spref=bl">Open Source For Geeks: Introduction to crontab - scheduling tasks in Linu...</a>: Background Cron is a daemon that runs in background and helps executing commands or set of commands at a predefined time. You can use to...olasofthttp://www.blogger.com/profile/13298273921219612551noreply@blogger.com0tag:blogger.com,1999:blog-3823545419527675336.post-3407940005534456272017-01-27T03:09:00.001-08:002017-01-27T03:09:41.807-08:00Open Source Photogrammetry: openMVG a C++ open source Multiple View Geometry l...<a href="http://opensourcephotogrammetry.blogspot.com/2013/08/openmvg-c-open-source-multiple-view.html?spref=bl">Open Source Photogrammetry: openMVG a C++ open source Multiple View Geometry l...</a>: : "open Multiple View Geometry" is a library for computer-vision scientists and especially targeted to the Multiple View Geometr...olasofthttp://www.blogger.com/profile/13298273921219612551noreply@blogger.com0tag:blogger.com,1999:blog-3823545419527675336.post-57277051514385697202017-01-27T03:02:00.001-08:002017-01-27T03:02:56.775-08:00Open Source GIS Blog: Video: Open GIS Data Portals<a href="http://opensourcegisblog.blogspot.com/2016/01/video-open-gis-data-portals.html?spref=bl">Open Source GIS Blog: Video: Open GIS Data Portals</a>: Open GIS data portals are becoming more common, and can contain lots of geospatial data, but is it a case of too much of a good thing? ...olasofthttp://www.blogger.com/profile/13298273921219612551noreply@blogger.com0tag:blogger.com,1999:blog-3823545419527675336.post-72849624121326365342017-01-27T03:01:00.001-08:002017-01-27T03:01:50.754-08:00Open Source Software & Usability: LibreOffice updating its user interface<a href="http://opensource-usability.blogspot.com/2016/12/libreoffice-updating-its-user-interface.html?spref=bl">Open Source Software & Usability: LibreOffice updating its user interface</a>: I saw a recent blog post from LibreOffice about an upcoming change to their user interface. They call it the MUFFIN, a new "tasty"...olasofthttp://www.blogger.com/profile/13298273921219612551noreply@blogger.com0tag:blogger.com,1999:blog-3823545419527675336.post-65935827386204338802015-10-30T02:59:00.001-07:002015-11-17T05:31:15.564-08:00How to Install and Configure pfSense 2.1.5 (Firewall/Router) <div dir="ltr" style="text-align: left;" trbidi="on">
<h2 style="text-align: left;">
<b> How to Install and Configure pfSense 2.1.5 (Firewall/Router)</b> </h2>
<div style="text-align: justify;">
pfSense is an open source network firewall/router software distribution which is based on the FreeBSD operating system. pfSense software is used to make dedicated firewall router for a network and it is considered for its reliability and offers many features which mostly found in commercial firewalls. Pfsense can be included with many third party free software packages for additional functionality.</div>
<div style="text-align: justify;">
As we are using many popular firewall’s in industry level such as Cisco ASA, Juniper, Check Point, Cisco PIX, Sonicwall, Netgear, Watchguard etc.. We can use the pfsense in free of cost with rich web interface to configure all our network components. pfsense supports traffic shapper, virtual ip, Load balancer and much more. It has several Diagnostics tool by default.</div>
</div><a href="http://olasoftsite.blogspot.com/2015/10/to-install-and-configure-pfsense-2.html#more">Read more »</a>olasofthttp://www.blogger.com/profile/13298273921219612551noreply@blogger.com1tag:blogger.com,1999:blog-3823545419527675336.post-3258468249908238082010-06-08T03:56:00.000-07:002015-11-17T05:33:33.939-08:00Zimbra and Samba Integration Howto<div dir="ltr" style="text-align: left;" trbidi="on">
Zimbra and Samba Integration Howto<br>
<br>
This howto explains how to implement the zimbra collaboration suite that offers a spam and virus free email solution and how to integrate it with a samba domain so as to manage the domain using zimbra, In lay man terms, every user with an email account could use his/her username to login to any computer within that domain and have access to his/her files that are stored centrally. Easing the administration of such a domain.<br>
</div><a href="http://olasoftsite.blogspot.com/2010/06/zimbra-and-samba-integration-howto.html#more">Read more »</a>olasofthttp://www.blogger.com/profile/13298273921219612551noreply@blogger.com4