Welcome to the MetaMod and Chameleon Support Forums.

Before posting, please check out the FAQs.


tcnrahul
Beginner Modder
ranks
useravatar
User Info

Metamod and curl / php code

Trying to make this curl call work - works in mod_php ( in 1.5 - in 1.7 - using metamod? - does not seem to work -)
<?php
    $ch = curl_init("http://redacted");
    $output = curl_exec($ch);
    print "$output";
curl_close($ch);
?>

gives blank -


Administrator has disabled public posting
metamodguy
useravatar
User Info

Re: Metamod and curl / php code

If you're using it in MetaMod, don't include the <?php and ?> parts. They will make it fail. Just put in the raw code in the middle.

Cheers,
Stephen


Stephen Brandon
MetaMod / Chameleon developer
If you use MetaMod or Chameleon, please post a rating and a review at the Joomla! Extensions Directory

Administrator has disabled public posting

Board Info

Board Stats:   Total Users: 3075  Total Topics: 1195  Total Polls: 7  Total Posts: 4448  Posts this week: 18
User Info:   Newest User :  Lachlancon   Members Online: 0   Guests Online: 135
Online  There are no members online
Topic
New
Locked
Topic
New
Locked
Sticky
Active
New/Active
Sticky
Active
New/Active
New/Closed
New Sticky
Closed/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky Active Locked
Active/Sticky
Sticky/Locked
Sticky/Active/Locked