Jump to content

cURL Help HTML/CSS


n0v3yak

Recommended Posts

Ok I have a quick little script here

 

<?php
    $curl = curl_init();
    $fp = fopen("l0g.txt", "w");
    curl_setopt ($curl, CURLOPT_URL, "http://www.google.com");
    curl_setopt($curl, CURLOPT_FILE, $fp);

    curl_exec ($curl);
    curl_close ($curl);
?> 

 

Now I wanted to make a search bar and then you put let's say  "[email protected]" and then click the GO! and then it runs the curl script. Then I wanted to perhaps make an iframe below and it displays the Google results for [email protected]. Any help on how I would do this

Link to comment
https://forums.phpfreaks.com/topic/124579-curl-help-htmlcss/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.