form.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <link rel="stylesheet" href="prettyForms/prettyForms.css" type="text/css" media="screen"> <head> </head> <body onload="prettyForms()"> <form action="wstaw.php" method="post"> <table border="0"> </table> </form> </body> </html>
<?php $bcg = imagecreatefromjpeg('images/bg.jpg'); $szary = ImageColorAllocate($bcg, 169, 169, 169); ImageString($bcg, 31, 120, 32, "tu powinno byc imie i nazwisko", $szary); ImageString($bcg, 21, 120, 74, "klub", $szary); ImageString($bcg, 21, 120, 120, "narodowosc", $szary); ImageString($bcg, 21, 120, 163, "data i miejsce ur", $szary); ImageString($bcg, 21, 120, 208, "wzrost i waga", $szary); imagejpeg($bcg, null, 100); imagejpeg($bcg, 'images/info.jpg', 100); ?>