Jump to content


Photo

Getting PHP to access a link?


  • Please log in to reply
2 replies to this topic

#1 sid007i

sid007i
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 07 October 2006 - 10:15 PM

include 'http://123.456.789.11/km/rhdc/123-4.cgi';

yup, great include works so the path and everything is correct.

All I'm trying to do is now to get PHP to open that link?

What should I use.

fopen didn't do it.

I looked @ redirects and other too.

#2 sid007i

sid007i
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 07 October 2006 - 10:21 PM

OMG :: I've been searching and trying diff. things.

After I post, I finally find it and it works *OMG*

That's it. Simpe redirect

header("Location: http://abcefg.com/di...r/dir/file.ext");

#3 sid007i

sid007i
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 07 October 2006 - 10:39 PM

Hm. Any work around to make it open in a new window?  :-\




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users