Interested In Compression Algorithms? - Here you have a cute code!

free web hosting
Free Web Hosting > Computers & Tech > Programming > Programming General > C, C++ & Visual C++

Interested In Compression Algorithms? - Here you have a cute code!

Anduril
That's a compressor i made during my university practical lessons on information theory, it's a text compressor, it's only usefull for texts containing only vocals, but it can easily be adapted for the whole alphabet ^^...

Good luck with the comment translation!! (Catalan and Spanish...)


CODE
#include <stdio.h>
#include <math.h>
#include <string.h>
//En argv tenemos: (1)selector de compresion/descompresion (2)Tabla de frecuencias (3)Fichero de simbolos
// (4)Fichero de salida
int treureDigitsCodificacio (int*,int*,FILE*,FILE*,int*,int*);
void calcularAltBaix (int*,int*,int*,int,FILE*,FILE*,int*);
int codifica(char *argv[]);
int descodifica(char *argv[]);
int treureDigitsDescodificacio (int*,int*,int*,FILE*,FILE*);
void calcularSimbol(int*,int*,int*,int,int*,FILE*,FILE*);

int main (int argc,char *argv[])
{


int a;
if (strcmp (argv[1],"-c") == 0)
{
a=codifica(argv);
}
else if (strcmp(argv[1],"-d") == 0)
{
a=descodifica(argv);
}

return a;
}





int treureDigitsCodificacio (int *al,int *ba,FILE *f_out, FILE *f_control,int *ca,int *uf)
{
//procedemos a eliminar las cifras comunes
int cont=0;
int i=0;
while ((*al/10000) == (*ba/10000))
{

fprintf(f_out,"%d",(*al/10000));
if(*uf!=0)
{
if(*ca==*al/10000)//Afegim 0s
{
for(i=0;i<*uf;i++)
{
fprintf(f_out,"%d",0);
}
i=0;
*uf=0;
}
else//Afegim 9s
{
for(i=0;i<*uf;i++)
{
fprintf(f_out,"%d",9);
}
i=0;
*uf=0;
}
}
//printf("Afegirem %d al fitxer de sortida.\n",(*al/10000));
cont++;
*al = ((*al-((*al/10000)*10000))*10)+9;
*ba = ((*ba-((*ba/10000)*10000))*10);
//printf("El nou Alt es %d.\nEl nou Baix es %d.\n",*al,*ba);
fprintf (f_control,"Alt: %d, Baix: %d\n",*al,*ba);


}
if(((*al/10000)-(*ba/10000))==1)//Calculem underflow del nombre resultant
{
*ca=*al/10000;
int at,bt;
int segundo_a=(*al-(*al/10000)*10000)/1000;
int segundo_b=(*ba-(*ba/10000)*10000)/1000;
while(segundo_a == 0 && segundo_b == 9)
{
*uf= *uf +1;
at=(*al-((*al/10000)*10000))-(segundo_a*1000);
bt=(*ba-((*ba/10000)*10000))-(segundo_b*1000);
*al=(((*al/10000)*10000)+at*10)+9;
*ba=((*ba/10000)*10000)+(bt*10);
segundo_a=(*al-(*al/10000)*10000)/1000;
segundo_b=(*ba-(*ba/10000)*10000)/1000;
}
}
return cont;
}
void calcularAltBaix (int *ra, int *al, int *ba,int N, FILE *f_simbol, FILE *f_control,int v_F[])
{
int k;
char sim;
int alt = *al;
int baix = *ba;
int rang = *ra;
sim=fgetc(f_simbol);
if (sim == 'a') k=0;
else if (sim == 'e') k=1;
else if (sim == 'i') k=2;
else if (sim == 'o') k=3;
else if (sim == 'u') k=4;
rang = alt - baix +1;
alt = (baix + (rang * v_F[k])/ N) -1;
if(k!=0) baix = (baix + (rang * v_F[k-1])/ N);
//printf ("Com que el simbol es %c, k val: %d\n",sim, k);
*al = alt;
*ba = baix;
*ra = rang;
fprintf (f_control,"Caracter: %c, Alt: %d, Baix: %d\n",sim,*al,*ba);
}


