title: Custom form with php and ajax request
body: <p>I use a custom php image library which generate images and I need a script to update the functions when I select a color, font, size etc.</p>
  
  <p>here i have all function taht i need to implement, but i need only a demo 
  <a href="http://dev.template-tuners.com/makeaplate/" rel="nofollow">http://dev.template-tuners.com/makeaplate/</a></p>
  
  <p>this is the code for my image</p>
  
  <pre><code>$imageLibObj = new imageLib('plate-yellow.png');
  $imageLibObj -&gt; addText(
      'YOUR REG', 
      $position = '85x21', 
      $padding = 0, 
      $fontColor = '#000', 
      $fontSize = 110, 
      $angle = 0, 
      $font = 'image_lib/fonts/UKNumberPlate.ttf'
  );
  $imageLibObj -&gt; addWatermark('black-border.png', 'tr', 5, 0);
  $imageLibObj -&gt; addWatermark('blue-background-badge.png', '6 x 5', 0, 0);
  $imageLibObj -&gt; addWatermark('euro-gb.png', '14 x 24', 0, 0);
  $imageLibObj -&gt; addText('YOUR SLOGAN HERE', 
      $position = 'b', 
      $padding = 3, 
      $fontColor = '#ff0000', 
      $fontSize = 10, 
      $angle = 0
  );
  $imageLibObj -&gt; saveImage('plate-demo.png', 100);
  $imageLibObj-&gt;reset();
  </code></pre>
  
  <p>Any help please?</p>