Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 12-05-2010
Member
 
Join Date: Apr 2010
Posts: 84
What are the Dynamic Signatures?

Hello everyone,
I have recently asked about the Dynamic Signatures in my software company. Since, I am not developer in PHP, I am not having much idea about it. So, thought that you all will be useful for me.!! Please tell me what are the Dynamic Signatures? Also provide any other information related to the same topic. Hoping that someone over there will reply me soon.!!
Reply With Quote
  #2  
Old 12-05-2010
Member
 
Join Date: Feb 2008
Posts: 1,848
Re: What are the Dynamic Signatures?

A dynamic firm is an image that changes randomly every time it is loaded by the browser, so that you can show all your creations. The first thing to do is register at a hosting site that supports PHP and GD libraries, there are several pages that meet these requirements. The registration is very simple (and free) which you can do it on your own. Once you've registered, you can Login-in to your account by clicking on "my account". This option will take you to another page where you will find the option "Open FTP site". To get yourself a dynamic signature, first you need a proper host which supports both PHP and hotlinking. Most free hosts do not offer this and won't work at all, check with your host before trying to use this script, else you may end up wasting your time.
Reply With Quote
  #3  
Old 12-05-2010
Member
 
Join Date: Jan 2008
Posts: 1,515
Re: What are the Dynamic Signatures?

The following is the code for results shown are those of hacker.net :

PHP Code:
<? Php
     error_reporting 
(0);

         $ 
User ['first'] = file_get_contents ('http://foro.hacker.net/SSI.php?ssi_function=whosOnline')
         $ 
User ['seconds'] = file_get_contents ('http://foro.hacker.net/SSI.php?ssi_function=whosOnline');

         $ 
User ['first'] = desde_hasta (') <br />''</ a>', $ user ['first']);
         $ 
User ['seconds'] = desde_hasta ('<''>', $ user ['seconds']);

         $ 
User2 strip_tags ($ user ['first']);

         $ 
Second '<'. $ User ['seconds']. '</ A>';
         $ 
User1 strip_tags ($ seconds);

             
Header ("Content-type: image / png");
             $ 
Im imagecreatetruecolor (400150);

             $ 
Im imagecreatefrompng ('fondo.PNG');
             
imagealphablending ($ imtrue);
             
imagesavealpha ($ imtrue);
             $ 
White imagecolorallocate ($ im255255255);
             
Imagestring ($ im44240, $ user1, $ white);
             
Imagestring ($ im44255, $ user2, $ white);
             
Imagepng ($ im); 

      function ($ 
from, $ to, $ content, $ number false, $ retornar_todo false) (
         if ( 
eregi ($ from, $ content)) (
         $ Return = 
explode ($ from, $ content);
             foreach ($ 
back as $ compare) (
                 $ 
Compare explode ($ to, $ compare);
             if ($ 
compare = $ compare [0])
                     $ Return [] = $ 
compare;
                 unset ($ 
compare);
                 )

                 if ($ 
return_todo) (
                     unset ($ return [
0]);
                 return $ return;
                     )    
                 if ( 
is_numeric ($ quantity)) (
                 $ Return = $ return [$ 
count];
                 Else ()
                 $ Return = $ return [
1];
                 )
                 Return $ Return;
             Else ()
  return 
false;
  )
 )
 
?>
Reply With Quote
  #4  
Old 12-05-2010
Member
 
Join Date: May 2008
Posts: 2,293
Re: What are the Dynamic Signatures?

