Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

siUK2012

Members
  • Joined

  • Last visited

Everything posted by siUK2012

  1. thanx lyndsey worked fine!
  2. </div> </body> </html> <form name="AppForm2a" method="POST" action="http://www.uk-loan-application.com/page4c.asp"> <table cellpadding="1" cellspacing="3"> <tr> <td colspan="4"> <input type=hidden name="returnurl" value="http://www.uk-loan-application.com/thankyou.htm" /> <input type=hidden name="source" value="3992" /> <input type=hidden name="sub" value="10" /> <input type=hidden name="lorm" value="S" /> </td> </tr> <tr bgcolor="#CCCCCC"> <td align="left" colspan="4"><span>1. Your Personal Details</span></td> </tr> <tr> <td align="right" width="160"> <input type="hidden" name="hort" value="0" /> </td> <td width="8"> </td> <td>First Applicant</td> <td>Second Applicant (if applicable)</td> </tr> <tr> <td align="right">*UK Resident </td> <td> </td> <td> <select name="ukres" style="font-size:10px"> <option value="" selected>Yes/No</option> <option value="Yes">Yes</option> <option value="No">No</option> </select> </td> </tr> <tr> <td align="right">Title</td> <td> </td> <td> <select name="title" style="font-size:10px"> <option value="" selected>select answer</option> <option value="1">Mr</option> <option value="2">Mrs</option> <option value="3">Miss</option> <option value="12">Ms</option> <option value="4">Dr</option> <option value="5">Prof</option> <option value="6">Rev</option> <option value="7">Pte</option> <option value="8">Cpl</option> <option value="9">Sgt</option> <option value="10">Major</option> <option value="11">LCpl</option> </select> </td> <td> <select name="title2" style="font-size:10px"> <option value="" selected>select answer</option> <option value="1">Mr</option> <option value="2">Mrs</option> <option value="3">Miss</option> <option value="12">Ms</option> <option value="4">Dr</option> <option value="5">Prof</option> <option value="6">Rev</option> <option value="7">Pte</option> <option value="8">Cpl</option> <option value="9">Sgt</option> <option value="10">Major</option> <option value="11">LCpl</option> </select> </td> </tr> <tr> <td align="right">*First Name</td> <td> </td> <td> <input style="font-size:10px" type="TEXT" name="firstname" maxlength="40" /> </td> <td> <input name="firstname2" maxlength="40" /> </td> </tr> <tr> <td align="right">Middle Name</td> <td> </td> <td> <input style="font-size:10px" type="TEXT" name="middlename" maxlength="40" /> </td> <td> <input style="font-size:10px" name="middlename2" maxlength="40" /> </td> </tr> <tr> <td align="right" height="35">*Surname</td> <td height="35"> </td> <td height="35"> <input style="font-size:10px" type="TEXT" name="surname" maxlength="40" /> </td> <td height="35"> <input style="font-size:10px" name="surname2" maxlength="40" /> </td> </tr> <tr> <td align="right">*Date of Birth</td> <td> </td> <td> <select name="dobdd" style="font-size:10px"> <option value="" selected>day</option> <option value="01">01</option> <option value="02">02</option> <option value="03">03</option> <option value="04">04</option> <option value="05">05</option> <option value="06">06</option> <option value="07">07</option> <option value="08">08</option> <option value="09">09</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> <option value="13">13</option> <option value="14">14</option> <option value="15">15</option> <option value="16">16</option> <option value="17">17</option> <option value="18">18</option> <option value="19">19</option> <option value="20">20</option> <option value="21">21</option> <option value="22">22</option> <option value="23">23</option> <option value="24">24</option> <option value="25">25</option> <option value="26">26</option> <option value="27">27</option> <option value="28">28</option> <option value="29">29</option> <option value="30">30</option> <option value="31">31</option> </select> <select name="dobmm" style="font-size:10px"> <option value="" selected>month</option> <option value="01">Jan</option> <option value="02">Feb</option> <option value="03">Mar</option> <option value="04">Apr</option> <option value="05">May</option> <option value="06">Jun</option> <option value="07">Jul</option> <option value="08">Aug</option> <option value="09">Sep</option> <option value="10">Oct</option> <option value="11">Nov</option> <option value="12">Dec</option> </select> <input style="font-size:10px" type="text" name="dobyy" maxlength="4" value="yyyy" size="4" /> </td> <td> <select name="dob2dd" style="font-size:10px"> <option value="" selected>day</option> <option value="01">01</option> <option value="02">02</option> <option value="03">03</option> <option value="04">04</option> <option value="05">05</option> <option value="06">06</option> <option value="07">07</option> <option value="08">08</option> <option value="09">09</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> <option value="13">13</option> <option value="14">14</option> <option value="15">15</option> <option value="16">16</option> <option value="17">17</option> <option value="18">18</option> <option value="19">19</option> <option value="20">20</option> <option value="21">21</option> <option value="22">22</option> <option value="23">23</option> <option value="24">24</option> <option value="25">25</option> <option value="26">26</option> <option value="27">27</option> <option value="28">28</option> <option value="29">29</option> <option value="30">30</option> <option value="31">31</option> </select> <select name="dob2mm" style="font-size:10px"> <option value="" selected>month</option> <option value="01" >Jan</option> <option value="02">Feb</option> <option value="03">Mar</option> <option value="04">Apr</option> <option value="05">May</option> <option value="06">Jun</option> <option value="07">Jul</option> <option value="08">Aug</option> <option value="09">Sep</option> <option value="10">Oct</option> <option value="11">Nov</option> <option value="12">Dec</option> </select> <input style="font-size:10px" type="text" name="dob2yy" maxlength="4" value="yyyy" size="4" /> </td> </tr> <tr> <td align="right">Status</td> <td> </td> <td> <select name="status" style="font-size:10px"> <option value="" selected>select answer</option> <option value="1">Single</option> <option value="2">Cohabiting</option> <option value="3">Married</option> <option value="4">Divorced</option> <option value="5">Widowed</option> <option value="6">Separated</option> </select> </td> <td> <select name="status2" style="font-size:10px"> <option value="" selected>select answer</option> <option value="1">Single</option> <option value="2">Cohabiting</option> <option value="3">Married</option> <option value="4">Divorced</option> <option value="5">Widowed</option> <option value="6">Separated</option> </select> </td> </tr> <tr> <td align="right">Gross income(pa)</td> <td> </td> <td> <input style="font-size:10px" name="income" maxlength="8" /> </td> <td> <input style="font-size:10px" name="income2" maxlength="8" /> </td> </tr> <tr> <td align="right">Employment</td> <td > </td> <td > <select name="employment" style="font-size:10px"> <option value="" selected>Please Select Answer</option> <option value="1">Professional/Senior Management</option> <option value="2">Middle Management</option> <option value="3">Educational/Medical Services</option> <option value="4">Office/Clerical</option> <option value="5">Shopworker</option> <option value="6">Craftsman/Tradesman</option> <option value="7">Manual/Factory</option> <option value="8">Sales Executive</option> <option value="9">Public Service</option> <option value="10">Self Employed</option> <option value="11">House Person</option> <option value="12">Retired</option> <option value="13">Management</option> <option value="15">IT</option> <option value="16">Student</option> <option value="17">Looking for Work</option> <option value="18">Long Term Sick</option> <option value="19">Bank Worker</option> <option value="20">Insurance Broker</option> <option value="21">Journalist</option> <option value="22">Forces</option> <option value="23">Legal Profession</option> <option value="24">Driving Career</option> <option value="25">Catering</option> <option value="26">Financial Sector</option> <option value="27">Labourer</option> <option value="28">Accountancy</option> <option value="29">sales Assistant</option> <option value="30">Cleaner</option> <option value="31">Carer</option> <option value="32">Engineer/Mechanic</option> <option value="33">Painter & decorator</option> <option value="34">Data Entry Clerk</option> <option value="35">Emergency Services</option> <option value="36">Call Centre Agent</option> <option value="14">Other</option> </select> </td> <td> <select name="employment2" style="font-size:10px"> <option value="" selected>Please Select Answer</option> <option value="1">Professional/Senior Management</option> <option value="2">Middle Management</option> <option value="3">Educational/Medical Services</option> <option value="4">Office/Clerical</option> <option value="5">Shopworker</option> <option value="6">Craftsman/Tradesman</option> <option value="7">Manual/Factory</option> <option value="8">Sales Executive</option> <option value="9">Public Service</option> <option value="10">Self Employed</option> <option value="11">House Person</option> <option value="12">Retired</option> <option value="13">Management</option> <option value="15">IT</option> <option value="16">Student</option> <option value="17">Looking for Work</option> <option value="18">Long Term Sick</option> <option value="19">Bank Worker</option> <option value="20">Insurance Broker</option> <option value="21">Journalist</option> <option value="22">Forces</option> <option value="23">Legal Profession</option> <option value="24">Driving Career</option> <option value="25">Catering</option> <option value="26">Financial Sector</option> <option value="27">Labourer</option> <option value="28">Accountancy</option> <option value="29">sales Assistant</option> <option value="30">Cleaner</option> <option value="31">Carer</option> <option value="32">Engineer/Mechanic</option> <option value="33">Painter & decorator</option> <option value="34">Data Entry Clerk</option> <option value="35">Emergency Services</option> <option value="36">Call Centre Agent</option> <option value="14">Other</option> </select> </td> </tr> <tr bgcolor="#FFFFFF"> <td align="left" colspan="4"> </td> </tr> <tr bgcolor="#CCCCCC"> <td align="left" colspan="4"><span>2. Your House & Contact Details</span></td> </tr> <tr> <td align="right"> </td> <td> </td> <td>Current Address</td> <td>Old address ( if less than 3 years at current address )</td> </tr> <tr> <td align="right">Home Address</td> <td> </td> <td> <input style="font-size:10px" type="TEXT" name="addr_line1" maxlength="40" /> </td> <td> <input style="font-size:10px" name="oldaddr_line1" maxlength="40" /> </td> </tr> <tr> <td align="right">(contd.)</td> <td> </td> <td> <input style="font-size:10px" type="TEXT" name="addr_line2" maxlength="40" /> </td> <td> <input style="font-size:10px" type="TEXT" name="oldaddr_line2" maxlength="40" /> </td> </tr> <tr> <td align="right">Town/City</td> <td> </td> <td> <input style="font-size:10px" type="TEXT" name="town" maxlength="40" /> </td> <td> <input style="font-size:10px" type="TEXT" name="old_town" maxlength="40" /> </td> </tr> <tr> <td align="right">County</td> <td> </td> <td> <input style="font-size:10px" type="TEXT" name="county" maxlength="40" /> </td> <td> <input style="font-size:10px" type="TEXT" name="old_county" maxlength="40" /> </td> </tr> <tr> <td align="right">Post Code</td> <td> </td> <td> <input style="font-size:10px" type="TEXT" name="postcode" maxlength="12" /> </td> <td> <input style="font-size:10px" type="TEXT" name="oldpostcode" maxlength="12" /> </td> </tr> <tr> <td align="right">Time at current address </td> <td> </td> <td> <input style="font-size:10px" type="text" name="addressyears" size="3" maxlength="2" /> years <input style="font-size:10px" type="text" name="addressmonths" size="3" maxlength="2" /> months</td> <td> </td> </tr> <tr> <td align="right">Work Phone</td> <td> </td> <td> <input style="font-size:10px" type="TEXT" name="worktel" maxlength="30" /> </td> <td> <font color="#FF0000">*</font></td> </tr> <tr> <td align="right">Home Phone</td> <td> </td> <td> <input style="font-size:10px" type="TEXT" name="hometel" maxlength="30" /> </td> <td> <font color="#FF0000">*</font> One contact is mandatory</td> </tr> <tr> <td align="right">Mobile</td> <td> </td> <td> <input style="font-size:10px" type="text" name="mobile" maxlength="30" /> </td> <td> <font color="#FF0000">*</font></td> </tr> <tr> <td align="right">E-mail</td> <td> </td> <td> <input style="font-size:10px" type="TEXT" name="email" maxlength="50" /> </td> <td> </td> </tr> <tr bgcolor="#FFFFFF"> <td align="left" colspan="4"> </td> </tr> <tr bgcolor="#CCCCCC"> <td align="left" colspan="4">3 Your Mortgage Details - for mortgage payers & homeowners only</td> </tr> <tr> <td align="right">Name of Lender</td> <td > </td> <td > <select name="lendername" style="font-size:10px"> <option value="" selected>Please Select</option> <option value="1">Abbey National</option> <option value="2">Advance Home Loans</option> <option value="3">All Types of Mortgages</option> <option value="4">Alliance & Liecester</option> <option value="5">Amber Home Loans Ltd.</option> <option value="6">APS</option> <option value="7">Bank of Ireland</option> <option value="8">Bank of Scotland</option> <option value="9">Barclays Bank</option> <option value="10">Barnsley Building Society</option> <option value="11">Bath BS</option> <option value="12">BDS</option> <option value="13">Best Advice</option> <option value="14">Beverley BS</option> <option value="15">BM Solutions</option> <option value="16">Bond 2 Let</option> <option value="17">Bradford and Bingley</option> <option value="18">Bristol & West</option> <option value="19">Britannia BS</option> <option value="20">Britannic Money</option> <option value="21">Buckinghamshire BS</option> <option value="22">Burchell Edwards</option> <option value="23">Cambridge BS</option> <option value="24">Capital HL/ Irish Permanent</option> <option value="25">Capital HL/ Irish Permanent S/C</option> <option value="26">Chelsea BS</option> <option value="27">Cheltenham & Cloucester</option> <option value="28">Chesham BS</option> <option value="29">Cheshire BS</option> <option value="30">Chorley & District BS</option> <option value="31">Clay Cross BS</option> <option value="32">Clydesdale Bank</option> <option value="33">Complete MLS</option> <option value="34">Coventry BS</option> <option value="35">Darlington BS</option> <option value="36">Derbyshire BS</option> <option value="37">Dudley BS</option> <option value="38">Dunfirmaline BS</option> <option value="39">Ecology BS</option> <option value="40">Exclusive Connections</option> <option value="41">First National</option> <option value="42">Flagship</option> <option value="43">Fleet Boston National Bank</option> <option value="44">Furness BS</option> <option value="45">Future Mortgages</option> <option value="46">Gainsborough BS</option> <option value="47">Genesis</option> <option value="48">GMAC</option> <option value="49">Halifax</option> <option value="50">Hanley Economic BS</option> <option value="51">Harpenden BS</option> <option value="52">High Street Home Loans</option> <option value="53">Hinkley & Rugby BS</option> <option value="54">HMSL</option> <option value="55">Holmesdale BS</option> <option value="56">Home Loan Partnership</option> <option value="57">ICMG</option> <option value="58">igroup</option> <option value="59">IMS</option> <option value="60">Intelligent Finance</option> <option value="61">Ipswich BS</option> <option value="62">Irish Nationwide BS</option> <option value="63">Irish Permanent</option> <option value="64">Kensington</option> <option value="65">Kent Reliance BS</option> <option value="66">L & G Mortgage Club</option> <option value="67">Lambeth BS</option> <option value="68">Leeds & Holbeck BS</option> <option value="69">Leek United BS</option> <option value="70">Legal & General Bank</option> <option value="71">Lloyds TSB Scotland</option> <option value="72">Loughborough BS</option> <option value="73">Manchester BS</option> <option value="74">Mansfield BS</option> <option value="75">Market Harborough BS</option> <option value="76">Marsden BS</option> <option value="77">Melton Mowbray BS</option> <option value="78">Members Mortgages</option> <option value="79">Mercantile BS</option> <option value="80">Monmouthshire BS</option> <option value="81">Mortgage Express</option> <option value="82">Mortgage Intelligence</option> <option value="83">Moirtgage Marketing Centre</option> <option value="84">Mortgage Master</option> <option value="85">Mortgage Next</option> <option value="86">Mortgage Plus</option> <option value="87">Mortgages Direct</option> <option value="88">Mortgages Plc</option> <option value="89">MX-Online</option> <option value="90">National Counties BS</option> <option value="91">Nationwide BS</option> <option value="92">Nat West</option> <option value="93">Network Mortgages Ltd</option> <option value="94">Newbury BS</option> <option value="95">Newcastle BS</option> <option value="96">New World (Cwlth Bank)</option> <option value="97">Northern Rock</option> <option value="98">Norwich & Peterborough BS</option> <option value="99">Norwich Union</option> <option value="100">Nottingham BS</option> <option value="101">Paragon</option> <option value="102">Penrith BS</option> <option value="103">Pink</option> <option value="104">Platform Home Loans</option> <option value="105">PMPA</option> <option value="106">Portman BS</option> <option value="107">Preferred</option> <option value="108">Pricipality BS</option> <option value="109">Private Label</option> <option value="110">Progressive BS</option> <option value="111">Royal Bank of Scotland</option> <option value="112">Saffron Waldon</option> <option value="113">Scarborough BS</option> <option value="114">Scot Life</option> <option value="115">Scottish Amicable</option> <option value="116">Scottish BS</option> <option value="117">Scottich Widows Bank</option> <option value="118">Shepshed BS</option> <option value="119">Skipton BS</option> <option value="120">Solent Mortgage Services</option> <option value="121">SPML</option> <option value="122">Stafford Railway BS</option> <option value="123">Stafdfordshire BS</option> <option value="124">Standard Life Bank</option> <option value="125">Stoud & Swindon BS</option> <option value="126">Sun Bank</option> <option value="127">Swansea BS</option> <option value="128">The Morgtgage Business</option> <option value="129">The Morgtgage Operation</option> <option value="130">The Mortgage Solution Ltd</option> <option value="131">Tipton & Croseley BS</option> <option value="132">Trustguard Homeloans</option> <option value="133">UCB</option> <option value="134">Ulster Bank</option> <option value="135">Universal BS</option> </select> </td> <td> </td> </tr> <tr> <td align="right" >Monthly Payment</td> <td> </td> <td> <input style="font-size:10px" type="text" name="monthlypaymnt" maxlength="9" size="9" /> </td> <td> </td> </tr> <tr> <td align="right" >Mortgage amount</td> <td> </td> <td> <input style="font-size:10px" name="mortgageamount" maxlength="9" size="9" /> </td> <td> </td> </tr> <tr> <td align="right" >Approx. property value</td> <td > </td> <td > <input style="font-size:10px" name="currpropvalue" maxlength="9" size="9" /> </td> <td > </td> </tr> <tr bgcolor="#FFFFFF"> <td align="left" colspan="4"> </td> </tr> <tr bgcolor="#CCCCCC"> <td align="left" colspan="4">4. Your Loan Requirement</td> </tr> <tr> <td align="right" >*Purpose of loan</td> <td> </td> <td> <select style="font-size:10px" name="loanpurpose"> <option value="" selected>Please Select</option> <option value="11">Debt Consolidation</option> <option value="18">Consolidation and Other</option> <option value="2">Home Improvements</option> <option value="3">Holiday</option> <option value="1">Car Loan</option> <option value="15">Boat Loan</option> <option value="16">Caravan Loan</option> <option value="17">Motorbike Loan</option> <option value="4">Deposit for House</option> <option value="5">Deposit for Other</option> <option value="6">Business Purposes</option> <option value="14">Cosmetic Surgery</option> <option value="10">Christmas Cash</option> <option value="8">Wedding</option> <option value="7">Funeral</option> <option value="12">Debt Management</option> <option value="9">With DM Company</option> <option value="13">Other</option> </select> </td> <td> </td> </tr> <tr> <td align="right">*Loan amount</td> <td > </td> <td > <input style="font-size:10px" name="loanamount" maxlength="9" size="9" /> £££££££ </td> <td > </td> </tr> <tr bgcolor="#FFFFFF"> <td align="left" colspan="4"> </td> </tr> <tr bgcolor="#CCCCCC"> <td align="left" colspan="4">5. Data Protection Act</td> </tr> <tr> <td align="right"> <p>I have read & I accept<br />the <a href="#" onclick="window.open('http://www.uk-finance-online.com/dpa.htm','Windowname','width=500,top=0,left=0,resizable,scrollbars,height=250'); return false;">DPA Statement</a></p> </td> <td valign="top"> </td> <td valign="top"> <select style="font-size:10px" name="ReadDPA"> <option value="Y" selected>Yes</option> <option value="N">No</option> </select> </td> <td valign="top"> </td> </tr> </table> <p > <input style="font-size:10px" type=button value="Send form" name="button" onclick="MM_validateForm('firstname','','R','surname','','R','dobyy','','RinRange1900:1999','income','','NisNum','income2','','NisNum','addressyears','','NisNum','addressmonths','','NisNum','monthlypaymnt','','NisNum','mortgageamount','','NisNum','currpropvalue','','NisNum','loanamount','','RisNum');" /> </p> </form>
  3. hi im currently setting up a loan website for a client they have supplied the forms for the site, but when i place the form in dreamweaver and test it will not submit the form here is the part of the code can anyone tell me why? line 343-345 last line of html <input style="font-size:10px" type=button value="Send Form" name="Submit" onclick="MM_validateForm('firstname','','R','surname','','R','dobyy','','RinRange1900:1999','loanamount','','RisNum');" /> &nbsp &nbsp &nbsp </p> </form> im trying to get it so it directs to this which is in line 36-45 of the html </body> </html> <form name="AppForm2a" method="POST" action="http://www.uk-loan-application.com/page4c.asp"> <table cellpadding="0" cellspacing="3"> <tr> <td> <input type=hidden name="returnurl" value="http://www.uk-loan-application.com/thankyou.htm" /> <input type=hidden name="source" value="3992" /> <input type=hidden name="sub" value="10" /> <input type=hidden name="lorm" value="U" />
  4. heres the last few lines of my registartion submit code, but for some reason when the site is live it wont link to the thankyou page it just hangs on a white page when i press submit, the thankyou page does exist and ive double checked it all, i have included the last lines of the code to see if anybody can see if anything is wrong. "Content-Disposition: attachment;\n" . " filename=\"{$name}\"\n" . "Content-Transfer-Encoding: base64\n\n" . $data . "\n\n"; } } // here's our closing mime boundary that indicates the last of the message $message.="--{$mime_boundary}--\n"; // now we just send the message mail($to, $subject, $message, $headers); $url = 'http://www.kidsmanagement.co.uk/register-thanks.php'; } } ?>
  5. hi, im desigining a website in dreamweaver and was just wondering if anybody could provide me with the code so i can create a registration page for clients to enter there details (username, password, name, address and upload a picture). ive got a standard registration page working but need the code so the client can upload pictures.
  6. hi thanx for your help so far, but im not 100% experienced with php especially when the client just wants me to fix it as the web designer they recently used pulled out of the project half way through, i have built my own login and registration pages through php from scratch for my own sites, but working with somebody elses code makes it difficult, i am working with the old code as the client has all her info there already and she has an option to upload pics within the registration process and i havent never built or used that option as yet, the reason im posting the code is because people have asked for it, im using dreamweaver would this help me to fix the code mistakes?http://help.adobe.com/en_US/dreamweaver/cs/using/WSc78c5058ca073340dcda9110b1f693f21-7bd8a.html
  7. i fixed this error but now have 2 more from these lines, this is the error report, hope you can help. undefined index $im = 0; for ($i = 1; $i <= 4; $i++) { if(!is_uploaded_file($_FILES["UploadImg".$i]['tmp_name'])){ } else { $file_type = $_FILES['UploadImg'.$i]['type']; $file_name = $_FILES['UploadImg'.$i]['name']; $file_size = $_FILES['UploadImg'.$i]['size']; $file_tmp = $_FILES['UploadImg'.$i]['tmp_name']; $im++; // CREATE AN UPLOAD FOLDER FOR THE APPLICATION PHOTOS - SAVE THEM FOR RETRIEVAL AT LATER DATE if(!is_dir("images/uploads/$folder")) { mkdir("images/uploads/$folder", 0777); } //get the new width variable. $ThumbWidth = 400; $SmallThumbWidth = 150; //keep image type if($file_size){ $image_result = $firstname."-".$surname."-".$im ; $image_result_large = $image_result."_large".$ext; $image_result_thumb = $image_result."_thumb"; //list width and height and keep height ratio. list($width, $height) = getimagesize($file_tmp); $imgratio=$width/$height; $newwidth = $ThumbWidth; $newheight = $ThumbWidth/$imgratio; $newSmallwidth = $SmallThumbWidth; $newSmallheight = $SmallThumbWidth/$imgratio; //function for resize image. $new_size = $newwidth ."x". $newheight; $new_Header_size = $newHeaderwidth."x".$newHeaderheight; $new_Small_size = $newSmallwidth."x".$newSmallheight; exec("/usr/bin/convert -resize $new_size! -quality 85 -sharpen 1 -strip /$file_tmp images/uploads/$folder/$image_result.jpg"); exec("/usr/bin/convert -resize $new_Small_size! -quality 85 -sharpen 1 -strip /$file_tmp images/uploads/$folder/$image_result_thumb.jpg"); copy("/$file_tmp", "images/uploads/$folder/$image_result_large"); } } }
  8. hi, still havent sorted this registration page i keep getting the error which is directed to this line of code. $from = stripslashes ($_POST('parents_name'])."<".stripslashes($_POST['email_address']).">"; its just the submitting part that hangs when you press submit, it dosent seem to be able to find the thankyou for submitting your info page?
  9. hi thanx here is my register-submit code <?php include 'dbconx.php'; $parents_name = $_POST["ParentsName"]; $firstname = $_POST["FirstName"]; $surname = $_POST["Surname"]; $address1 = $_POST["Address_1"]; $address2 = $_POST["Address_2"]; $city = $_POST["City"]; $county = $_POST["County"]; $postcode = $_POST["Postcode"]; $email_address = $_POST["EmailAddress"]; $telephone = $_POST["Telephone"]; $mobile = $_POST["Mobile"]; $sex = $_POST["Sex"]; $dob_day = $_POST["DOB_day"]; $dob_month = $_POST["DOB_month"]; $dob_year = $_POST["DOB_year"]; $date_of_birth = $dob_year."-".$dob_month."-".$dob_day; $height = $_POST["Height"]; $hairlength = $_POST["HairLength"]; $haircolour = $_POST["HairColour"]; $eyecolour = $_POST["EyeColour"]; $ethnicorigin = $_POST["EthnicOrigin"]; $shoesize = $_POST["ShoeSize"]; $folder_date = date("d-m-Y", time() + (8 * 3600)); if ($firstname == '') { } else { $bad_folder = array(' ', ' ', ' ', ' ', ' ', '\'', '&', '&', '/','Á', 'á', 'É', 'é', 'Í', 'í', 'Ó', 'ó', 'Ú', 'ú', 'Ñ', 'ñ', '(', ')', ',', '.', '´', '~'); $good_folder = array('-', '-', '-', '-', '-', '', 'and', 'and', '-', 'A', 'a', 'E', 'e', 'I', 'i', 'O', 'o', 'U', 'u', 'N', 'n', '', '', '', '', '', '-'); $page_name = $firstname."-".$surname."-".$folder_date ; $page2 = str_replace($bad_folder, $good_folder, $page_name); $folder = strtolower($page2) ; $page_url = $folder; $im = 0; for ($i = 1; $i <= 4; $i++) { if(!is_uploaded_file($_FILES["UploadImg".$i]['tmp_name'])){ } else { $file_type = $_FILES['UploadImg'.$i]['type']; $file_name = $_FILES['UploadImg'.$i]['name']; $file_size = $_FILES['UploadImg'.$i]['size']; $file_tmp = $_FILES['UploadImg'.$i]['tmp_name']; $im++; // CREATE AN UPLOAD FOLDER FOR THE APPLICATION PHOTOS - SAVE THEM FOR RETRIEVAL AT LATER DATE if(!is_dir("images/uploads/$folder")) { mkdir("images/uploads/$folder", 0777); } //get the new width variable. $ThumbWidth = 400; $SmallThumbWidth = 150; //keep image type if($file_size){ $image_result = $firstname."-".$surname."-".$im ; $image_result_large = $image_result."_large".$ext; $image_result_thumb = $image_result."_thumb"; //list width and height and keep height ratio. list($width, $height) = getimagesize($file_tmp); $imgratio=$width/$height; $newwidth = $ThumbWidth; $newheight = $ThumbWidth/$imgratio; $newSmallwidth = $SmallThumbWidth; $newSmallheight = $SmallThumbWidth/$imgratio; //function for resize image. $new_size = $newwidth ."x". $newheight; $new_Header_size = $newHeaderwidth."x".$newHeaderheight; $new_Small_size = $newSmallwidth."x".$newSmallheight; exec("/usr/bin/convert -resize $new_size! -quality 85 -sharpen 1 -strip /$file_tmp images/uploads/$folder/$image_result.jpg"); exec("/usr/bin/convert -resize $new_Small_size! -quality 85 -sharpen 1 -strip /$file_tmp images/uploads/$folder/$image_result_thumb.jpg"); copy("/$file_tmp", "images/uploads/$folder/$image_result_large"); } } } $loginname = $_POST["LoginName"]; $passwd = $_POST["passwd"]; $repeat_passwd = $_POST["repeat_passwd"]; $error = false; if (empty($parents_name)) { $error = true; $message .= '<input type="hidden" name="Err_parents_name" value="You must enter the parents name" />'; } if (empty($firstname)) { $error = true; $message .= '<input type="hidden" name="Err_firstname" value="You must enter the childs first name" />'; } if (empty($surname)) { $error = true; $message .= '<input type="hidden" name="Err_surname" value="You must enter the childs surname" />'; } if (empty($address1)) { $error = true; $message .= '<input type="hidden" name="Err_address1" value="You must enter an address" />'; } if (empty($city)) { $error = true; $message .= '<input type="hidden" name="Err_city" value="You must enter a city" />'; } if (empty($county)) { $error = true; $message .= '<input type="hidden" name="Err_county" value="You must enter a county" />'; } if (empty($email_address)) { $error = true; $message .= '<input type="hidden" name="Err_email_address" value="You must enter a valid Email Address" />'; } if (empty($telephone)) { $error = true; $message .= '<input type="hidden" name="Err_telephone" value="You must enter a telephone number" />'; } if (empty($mobile)) { $error = true; $message .= '<input type="hidden" name="Err_mobile" value="You must enter a mobile contact number" />'; } if (empty($sex)) { $error = true; $message .= '<input type="hidden" name="Err_sex" value="You must enter a sex" />'; } if (empty($height)) { $error = true; $message .= '<input type="hidden" name="Err_height" value="You must enter a height" />'; } if (empty($hairlength)) { $error = true; $message .= '<input type="hidden" name="Err_hairlength" value="You must enter a hairlength" />'; } if (empty($haircolour)) { $error = true; $message .= '<input type="hidden" name="Err_haircolour" value="You must enter a hair colour" />'; } if (empty($eyecolour)) { $error = true; $message .= '<input type="hidden" name="Err_eyecolour" value="You must enter an eye colour" />'; } if (empty($ethnicorigin)) { $error = true; $message .= '<input type="hidden" name="Err_ethnicorigin" value="You must enter an ethnic origin" />'; } if (empty($shoesize)) { $error = true; $message .= '<input type="hidden" name="Err_ShoeSize" value="You must enter the childs shoe size" />'; } if (empty($loginname)) { $error = true; $message .= '<input type="hidden" name="Err_loginname" value="You must enter a desired login name" />'; } if (empty($passwd)) { $error = true; $message .= '<input type="hidden" name="Err_passwd" value="You must enter a login password" />'; } if ($passwd == $repeat_passwd) { } else { $error = true; $message .= '<input type="hidden" name="Err_passwd" value="The passwords entered do not match." />'; } if ($error == true) { ?> <html> <head> <title>Form Error</title> </head> <body> <form action="register.php" method="post" id="error_form"> <input type="hidden" name="parents_name" value="<? echo $parents_name ?>" /> <input type="hidden" name="firstname" value="<? echo $firstname ?>" /> <input type="hidden" name="surname" value="<? echo $surname ?>" /> <input type="hidden" name="address1" value="<? echo $address1 ?>" /> <input type="hidden" name="address2" value="<? echo $address2 ?>" /> <input type="hidden" name="city" value="<? echo $city ?>" /> <input type="hidden" name="county" value="<? echo $county ?>" /> <input type="hidden" name="postcode" value="<? echo $postcode ?>" /> <input type="hidden" name="email_address" value="<? echo $email_address ?>" /> <input type="hidden" name="telephone" value="<? echo $telephone ?>" /> <input type="hidden" name="mobile" value="<? echo $mobile ?>" /> <input type="hidden" name="sex" value="<? echo $sex ?>" /> <input type="hidden" name="dob_day" value="<? echo $dob_day ?>" /> <input type="hidden" name="dob_month" value="<? echo $dob_month ?>" /> <input type="hidden" name="dob_year" value="<? echo $dob_year ?>" /> <input type="hidden" name="height" value="<? echo $height ?>" /> <input type="hidden" name="hairlength" value="<? echo $hairlength ?>" /> <input type="hidden" name="haircolour" value="<? echo $haircolour ?>" /> <input type="hidden" name="eyecolour" value="<? echo $eyecolour ?>" /> <input type="hidden" name="ethnicorigin" value="<? echo $ethnicorigin ?>" /> <input type="hidden" name="shoesize" value="<? echo $shoesize ?>" /> <input type="hidden" name="loginname" value="<? echo $loginname ?>" /> <input type="hidden" name="passwd" value="<? echo $passwd ?>" /> <input type="hidden" name="repeat_passwd" value="<? echo $repeat_passwd ?>" /> <? echo $message ?> </form> <script language="Javascript" type="text/javascript"> <!-- document.getElementById('error_form').submit(); //--> </script> </body> </html> <? } else { // INSERT THE APPLICATION INTO THE DATABASE FOR SAFE KEEPING AND EASY UPDATE OF NEW MEMBER if (file_exists("images/uploads/$folder/$firstname-$surname-1.jpg")) { $image_1 = "images/uploads/$folder/$firstname-$surname-1.jpg"; } else { $image_1 = ""; } if (file_exists("images/uploads/$folder/$firstname-$surname-2.jpg")) { $image_2 = "images/uploads/$folder/$firstname-$surname-2.jpg"; } else { $image_2 = ""; } if (file_exists("images/uploads/$folder/$firstname-$surname-3.jpg")) { $image_3 = "images/uploads/$folder/$firstname-$surname-3.jpg"; } else { $image_3 = ""; } if (file_exists("images/uploads/$folder/$firstname-$surname-4.jpg")) { $image_4 = "images/uploads/$folder/$firstname-$surname-4.jpg"; } else { $image_4 = ""; } $insert = mysql_query("INSERT INTO registrations (page_url, parents_name, firstname, surname, address1, address2, city, county, postcode, email_address, telephone, mobile, sex, date_of_birth, height, hairlength, haircolour, eyecolour, ethnic_origin, shoesize, image_1, image_2, image_3, image_4, username, passwd) VALUES ('$page_url', '$parents_name', '$firstname', '$surname', '$address1', '$address2', '$city', '$county', '$postcode', '$email_address', '$telephone', '$mobile', '$sex', '$date_of_birth', '$height', '$hairlength', '$haircolour', '$eyecolour', '$ethnicorigin', '$shoesize', '$image_1', '$image_2', '$image_3', '$image_4', '$loginname', '$passwd')") or die (mysql_error()); $id = mysql_insert_id(); $skills = $_POST["Skills"]; foreach($skills as $value) { $skills_insert_query = mysql_query("INSERT INTO registration_skills (registrant_id, skill) VALUES ('$id', '$value')") or die (mysql_error()); } // SEND THE APPLICANTS DETAILS TO STEVE AND KAREN $to="karen@kidsmanagement.co.uk, amanda@kidsmanagement.co.uk"; $subject="New Kids Management Application"; // get the sender's name and email address // we'll just plug them a variable to be used later $from = stripslashes($_POST['parents_name'])."<".stripslashes($_POST['email_address']).">"; // generate a random string to be used as the boundary marker $mime_boundary="==Multipart_Boundary_x".md5(mt_rand())."x"; // now we'll build the message headers $headers = "From: $from\r\n" . "MIME-Version: 1.0\r\n" . "Content-Type: multipart/mixed;\r\n" . " boundary=\"{$mime_boundary}\""; // here, we'll start the message body. // this is the text that will be displayed // in the e-mail $message = "You have received a new appilcation for representation from the Kids Management website:\r\n\r\n". "Parent Name: $parents_name\r\n\r\n". "Childs Name: $firstname $surname\r\n\r\n". "Address $address1\r\n". "$address2\r\n". "$city\r\n". "$county\r\n". "$postcode\r\n\r\n". "Email Address: $email_address\r\n\r\n". "Contact Telephone: $telephone\r\n\r\n". "Mobile Number: $mobile\r\n\r\n". "Childs Sex: $sex\r\n\r\n". "Date of Birth: $date_of_birth\r\n\r\n". "Height: $height\r\n\r\n". "Hair Length: $hairlength\r\n\r\n". "Hair Colour: $haircolour\r\n\r\n". "Eye Colour: $eyecolour\r\n\r\n". "Ethnic Origin: $ethnicorigin\r\n\r\n". "Shoe Size: $shoesize\r\n\r\n". "Website Login Name: $loginname\r\n\r\n"; // next, we'll build the invisible portion of the message body // note that we insert two dashes in front of the MIME boundary // when we use it $message = "This is a multi-part message in MIME format.\n\n" . "--{$mime_boundary}\n" . "Content-Type: text/plain; charset=\"iso-8859-1\"\n" . "Content-Transfer-Encoding: 7bit\n\n" . $message . "\n\n"; // now we'll process our uploaded files for($i = 1; $i <= 4; $i++){ // if the upload succeded, the file will exist if (file_exists("images/uploads/$folder/$firstname-$surname-$i.jpg")) { $size = getimagesize("images/uploads/$folder/$firstname-$surname-$i.jpg"); $tmp_name = "images/uploads/$folder/$firstname-$surname-$i.jpg"; $name = "$firstname-$surname-$i.jpg"; $type = $size['mime']; // open the file for a binary read $file = fopen($tmp_name,'rb'); // read the file content into a variable $data = fread($file,filesize($tmp_name)); // close the file fclose($file); // now we encode it and split it into acceptable length lines $data = chunk_split(base64_encode($data)); // now we'll insert a boundary to indicate we're starting the attachment // we have to specify the content type, file name, and disposition as // an attachment, then add the file content. // NOTE: we don't set another boundary to indicate that the end of the // file has been reached here. we only want one boundary between each file // we'll add the final one after the loop finishes. $message .= "--{$mime_boundary}\n" . "Content-Type: {$type};\n" . " name=\"{$name}\"\n" . "Content-Disposition: attachment;\n" . " filename=\"{$name}\"\n" . "Content-Transfer-Encoding: base64\n\n" . $data . "\n\n"; } } // here's our closing mime boundary that indicates the last of the message $message.="--{$mime_boundary}--\n"; // now we just send the message mail($to, $subject, $message, $headers); $url = 'http://www.kidsmanagement.co.uk/register-thanks.php'; } } ?>
  10. thanx for that im not really into php coding or databases slowly teaching myself though, so should i change the name to "ParentsName" through the whole of the code, i would be gratefull if you could show me from my code where these changes need to be applied, thanx for your time.
  11. hi yeh sorry its a typo should be ($parents_name above) on the error report its from the line $from = stripslashes ($_POST('parents_name'])."<".stripslashes($_POST['email_address']).">";
  12. i get the error undefined index in the part where it $from parent_name
  13. it displays a white page online and when or if i add error coding it comes up as undefined index on the part of the form that sends an email to the website owners &gets senders name &email address
  14. no errors displayed, once the registration is submitted it just hangs on a white page with www.kidsmanagement.co.uk/submit.php in the address bar, il take a look at the action file title too, thanx for your reply
  15. hi, ive recently been redesigining a website for a client, this also involves moving all there database info from one server hostmonster to heart internet and incorporating a new overall design look, im using dreamweaver and everything has been goin ok, i have just got the client model login page working but am having trouble with the registration page that uses the database info, i have gone through the code over and over again, but cannot understand that when i upload all the info i can enter all registration info but the pages just hangs on submit.php and i cannot get a thankyou your registration is complete detail page, here is the code, i would be gratefull if somebody could help.... <?php include 'dbconx.php'; $query = mysql_query("SELECT * FROM pages WHERE id = '4'") or die (mysql_error()); while ($r = mysql_fetch_array($query)) { $meta_key = $r["meta_key"]; $meta_desc = $r["meta_desc"]; $header_title = $r["header_title"]; $text = $r["text"]; } include 'header.php'; ?> <script type="text/javascript"> function displayLoading() { if (document.getElementById('upload-progress')) { document.getElementById('upload-progress').style.display='block'; document.getElementById('upload_hide').style.display='none'; } } </script><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Kids Management</title> <meta name="description" content="Kids Management is a successful children's agency. Kids Management represents Children from 0-17 years. We specialize in submitting children for castings with opportunities to appear in TV commercials, film roles, photographic modeling, promotions, magazines, fashion and dance productions, product advertisements and more............." /> <meta name="keywords" content="kids, kids management, management, nolan and kay, nolan & kay, nolanandkay, nolan&kay, nolan and kay management, nolan & kay management, kids, talent, agency, models, 16, theatrical, acting, adults, classes, musical theatre, entertainment, television, film, commercials, radio," /> <style type="text/css"> body,td,th { font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #000; } body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; } </style> <link href="styles.css" rel="stylesheet" type="text/css" /> <link href="/stylesheet.css" rel="stylesheet" type="text/css" /> </head> <?php echo $text; ?> <?php $parents_name = $_POST["parents_name"]; $Err_parents_name = $_POST["Err_parents_name"]; $firstname = $_POST["firstname"]; $Err_firstname = $_POST["Err_firstname"]; $surname = $_POST["surname"]; $Err_surname = $_POST["Err_surname"]; $address1 = $_POST["address1"]; $Err_address1 = $_POST["Err_address1"]; $address2 = $_POST["address2"]; $city = $_POST["city"]; $Err_city = $_POST["Err_city"]; $county = $_POST["county"]; $Err_county = $_POST["Err_county"]; $postcode = $_POST["postcode"]; $Err_postcode = $_POST["Err_postcode"]; $email_address = $_POST["email_address"]; $Err_email_address = $_POST["Err_email_address"]; $telephone = $_POST["telephone"]; $Err_telephone = $_POST["Err_telephone"]; $mobile = $_POST["mobile"]; $Err_mobile = $_POST["Err_mobile"]; $sex = $_POST["sex"]; $Err_sex = $_POST["Err_sex"]; $dob_day = $_POST["dob_day"]; $dob_month = $_POST["dob_month"]; $dob_year = $_POST["dob_year"]; $height = $_POST["height"]; $Err_height = $_POST["Err_height"]; $hairlength = $_POST["hairlength"]; $Err_hairlength = $_POST["Err_hairlength"]; $haircolour = $_POST["haircolour"]; $Err_haircolour = $_POST["Err_haircolour"]; $eyecolour = $_POST["eyecolour"]; $Err_eyecolour = $_POST["Err_eyecolour"]; $ethnicorigin = $_POST["ethnicorigin"]; $Err_ethnicorigin = $_POST["Err_ethnicorigin"]; $ShoeSize = $_POST["shoesize"]; $Err_ShoeSize = $_POST["Err_shoesize"]; $loginname = $_POST["loginname"]; $Err_loginname = $_POST["Err_loginname"]; $passwd = $_POST["passwd"]; $Err_passwd = $_POST["Err_passwd"]; $repeat_passwd = $_POST["repeat_passwd"]; ?> <div id="register"> <div class="RegisterForm"> <h3>Apply To Register Your Child With Kids Management</h3> <form action="register-submit.php" method="post" enctype="multipart/form-data" onsubmit="displayLoading();"> <fieldset> <legend>Personal Information</legend> <div class="RegisterNotes"><h3>Personal Information Notes</h3></div> <div class="RegisterField"> <? if ($Err_parents_name) { echo "<li class='err'>$Err_parents_name</li>"; } ?> <label for="ParentsName">Parents Name: </label> <input type="text" name="ParentsName" size="40" value="<? echo $parents_name ?>" /> </div> <div class="RegisterField"> <? if ($Err_firstname) { echo "<li class='err'>$Err_firstname</li>"; } ?> <label for="FirstName">Childs First Name: </label> <input type="text" name="FirstName" size="40" value="<? echo $firstname ?>" /> </div> <div class="RegisterField"> <? if ($Err_surname) { echo "<li class='err'>$Err_surname</li>"; } ?> <label for="Surname">Childs Surname: </label> <input type="text" name="Surname" size="40" value="<? echo $surname ?>" /> </div> <div class="RegisterField"> <? if ($Err_address1) { echo "<li class='err'>$Err_address1</li>"; } ?> <label for="Address_1">Address: </label> <input type="text" name="Address_1" size="40" value="<? echo $address1 ?>" /> </div> <div class="RegisterField"> <label for="Address_2" > </label> <input type="text" name="Address_2" size="40" value="<? echo $address2 ?>" /> </div> <div class="RegisterField"> <? if ($Err_city) { echo "<li class='err'>$Err_city</li>"; } ?> <label for="City">City / Town: </label> <input type="text" name="City" size="40" value="<? echo $city ?>" /> </div> <div class="RegisterField"> <? if ($Err_county) { echo "<li class='err'>$Err_county</li>"; } ?> <label for="County">County: </label> <select name="County"> <option value="">Please Select</option> <? if (isset($_POST["county"])) { ?> <option value="<? echo $county ?>" selected="selected"><? echo $county?></option> <option value="">------------------</option> <? } ?> <option value="Avon"> Avon</option> <option value="Bedfordshire"> Bedfordshire</option> <option value="Berkshire"> Berkshire</option> <option value="Buckinghamshire"> Buckinghamshire</option> <option value="Cambridgeshire"> Cambridgeshire</option> <option value="Cheshire"> Cheshire</option> <option value="Cleveland"> Cleveland</option> <option value="Cornwall"> Cornwall</option> <option value="Cumbria"> Cumbria</option> <option value="Derbyshire"> Derbyshire</option> <option value="Devon"> Devon</option> <option value="Dorset"> Dorset</option> <option value="Durham"> Durham</option> <option value="Essex"> Essex</option> <option value="Gloucestershire"> Gloucestershire</option> <option value="Greater London"> Greater London</option> <option value="Greater Manchester"> Greater Manchester</option> <option value="Hampshire"> Hampshire</option> <option value="Hereford & Worcestershire"> Hereford & Worcestershire</option> <option value="Hertfordshire"> Hertfordshire</option> <option value="Humberside"> Humberside</option> <option value="Isle of Man"> Isle of Man</option> <option value="Isle of Wight"> Isle of Wight</option> <option value="Kent"> Kent</option> <option value="Lancashire"> Lancashire</option> <option value="Leicestershire"> Leicestershire</option> <option value="Lincolnshire"> Lincolnshire</option> <option value="Merseyside"> Merseyside</option> <option value="Norfolk"> Norfolk</option> <option value="Northamptonshire"> Northamptonshire</option> <option value="Northumberland"> Northumberland</option> <option value="Nottinghamshire"> Nottinghamshire</option> <option value="Oxfordshire"> Oxfordshire</option> <option value="Shropshire"> Shropshire</option> <option value="Somerset"> Somerset</option> <option value="Staffordshire"> Staffordshire</option> <option value="Suffolk"> Suffolk</option> <option value="Surrey"> Surrey</option> <option value="Sussex"> Sussex</option> <option value="Warwickshire"> Warwickshire</option> <option value="West Midlands"> West Midlands</option> <option value="Wiltshire"> Wiltshire</option> <option value="Yorkshire"> Yorkshire</option> </select> </div> <div class="RegisterField"> <? if ($Err_postcode) { echo "<li class='err'>$Err_postcode</li>"; } ?> <label for="Postcode">Postcode: </label> <input type="text" name="Postcode" size="40" value="<? echo $postcode ?>" /> </div> </fieldset> <fieldset> <legend>Contact Information</legend> <div class="RegisterNotes"><h3>Contact Information Notes</h3></div> <div class="RegisterField"> <? if ($Err_email_address) { echo "<li class='err'>$Err_email_address</li>"; } ?> <label for="EmailAddress">Email Address: </label> <input type="text" name="EmailAddress" size="40" value="<? echo $email_address ?>" /> </div> <div class="RegisterField"> <? if ($Err_telephone) { echo "<li class='err'>$Err_telephone</li>"; } ?> <label for="Telephone">Home Telephone: </label> <input type="text" name="Telephone" size="40" value="<? echo $telephone ?>" /> </div> <div class="RegisterField"> <? if ($Err_mobile) { echo "<li class='err'>$Err_mobile</li>"; } ?> <label for="Mobile">Mobile: </label> <input type="text" name="Mobile" size="40" value="<? echo $mobile ?>" /> </div> </fieldset> <fieldset> <legend>Profile Information</legend> <div class="RegisterNotes"><h3>Profile Information Notes</h3></div> <div class="RegisterField"> <? if (isset($_POST["firstname"])) { echo "<li class='err'>Please Select Your Childs Skills</li>"; } ?> <label for="Skills">Skills: </label> <select name="Skills[]" size="5" multiple="multiple"> <option value="dancing">Dancing</option> <option value="acting">Acting</option> <option value="singing">Singing</option> <option value="sports">Sports</option> </select> </div> <div class="RegisterField"> <? if ($Err_sex) { echo "<li class='err'>$Err_sex</li>"; } ?> <label for="Sex">Sex: </label> <input type="radio" name="Sex" value="Male"<? if ($sex == 'Male') { ?> checked="checked"<? } ?> /> Male <input type="radio" name="Sex" value="Female"<? if ($sex == 'Female') { ?> checked="checked"<? } ?> /> Female </div> <div class="RegisterField"> <label for="DOB_day">Date of Birth: </label> <select name="DOB_day"><? for ($i = 1; $i <= 31; $i++) { ?> <option value="<? echo $i ?>"<? if ($i == $dob_day) { ?> selected="selected"<? } ?>><? echo $i ?></option> <? } ?> </select> <select name="DOB_month"><? $Month = strtotime("01-01-2009"); for ($i = 0; $i <= 11; $i++) { $month = date("F", strtotime("+$i months", $Month)); ?> <option value="<? echo ($i + 1); ?>"<? if ($month == $dob_month) { ?> selected="selected"<? } ?>><? echo $month ?></option> <? } ?> </select> <select name="DOB_year"><? $Year = strtotime("01-01-". date("Y", time() + (8 * 3600))); for ($i = 0; $i <= 20; $i++) { $year = date("Y", strtotime("-$i years", $Year)); ?> <option value="<? echo $year ?>"<? if ($year == $dob_year) { ?> selected="selected"<? } ?>><? echo $year ?></option> <? } ?> </select> </div> <div class="RegisterField"> <? if ($Err_height) { echo "<li class='err'>$Err_height</li>"; } ?> <label for="Height">Height: </label> <input type="text" name="Height" size="20" value="" /> </div> <div class="RegisterField"> <? if ($Err_hairlength) { echo "<li class='err'>$Err_hairlength</li>"; } ?> <label for="HairLength">Hair Length: </label> <select name="HairLength"> <option value="">Please Select</option> <option value="long"<? if ($hairlength == 'long') { ?> selected="selected"<? } ?>>Long</option> <option value="medium"<? if ($hairlength == 'medium') { ?> selected="selected"<? } ?>>Medium</option> <option value="short"<? if ($hairlength == 'short') { ?> selected="selected"<? } ?>>Short</option> </select> </div> <div class="RegisterField"> <? if ($Err_haircolour) { echo "<li class='err'>$Err_haircolour</li>"; } ?> <label for="HairColour">Hair Colour: </label> <select name="HairColour"> <option value="">Please Select</option> <option value="black"<? if ($haircolour == 'black') { ?> selected="selected"<? } ?>>Black</option> <option value="brown"<? if ($haircolour == 'brown') { ?> selected="selected"<? } ?>>Brown</option> <option value="light_brown"<? if ($haircolour == 'light_brown') { ?> selected="selected"<? } ?>>Light Brown</option> <option value="blonde"<? if ($haircolour == 'blonde') { ?> selected="selected"<? } ?>>Blonde</option> <option value="dark_blonde"<? if ($haircolour == 'dark_blonde') { ?> selected="selected"<? } ?>>Dark Blonde</option> <option value="red"<? if ($haircolour == 'red') { ?> selected="selected"<? } ?>>Red</option> <option value="auburn"<? if ($haircolour == 'auburn') { ?> selected="selected"<? } ?>>Auburn</option> </select> </div> <div class="RegisterField"> <? if ($Err_eyecolour) { echo "<li class='err'>$Err_eyecolour</li>"; } ?> <label for="EyeColour">Eye Colour: </label> <select name="EyeColour"> <option value="">Please Select</option> <option value="blue"<? if ($eyecolour == 'blue') { ?> selected="selected"<? } ?>>Blue</option> <option value="green"<? if ($eyecolour == 'green') { ?> selected="selected"<? } ?>>Green</option> <option value="black"<? if ($eyecolour == 'black') { ?> selected="selected"<? } ?>>Black</option> <option value="brown"<? if ($eyecolour == 'brown') { ?> selected="selected"<? } ?>>Brown</option> <option value="hazel"<? if ($eyecolour == 'hazel') { ?> selected="selected"<? } ?>>Hazel</option> <option value="blue_green"<? if ($eyecolour == 'blue_green') { ?> selected="selected"<? } ?>>Blue/Green</option> <option value="blue_grey"<? if ($eyecolour == 'blue_grey') { ?> selected="selected"<? } ?>>Blue/Grey</option> <option value="green_grey"<? if ($eyecolour == 'green_grey') { ?> selected="selected"<? } ?>>Green/Grey</option> </select> </div> <div class="RegisterField"> <? if ($Err_ethnicorigin) { echo "<li class='err'>$Err_ethnicorigin</li>"; } ?> <label for="EthnicOrigin">Ethnic Origin: </label> <select name="EthnicOrigin"> <option value="">Please Select</option> <option value="white"<? if ($ethnicorigin == 'white') { ?> selected="selected"<? } ?>>White</option> <option value="mixed"<? if ($ethnicorigin == 'mixed') { ?> selected="selected"<? } ?>>Mixed Race</option> <option value="black"<? if ($ethnicorigin == 'black') { ?> selected="selected"<? } ?>>Black</option> <option value="asian"<? if ($ethnicorigin == 'asian') { ?> selected="selected"<? } ?>>Asian</option> <option value="oriental"<? if ($ethnicorigin == 'oriental') { ?> selected="selected"<? } ?>>Oriental</option> </select> </div> <div class="RegisterField"> <? if ($Err_ShoeSize) { echo "<li class='err'>$Err_ShoeSize</li>"; } ?> <label for="ShoeSize">Shoe Size: </label> <input type="text" name="ShoeSize" size="10" value="<? echo $ShoeSize ?>" /> </div> </fieldset> <fieldset> <legend>Profile Photos</legend> <? if (isset($_POST["firstname"])) { if ($firstname == '') { ?> <div class="RegisterNotes"><h3>Photo Upload Notes</h3></div> <div class="RegisterImgField"> <label for="UploadImg1">Picture to Upload 1</label> <input type="file" name="UploadImg1" /> </div> <div class="RegisterImgField"> <label for="UploadImg2">Picture to Upload 2</label> <input type="file" name="UploadImg2" /> </div> <div class="RegisterImgField"> <label for="UploadImg3">Picture to Upload 3</label> <input type="file" name="UploadImg3" /> </div> <div class="RegisterImgField"> <label for="UploadImg4">Picture to Upload 4</label> <input type="file" name="UploadImg4" /> </div> <? } else { echo "<p>Your Photos have been uploaded, no need to upload them again</p>"; } } else { ?> <div class="RegisterNotes"><h3>Photo Upload Notes</h3></div> <div class="RegisterImgField"> <label for="UploadImg1">Picture to Upload 1</label> <input type="file" name="UploadImg1" /> </div> <div class="RegisterImgField"> <label for="UploadImg2">Picture to Upload 2</label> <input type="file" name="UploadImg2" /> </div> <div class="RegisterImgField"> <label for="UploadImg3">Picture to Upload 3</label> <input type="file" name="UploadImg3" /> </div> <div class="RegisterImgField"> <label for="UploadImg4">Picture to Upload 4</label> <input type="file" name="UploadImg4" /> </div> <? } ?> </fieldset> <fieldset> <legend>Login Information</legend> <div class="RegisterNotes"><h3>Login Information Notes</h3></div> <div class="RegisterField"> <? if ($Err_loginname) { echo "<li class='err'>$Err_loginname</li>"; } ?> <label for="LoginName">Desired Login Username: </label> <input type="text" name="LoginName" size="40" value="<? echo $loginname ?>" /> </div> <div class="RegisterField"> <? if ($Err_passwd) { echo "<li class='err'>$Err_passwd</li>"; } ?> <label for="passwd">Desired Password: </label> <input type="password" name="passwd" size="40" value="<? echo $passwd ?>" /> </div> <div class="RegisterField"> <label for="repeat_passwd">Desired Password Again: </label> <input type="password" name="repeat_passwd" size="40" value="<? echo $repeat_passwd ?>" /> </div> </fieldset> <div id="upload_hide"><input type="submit" name="Submit" value="Submit Your Application" class="SubmitButton" /></div> <div id="upload-progress" style="display:none; margin-left:339px;"><img src="images/loading.gif" alt="Uploading Files" title="Uploading Files"</div> </form> </div> </div> <div id="footer"><img src="images/footer.jpg" width="1367" height="160" border="0" usemap="#Map4" /> <map name="Map4" id="Map4"> <area shape="rect" coords="286,23,420,38" href="http://www.linsianimations.co.uk" target="_blank" alt="linsianimations.co.uk" /> <area shape="rect" coords="287,43,315,54" href="index.html" alt="home page" /> <area shape="rect" coords="320,42,370,54" href="what_we_do.html" alt="what we do page" /> <area shape="rect" coords="371,43,403,53" href="search.php" alt="search page" /> <area shape="rect" coords="406,44,451,55" href="workshops.html" alt="workshops page" /> <area shape="rect" coords="452,45,488,56" href="register.php" alt="register page" /> <area shape="rect" coords="490,44,545,55" href="client_login.php" alt="client login page" /> <area shape="rect" coords="546,43,600,57" href="model_login.php" alt="model login page" /> </map> </div><!--end of footer div--> </div><!--end div wrapper--> </body> </html>

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.