Tools Blog Learn Quizzes Smile API Log In / Sign Up
Tools Blog Learn Quizzes Smile API Log In / Sign Up
We have updated our privacy policy to let you know that we use cookies to personalise content and ads. We also use cookies to analyse our traffic and we share information about your use of our site and application with our advertising and analytics partners. By using this website or our application you agree to our use of cookies. Learn more about the way this website uses cookies or remove this message.

How to modify MARC records with File_MARC

November 25, 2014 Difficulty: 25 / 50

One of my clients, a children e-books publisher, recently asked if I can help him modify MARC records for their library. As I had no idea what a MARC record is I started off here and soon I found that there's a PEAR package that can be used to read and write MARC files.

I will not go into what a MARC record is and what it is used for because if you are reading this article you probably already know that. In this article I will focus on how one can use the "File_MARC" PEAR package to modify/update the fields in a MARC file.

Read Full Article...

Please don't...

November 4, 2014 Difficulty: 20 / 50
denied sign
In this article I will teach you how to avoid hard-coding paths and URLs inside your PHP code and also how to disallow direct access to your code files.Read Full Article...

5 jQuery performance tips

October 21, 2014 Difficulty: 30 / 50
jquery speed

In today's tutorial I will try to sum up a few things you should take into consideration when writing your jQuery code to avoid performance issues. Some of the following tips will apply to everyone... whether you are a jQuery fan or prefer vanilla flavor.

Read Full Article...

Injecting code into pages with PHP DOMDocument

September 30, 2014 Difficulty: 25 / 50
cube elements

Numerous content management systems provide various ways through which developers can alter the content of a web page through plugins or other types of extensions. In today's tutorial I will show you how an article that is loaded from an external source can be modified using the DOMDocument Class in PHP.

DOMDocument is part of the DOM PHP extension, which allows operations on XML / HTML documents using its API. DOMDocument actually represents an entire HTML or XML document. We will be loading it from an existing URL or file. If you are loading the HTML from the database, just replace the loadHTMLFile() method with loadHTML($html_string) which takes an HTML string as a parameter.

Read Full Article...

magnifyMe - a jQuery image magnifier plugin

September 23, 2014 Difficulty: 20 / 50

"magnifyMe" is a jQuery plugin that can be used to add zoom functions to product images or any other image for that matter.
Demo and source are available here

Read Full Article...

1 2 3 4 5 6 7 8 9 10
Better Docs For A Better Web - Mozilla Developer Network


2017-01-17 - The php_wddx_push_element function in ext/wddx/wddx.c in PHP before 5.6.29 and 7.x before 7.0.14 allows remote attackers to cause a denial of service (out-of-bounds read and memory corruption) or possibly have unspecified other impact via an empty boolean element in a wddxPacket XML document. Read more ...
2017-01-17 - The get_icu_value_internal function in ext/intl/locale/locale_methods.c in PHP before 5.5.36, 5.6.x before 5.6.22, and 7.x before 7.0.7 does not ensure the presence of a '\0' character, which allows remote attackers to cause a denial of service (out-of-bounds read) or possibly have unspecified other impact via a crafted locale_get_primary_language call. Read more ...

See All Entries...