Sigx

We are the future in the past.
It is currently Tue Mar 19, 2024 2:30 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Random Image in Remote SigX
PostPosted: Tue May 11, 2004 5:09 pm 
Offline

Joined: Tue May 11, 2004 3:40 pm
Posts: 6
I've been using php script to randomly pull images for my sigs for a while, but now I'm trying to incorporate it into Remote SigX, however I'm hitting a few speed bumps.

I can get the code to pull the image, but it won't show the text on top.

I suppose I'll get right to the code...

Here's the random image script, xenon-sig.php:

Code:
<?
   $strDirectory = "/home/fluxwork/public_html/misc/xenon-sig/";
   $resDirectory = opendir($strDirectory);
 
   while (false !== ($strFilename = readdir($resDirectory)))
   {
      if ($strFilename[0] != ".")
      {
         $arrFiles[] = $strFilename;
      }
   }
 
   $nRand = rand(0, count($arrFiles) - 1);
 
   header("Location: http://magnum.liquidweb.com/~fluxwork/misc/xenon-sig/" . $arrFiles[$nRand]);
?>


Here's what I've done with sigx.php:

Code:
<?
// SigX Remote Image Generater (Basic Background)
// Version 1.1,
// Notes: you can use any image, JPG PNG or GIF (gif untested), any size and dimention. just make sure its big enough to fit your biggest text
// this code does not resize the background image.
// my email: [email protected]

include("xenon-sig.php");

// Settings, Edit
// This is the only part you need to edit.
// Username Setting
$un = "xenoNfluX";
// background image location
$backIMG = "$strDirectory"; // you can use URL for the image here too, JPG

// where the text goes on the image, offset to blank area on the image, in pixels.
$Xoffset=90;
$Yoffset=50;


Any ideas?


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 11, 2004 5:11 pm 
Offline

Joined: Mon Apr 05, 2004 8:37 pm
Posts: 335
Location: /home/chair/sitting down/
http://forum.yuriy.net/phpbb/viewtopic.php?t=477

_________________
Image
My Site: www.dh5.us
I'll kill you Brian Anderson


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 11, 2004 5:16 pm 
Offline

Joined: Tue May 11, 2004 3:40 pm
Posts: 6
DarkHorizon wrote:
http://forum.yuriy.net/phpbb/viewtopic.php?t=477


Thanks!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 3 guests


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

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group