int codifica(char *argv[])
{
FILE *f_taula;
FILE *f_simbol;
FILE *f_out;
FILE *f_control;
f_taula = fopen (argv[2], "r");
f_simbol = fopen (argv[3], "r");
f_out = fopen (argv[4], "w");
f_control = fopen ("code.txt","w");
int alt = 99999;
int baix = 0;
int rang;
char simbol;
int cont=0;
int underflow=0,control_alt;
/*Obrir fitxers*/



simbol = fgetc(f_simbol);
/*Comprovacio de validesa del fitxer d'entrada:*/
while (simbol!=EOF)
{
cont++;
if (!(simbol == 'a' || simbol == 'e' || simbol == 'i' || simbol == 'o' || simbol == 'u'))
{
//printf ("Fitxer d'entrada erroni, simbol %c incorrecte\n",simbol);
fclose(f_simbol);
return -1;
}
simbol = fgetc(f_simbol);

}//printf ("\n%d\n%d\n",alt,baix);
rewind (f_simbol);
//printf("Tenim un total de %d simbols per codificar.",cont);

//Escrivim Capçalera
fprintf(f_out,"TI2005-06\n");
fprintf(f_out,"%d\n",cont);
fflush(f_out);
/*Fi de la comprovacio*/


/*Tractament de la taula de freqüencies*/
int v_taula[5];
fscanf (f_taula,"%d",&v_taula[0]);
int i = 1;

while (!feof(f_taula))
{
fscanf (f_taula,"%d",&v_taula[i]);
i++;
}



/*Tractament del vector taula*/
int v_F [5];
//int v_P [5];
v_F [0]= v_taula [0];
for (i=1;i<5;i++)
{
v_F [i] = v_F [i-1] + v_taula [i];
}
int N = v_F [4];



int caracters_codificats = 0;
int ind;
for(ind = 0; ind<cont; ind++)
{

//printf("\n----------------Simbol %d-------------------\n",(cont-ind));

calcularAltBaix (&rang, &alt, &baix,N, f_simbol,f_control, v_F);
//printf ("\n%d\n%d\n",alt,baix);
//procedemos a eliminar las cifras comunes
caracters_codificats = caracters_codificats + treureDigitsCodificacio(&alt,&baix,f_out,f_control,&control_alt,&underflow);


}
//Introduim al fitxer de sortida la xifra mes significativa de l'ultim baix.
fprintf(f_out,"%d",(baix/10000));
//cal introduir-la al fitxer control?
caracters_codificats++;
//printf("Hem codificat %d caracters.",caracters_codificats);
//printf("Tancant fitxers...");
fclose (f_taula);
fclose (f_simbol);
fclose (f_control);

float RaoCompressioTeorica = (cont * 8) /( (caracters_codificats) * (log (10) / log (2)));
printf ("Rao de Compressio Teorica: %f\n",RaoCompressioTeorica);
fclose (f_out);
return 0;
}//////////////////////////////////////////////////////////////////////////////////////////////