I am providing you with another coding which can also be helpful for you.
PHP Code:
<? 
Dir ". / Signatures /", / / 
Types = array ('jpg' => 'jpeg''jpeg' => 'jpeg''pjpeg' => 'jpeg''png' => 'png'); 
Dh opendir ($ dir
while ($ 
data readdir ($ dh)) ( 
if ($ 
data =='..' | | $ data =='.' | | is_dir ($ dir. $ data)) 
continue; 
Temp_ext explode ('.', $ strrev ($ data), 2); 
Temp_ext strrev ($ temp_ext [0]); 
if ($ 
types [$ temp_ext] | | $ _GET ['debug']) 
Sigs [] = $ data

mt_srand ((double) microtime () * 10000000); 
mt_rand (0, (count ($ sigs) -1)); 
Sig = $ dir. $ Sigs [$ i]; 
Ext explode ('.'strrev ($ sig), 2); 
Ext strrev ($ ext [0]); 
Type = $ types [$ ext]; 
if (! $ 
type) ( 
header ('Content-type: image / jpeg'); 
Im imagecreatetruecolor (500.100); 
White imagecolorallocate ($ im255,255,255); 
Black imagecolorallocate ($ im0,0,0); 
imagefill ($ im0,0, $ white); 
imagettftext ($ im13,0,0,10, $ black, $ dir. $ font'external file Nsiona unacceptable'. $ ext); 
imagejpeg ($ im,''100); 
imagedestroy ($ im); 
Else () 
header ("Content-Type: image / ($ type)"); 
readfile ($ sig); 

?>
Reply With Quote
  #5  
Old 12-05-2010
Member
 
Join Date: Apr 2008
Posts: 2,001
Re: What are the Dynamic Signatures?

You will have to follow some steps after writing the coding that are mentioned by the 'Modifier' and 'Zecho'. You will have to upload the file to the hosting page for this return to the FTP control center and make use of the boxes on the right, just you have to click on "Browse" and indicate the place where the file is found ( and give "rise" of course). Sometimes when you upload the document on your computer automatically changes its termination, of. "Php" a ".Php.txt" if this happens, it is very important that you turn to rename the file, just you have to select it and click on "rename".
Reply With Quote
  #6  
Old 13-05-2010
Member
 
Join Date: Nov 2008
Posts: 1,192
Re: What are the Dynamic Signatures?

Sometimes you can show some error messages: "Sorry, the FTP server is temporarily disabled for maintenance ... Please try later "or" FTP connection has been lost. Web FTP is restarting ... "in principle is a" normal "stress a bit and work. Not long now to enjoy our dynamic firm. The next thing you have to do is find the URL that leads us to php file, the easiest way to find it is to replace the fields in bold for the parameters listed (and remove the asterisk). So no worry even the error comes.
Reply With Quote
  #7  
Old 13-05-2010
Member
 
Join Date: Nov 2008
Posts: 996
Re: What are the Dynamic Signatures?

Save the text in a text file (notepad) you name it with an extention. Vbs and double click immediately above instead of running Outlook Express.
This script will add the current date to your signature (signature 000 000 if you have one) and will automatically launch Outlook Express.
Code:
Sun WSHShell 
Sun identity, Signur, default 

Set WshShell = CreateObject ("WScript.Shell") 
With WshShell 
= identity. regread ("HKCU \ Identities \ Last User ID") 
Default =. regread ("HKCU \ Identities \" & Identity & "\ Software \ Microsoft \ Outlook Express \ 5.0 \ signatures \ Default Signature") 
Signur =. regread ("HKCU \ Identities \" & Identity & "\ Software \ Microsoft \ Outlook Express \ 5.0 \ Signatures \" & default & "\ Text") 
if instr (Signur, "Date:") then Signur = left (Signur, len (Signur) -20) 
Signur = Signur & vbCrLf & "Date:" & left (now (), 8) 
. RegWrite "HKCU \ Identities \" & Identity & "\ Software \ Microsoft \ Outlook Express \ 5.0 \ Signatures \" & default & "\ Text", Signur, "REG_SZ" 
. Run "msimn.exe" 
End with 
Set WshShell = Nothing
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "What are the Dynamic Signatures?"
Thread Thread Starter Forum Replies Last Post
Signatures with Outlook templates Maggie Q Windows Software 4 26-11-2010 05:57 AM
Digital Signatures jimmaya Windows Software 1 16-10-2010 12:48 AM
Outlook Signatures Not Updating SteveSchuler Windows Software 1 30-06-2009 09:27 PM
HTML Signatures in Entourage GUSSIE Operating Systems 3 24-06-2009 05:18 PM
How to backup Signatures in Outlook ? Sophia Windows Software 1 23-02-2009 11:50 PM


All times are GMT +5.5. The time now is 01:33 PM.