Joomla 2.5 JavaScript to display popup from PHP – oDesk
Joomla 2.5 JavaScript to display popup from PHP – oDesk
I NEED THIS DONE ASAP
This is a few lines of PHP code which are running in a large Joomla 2.5 component. This code works fine.
1. $url= JURI::root() . “geo/api.php?zipcode=” . $postal_code;
2. $curl_handle=curl_init();
3. curl_setopt($curl_handle, CURLOPT_URL, $url);
4. curl_setopt($curl_handle, CURLOPT_TIMEOUT, 30);
5. curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, 30);
6. curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1);
7. //show popup
8. $data=curl_exec($curl_handle);
9. curl_close…
Budget: $50
Starting On: April 7, 2012
Ending On: April 9, 2012
Posted On: April 07, 2012 22:11 UTC
ID: 201019091
Category: Web Development > Web Programming
Skills: joomla,javascript,php,mootools,curl,jquery
Country: United States
Hours Billed: 720.83
Job Source: http://www.jdoqocy.com/click-4131668-10718312?url=https%3A%2F%2Fwww.odesk.com%2Fjobs%2F~~277936bf63a4f399%3Fsource%3Drss