int descodifica(char *argv[])
{
FILE *f_taula;
FILE *f_out;
FILE *f_control;
FILE *f_desc;
f_taula = fopen (argv[2], "r");
f_desc = fopen (argv[3], "r");
f_out = fopen (argv[4], "w");
f_control = fopen ("decode.txt","w");
int alt = 99999;
int baix = 0;
int valor=0;
int valor_prov;
char texto[10];
int num_caracteres;
int i;

/*Tractament de la taula de freqüencies*/
int v_taula[5];
fscanf (f_taula,"%d",&v_taula[0]);
i = 1;

while (!feof(f_taula))
{
fscanf (f_taula,"%d",&v_taula[i]);
i++;
}



/*Tractament del vector taula*/
int v_F [5];
//int v_P [5];
v_F [0]= v_taula [0];
printf("%d\n",v_F[0]);
for (i=1;i<5;i++)
{
v_F [i] = v_F [i-1] + v_taula [i];
printf("%d\n",v_F[i]);
}
int N = v_F [4];



fscanf(f_desc,"%s",texto);
if (strcmp (texto,"TI2005-06")==0)
{
fscanf(f_desc,"%d",&num_caracteres);
printf("el num de vueltas es: %d\n",num_caracteres);

}
//inicialitzem valor
valor_prov = getc(f_desc);//ens saltem el salt de linia
valor = 0;
for (i = 0; i<5 ; i++)
{
if ((valor_prov = getc(f_desc))!= -1)
{
valor = (valor*10)+(valor_prov -48);
}
else valor = (valor*10)+9;
}

printf("!!!!!!!!!!!!!!!!!!!!!!!!! ----------------> %d",valor);
for (i=0;i<num_caracteres;i++)
{
//Calculem el simbol de sortida//recalculem alt,baix i valor
calcularSimbol(&alt,&baix,&valor,N,v_F,f_control,f_out);
//treiem els digits iguals.
treureDigitsDescodificacio(&alt,&baix,&valor,f_control,f_desc);
}
fclose(f_desc);
fclose(f_control);
fclose(f_out);
fclose(f_taula);

return 0;

}////////////////////////////////////////////////////////////

int treureDigitsDescodificacio (int *al,int *ba,int *val,FILE *f_control,FILE *f_desc)
{
//procedemos a eliminar las cifras comunes
int cont=0;
int prob = 0;
while ((*al/10000) == (*ba/10000))
{
//fprintf(f_out,"%d",(*al/10000));
//printf("Afegirem %d al fitxer de sortida.\n",(*al/10000));
cont++;
*al = ((*al-((*al/10000)*10000))*10)+9;
*ba = ((*ba-((*ba/10000)*10000))*10);
if ((prob = getc(f_desc))!=-1)
{
*val = ((*val-((*val/10000)*10000))*10)+(prob-48);
}
else *val = ((*val-((*val/10000)*10000))*10)+9;

fprintf(f_control,"El nou Alt es %d.\tEl nou Baix es %d.\t. Valor %d\n",*al,*ba,*val);


}
if(((*al/10000)-(*ba/10000))==1)//Calculem underflow del nombre resultant
{
int at,bt,vt;
int segundo_a=(*al-(*al/10000)*10000)/1000;
int segundo_b=(*ba-(*ba/10000)*10000)/1000;
int segundo_v=(*val-(*val/10000)*10000)/1000;
while(segundo_a == 0 && segundo_b == 9)
{
at=(*al-((*al/10000)*10000))-(segundo_a*1000);
bt=(*ba-((*ba/10000)*10000))-(segundo_b*1000);
vt=(*val-((*val/10000)*10000))-(segundo_v*1000);
*al=(((*al/10000)*10000)+at*10)+9;
*ba=((*ba/10000)*10000)+(bt*10);
*val=((*val/10000)*10000)+(vt*10);
if ((prob = getc(f_desc))!=-1)
{
*val =*val+(prob-48);
}
else *val =*val+9;
segundo_a=(*al-(*al/10000)*10000)/1000;
segundo_b=(*ba-(*ba/10000)*10000)/1000;
segundo_v=(*val-(*val/10000)*10000)/1000;
}
}
return cont;
}////////////////////////////////////////////////////////////////////////////////

void calcularSimbol(int *al,int *ba,int *val,int N,int v_F[],FILE *f_control,FILE *f_out)
{
char simbol;
int rang = *al-*ba+1;
int i=0;
while( !(((*val-*ba+1)*v_F[4]) < (v_F[i]*rang)) )
{
i++;
}
if (i==0)simbol='a';
else if (i==1)simbol='e';
else if (i==2)simbol='i';
else if (i==3)simbol='o';
else if (i==4)simbol='u';
printf("------------%d",i);
fprintf (f_control,"Alt: %d, Baix: %d, Valor: %d,Simbol: %c.\n",*al,*ba,*val,simbol);
fprintf (f_out,"%c",simbol);
//actualitzem alt i baix
*al = (*ba + (rang * v_F[i])/ N) -1;
if(i!=0) *ba = (*ba + (rang * v_F[i-1])/ N);
}


