Prism ICT

Blog

At Prism ICT, we offer a comprehensive range of services designed to help you achieve digital excellence At Prism ICT, we offer a comprehensive range of services

Default image

Enable GZIP Compression by .htaccess file

For enable GZIP Compression just use the following code on your .htaccess file. Make sure to add it below the current contents of your .htaccess file. <IfModule mod_deflate.c> # Compress HTML,

Default image

WordPress get get_option() data as plain HTML

If you want to get WordPress get_option() data as plain HTML without any extra '/' or '"' then you must need to use this function. $NewData = stripslashes( html_entity_decode(get_option('YourOptionHere'), ENT_QUOTES,

Default image

Transfer form text data via jQuery (AJAX)

This is sample code for transfer data from HTML form to other server/site via jQuery AJAX (function ($) { $(document).ready(function(){ $("form.JsSubmit").submit(function(){ var formData = $(this).find( ":input" ).serializeArray(); $.ajax({ dataType :

1 13 14 15 16 17 19