Shoutbox

Signature ...php - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: Signature ...php (/showthread.php?tid=36505)

Signature ...php by Purity on 01-05-2005 at 09:54 PM

how can i get those kewl php scripts in my signature, and where do i get these scripts...?


RE: Signature ...php by Tochjo on 01-05-2005 at 10:09 PM

Depends what kewl script you mean.
At http://www.danasoft.com/ you can get the code for the one that says your IP, browser and so on.


RE: Signature ...php by Purity on 01-05-2005 at 10:23 PM

Im looking for one thawt says wat song im playing in winamp.


RE: Signature ...php by Chris.1 on 01-05-2005 at 10:45 PM

There is a plugin for WinAMP called AudiStream. This allows you to send data to scripts on a webserver somewhere that will create an image out of the datasent.

I'm not sure of the exact address for the script, but if you google it im sure you'll find it.


RE: Signature ...php by lopardo on 01-05-2005 at 10:49 PM

I made one a while ago, there was a thread about it but I can't find it (maybe it's gone). You can download it from here: http://360software.dakotabcn.net/dynimg/makeimg_src.zip

There was another script in some page but I don't remember its URL. I'll try to find it when I get home (or use Google yourself :P).


RE: Signature ...php by .blade// on 01-05-2005 at 10:53 PM

Just go here, hit "View Source" and copy the script I found :P


Edit: Forgot :dodgy: Dodgy Php...



Here's the code, just put this on your site and stick the images in a subfolder called "img", that all! To add more just put stick more images in the 'img' directory.

code:
<?php
/*
Based on code by Perpetual Dreamer and Alland.

Instructions:

Place all the files that you want into the directory of your choice,
which will be specified in the $path variable.

Then, just link to the script as a php file. Can be used in a site, such as <img src="filename.php">,
or a forum, using [img ]http://yoursite.com/filename.php[/img]

Enjoy.


Rob
*/

//directory here (relative to script)
$path = 'img';

$i = 0;
$imgDir = opendir ($path);
    while ( $file = readdir( $imgDir ) )
    {   
        //checks that file is an image
        $file_type = strrchr( $file, "." );
        $is_image = eregi( "jpg|gif",$file_type );
       
        if ( $file != '.' && $file != '..' && $is_image )
        { $images[$i++] = $file; }
    }
closedir ($imgDir);

srand( (double) microtime()*1000000 );
$image_name = $path . '/' . $images[rand( 0,sizeof( $images ) -1 )];
$imgSize = GetImageSize( $image_name );

//ends script if no images found
if ( $i == 0 )
    die();

//Display the image
readfile("$image_name");

?>



RE: Signature ...php by lopardo on 01-05-2005 at 10:55 PM

quote:
Originally posted by blade
Just go here, hit "View Source" and copy the script I found :P


http://www.toastednet.org/blade/avitar/image.php
Well, you can't see the source of that, as when you try to see it, the file has already been processed and it returns a GIF image, post it here or save it as a txt or something :P
RE: Signature ...php by Purity on 01-06-2005 at 12:36 AM

now that i got the php file how do i use it with my sig?


RE: Signature ...php by matty on 01-06-2005 at 12:40 AM

quote:
Originally posted by Skin Ticket
now that i got the php file how do i use it with my sig?
You need to upload it to a server that supports PHP then use this
code:
[img]http://www.someserver.com/somephpscript.php[/img]

RE: Signature ...php by Purity on 01-06-2005 at 12:41 AM

is there a server out there where i can host it? anyone? anyplace?


RE: Signature ...php by matty on 01-06-2005 at 01:02 AM

[Image: google.gif]

http://www.google.ca/search?hl=en&oe=UTF-8&ie=UTF...ree+php+webhosting


RE: Signature ...php by .blade// on 01-06-2005 at 01:05 AM

Ask some of the people from the forum who own places like http://www.killercarrot.co.uk and http://www.toastednet.org/


Edit: :dodgy: Dodgy Matty...I forgot the .co.uk, ok? :-/ :P


RE: Signature ...php by matty on 01-06-2005 at 01:09 AM

quote:
Originally posted by blade
Ask some of the people from the forum who own places like http://www.killerkarrot and http://www.killercarrot.co.uk/

ummm the first link doesn't exist blade :P