PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
sqzdog
Involved
Involved


Joined: Sep 22, 2003
Posts: 252

PostPosted: Tue May 25, 2004 7:12 pm Reply with quote Back to top

There is a website that has a "downtown view" webcam on it. The end of their is url is: /webcamfast.html How can I incorporate this webcam into a block on my site?
View user's profile Send private message Send e-mail
GanjaUK
Life Cycles Becoming CPU Cycles


Joined: Feb 14, 2004
Posts: 633
Location: England

PostPosted: Tue May 25, 2004 7:23 pm Reply with quote Back to top

What is the URL to the site with the webcam on?
View user's profile Send private message Visit poster's website
sqzdog
Involved
Involved


Joined: Sep 22, 2003
Posts: 252

PostPosted: Tue May 25, 2004 7:41 pm Reply with quote Back to top

Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Send e-mail
GanjaUK
Life Cycles Becoming CPU Cycles


Joined: Feb 14, 2004
Posts: 633
Location: England

PostPosted: Tue May 25, 2004 8:19 pm Reply with quote Back to top

If you dont mine having the image reload when you refresh the page, then you can just make a center block like this:

Code:

<?php

if (eregi("block-Webcam.php",$_SERVER['PHP_SELF'])) {
    Header("Location: index.php");
    die();
}

$content .= "<center><img src=\"http://readthehook.com/webshotbig.jpg\" WIDTH=512 HEIGHT=384 BORDER=0 ALIGN=bottom name=campicture reload=30></center>";

?>


If you want the java to refresh it, you can add it in my_header.php
View user's profile Send private message Visit poster's website
sqzdog
Involved
Involved


Joined: Sep 22, 2003
Posts: 252

PostPosted: Tue May 25, 2004 9:13 pm Reply with quote Back to top

so, I just paste that into my_header.php and do that block and that's it?
View user's profile Send private message Send e-mail
GanjaUK
Life Cycles Becoming CPU Cycles


Joined: Feb 14, 2004
Posts: 633
Location: England

PostPosted: Wed May 26, 2004 5:51 am Reply with quote Back to top

Check the source code for the page, you will see the java that refreshes that image in the <head> of the page.
View user's profile Send private message Visit poster's website
sqzdog
Involved
Involved


Joined: Sep 22, 2003
Posts: 252

PostPosted: Wed May 26, 2004 6:08 pm Reply with quote Back to top

I don't follow you since I'm new to this. Here is the code in the my_header.php file:

Quote:

<?php

/************************************************************************/
/* PHP-NUKE: Web Portal System */
/* =========================== */
/* */
/* Copyright (c) 2002 by Francisco Burzi */
/*
Only registered users can see links on this board!
Get registered or login to the forums!
*/
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/

/*
This file is to customize whatever stuff you need to include in your site
when the header loads. This can be used for third party banners, custom
javascript, popup windows, etc. With this file you don't need to edit
system code each time you upgrade to a new version. Just remember, in case
you add code here to not overwrite this file when updating!
Whatever you put here will be between <head> and </head> tags.
*/


// Start Last Visit Code V.1.4/
global $user, $user_prefix, $cookie, $db;
cookiedecode($user);
$username = $cookie[1];
$user_lastlogindate = date("M d, Y");
$user_lastlogin = time();
$user_flag = "0";
$ip = $_SERVER["REMOTE_ADDR"];
$sql = ("UPDATE ".$user_prefix."_users SET user_lastlogin='$user_lastlogin', user_lastlogindate='$user_lastlogindate', user_hits=user_hits+1, user_ip='$ip', user_flag='$user_flag' WHERE username='$username'");
$db->sql_query($sql);
// End Last Visit Code /


?>
View user's profile Send private message Send e-mail
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum