"Homeland Advisory alert" code,Is there one?

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

sharky

Thread Starter
Joined
Jul 8, 2001
Messages
1,375
Is there a code available for one's website of the" Homeland Advisory Alert"?

thanks
 
Joined
Aug 16, 2002
Messages
90
Try http://nukecops.com/downloads-cat-3.html

Homeland Security Threat Advisory Script

It is in php, and I haven't installed it yet, but will attempt to do so today or tomorrow. It may be just for PHP-Nuke, but I'm not sure. Even if it is, you should be able to take it apart and see what the coding is.

- Snorii
 
Joined
Aug 16, 2002
Messages
90
I found a better link for you. http://www.phpexpo.com/files/hsas.html

I tried the php-nuke block and it worked fine. I then found a link off of it to the previous url.

At the bottom of the page you can download either version. cgi or php block for php-nuke.

They also explain how to install it via SSI or an image tag. The tar file comes with two cgi scripts and some images.

- Snorii :D
 
Joined
Aug 16, 2002
Messages
90
Or you could do something like this. :D

PHP:
#!/usr/local/bin/perl

use LWP::Simple;

print "Content-Type: text/html\n\n";
print "<html><title></title><body>\n";      # some browsers might get confused w/o this line

$url = 'http://www.dhs.gov/dhspublic/';
$content = get $url;

$content =~ /(<img\sname=\"dhsadvisory\"\ssrc=\")\/(dhs\/images\/.*?\">)/; 
$firstchunk=$1;
$secondchunk=$2;

$url2='http://www.dhs.gov/';
$wholechunk = $firstchunk.$url2.$secondchunk;

print "<p><p>\n";
print $wholechunk;
print "\n</body></html>\n";
exit;
I'm not sure how much can be seen, but it you do a quote, you can see the code.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Top