943,866 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Marked Solved
  • Views: 1572
  • PHP RSS
Dec 9th, 2008
0

statement to open new url and close calling page.

Expand Post »
Good morning. I would like to replace line 178 with a statement which would simply open a new url and close out the page that calls the new url. Can this be done with one line of code? Thanks sin advance.


PHP Syntax (Toggle Plain Text)
  1. <?php
  2.  
  3. if(isset($_POST["Submit"]))
  4. {
  5. require("c:\php\includes\class.phpmailer.php");
  6.  
  7. $mail = new PHPMailer();
  8.  
  9. $toaddress = "rocky@airedale911.org"; //Change this to the email address you will be receiving your notices.
  10. $mailhost = "mail.airedale911.org"; //Change this to your actual Domain name.
  11. $fromaddress = "rocky@airedale911.org"; //Change this to the email address you will use to send and authenticate with.
  12. $frompwd = "none"; //Change this to the above email addresses password.
  13. $subject = "Airedale 911 Application Form"; //Change this to your own email message subject.
  14.  
  15.  
  16. $referredby = $_POST["Referredby"];
  17. $fromname = $_POST["Name"];
  18. $street = $_POST["Street"] ;
  19. $city = $_POST["City"];
  20. $state = $_POST["State"];
  21. $zip = $_POST["Zip"];
  22. $homephone = $_POST["Homephone"] ;
  23. $workphone = $_POST["Workphone"];
  24. $cellphone = $_POST["Cellphone"];
  25. $rplyto = $_POST["Email"];
  26. $family = $_POST["Family"] ;
  27. $sex = $_POST["Sex"] ;
  28. $previouslyowned = $_POST["Previouslyowned"] ;
  29. $whenpreviouslyowned = $_POST["Whenpreviouslyowned"] ;
  30. $sexpreviouslyowned = $_POST["Sexpreviouslyowned"] ;
  31. $otherbreeds = $_POST["Otherbreeds"] ;
  32. $fateoflastdog = $_POST["Fateoflastdog"] ;
  33. $lostadog = $_POST["Lostadog"] ;
  34. $movegiveupdog = $_POST["Movegiveupdog"] ;
  35. $otherpets = $_POST["Otherpets"] ;
  36. $otherpetsages = $_POST["Otherpetsages"] ;
  37. $otherpetsspayedneutered = $_POST["Otherpetsspayedneutered"] ;
  38. $a = $_POST["A"] ;
  39. $fencedinyard = $_POST["Fencedinyard"] ;
  40. $kindoffence = $_POST["Kindoffence"] ;
  41. $howhighfence = $_POST["Howhighfence"] ;
  42. $sizeoffencedinarea = $_POST["Sizeoffencedinarea"] ;
  43. $runofhouse = $_POST["Runofhouse"] ;
  44. $allowedonfurniture = $_POST["Allowedonfurniture"] ;
  45. $havebedandblanket = $_POST["Havebedandblanket"] ;
  46. $dogbedinwhatroom = $_POST["Dogbedinwhatroom"] ;
  47. $wherewillairedalesleep = $_POST["Wherewillairedalesleep"] ;
  48. $hoursnoonehome = $_POST["Hoursnoonehome"] ;
  49. $daysaweekalone = $_POST["Daysaweekalone"] ;
  50. $whatroomabovetimes = $_POST["Whatroomabovetimes"] ;
  51. $travelingwherewilldogstay = $_POST["Travelingwherewilldogstay"] ;
  52. $familiardogcrate = $_POST["Familiardogcrate"] ;
  53. $whenwheredogcrate = $_POST["Whenwheredogcrate"] ;
  54. $reference1 = $_POST["Reference1"] ;
  55. $reference2 = $_POST["Reference2"] ;
  56. $vetinfo = $_POST["Vetinfo"] ;
  57. $comments = $_POST["Comments"] ;
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65. $msgbody = "Referred by = " . $referredby
  66. ."<br>"
  67. ."Your Full Name = " . $fromname
  68. ."<br>"
  69. ."Your Street Address = " . $street
  70. ."<br>"
  71. ."City = " . $city
  72. ."<br>"
  73. ."State = " . $state
  74. ."<br>"
  75. ."Zip Code = " . $zip
  76. ."<br>"
  77. ."Your home telephone number (xxx-xxx-xxxx) = " . $homephone
  78. ."<br>"
  79. ."Your work number = " . $workphone
  80. ."<br>"
  81. ."Your cell phone number = " . $cellphone
  82. ."<br>"
  83. ."Email = " . $rplyto
  84. ."<br>"
  85. ."lease list names and ages of all family members (including yourself), live-in help, frequent visitors, etc. = " . $family
  86. ."<br>"
  87. ."Do you prefer a male or female Airedale? = " . $sex
  88. ."<br>"
  89. ."Have you previously owned an Airedale? = " . $previouslyowned
  90. ."<br>"
  91. ."When? = " . $whenpreviouslyowned
  92. ."<br>"
  93. ."Male or Female? = " . $sexpreviouslyowned
  94. ."<br>"
  95. ."What other dog breeds have you owned? = " . $otherbreeds
  96. ."<br>"
  97. ."What happened to your last dog? = " . $fateoflastdog
  98. ."<br>"
  99. ."Have you ever lost a dog other than through death? = " . $lostadog
  100. ."<br>"
  101. ."If you had to move, would you consider giving up your dog? = " . $movegiveupdog
  102. ."<br>"
  103. ."What other pets do you currently have? = " . $otherpets
  104. ."<br>"
  105. ."Their ages = " . $otherpetsages
  106. ."<br>"
  107. ."Are they spayed/neutered? = " . $otherpetsspayedneutered
  108. ."<br>"
  109. ."Are they currently licensed? = " . $a
  110. ."<br>"
  111. ."Do you a fenced-in yard? = " . $fencedinyard
  112. ."<br>"
  113. ."What kind of fence? = " . $kindoffence
  114. ."<br>"
  115. ."How high is the fence? = " . $howhighfence
  116. ."<br>"
  117. ."Size of fenced-in area? = " . $sizeoffencedinarea
  118. ."<br>"
  119. ."Will your new Airedale have run of the house? = " . $runofhouse
  120. ."<br>"
  121. ."Be allowed on the furniture? = " . $allowedonfurniture
  122. ."<br>"
  123. ."Have his/her own dog bed and blankets? = " . $havebedandblanket
  124. ."<br>"
  125. ."In what room will the dog bed be placed? = " . $dogbedinwhatroom
  126. ."<br>"
  127. ."In what room will your new Airedale sleep? = " . $wherewillairedalesleep
  128. ."<br>"
  129. ."How many hours at a time is no one at home? = " . $hoursnoonehome
  130. ."<br>"
  131. ."How many days a week will your dog be left alone? = " . $daysaweekalone
  132. ."<br>"
  133. ."In what room(s) will your dog be during the above times? = " . $whatroomabovetimes
  134. ."<br>"
  135. ."When you travel, where will your dog stay? = " . $travelingwherewilldogstay
  136. ."<br>"
  137. ."Are you familiar with a dog crate? = " . $familiardogcrate
  138. ."<br>"
  139. ."When and where do you use one? = " . $whenwheredogcrate
  140. ."<br>"
  141. ."Name, address, phone number = " . $reference1
  142. ."<br>"
  143. ."Name, address, phone number = " . $reference2
  144. ."<br>"
  145. ."Your veterinarian's name, address, phone number = " . $vetinfo
  146. ."<br>"
  147. ."Comments = " . $comments;
  148.  
  149.  
  150.  
  151. $mail->IsSMTP();
  152. $mail->Host = $mailhost;
  153. $mail->SMTPAuth = true;
  154. $mail->Username = $fromaddress;
  155. $mail->Password = $frompwd;
  156.  
  157. $mail->From = $fromaddress;
  158. $mail->FromName = $fromname;
  159. $mail->AddReplyTo($rplyto);
  160. $mail->AddAddress($toaddress);
  161. $mail->IsHTML(true);
  162. $mail->Subject = $subject;
  163. $mail->Body = $msgbody;
  164.  
  165. if(!$mail->Send())
  166.  
  167.  
  168.  
  169. {
  170. echo "Message could not be sent. <p>";
  171. echo "Mailer Error: " . $mail->ErrorInfo;
  172. exit;
  173. }
  174.  
  175.  
  176.  
  177.  
  178. echo "Thank you, your message has been sent!";
  179.  
  180.  
  181.  
  182.  
  183.  
  184. }
  185.  
  186. ?>
  187.  
  188. <html>
  189.  
  190. <head>
  191.  
  192. <script language="JavaScript" src="validation.js"></script>
  193.  
  194.  
  195. <SCRIPT LANGUAGE="JavaScript">
  196. <!-- Original: Jacob Hage (jacob@hage.dk) -->
  197. <!-- Web Site: http://www.hagedesign.dk -->
  198.  
  199. <!-- This script and many more are available free online at -->
  200. <!-- The JavaScript Source!! http://javascript.internet.com -->
  201.  
  202. <!-- Begin
  203. function init() {
  204. define('Referredby', 'string', 'Referred By');
  205. define('Name', 'string', 'Name');
  206. define('Street', 'string', 'Streeet');
  207. define('City', 'string', 'City');
  208. define('State', 'String', 'State');
  209. define('Zip', 'num', 'Zip', 5);
  210. define('Homephone', 'string', 'Home phone', 12);
  211. define('Workphone', 'string', 'Work Phone', 12);
  212. define('Cellphone', 'string', 'Cell Phone', 12);
  213. define('Email', 'email', 'Email');
  214. define('Family', 'string', 'Please list names and ages other than through death?');
  215. define('Whenpreviouslyowned', 'string', 'When?');
  216. define('Otherbreeds', 'string', 'What other dog breeds have you owned?');
  217. define('Fateoflastdog', 'string', 'What happened to your last dog?');
  218. define('Lostadog', 'string', 'Have you ever lost a dog...?');
  219. define('Movegiveupdog', 'string', 'If you had to move, would you consider giving up your dog?');
  220. define('Otherpets', 'string', 'What other pets do you currently have?');
  221. define('Otherpetsages', 'string', 'Their ages?');
  222. define('Otherpetsspayedneutered', 'string', 'Are they spayed/neutered?');
  223. define('A', 'string', 'Are they currently licensed?');
  224. define('Fencedinyard', 'string', 'Do you have a fenced-in-yard?');
  225. define('Kindoffence', 'string', 'What kind of fence?');
  226. define('Howhighfence', 'string', 'How high is the fence?');
  227. define('Sizeoffencedinarea', 'string', 'Size of fenced-in area?');
  228. define('Dogbedinwhatroom', 'string', 'In what room will the dog bed be placed?');
  229. define('Wherewillairedalesleep', 'string', 'In what room will your new Airedale sleep?');
  230. define('Hoursnoonehome', 'string', 'How many hours at a time is no one at home?');
  231. define('Daysaweekalone', 'string', 'How many days a week will your dog be left alone?');
  232. define('Whatroomabovetimes', 'string', 'In what room(s) will your dog be during the above times?');
  233. define('Travelingwherewilldogstay', 'string', 'When you travel, where will your dog stay?');
  234. define('Whenwheredogcrate', 'string', 'When and where do you use one??');
  235. define('Daysaweekalone', 'string', 'REFERENCE 1: Name, address, phone number:?');
  236. define('Whatroomabovetimes', 'string', 'REFERENCE 2: Name, address, phone number:?');
  237. define('Vetinfo', 'string', 'Your veterinarian name, address, phone number');
  238. define('Comments', 'string', 'Comments');
  239.  
  240. }
  241. // End -->
  242. </script>
  243.  
  244.  
  245.  
  246.  
  247. <style>
  248. .mystyle {font-size:15px; font-weight:600; font-family:Arial, Helvetica, sans-serif; font-variant:normal; letter-spacing:normal; font-size-adjust:inherit}
  249. TD.mystyle {font-size:15px; font-weight:600; font-family:Arial, Helvetica, sans-serif; font-variant:normal letter-spacing:normal; font-size-adjust:inherit}
  250. TR TD.mystyle {font-size:15px; font-weight:600; font-family:Arial, Helvetica, sans-serif; font-variant:normal letter-spacing:normal; font-size-adjust:inherit}
  251. TABLE TR TD.mystyle {font-size:15px; font-weight:600; font-family:Arial, Helvetica, sans-serif; font-variant:normal letter-spacing:normal; font-size-adjust:inherit}
  252. DIV TABLE TR TD.mystyle {font-size:15px; font-weight:600; font-family:Arial, Helvetica, sans-serif; font-variant:normal letter-spacing:normal; font-size-adjust:inherit}
  253. </style>
  254.  
  255.  
  256.  
  257. </script>
  258. </head>
  259.  
  260.  
  261.  
  262. <BODY OnLoad="init()">
  263.  
  264. <DIV class="mystyle">
  265.  
  266.  
  267.  
  268.  
  269.  
  270. <form name="SendEmail01" method="post">
  271.  
  272. <table border=0>
  273.  
  274. <tr>
  275. <td class="mystyle">Referred by:</td>
  276. <td><input type="text" name="Referredby" size="30"></td>
  277. </tr>
  278. <tr>
  279. <td class="mystyle">Your Full Name:</td>
  280. <td><input type="text" name="Name" size="30"></td>
  281. </tr>
  282. <tr>
  283. <td class="mystyle">Your Street Address:</td>
  284. <td><input type="text" name="Street" size="30"></td>
  285. </tr>
  286. <tr>
  287. <td class="mystyle">City:</td>
  288. <td><input type="text" name="City" size="30"></td>
  289. </tr>
  290. <tr>
  291. <td class="mystyle">State:</td>
  292. <td><input type="text" name="State" size="30"></td>
  293. </tr>
  294. <tr>
  295. <td class="mystyle">Zip Code:</td>
  296. <td><input type="text" name="Zip" size="30"></td>
  297. </tr>
  298. <tr>
  299. <td class="mystyle">Your home telephone number (xxx-xxx-xxxx) :</td>
  300. <td><input type="text" name="Homephone" size="30"></td>
  301. </tr>
  302. <tr>
  303. <td class="mystyle">Your work number:</td>
  304. <td><input type="text" name="Workphone" size="30"></td>
  305. </tr>
  306. <tr>
  307. <td class="mystyle">Your cell phone number:</td>
  308. <td><input type="text" name="Cellphone" size="30"></td>
  309. </tr>
  310. <tr>
  311. <td class="mystyle">Email:</td>
  312. <td><input type="text" name="Email" size="30"></td>
  313. </tr>
  314. <tr>
  315. <td class="mystyle">Please list names and ages of all family members (including yourself), live-in help, frequent visitors, etc.:</td>
  316. <td><textarea rows="4" name="Family" cols="30"></textarea></td>
  317. </tr>
  318. <tr>
  319. <td class="mystyle">Do you prefer a male or female Airedale?:</td>
  320. <td><input type="radio" name="Sex" value="Male"> Male <br>
  321. <input type="radio" name="Sex" value="Female"> Female<br>
  322. <input type="radio" name="Sex" value="No preference" checked="checked"> No Preference<br>
  323. </td>
  324. </tr>
  325. <tr>
  326. <td> </td>
  327. </tr>
  328. <tr>
  329. <td> </td>
  330. </tr>
  331. <tr>
  332. <td class="mystyle">Have you previously owned an Airedale?:</td>
  333. <td><input type="radio" name="Previouslyowned" value="Yes"> Yes <br>
  334. <input type="radio" name="Previouslyowned" value="No" checked="checked"> No <br>
  335. </td>
  336. </tr>
  337. <tr>
  338. <td class="mystyle">When?:</td>
  339. <td><input type="text" name="Whenpreviouslyowned" size="30"></td>
  340. </tr>
  341. <td class="mystyle">Male or Female?:</td>
  342. <td><input type="radio" name="Sexpreviouslyowned" value="Male"> Male <br>
  343. <input type="radio" name="Sexpreviouslyowned" value="Female"> Female<br>
  344. <input type="radio" name="Sexpreviouslyowned" value="Both"> Both<br>
  345. <input type="radio" name="Sexpreviouslyowned" value="N/A" checked="checked"> N/A<br>
  346.  
  347. </td>
  348. <tr>
  349. <td class="mystyle">What other dog breeds have you owned?:</td>
  350. <td><input type="text" name="Otherbreeds" size="30"></td>
  351. </tr>
  352. <tr>
  353. <td class="mystyle">What happened to your last dog?:</td>
  354. <td><input type="text" name="Fateoflastdog" size="30"></td>
  355. </tr>
  356. <tr>
  357. <td class="mystyle">Have you ever lost a dog other than through death?:</td>
  358. <td><input type="text" name="Lostadog" size="30"></td>
  359. </tr>
  360.  
  361. <tr>
  362. <td class="mystyle">If you had to move, would you consider giving up your dog?:</td>
  363. <td><input type="text" name="Movegiveupdog" size="30"></td>
  364. </tr>
  365. <tr>
  366. <td class="mystyle">What other pets do you currently have?:</td>
  367. <td><input type="text" name="Otherpets" size="30"></td>
  368. </tr>
  369.  
  370. <tr>
  371. <td class="mystyle">Their ages:</td>
  372. <td><input type="text" name="Otherpetsages" size="30"></td>
  373. </tr>
  374.  
  375. <tr>
  376. <td class="mystyle">Are they spayed/neutered?:</td>
  377. <td><input type="text" name="Otherpetsspayedneutered" size="30"></td>
  378. </tr>
  379.  
  380. <tr>
  381. <td class="mystyle">Are they currently licensed?:</td>
  382. <td><input type="text" name="A" size="30"></td>
  383. </tr>
  384. <tr>
  385. <td class="mystyle">Do you a fenced-in yard?:</td>
  386. <td><input type="text" name="Fencedinyard" size="30"></td>
  387. </tr>
  388.  
  389. <tr>
  390. <td class="mystyle">What kind of fence?:</td>
  391. <td><input type="text" name="Kindoffence" size="30"></td>
  392. </tr>
  393.  
  394. <tr>
  395. <td class="mystyle">How high is the fence?:</td>
  396. <td><input type="text" name="Howhighfence" size="30"></td>
  397. </tr>
  398.  
  399. <tr>
  400. <td class="mystyle">Size of fenced-in area?:</td>
  401. <td><input type="text" name="Sizeoffencedinarea" size="30"></td>
  402. </tr>
  403. <tr>
  404. <td class="mystyle">Will your new Airedale have "run of the house"?:</td>
  405. <td><input type="radio" name="Runofhouse" value="Yes"> Yes <br>
  406. <input type="radio" name="Runofhouse" value="No" checked="checked"> No <br>
  407. </td>
  408. </tr>
  409.  
  410.  
  411. <tr>
  412. <td> </td>
  413. </tr>
  414. <tr>
  415. <td> </td>
  416. </tr>
  417. <tr>
  418. <td class="mystyle">Be allowed on the furniture?:</td>
  419. <td><input type="radio" name="Allowedonfurniture" value="Yes"> Yes <br>
  420. <input type="radio" name="Allowedonfurniture" value="No" checked="checked"> No <br>
  421. </td>
  422. </tr>
  423. <tr>
  424. <td> </td>
  425. </tr>
  426. <tr>
  427. <td> </td>
  428. </tr>
  429. <tr>
  430. <td class="mystyle">Have his/her own dog bed and blankets?:</td>
  431. <td><input type="radio" name="Havebedandblanket" value="Yes"> Yes <br>
  432. <input type="radio" name="Havebedandblanket" value="No" checked="checked"> No <br>
  433. </td>
  434. </tr>
  435.  
  436. <tr>
  437. <td class="mystyle">In what room will the dog bed be placed?:</td>
  438. <td><input type="text" name="Dogbedinwhatroom" size="30"></td>
  439. </tr>
  440. <tr>
  441. <td class="mystyle">In what room will your new Airedale sleep?:</td>
  442. <td><input type="text" name="Wherewillairedalesleep" size="30"></td>
  443. </tr>
  444. <tr>
  445. <td class="mystyle">How many hours at a time is no one at home?:</td>
  446. <td><input type="text" name="Hoursnoonehome" size="30"></td>
  447. </tr>
  448. <tr>
  449. <td class="mystyle">How many days a week will your dog be left alone?:</td>
  450. <td><input type="text" name="Daysaweekalone" size="30"></td>
  451. </tr>
  452. <tr>
  453. <td class="mystyle">In what room(s) will your dog be during the above times?:</td>
  454. <td><input type="text" name="Whatroomabovetimes" size="30"></td>
  455. </tr>
  456. <tr>
  457. <td class="mystyle">When you travel, where will your dog stay?:</td>
  458. <td><input type="text" name="Travelingwherewilldogstay" size="30"></td>
  459. </tr>
  460. <tr>
  461. <td class="mystyle">Are you familiar with a dog crate?:</td>
  462. <td><input type="radio" name="Familiardogcrate" value="Yes"> Yes <br>
  463. <input type="radio" name="Familiardogcrate" value="No" checked="checked"> No <br>
  464. </td>
  465. </tr>
  466. <tr>
  467. <td class="mystyle">When and where do you use one?:</td>
  468. <td><textarea rows="4" name="Whenwheredogcrate" cols="30"></textarea></td>
  469. </tr>
  470. <br><br>
  471. <tr>
  472. <td class="mystyle">REFERENCES: Name, address, phone number:</td>
  473. <td><textarea rows="4" name="Reference1" cols="30"></textarea></td>
  474. </tr>
  475. <tr>
  476. <td class="mystyle">REFERENCES: Name, address, phone number:</td>
  477. <td><textarea rows="4" name="Reference2" cols="30"></textarea></td>
  478. </tr>
  479. <tr>
  480. <td class="mystyle">Your veterinarian's name, address, phone number:</td>
  481. <td><textarea rows="4" name="Vetinfo" cols="30"></textarea></td>
  482. </tr>
  483. <tr>
  484. <td class="mystyle">Comments:</td>
  485. <td><textarea rows="8" name="Comments" cols="30"></textarea></td>
  486. </tr>
  487. <tr>
  488. <td><input type="submit" name="Submit" value="Submit" onClick="validate();return returnVal;" value="Test fields">></td>
  489. </tr>
  490.  
  491. </table>
  492. </form>
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499. </div>
  500.  
  501. </body></html>
  502.  
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
squarkman is offline Offline
42 posts
since Nov 2008
Dec 9th, 2008
0

