Search
 
SCRIPT & CODE EXAMPLE
 

PHP

hit a simple url using curl in php

  <?php
  ob_start();
  $ch = curl_init();
  curl_setopt($ch, CURLOPT_URL,'https://example.com/student_list.php');
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  $response = curl_exec($ch);
  echo $response;
  ?>
Comment

PREVIOUS NEXT
Code Example
Php :: php get array average 
Php :: wordpress get post id 
Php :: date php 
Php :: php pluck from array of objects 
Php :: laravel 7 error npm run dev 
Php :: ucwords in php 
Php :: php content type xml 
Php :: php split string at first space 
Php :: php filter emal 
Php :: blade comment 
Php :: check if a string contains a substring php 
Php :: woocommerce buy product skip cart 
Php :: php delay redirect 
Php :: npm watch laravel 
Php :: get stock product woocommerce by id 
Php :: How to display the fps in pygame 
Php :: laravel validation min string length 
Php :: laravel dateinterval not found 
Php :: codeigniter get where 
Php :: How to install php-fpm 
Php :: php force array keys to lowercase 
Php :: E: Unable to locate package php7.2-mbstring 
Php :: convert space to 20 php 
Php :: remove all html codes using php 
Php :: laravel db exists 
Php :: how get all files name in one folder in laravel 
Php :: force https redirection laravel 
Php :: How to show php text 
Php :: laravel migration remove unique constraint 
Php :: laravel app get locale 
ADD CONTENT
Topic
Content
Source link
Name
9+6 =