Posts by timmylogue

320 posts
  • Bought between 100 and 499 items
  • Has been a member for 7-8 years
  • United States
timmylogue says

cyberduck

320 posts
  • Bought between 100 and 499 items
  • Has been a member for 7-8 years
  • United States
timmylogue says

Don’t know what you mean…. Do you mean hotlinking?

http://www.htaccesstools.com/hotlink-protection/
320 posts
  • Bought between 100 and 499 items
  • Has been a member for 7-8 years
  • United States
timmylogue says

Fixed the issue, I fixed it with a proxy script.

 

<?php

$post_data = $HTTP_RAW_POST_DATA;

$header[] = "Content-type: text/xml";
$header[] = "Content-length: ".strlen($post_data);

$ch = curl_init( $_GET['url'] ); 
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
curl_setopt($ch, CURLOPT_HTTPHEADER, $header);

if ( strlen($post_data)>0 ){
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data);
}

$response = curl_exec($ch);     
$response_headers = curl_getinfo($ch);     

if (curl_errno($ch)) {
    print curl_error($ch);
} else {
    curl_close($ch);
    header( 'Content-type: ' . $response_headers['content-type']);
    print $response;
}

?>

TNL - I got your email, pretty busy though, but if you send me your info to login – I’m sure I can get to it. I’ll wait for your next email.

320 posts
  • Bought between 100 and 499 items
  • Has been a member for 7-8 years
  • United States
timmylogue says

I’ve created an ActionScript 2 weather widget a year or two ago. I’ve been using weatherunderground.com API. As of today, I noticed its not loading in the data anymore.

So I opened up the project file and started to look at the code. I ran the project locally and the weather data is loaded in just fine. What could of happened? Why is it loading just fine locally and not on a server? I’ve tested this on multiple severs. Still nothing…

Why would it 2 years later decide to break?

Tim

320 posts
  • Bought between 100 and 499 items
  • Has been a member for 7-8 years
  • United States
timmylogue says

I’ve been using this tool a lot lately. A color picker that doesn’t need photoshop ;)

Thought I would share with you all.

http://color.hailpixel.com
320 posts
  • Bought between 100 and 499 items
  • Has been a member for 7-8 years
  • United States
timmylogue says

Yes!!!!!

Worked like a charm! So awesome, thanks dude. Hands down probably the best help I’ve ever gotten on a forum.

You rock!

320 posts
  • Bought between 100 and 499 items
  • Has been a member for 7-8 years
  • United States
timmylogue says

Yup one sec! :)

Ok, I just sent you an email.

320 posts
  • Bought between 100 and 499 items
  • Has been a member for 7-8 years
  • United States
timmylogue says

Darn, I thought that was gonna work. It’s not creating the

$xml->playlist[0]->addChild("item");
$xml->playlist[0]->item[$i-1]->addAttribute("title", $video->title);
$xml->playlist[0]->item[$i-1]->addAttribute("id", $id);

It’s just outputting this.

<?xml version="1.0" encoding="ISO-8859-1"?>
<root>
          <playlist title="KungFu-themes"/> 
</root>

I appreciate all your help so far. You rock.

320 posts
  • Bought between 100 and 499 items
  • Has been a member for 7-8 years
  • United States
timmylogue says

Darn, I thought that was gonna work. It’s not creating the

$xml->playlist[0]->addChild("item");
$xml->playlist[0]->item[$i-1]->addAttribute("title", $video->title);
$xml->playlist[0]->item[$i-1]->addAttribute("id", $id);

It’s just outputting this.

<?xml version="1.0" encoding="ISO-8859-1"?>
<root>
          <playlist title="KungFu-themes"/> 
</root>

I appreciate all your help so far. You rock.

320 posts
  • Bought between 100 and 499 items
  • Has been a member for 7-8 years
  • United States
timmylogue says
With the Class file I can easliy call things I need for example, the Youtube video ID
$videoID = $youtube->watch_id($video_url);

So i would just use: $videoID

Here is what the php Class is outputting on the page. (image shown below). \\

I just now need php to generate an XML and add those titles and ID’s inside the XML structure I showed you.

I need that structure because I have a flash XML video player that will read those videos, but it has to be in that XML structure for it to understand :)

Tim

by
by
by
by
by
by