Re: statement to open new url and close calling page.

Have you tried using a header?
php Syntax (Toggle Plain Text)
  1. header('Location:index.php');
This will only work if nothing has been outputted to the client yet.
Reputation Points: 232
Solved Threads: 137
Practically a Master Poster
buddylee17 is offline Offline
665 posts
since Nov 2007
Dec 9th, 2008
0

Re: statement to open new url and close calling page.

Hmmm. Actually this is a form. Once submitted I would like to close the form window and open a thank you url.

Here's the area of the code I refer to. Thanks!

PHP Syntax (Toggle Plain Text)
  1.  
  2. if(!$mail->Send())
  3. {
  4. echo "Message could not be sent. <p>";
  5. echo "Mailer Error: " . $mail->ErrorInfo;
  6. exit;
  7. }
  8. $handle = fopen("http://www.stopaeta.org", "r");
  9. }
  10. ?>
  11. <html>
Reputation Points: 10
Solved Threads: 0
Light Poster
squarkman is offline Offline
42 posts
since Nov 2008
Dec 9th, 2008
0

Re: statement to open new url and close calling page.

Why are you trying to open an html page with fopen?
Use:
php Syntax (Toggle Plain Text)
  1. header('Location:http://www.stopaeta.org');
Reputation Points: 232
Solved Threads: 137
Practically a Master Poster
buddylee17 is offline Offline
665 posts
since Nov 2007
Dec 10th, 2008
0

