diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -11,7 +11,7 @@ tasks in PHP easier. It works in PHP 7.0 and up. Our examples omit array() around function parameters and use dangling commas. To get that, you can either use our just-in-time syntax converter or use -our patch for PHP (see http://cschneid.com/php/ for info). To use the syntax +our patch for PHP (see https://cschneid.com/php/ for info). To use the syntax converter, see the chapter about it_auto_prepend.php below. it_auto_prepend.php - ITools environment (optional) @@ -45,7 +45,7 @@ Example: head('title' => "welcome earth"), body( p('style' => "margin:1em", - a('href' => U("http://google.com/search", 'q' => "Hello World"), "Hello World"), + a('href' => U("https://google.com/search", 'q' => "Hello World"), "Hello World"), ), ), ); @@ -181,7 +181,7 @@ Helper functions dealing with URLs. Example: $filename = it_url::get_cache( - 'url' => "http://static.php.net/www.php.net/images/php.gif", + 'url' => "https://static.php.net/www.php.net/images/php.gif", 'timeout' => 5, 'cachedir' => $_SERVER['DOCUMENT_ROOT'] . "/cache", ); |