Is there any way to get this
http://news.bbc.co.uk/nol/ifs_news/h...age/ticker.stm
running live in a sig in this forum?
(i would like it live, not as a recorded gif)
Is there any way to get this
http://news.bbc.co.uk/nol/ifs_news/h...age/ticker.stm
running live in a sig in this forum?
(i would like it live, not as a recorded gif)
PHP. Untested...Code:<?php $ticker=fopen('http://news.bbc.co.uk/nol/ifs_news/hi/front_page/ticker.stm','r'); function findNewsItem($str,$pos) { $str=substr($ticker,strpos($ticker,"theSummaries[{$pos}] = \"")); $str=substr($str,0,strpos($str,'.')+1); return $str; } function text($x,$n) { ImageString($im,4,$x,10,$news[$n],$black); } $news=array('','','',''); for($i=0;$i<3;$i++) { $news[$i]=findNewsItem($news[$i],$i); } unset($ticker); $im=ImageCreate(500,150); $white=ImageColorAllocate($im,0xFF,0xFF,0xFF); $black=ImageColorAllocate($im,0x00,0x00,0x00); text(10,0); text(45,1); text(80,2); text(115,3); // if the image gets too large (filesize), lower the third number image the ImageJPEG function. valid numbers are 1 to 10. $fn=mt_rand(1,999999999).'.jpg'; header('Content-type: image/jpeg'); ImageJPEG($im,$fn,10); unlink($fn); ?>
just use the dohtml tag and add the marquee tag
Um.....thanks
noob at work here
but im not quite sure
what to do with what you both just wrote
dont know how to implement it
Haxor-am i supposed to put that text in the sig box or what? if so it doesnt allow it
CoolMac-what exactly do you mean?
If you could show me or do an example, or post it in areply so i can grab it -
thanks
Save it as a .php file, upload it to a server with PHP, and put this in your sig:Code:[img]http://www.site.com/file.php[/img]
haxor's option is the best one.
I was suggesting for you to use html to crate a marquee
Can you do this in a sig? Doesn't HTML need to be enabled for that (it isn't on this forum)?dohtml tag and add the marquee tag
.php extensions can't be added inside [img] tags....Code:[img]http://www.site.com/file.php[/img]
It is not permitted to post .php extensions
is there any other way..... :helpsmile:
Make a folder just for this script. Name it sig.txt and upload it. Rename it to sig.jpg once uploaded. Upload this file, named ".htaccess" to that directory:Code:AddType application/x-httpd-php .jpg
Ok Haxor
i have hope
first i will fiond out what php is
find a site which hosts it
load your script¨
make a folder for the script
name it si.txt and upload it
rename it to sig.jpg an dupload it
uplload file .htaccess to that directory
as a first timer i will learn alot in this process
and will post once i have achieved - success.
if not.... questions will follow
Haxor- is there absolutøly any chance that you could try to be a little bit more explicit in your replies- as in not expect those with problems to understand everything you know-?
Thanks again
Bookmarks