Re: statement to open new url and close calling page.

Thanks! Wonder why it's called header. What's it got to do with a header. It's a statement that will open a url inside php. Someone said it could not be done.
Reputation Points: 10
Solved Threads: 0
Light Poster
squarkman is offline Offline
42 posts
since Nov 2008
Dec 23rd, 2008
0

spacing issue with Header and iFrame

First please look at this page
http://www.airedale911.org/e.php

Notice how the words ONLINE ADOPTION APPLICATION FORM

will not ge close to the top of the page. Any ideas why please?
Thank you and Happy Holidays!

----------here's the code for that page---------------------------
PHP Syntax (Toggle Plain Text)
  1. <html>
  2. <head>
  3. <script language="JavaScript" src="validation.js"></script>
  4. <SCRIPT LANGUAGE="JavaScript">
  5. function init() {
  6. define('Referredby', 'string', 'Referred By');
  7. define('Name', 'string', 'Name');
  8. define('Street', 'string', 'Street');
  9. define('City', 'string', 'City');
  10. define('State', 'string', 'State');
  11. define('Zip', 'num', 'Zip', 5);
  12. define('Homephone', 'string', 'Home phone', 12);
  13. define('Workphone', 'string', 'Work Phone', 12);
  14. define('Cellphone', 'string', 'Cell Phone', 12);
  15. define('Email', 'email', 'Email');
  16. define('Family', 'string', 'Please list the names of all family members (including yourself), live-in help, frequent visitors, etc');
  17. define('Ages', 'num', 'Please list the ages of all family members (including yourself), live-in help, frequent visitors, etc');
  18. define('Whenpreviouslyowned', 'string', 'When?');
  19. define('Otherbreeds', 'string', 'What other dog breeds have you owned?');
  20. define('Fateoflastdog', 'string', 'What happened to your last dog?');
  21. define('Lostadog', 'string', 'Have you ever lost a dog...?');
  22. define('Movegiveupdog', 'string', 'If you had to move, would you consider giving up your dog?');
  23. define('Otherpets', 'string', 'What other pets do you currently have?');
  24. define('Otherpetsages', 'string', 'Their ages?');
  25. define('Otherpetsspayedneutered', 'string', 'Are they spayed/neutered?');
  26. define('A', 'string', 'Are they currently licensed?');
  27. define('Fencedinyard', 'string', 'Do you have a fenced-in-yard?');
  28. define('Kindoffence', 'string', 'What kind of fence?');
  29. define('Howhighfence', 'string', 'How high is the fence?');
  30. define('Sizeoffencedinarea', 'string', 'Size of fenced-in area?');
  31. define('Dogbedinwhatroom', 'string', 'In what room will the dog bed be placed?');
  32. define('Wherewillairedalesleep', 'string', 'In what room will your new Airedale sleep?');
  33. define('Hoursnoonehome', 'string', 'How many hours at a time is no one at home?');
  34. define('Daysaweekalone', 'string', 'How many days a week will your dog be left alone?');
  35. define('Whatroomabovetimes', 'string', 'In what room(s) will your dog be during the above times?');
  36. define('Travelingwherewilldogstay', 'string', 'When you travel, where will your dog stay?');
  37. define('Whenwheredogcrate', 'string', 'When and where do you use one??');
  38. define('Daysaweekalone', 'string', 'REFERENCE 1: Name, address, phone number:?');
  39. define('Whatroomabovetimes', 'string', 'REFERENCE 2: Name, address, phone number:?');
  40. define('Vetinfo', 'string', 'Your veterinarian name, address, phone number');
  41. define('Comments', 'string', 'Comments');
  42. }
  43. </script>
  44.  
  45.  
  46. <style>
  47. .mystyle {font-size:15px; font-weight:Bold; font-family:Arial, Helvetica, sans-serif; font-variant:normal; letter-spacing:normal; font-size-adjust:inherit}
  48. .boxtext {font-size:15px; font-weght:Bold; font-family:Times New Roman; font-variant:normal; letter-spacing:normal; font-size-adjust:inherit}
  49. TD.mystyle {font-size:15px; font-weight:Bold; font-family:Arial, Helvetica, sans-serif; font-variant:normal letter-spacing:normal; font-size-adjust:inherit}
  50. TR TD.mystyle {font-size:15px; font-weight:Bold; font-family:Arial, Helvetica, sans-serif; font-variant:normal letter-spacing:normal; font-size-adjust:inherit}
  51. TABLE TR TD.mystyle {font-size:15px; font-weight:Bold; font-family:Arial, Helvetica, sans-serif; font-variant:normal letter-spacing:normal; font-size-adjust:inherit}
  52. DIV TABLE TR TD.mystyle {font-size:15px; font-weight:Bold; font-family:Arial, Helvetica, sans-serif; font-variant:normal letter-spacing:normal; font-size-adjust:inherit}
  53. .style1 {
  54. color: #C66300;
  55. font-family: Arial, Helvetica, sans-serif;
  56. font-size: 16px;
  57. font-weight:bold;
  58. }
  59. .style2 {color: #C66300; font-family: Arial, Helvetica, sans-serif; font-size: 20px; font-weight: bold; }
  60. </style>
  61.  
  62. </script>
  63.  
  64. </head>
  65.  
  66. <BODY OnLoad="init()">
  67.  
  68. <DIV class="mystyle">
  69. <form name="SendEmail01" method="post">
  70. <table border=0>
  71.  
  72. <tr>
  73. <td height="60" class="style1"><p><span class="style2">ONLINE ADOPTION APPLICATION FORM</span><br>
  74. <br><br><br><br><br>
  75. </tr>
  76.  
  77.  
  78. <tr>
  79. <p>Referred by:</p></td>
  80. <td><input name="Referredby" type="text" class="mystyle" size="30" font=times></td>
  81. </tr>
  82.  
  83.  
  84. <tr>
  85. <td height="60" class="style1">Your Full Name:</td>
  86. <td><input name="Name" type="text" class="mystyle" size="30"></td>
  87. </tr>
  88.  
  89.  
  90.  
  91. <tr>
  92. <td height="60" class="style1">Your Street Address:</td>
  93. <td><input name="Street" type="text" class="mystyle" size="30"></td>
  94. </tr>
  95.  
  96.  
  97. <tr>
  98. <td height="60" class="style1">City:</td>
  99. <td><input name="City" type="text" class="mystyle" size="30"></td>
  100. </tr>
  101.  
  102.  
  103. <tr>
  104. <td height="60" class="style1">State:</td>
  105. <td><input name="State" type="text" class="mystyle" size="30"></td>
  106. </tr>
  107.  
  108.  
  109. <tr>
  110. <td height="60" class="style1">Zip Code (5 digits only):</td>
  111. <td><input name="Zip" type="text" class="mystyle" size="6" maxlength="5"></td>
  112. </tr>
  113.  
  114. <tr>
  115. <td height="60" class="style1">Your home telephone number <br>
  116. (xxx-xxx-xxxx) or <br>
  117. (000000000000) for NA:</td>
  118. <td><input name="Homephone" type="text" class="mystyle" size="13" maxlength="12"></td>
  119. </tr>
  120.  
  121. <tr>
  122. <td height="60" class="style1">Your work telephone number <br>
  123. (xxx-xxx-xxxx) or <br>
  124. (000000000000) for NA: </td>
  125. <td><input name="Workphone" type="text" class="mystyle" size="13" maxlength="12"></td>
  126. </tr>
  127.  
  128. <tr>
  129. <td height="60" class="style1">Your cell telephone number <br>
  130. (xxx-xxx-xxxx) or <br>
  131. (000000000000) for NA:</td>
  132. <td><input name="Cellphone" type="text" class="mystyle" size="13" maxlength="12"></td>
  133. </tr>
  134.  
  135. <tr>
  136. <td height="60" class="style1">Email:</td>
  137. <td><input name="Email" type="text" class="mystyle" size="30"></td>
  138. </tr>
  139.  
  140.  
  141. <p>
  142.  
  143.  
  144. <tr>
  145. <td height="80" class="style1">Please list the names of all
  146. family <br>
  147. members
  148. (including yourself),<br>
  149. live-in help, frequent visitors, etc:</td>
  150. <td><textarea name="Family" cols="30" rows="4" class="mystyle"></textarea></td>
  151. </tr><br>
  152.  
  153.  
  154. <p>
  155.  
  156.  
  157. <tr>
  158. <td height="80" class="style1">Please list the ages of all family <br>
  159. members
  160. (including yourself), <br>
  161. live-in help, frequent visitors, etc:<br>
  162. (place 00 between ages)</td><td><textarea name="Ages" cols="30" rows="4" class="mystyle"></textarea></td>
  163. </tr>
  164.  
  165. <br>
  166.  
  167. <tr>
  168. <td height="60" class="style1">Do you prefer a male or
  169. female <br>
  170. Airedale?:</td>
  171. <td class="mystyle"><br>
  172. <input type="radio" name="Sex" value="Male"> Male <br>
  173. <input type="radio" name="Sex" value="Female"> Female<br>
  174. <input type="radio" name="Sex" value="No preference" checked="checked"> No Preference<br>
  175. </td></tr>
  176.  
  177. <tr>
  178. <td height="60" class="style1">Have you previously owned
  179. an <br>
  180. Airedale?:</td>
  181. <td class="mystyle"><br>
  182. <input type="radio" name="Previouslyowned" value="Yes"> Yes <br>
  183. <input type="radio" name="Previouslyowned" value="No" checked="checked"> No <br>
  184. </td>
  185. </tr>
  186.  
  187. <tr>
  188. <td height="60" class="style1">When?:</td>
  189. <td class="mystyle"><br>
  190. <input name="Whenpreviouslyowned" type="text" class="mystyle" size="30"></td>
  191. </tr>
  192.  
  193.  
  194. <tr>
  195. <td height="60" class="style1">Male or Female?:</td>
  196. <td class="mystyle"><br>
  197. <input type="radio" name="Sexpreviouslyowned" value="Male"> Male <br>
  198. <input type="radio" name="Sexpreviouslyowned" value="Female"> Female<br>
  199. <input type="radio" name="Sexpreviouslyowned" value="Both"> Both<br>
  200. <input type="radio" name="Sexpreviouslyowned" value="N/A" checked="checked"> N/A
  201.  
  202. <br></td></tr>
  203.  
  204.  
  205. <tr>
  206. <td height="60" class="style1">What other dog breeds have <br>
  207. you owned?:</td>
  208. <td><input name="Otherbreeds" type="text" class="mystyle" size="30"></td>
  209. </tr><br>
  210.  
  211. <tr>
  212. <td height="60" class="style1">What happened to your last dog?:</td>
  213. <td><input name="Fateoflastdog" type="text" class="mystyle" size="30"></td>
  214. </tr>
  215.  
  216.  
  217. <tr>
  218. <td height="60" class="style1">Have you ever lost a dog other <br>
  219. than through death?:</td>
  220. <td><input name="Lostadog" type="text" class="mystyle" size="30">
  221. </p></td>
  222. </tr>
  223.  
  224. <tr>
  225. <td height="60" class="style1">If you had to move, would you <br>
  226. consider giving up your dog?:</td>
  227. <td><input name="Movegiveupdog" type="text" class="mystyle" size="30"></td>
  228. </tr>
  229.  
  230.  
  231. <tr>
  232. <td height="60" class="style1">What other pets do you currently <br>
  233. have?:</td>
  234. <td><input name="Otherpets" type="text" class="mystyle" size="30"></td>
  235. </tr>
  236.  
  237. <tr>
  238. <td height="60" class="style1">Their ages:</td>
  239. <td><input name="Otherpetsages" type="text" class="mystyle" size="30"></td>
  240. </tr>
  241.  
  242. <tr>
  243. <td height="60" class="style1">Are they spayed/neutered?:</td>
  244. <td><input name="Otherpetsspayedneutered" type="text" class="mystyle" size="30"></td>
  245. </tr>
  246.  
  247. <tr>
  248. <td height="60" class="style1">Are they currently licensed?:</td>
  249. <td><input name="A" type="text" class="mystyle" size="30"></td>
  250. </tr>
  251.  
  252. <tr>
  253. <td height="60" class="style1">Do you a fenced-in yard?:</td>
  254. <td><input name="Fencedinyard" type="text" class="mystyle" size="30"></td>
  255. </tr>
  256.  
  257. <tr>
  258. <td height="60" class="style1">What kind of fence?:</td>
  259. <td><input name="Kindoffence" type="text" class="mystyle" size="30"></td>
  260. </tr>
  261.  
  262.  
  263. <tr>
  264. <td height="60" class="style1">How high is the fence?:</td>
  265. <td><input name="Howhighfence" type="text" class="mystyle" size="30"></td>
  266. </tr>
  267.  
  268. <tr>
  269. <td height="60" class="style1">Size of fenced-in area?:</td>
  270. <td><input name="Sizeoffencedinarea" type="text" class="mystyle" size="30" ></td>
  271. </tr>
  272.  
  273.  
  274. <tr>
  275. <td height="60" class="style1">Will your new Airedale have <br>
  276. "run of the house"?:</td>
  277. <td class="mystyle"> <input type="radio" name="Runofhouse" value="Yes"> Yes
  278. <input type="radio" name="Runofhouse" value="No" checked="checked"> No
  279. </td>
  280. </tr>
  281.  
  282.  
  283. <tr>
  284. <td height="60" class="style1">Be allowed on the furniture?:</td>
  285. <td class="mystyle"><br>
  286. <input type="radio" name="Allowedonfurniture" value="Yes"> Yes <br>
  287. <input type="radio" name="Allowedonfurniture" value="No" checked="checked"> No <br>
  288. </td>
  289. </tr>
  290.  
  291.  
  292. <tr>
  293. <td height="60" class="style1"><p>Have his/her own dog bed and <br>
  294. blankets?:</p>
  295. </td>
  296. <td class="mystyle"><br>
  297. <input type="radio" name="Havebedandblanket" value="Yes"> Yes <br>
  298. <input type="radio" name="Havebedandblanket" value="No" checked="checked"> No <br><br>
  299. </td>
  300. </tr>
  301.  
  302.  
  303.  
  304. <tr>
  305. <td height="60" class="style1">In what room will the dog bed be <br>
  306. placed?:</td>
  307. <td><input name="Dogbedinwhatroom" type="text" class="mystyle" size="30"></td>
  308. </tr>
  309.  
  310. <tr>
  311. <td height="60" class="style1">In what room will your new <br>
  312. Airedale sleep?:</td>
  313. <td><input name="Wherewillairedalesleep" type="text" class="mystyle" size="30"></td>
  314. </tr>
  315.  
  316. <tr>
  317. <td height="60" class="style1">How many hours at a time is no <br>
  318. one at home?:</td>
  319. <td><input name="Hoursnoonehome" type="text" class="mystyle" size="30"></td>
  320. </tr>
  321.  
  322. <tr>
  323. <td height="60" class="style1">How many days a week will your <br>
  324. dog be left alone?:</td>
  325. <td><input name="Daysaweekalone" type="text" class="mystyle" size="30"></td>
  326. </tr>
  327. <tr>
  328.  
  329. <td height="60" class="style1">In what room(s) will your dog be <br>
  330. during the above times?:</td>
  331. <td><input name="Whatroomabovetimes" type="text" class="mystyle" size="30">
  332. </td>
  333. </tr>
  334.  
  335. <tr>
  336. <td height="60" class="style1">When you travel, where will your <br>
  337. dog stay?:</td>
  338. <td><input name="Travelingwherewilldogstay" type="text" class="mystyle" size="30"></td>
  339. </tr>
  340.  
  341. <tr>
  342. <td height="60" class="style1">Are you familiar with a dog crate?:</td>
  343. <td><input type="radio" name="Familiardogcrate" value="Yes"> <span class="mystyle">Yes</span> <br>
  344. <input type="radio" name="Familiardogcrate" value="No" checked="checked"> <span class="mystyle">No</span></td>
  345. </tr>
  346.  
  347. <tr>
  348. <td height="80" class="style1">When and where do you use one?:</td>
  349. <td><textarea name="Whenwheredogcrate" cols="30" rows="4" class="mystyle"></textarea></td>
  350. </tr>
  351.  
  352. <tr>
  353. <td height="80" class="style1">REFERENCES: Name, address, <br>
  354. phone number:</td>
  355. <td><textarea name="Reference1" cols="30" rows="4" class="mystyle"></textarea></td><br>
  356. </tr>
  357.  
  358. <tr>
  359. <td height="80" class="style1">REFERENCES: Name, address, <br>
  360. phone number:</td>
  361. <td><textarea name="Reference2" cols="30" rows="4" class="mystyle"></textarea></td><br>
  362. </tr>
  363.  
  364. <tr>
  365. <td height="80" class="style1">Veterinarian's name, address, <br>
  366. phone number:</td>
  367. <td><textarea name="Vetinfo" cols="30" rows="4" class="mystyle"></textarea></td>
  368. </tr>
  369.  
  370. <tr>
  371. <td height="60" class="style1">Comments:</td>
  372. <td><textarea name="Comments" cols="30" rows="8" class="mystyle"></textarea></td>
  373. </tr>
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381. <tr>
  382. <td><input type="submit" name="Submit" value="Submit" onClick="validate();return returnVal;" value="Test fields"></td>
  383. </tr>
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390. </table>
  391. </form>
  392.  
  393. </div>
  394.  
  395. </body></html>
  396.  
  397.  
  398.  
  399. <?php
  400.  
  401. if(isset($_POST["Submit"]))
  402. {
  403. require("c:\php\includes\class.phpmailer.php");
  404.  
  405. $mail = new PHPMailer();
  406.  
  407. $toaddress = "xxxxxxxxxxx.xxx"; //Change this to the email address you will be receiving your notices.
  408. $mailhost = "xxxx.xxxxxxxxxx.xxx"; //Change this to your actual Domain name.
  409. $fromaddress = "xxxxx@xxxxxx.xxx"; //Change this to the email address you will use to send and authenticate with.
  410. $frompwd = "xxxxx"; //Change this to the above email addresses password.
  411. $subject = "xxxxxxxxxxxxxxxxxxxx"; //Change this to your own email message subject.
  412.  
  413.  
  414. $referredby = $_POST["Referredby"];
  415. $fromname = $_POST["Name"];
  416. $street = $_POST["Street"] ;
  417. $city = $_POST["City"];
  418. $state = $_POST["State"];
  419. $zip = $_POST["Zip"];
  420. $homephone = $_POST["Homephone"] ;
  421. $workphone = $_POST["Workphone"];
  422. $cellphone = $_POST["Cellphone"];
  423. $rplyto = $_POST["Email"];
  424. $family = $_POST["Family"];
  425. $ages = $_POST["Ages"];
  426. $sex = $_POST["Sex"] ;
  427. $previouslyowned = $_POST["Previouslyowned"] ;
  428. $whenpreviouslyowned = $_POST["Whenpreviouslyowned"] ;
  429. $sexpreviouslyowned = $_POST["Sexpreviouslyowned"] ;
  430. $otherbreeds = $_POST["Otherbreeds"] ;
  431. $fateoflastdog = $_POST["Fateoflastdog"] ;
  432. $lostadog = $_POST["Lostadog"] ;
  433. $movegiveupdog = $_POST["Movegiveupdog"] ;
  434. $otherpets = $_POST["Otherpets"] ;
  435. $otherpetsages = $_POST["Otherpetsages"] ;
  436. $otherpetsspayedneutered = $_POST["Otherpetsspayedneutered"] ;
  437. $a = $_POST["A"] ;
  438. $fencedinyard = $_POST["Fencedinyard"] ;
  439. $kindoffence = $_POST["Kindoffence"] ;
  440. $howhighfence = $_POST["Howhighfence"] ;
  441. $sizeoffencedinarea = $_POST["Sizeoffencedinarea"] ;
  442. $runofhouse = $_POST["Runofhouse"] ;
  443. $allowedonfurniture = $_POST["Allowedonfurniture"] ;
  444. $havebedandblanket = $_POST["Havebedandblanket"] ;
  445. $dogbedinwhatroom = $_POST["Dogbedinwhatroom"] ;
  446. $wherewillairedalesleep = $_POST["Wherewillairedalesleep"] ;
  447. $hoursnoonehome = $_POST["Hoursnoonehome"] ;
  448. $daysaweekalone = $_POST["Daysaweekalone"] ;
  449. $whatroomabovetimes = $_POST["Whatroomabovetimes"] ;
  450. $travelingwherewilldogstay = $_POST["Travelingwherewilldogstay"] ;
  451. $familiardogcrate = $_POST["Familiardogcrate"] ;
  452. $whenwheredogcrate = $_POST["Whenwheredogcrate"] ;
  453. $reference1 = $_POST["Reference1"] ;
  454. $reference2 = $_POST["Reference2"] ;
  455. $vetinfo = $_POST["Vetinfo"] ;
  456. $comments = $_POST["Comments"] ;
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464. $msgbody = "Referred by = " . $referredby
  465. ."<br>"
  466. ."Your Full Name = " . $fromname
  467. ."<br>"
  468. ."Your Street Address = " . $street
  469. ."<br>"
  470. ."City = " . $city
  471. ."<br>"
  472. ."State = " . $state
  473. ."<br>"
  474. ."Zip Code = " . $zip
  475. ."<br>"
  476. ."Your home telephone number (xxx-xxx-xxxx) or (000000000000 for NA) = " . $homephone
  477. ."<br>"
  478. ."Your work number (xxx-xxx-xxxx) or (000000000000 for NA) = " . $workphone
  479. ."<br>"
  480. ."Your cell phone number (xxx-xxx-xxxx) or (000000000000 for NA) = " . $cellphone
  481. ."<br>"
  482. ."Email = " . $rplyto
  483. ."<br>"
  484. ."Please list the names of all family members (including yourself), live-in help, frequent visitors, etc = " . $family
  485. ."<br>"
  486. ."Please list the ages of all family members (including yourself), live-in help, frequent visitors, etc<br>
  487. (place 00 between ages) = " . $ages
  488. ."<br>"
  489. ."Do you prefer a male or female Airedale? = " . $sex
  490. ."<br>"
  491. ."Have you previously owned an Airedale? = " . $previouslyowned
  492. ."<br>"
  493. ."When? = " . $whenpreviouslyowned
  494. ."<br>"
  495. ."Male or Female? = " . $sexpreviouslyowned
  496. ."<br>"
  497. ."What other dog breeds have you owned? = " . $otherbreeds
  498. ."<br>"
  499. ."What happened to your last dog? = " . $fateoflastdog
  500. ."<br>"
  501. ."Have you ever lost a dog other than through death? = " . $lostadog
  502. ."<br>"
  503. ."If you had to move, would you consider giving up your dog? = " . $movegiveupdog
  504. ."<br>"
  505. ."What other pets do you currently have? = " . $otherpets
  506. ."<br>"
  507. ."Their ages = " . $otherpetsages
  508. ."<br>"
  509. ."Are they spayed/neutered? = " . $otherpetsspayedneutered
  510. ."<br>"
  511. ."Are they currently licensed? = " . $a
  512. ."<br>"
  513. ."Do you a fenced-in yard? = " . $fencedinyard
  514. ."<br>"
  515. ."What kind of fence? = " . $kindoffence
  516. ."<br>"
  517. ."How high is the fence? = " . $howhighfence
  518. ."<br>"
  519. ."Size of fenced-in area? = " . $sizeoffencedinarea
  520. ."<br>"
  521. ."Will your new Airedale have run of the house? = " . $runofhouse
  522. ."<br>"
  523. ."Be allowed on the furniture? = " . $allowedonfurniture
  524. ."<br>"
  525. ."Have his/her own dog bed and blankets? = " . $havebedandblanket
  526. ."<br>"
  527. ."In what room will the dog bed be placed? = " . $dogbedinwhatroom
  528. ."<br>"
  529. ."In what room will your new Airedale sleep? = " . $wherewillairedalesleep
  530. ."<br>"
  531. ."How many hours at a time is no one at home? = " . $hoursnoonehome
  532. ."<br>"
  533. ."How many days a week will your dog be left alone? = " . $daysaweekalone
  534. ."<br>"
  535. ."In what room(s) will your dog be during the above times? = " . $whatroomabovetimes
  536. ."<br>"
  537. ."When you travel, where will your dog stay? = " . $travelingwherewilldogstay
  538. ."<br>"
  539. ."Are you familiar with a dog crate? = " . $familiardogcrate
  540. ."<br>"
  541. ."When and where do you use one? = " . $whenwheredogcrate
  542. ."<br>"
  543. ."Name, address, phone number = " . $reference1
  544. ."<br>"
  545. ."Name, address, phone number = " . $reference2
  546. ."<br>"
  547. ."Your veterinarian's name, address, phone number = " . $vetinfo
  548. ."<br>"
  549. ."Comments = " . $comments;
  550.  
  551.  
  552.  
  553. $mail->IsSMTP();
  554. $mail->Host = $mailhost;
  555. $mail->SMTPAuth = true;
  556. $mail->Username = $fromaddress;
  557. $mail->Password = $frompwd;
  558.  
  559. $mail->From = $fromaddress;
  560. $mail->FromName = $fromname;
  561. $mail->AddReplyTo($fromaddress);
  562. $mail->AddAddress($toaddress);
  563. $mail->IsHTML(true);
  564. $mail->Subject = $subject;
  565. $mail->Body = $msgbody;
  566.  
  567. if(!$mail->Send())
  568.  
  569.  
  570.  
  571. {
  572. echo "Message could not be sent. <p>";
  573. echo "Mailer Error: " . $mail->ErrorInfo;
  574. exit;
  575. }
  576. header('Location:http://www.xxxxxxxxxxx.xxx/thankyou.html');
  577. }
  578.  
  579. ?>
  580.  
Reputation Points: 10
Solved Threads: 0
Light Poster
squarkman is offline Offline
42 posts
since Nov 2008
Dec 23rd, 2008
0

Re: statement to open new url and close calling page.

Please start a new thread and mark this one as solved.
Reputation Points: 232
Solved Threads: 137
Practically a Master Poster
buddylee17 is offline Offline
665 posts
since Nov 2007

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Searching for Time Conflicts?
Next Thread in PHP Forum Timeline: php mysql drop down list





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC