Signature ...php |
Author: |
Message: |
Purity
Veteran Member
AngelFuck
Posts: 1348 Reputation: 38
34 / / –
Joined: Aug 2004
|
O.P. Signature ...php
how can i get those kewl php scripts in my signature, and where do i get these scripts...?
www.purity.toastednet.org
|
|
01-05-2005 09:54 PM |
|
|
Tochjo
forum super mod
Posts: 4207 Reputation: 78
37 / /
Joined: Sep 2003
|
RE: Signature ...php
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.
|
|
01-05-2005 10:09 PM |
|
|
Purity
Veteran Member
AngelFuck
Posts: 1348 Reputation: 38
34 / / –
Joined: Aug 2004
|
O.P. RE: Signature ...php
Im looking for one thawt says wat song im playing in winamp.
www.purity.toastednet.org
|
|
01-05-2005 10:23 PM |
|
|
Chris.1
Full Member
addicted to the net
Posts: 363 Reputation: 3
37 / / –
Joined: Jun 2003
|
RE: Signature ...php
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.
|
|
01-05-2005 10:45 PM |
|
|
lopardo
Veteran Member
Posts: 1395 Reputation: 33
38 / /
Joined: Nov 2002
Status: Away
|
RE: Signature ...php
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 ).
|
|
01-05-2005 10:49 PM |
|
|
.blade//
Veteran Member
Posts: 2856 Reputation: 39
36 / / –
Joined: Jan 2004
|
RE: Signature ...php
Just go here, hit "View Source" and copy the script I found
Edit: Forgot 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");
?>
This post was edited on 01-05-2005 at 10:56 PM by .blade//.
|
|
01-05-2005 10:53 PM |
|
|
lopardo
Veteran Member
Posts: 1395 Reputation: 33
38 / /
Joined: Nov 2002
Status: Away
|
RE: Signature ...php
quote: Originally posted by blade
Just go here, hit "View Source" and copy the script I found
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
|
|
01-05-2005 10:55 PM |
|
|
Purity
Veteran Member
AngelFuck
Posts: 1348 Reputation: 38
34 / / –
Joined: Aug 2004
|
O.P. RE: Signature ...php
now that i got the php file how do i use it with my sig?
www.purity.toastednet.org
|
|
01-06-2005 12:36 AM |
|
|
matty
Scripting Guru
Posts: 8336 Reputation: 109
39 / /
Joined: Dec 2002
Status: Away
|
RE: Signature ...php
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]
This post was edited on 01-06-2005 at 12:40 AM by matty.
|
|
01-06-2005 12:40 AM |
|
|
Purity
Veteran Member
AngelFuck
Posts: 1348 Reputation: 38
34 / / –
Joined: Aug 2004
|
O.P. RE: Signature ...php
is there a server out there where i can host it? anyone? anyplace?
www.purity.toastednet.org
|
|
01-06-2005 12:41 AM |
|
|
Pages: (2):
« First
[ 1 ]
2
»
Last »
|
|