Skip to content

Logic Bytes

Spread Your Knowledge

  • Home
  • How To
  • PHP
    • Cakephp
    • WordPress
    • CodeIgniter
    • Laravel
  • Python
    • Django
    • Flask
  • Contact

Curl

Curl

Reduce the image file size using PHP

January 31, 2018 Chandan SharmaComment on Reduce the image file size using PHP

Reduce the image file size using PHP: <?php $name = ”; $type = ”; $size = ”; $error = ”;    function compress_image($source_url, $destination_url, $quality) …

Read More
CodeIgniter / Curl / PHP

Get file content from a URL?

November 14, 2017 Chandan SharmaComment on Get file content from a URL?

Get file content from a URL? $jsonData = json_decode(file_get_contents(‘https://chart.googleapis.com/chart?cht=p3&chs=250×100&chd=t:60,40&chl=Hello|World&chof=json’)); However, if allow_url_fopen isn’t enabled on your system, you could read the data via CURL as …

Read More
CodeIgniter / Curl / PHP

Send Message from Website in php

September 14, 2017 Chandan SharmaComment on Send Message from Website in php

Send Message Using Bhashsms.com to user mobile phone from the website. $api_username = sms_api_username; $api_userpwd  = sms_api_pwd; $send_id = SMS_SEND_ID; $curl = “http://bhashsms.com/api/sendmsg.php”; $msg = …

Read More
Curl

Get contents using curl

July 28, 2017 Chandan SharmaComment on Get contents using curl

$my_location_ip =’95.212.128.0′; //syria $my_location_ip =’27.49.37.170′;  $url = “http://ipinfo.io/{$my_location_ip}/json”; ##Get a web file (HTML, XHTML, XML, image, etc.) from a URL.  Return an ##array containing the …

Read More

Recent Posts

  • Python Automation Framework-PyUnit (Unittest) Framework
  • Python Automation Framework-TestProject Framework
  • Python Automation Framework-Pytest Framework
  • Python Automation Framework-Lettuce Framework
  • Python Automation Framework-Behave Framework:
  • Top Python Testing Automation Frameworks in 2024
  • Visual Studio Code Keyboard Shortcut Editor
  • Visual Studio Code Keyboard Shortcuts
  • How to Remove Sidebar from Category Pages in WordPress?
  • Best Practices for API Responses

Automation Frameworks Automation Testing Behave Framework Blogger Blogspot Cakephp Cheat Sheets Code Editor CodeIgniter Code Navigation Collaborative Coding Debugging Tools Disable Mouse Right Click Domain Extension Editor Extension Full form Facebook Facebook Video Download IDE JavaScript JQuery Lettuce Framework Microsoft Code Editor Open-Source Code Editor PHP Pytest Framework Python Python-3.x Python Automation Python Automation Frameworks Python Automation Testing Python Pytest Framework Python Testing Frameworks Python TestProject Framework Python Unittest Framework Syntax Highlighting Testing Frameworks Text Editor for Developers Visual Code Visual Code Editor Visual Studio Code Visual Studio Code Cheat Sheet VSCode VSCodeEditor WordPress

Copyright © 2026 Logic Bytes.
Powered by WordPress and PridMag.