Plugin Directory

Changeset 3029246


Ignore:
Timestamp:
01/31/2024 07:13:53 AM (2 years ago)
Author:
wptaskforce
Message:

Add function to check file_gets_content

Location:
wpcargo
Files:
788 added
2 edited

Legend:

Unmodified
Added
Removed
  • wpcargo/trunk/admin/includes/functions.php

    r3022194 r3029246  
    844844    return NULL;
    845845}
     846
     847function wpcargo_file_contents_exist($url, $response_code = 200)
     848{
     849    $headers = get_headers($url);
     850
     851    if (substr($headers[0], 9, 3) == $response_code)
     852    {
     853        return TRUE;
     854    }
     855    else
     856    {
     857        return FALSE;
     858    }
     859}
  • wpcargo/trunk/readme.txt

    r3022223 r3029246  
    8383* [Driver Mobile App](https://play.google.com/store/apps/details?id=com.test.driverapp&hl=en&gl=US) - Android based app use to gather  photo and signature of the receiver   and update the shipment status
    8484
    85 = Contribution Addons =
    86 * [Categorize Shipment Display by Type of Shipment Custom Field - WPCargo Custom Addons](https://www.wpcargo.com/product/categorize-shipment-display-by-type-of-shipment-custom-field/) -  Opensource and it display your shipment using shortcode by category and u
    8785
    8886= Demos =
     
    138136
    139137== Changelog ==
     138
     139= 6.13.6 =
     140- add functions to check  file_gets_content
    140141
    141142= 6.13.5 =
Note: See TracChangeset for help on using the changeset viewer.