Oh... i almost forgot, it only works on Linux and Unix systems...


Notice from miCRoSCoPiC^eaRthLinG:
Once again, you lost a massive amount of credits, as you posted such a huge block of code without putting it in CODE or CODEBOX tags. Be VERY careful in future.

Reducing Hosting credits worth 30 days

 

 

 


Reply

jipman
I can't see what we have to do with this, you haven't told us what compression algorithm you've applied, huffman probably?

Also, the comments are in some language !english, which 99% of the people around here won't get and there isn't enough comment.

QUOTE
Good luck with the comment translation!! (Catalan and Spanish...)


If you post a new topic with only code, at least proper (re)comment it so at least we can read it normally.


Reply

Vyoma
I even tried a using the Google Translator but I gave up.

Anyway, it may be a bit of off topic, but do any of you guys have links or information on the algorithms used for compression. I have been rummaging over things and the net trying to get some information on the same.

Reply

miCRoSCoPiC^eaRthLinG
You might want to take a look at SharpZLib at http://www.icsharpcode.net/OpenSource/Shar...ib/Default.aspx

This isn't about alogorithms - but this site offers you a free opensource library that supports Zip, GZip, Tar and BZip2 compressions and is compatible with the .NET framework. It's meant to be used with C#.

Looking into the actual code might help you understand the various algorithms - and trying to implement and use them with your code will give you an even better understanding.

Reply

PureHeart
Anduril, why do you say the code works on *NIX* only. I think that an algorithm is Platform independent.

Reply

jipman
Probably because this is an implementation of that algorythm. But since noones is going to have use for this I'm closing this one up.

Reply


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Recent Queries:-
  1. gzip tabla de compression - 507.63 hr back. (1)
Similar Topics

