This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
<?php | |
$movie=$_GET["mname"]; | |
$yr=$_GET["year"]; | |
// echo $movie; | |
$movie = str_replace(' ', '%', $movie); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
<?php | |
$myfile =fopen("movie_list.txt", "r") or die("Unable to open file!"); | |
while (!feof($myfile)) { | |
$line = fgets($myfile); | |
$pos = strrpos($line, ","); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import urllib2 | |
import json | |
locu_api = 'YOUR_API_KEY' | |
#final_url = 'https://api.locu.com/v1_0/venue/search/?locality=Newport%20Beach&api_key=YOUR_API_KEY' | |
def locu_search(query): | |
api_key= locu_api |
OlderNewer