Compress HTML but ignore <script> and rewrite my PHP script.
$10-30 USD
Cancelado
Publicado hace más de 5 años
$10-30 USD
Pagado a la entrega
Hello, I use this PHP function for compressing HTML:
function compress_output($buffer) {
$search = array(
'/\>[^\S ]+/s', // strip whitespaces after tags, except space
'/[^\S ]+\</s', // strip whitespaces before tags, except space
'/(\s)+/s', // shorten multiple whitespace sequences
'/<!--(.|\s)*?-->/' // Remove HTML comments
);
$replace = array(
'>',
'<',
'\\1',
''
);
$buffer = preg_replace($search, $replace, $buffer);
return $buffer;
}
It compresses HTML succesfully but it also breaks anything that's inside <script>. I need someone to tweak this script to compress HTML but ignore everything that's inside <script> tag. Please don't write your CV. This should take 15 seconds to fix for a experienced PHP developer.
Hi, I have read your project description this will be done in your required time spam with 100% Satisfaction. Kindly message me so we can discuss in detail over chat......
i have source code
i have source codei have source codei have source codei have source codei have source codei have source codei have source codei have source codei have source codei have source codei have source codei have source codei have source codei have source codei have source code
I read the task description and I can do it.I have worked on many such projects.I can work on urgent basis and for a reasonable rate..Contact me so we can discuss further
Hello Client,
Thank you for the opportunity.
I'm the lead developer of Swappit Solution.
As per your requirement, I would like to tell you that we have a very
strong experience of more then 7 years in the field of design and development.
I would love to work on your project.
I read through the job details extremely carefully and I am absolutely sure that
I can do the project very well.
I would also like to mention that we have experts working over here and they
will provide you with 100% result.
All the sites we build are fully responsive for all devices.
Breathtaking, beautiful Custom CSS (or PHP/Java).
Easy-to-manage CMS that requires little maintenance.
SEO/Conversion optimized
Look forward to talking soon.
Thanks & Regards,
Vandana Bairwa
Hello Sir,
I read through the job details extremely carefully and I am absolutely sure that I can do the project very well. I can achieve the results that you are asking for.
Please check my portfolio to check feedback's from previous clients for past projects as well as examples of previous works for you to review.
https://www.freelancer.in/u/jugalpatel96
Looking forward from your end.
Thanks
Jugal Patel