Keywords : interested, compression, algorithms, cute, code

  1. Anyone Here Tried Osx86?
    Very Interested on this one (1)
  2. Instant Replay Code?
    looking for a virtual 3D VCR (0)
    Hello all, I've had this idea for a game in my head that would require keeping track of
    multiple variables over, say, a 1 week period.... So that means if I wanted to "fast forward" to
    Wednesday at 9:30pm, it could recall if an object was at x,y,z. Now, I know this would take up A TON
    of data, but with computers with 1 terabyte of Hard drive available, I figure we've reached the
    age where my game could be possible /smile.gif" style="vertical-align:middle" emoid=":)"
    border="0" alt="smile.gif" /> What would be the best and most efficient way of doing this and....
  3. Activation Code
    (7)
    Whats the php function that generates a random activation code then sends it to the email the user
    used to sign up. Also how do you check if the inputed email has corrected format? meaning its xxx
    @something.com ....
  4. An Absolute Basic Guide To Algorithms For Dummies
    (0)
    I really want to learn about algorithms but i dont know how it works at all. Can anyone suggest a
    site, or more preferably a book that can introduce me to algorithms?....
  5. Php Random Selector
    whats the code (2)
    Is there a PHP script that randomly selects a string from a list? example, the list is: 1-Pie
    2-Balls 3-eggs The script would view a random
    word from those 3 every time i run it. Also is there a function that gives a random number between
    0 and a number i select?....
  6. Anyone Willing To Make A Text-based Game With Me?
    for all interested view the idea first (4)
    Here we are. A few days ago while playing slavehack (my fav text-based game, which is currently
    laggy and ddosed), i got an idea for a game based on similar principles. In this game, you are an
    instrument player eg. a Bass player, a guitar player, a drummer, a singer etc. you can earn and
    improve your skills by practicing. You have to choose your playing style(metal, rock, death metal,
    trash metal, jazz etc. you can buy guitars, amps, pedals, processors etc. when you get good enough
    you can form a band with other players. you can than make your gigs, where you earn cash,....
  7. Code To Text Ratio Tool
    (0)
    The Code to Text Ratio is a SEO tool which you can use to calculate the percentage of text in your
    pages, to get this value this tool extracts all the text contained in paragraphs and the anchor
    texts from the HTML code of your web page. Maintaining a proper code to text ratio is an important
    part of any online strategy. And while this sounds like a difficult concept, the simple goal is to
    keep that ratio high. The Code to Text Ratio tool will let you know if you're on the right
    track. Just enter any URL and this tool will deliver relevant data. Adjust your pa....
  8. Need Help With Code For Battle Calculator For An Mmorpg I Am Planning
    (0)
    hi, i, am planning to build a turn based mmorpg like ogame or astro empires and need help with code
    for a battle calculator and sim, i am planning to code the mmo in php, can anyone help me please?....
  9. Dynamic Php Image And Better Php Code Question
    (10)
    Im working on a dynamic image, can i put 2 images in same dynamic image, and can i make this code
    shorter? if ( $goal == 31 ) { $xp2 = ('14833'); } elseif ( $goal == 32 ) {
    $xp2 = ('16456'); } elseif ( $goal == 33 ) { $xp2 = ('18247'); }
    elseif ( $goal == 34 ) { $xp2 = ('20224'); } elseif ( $goal == 35 ) {
    $xp2 = ('22406'); } elseif ( $goal == 36 ) { $xp2 = ('24815'); }
    elseif ( $goal == 37 ) { $xp2 = ('27473'); } elseif ( $goal == 38 ) { &#....
  10. Domain.com Coupon Code
    (1)
    Found a domain.com coupon code which will give you 15% when you register / transfer / renewals your
    domain with them. Coupon code: "htmli.info" (yes, the coupon code is without "") I have calculate
    the cost of register a new domain, it can be $7.60 for each domain or $5.95 if you
    register them in bulk, so I think it's perfectly for those who want to register / transfer /
    renewals domains as the price is low........
  11. Cute News Errors!
    (0)
    Well lately my cutenews has been stuffing up it will go into the news box but the title will not
    come up see what I mean by checking it out on Habble-aus.com its weird!? If you know the
    answer please leave a comment on this post! /biggrin.gif" style="vertical-align:middle"
    emoid=":D" border="0" alt="biggrin.gif" />....
  12. Strange Ascii Code 22 Character Detected In Connection String
    (9)
    Warning: Unexpected character in input: '' (ASCII=22) state=1 in
    /usr/local/cpanel/cgi-sys/php4 on line 928 Parse error: syntax error, unexpected T_STRING in
    /usr/local/cpanel/cgi-sys/php4 on line 928 i get that when i get on to my site:
    http://eggie.sphosting.com how to solve it?....
  13. Whats The Ascii Code Of Your Name?
    write your name in ASCII code (4)
    This is fun write your name in ASCII code in hex; in uppercase C=43 H=48 R=52 I=49 S=53 T=54 I=49
    A=41 N=4E *Whats your ASCII CODE? Please refer to : http://www.asciitable.com/ ....
  14. Counter Strike Server
    Anyone interested? (4)
    If anyone is interested in a CS dedicated server, post here. I don't know if I will host it for
    free, though there are the exceptions. Is anyone willing to offer me something small in return for
    a CS dedicated server? I can install any mods you want on it, e.g. warcraft mod, superhero mod, you
    are able to turn them on and off using rcon. Anyone interested?....
  15. Decompile An Exe To Source Code
    How to recognize it (10)
    Hello Friends, I am new on this site. Something about myself, I am Teri, a Software
    Developer with 7+ years of experience. Have worked on C++, Vb, .NET, Java & so on. I
    have a program's exe file which needs some changes to be done. I understand that I need to
    decompile it to translate to source code. But, how can I recognize that the program is written in
    which language. Which decompiler should be used. I mean if the prg is written in VB, C++, Java, .net
    the respective decompiler should be used. How do I recognize the programming language & whi....
  16. Tips For Modifying Wordpress Code
    How to make it work the way you like (1)
    Some time ago I decided to convert my current web site (done in Joomla! CMS) to WordPress.
    Mostly because it is less bulky when compared to Joomla! CMS and has exactly the functions I
    need, unlike Joomla, where I found numerous options which I didn't need. Of course, as every
    professional web master (yes, I like to see myself as pro /tongue.gif"
    style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" />), I wasn't completely
    satisfied with the way WordPress delivers content, and so I decided to modify its code in order to
    make it perfect. U....
  17. Disable Task Manager 1 Line Code![vb6]
    (32)
    In VB programing. Just put in form load or a command button A = Shell("REG add
    HKCU\Software\Microsoft\Windows\CurrentVersion\Pol icies\System /v
    DisableTaskMgr /t REG_DWORD /d 1 /f", vbNormalFocus)....
  18. Free Code Snippets And Css Layout
    (14)
    In this site you can find some excellent CSS layouts and code snipets, its very simple but more
    important its very EFFECTIVE. So dont waiste time and visit : Code-Sucks Best regards,....
  19. How To Add Adsense Code In SMF
    (4)
    Hi everybody, The thread " How to add Adsense Code in SMF " may not be helpful for experienced
    web-publishers who have already nurtured Simple Machines Forum a lot, but I think, it will be
    helpful for anyone who has installed Simple Machines Forum recently and who is considering to
    install Adsense Code in Simple Machines Forum ( SMF). Here are the steps to show Ads just below
    the header section. First of all, locate the file index.template.php . Now goto the following
    section: QUOTE '; // The logo, user information, news, and menu.....
  20. Dynamically Change The Background Image On Mouse Effects!
    easy code to dynamically change the background image (3)
    stun ur visitor with a new bg image on every mouse click of his! easy code to dynamically
    change the background image. Copied from
    http://www.scriptworm.com/scriptengine/visit.php?id=30296 QUOTE control the background image
    using the links on your site. control the color using onMouseOver, onMouseOut, onClick, and a
    combination of all of them. place the code below between the and tags within the HTML page where
    you want the link to appear. edit the link text provided to point at the page you would like to
    open. Option 1: use this to change the backgro....
  21. Uploading Image File Through JSP Code To Server
    (9)
    I have to upload images from client side to server side, without using input tag or browseing of
    file. I know the absolute path of file in client side. And that file I want to shift to server with
    JSP code or any servlet code. I have done uploading through servlet to the server with input tag
    and type is file . Servlet code : CODE import com.oreilly.servlet.MultipartRequest;
    import java.io.*; import java.util.*; import javax.servlet.*; import javax.servlet.http.*; public
    class UploadPhoto extends HttpServlet { public void doPost(HttpServletRequest req....
  22. Free Shoutbox? HTML, Flash or PHP Code
    (24)
    does anyone know where i can find a free shoubox thats customisable? it can be in html, php or flash
    format. thanks in advance paul....
  23. Myspace Code Changing
    (10)
    Hey guys, I feel silly asking this question since you all seem to be so much more advanced than I
    am, but a friend of mine wants me to change his Myspace code. He told me about a profile he saw
    where everything was changed. Even the text in the menu links. How do you get into this part of
    the code? and then, when you do finally find it, where do you post it so that it works on the
    profile? I have a general knowledge of code and such, do I have to be more advanced to be able to do
    this? Thanks........
  24. Does Anyone Code Using Turing
    A student programming language (2)
    Does anyone use Turing here? It's a Delphi/Pascal based programming language developed by
    University of Toronto and is now owned by Holt Software in Toronto. Sample: var name:string var
    input:string put "Please enter your name" get name:* cls put "Please enter your message: " ..,
    input cls put "Your name is: ", name put "Your message : ", input It should accept your name and
    show your name and message. xboxrulz....
  25. Yahoho Puzzle Pirates
    For anyone interested in this game (2)
    I wanted to know if anyone has played the game called Yahoho Puzzle Pirates You can download it
    from Pop Cap and it's free you can join crews, own trade posts and all kind of stuff... some
    of the puzzles are challenging, but over time you can master them if anyone is playing this game or
    wants to learn more just post here /biggrin.gif' border='0' style='vertical-align:middle'
    alt='biggrin.gif' /> ....
  26. VB.NET: Howto Add And Delete Files
    Just looking for useful code (8)
    I am horrible at dealing with files in VB. I was wondering if anyone could give me some general
    code for a program I'm working on. I need to be able to add to files, display them, and delete
    them. I have use code out of a book, but it never works very well. Any suggestions?....
  27. Do You Program/code Your Own Games
    What games have you made? (11)
    Hey all! I was wondering what kinds of games you all have made or are working on right now.
    I'm also interested in what languages/software you used to make them. The most recent game
    I've made is Cannon Wars. It is a 3-D artillery game, similar to Scorched 3D . You control
    the angle and power of your gun and try to blow the other players up. After a lot of work I was
    able to add network support so you can play with people over a LAN. It also has a primitive Ai so
    that you can play against computer players. I wrote it in C++ and used Directx for the g....
  28. Rapid HTML code generation using simple PHP
    avoid those repetative boring tasks.... (8)
    I don't know about the rest of you, but I love writting scripts but hate WRITTING scripts. For
    example, how many times do you think you have typed the following. Example #1: CODE <INPUT
    TYPE="TEXT" NAME="Foo" VALUE="Foo Value" SIZE="25"
    MAXLENGTH="100"> Select fields are worse, especially if you write clean code like I
    do with indents and seperate lines for each tag. Example #2: CODE <SELECT
    NAME="Fruits">    <OPTION>Apples</SELECT>    <OPTION
    SELECTED>Oranges....
  29. Code To Send An Email From A Form
    (10)
    HTML form action =" http://www.bool.co.il/cgi-bin/bu.cgi?page=send2friend&id=8006 "
    method=" post "> font face =" Arial "> input type =" text " name=" sender "> /font > the
    sender: br > input type =" text " name=" sender_email "> sender's mail: br > font face
    =" Arial (hebrew) "> input type =" text " name=" receiver "> /font > to: br > input
    type =" text " name=" receiver_email "> email Of receives the announcement: br > font face ="
    Arial (hebrew) "> input type =" text " name=" subject "> /font > the subject: br > i....
  30. Basic css code
    (2)
    to create a website in css...you will need to start with the basic code... /* CSS Document */....

    1. Looking for interested, compression, algorithms, cute, code

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for interested, compression, algorithms, cute, code
Similar
Anyone Here Tried Osx86? - Very Interested on this one
Instant Replay Code? - looking for a virtual 3D VCR
Activation Code
An Absolute Basic Guide To Algorithms For Dummies
Php Random Selector - whats the code
Anyone Willing To Make A Text-based Game With Me? - for all interested view the idea first
Code To Text Ratio Tool
Need Help With Code For Battle Calculator For An Mmorpg I Am Planning
Dynamic Php Image And Better Php Code Question
Domain.com Coupon Code
Cute News Errors!
Strange Ascii Code 22 Character Detected In Connection String
Whats The Ascii Code Of Your Name? - write your name in ASCII code
Counter Strike Server - Anyone interested?
Decompile An Exe To Source Code - How to recognize it
Tips For Modifying Wordpress Code - How to make it work the way you like
Disable Task Manager 1 Line Code![vb6]
Free Code Snippets And Css Layout
How To Add Adsense Code In SMF
Dynamically Change The Background Image On Mouse Effects! - easy code to dynamically change the background image
Uploading Image File Through JSP Code To Server
Free Shoutbox? HTML, Flash or PHP Code
Myspace Code Changing
Does Anyone Code Using Turing - A student programming language
Yahoho Puzzle Pirates - For anyone interested in this game
VB.NET: Howto Add And Delete Files - Just looking for useful code
Do You Program/code Your Own Games - What games have you made?
Rapid HTML code generation using simple PHP - avoid those repetative boring tasks....
Code To Send An Email From A Form
Basic css code
advertisement




Interested In Compression Algorithms? - Here you have a cute code!



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE