Warning: Constant ABSPATH already defined in /home/raypasto/www/www/wordpress/wp-config.php on line 26

Warning: Cannot modify header information - headers already sent by (output started at /home/raypasto/www/www/wordpress/wp-config.php:26) in /home/raypasto/www/www/wordpress/wp-includes/rest-api/class-wp-rest-server.php on line 1648

Warning: Cannot modify header information - headers already sent by (output started at /home/raypasto/www/www/wordpress/wp-config.php:26) in /home/raypasto/www/www/wordpress/wp-includes/rest-api/class-wp-rest-server.php on line 1648

Warning: Cannot modify header information - headers already sent by (output started at /home/raypasto/www/www/wordpress/wp-config.php:26) in /home/raypasto/www/www/wordpress/wp-includes/rest-api/class-wp-rest-server.php on line 1648

Warning: Cannot modify header information - headers already sent by (output started at /home/raypasto/www/www/wordpress/wp-config.php:26) in /home/raypasto/www/www/wordpress/wp-includes/rest-api/class-wp-rest-server.php on line 1648

Warning: Cannot modify header information - headers already sent by (output started at /home/raypasto/www/www/wordpress/wp-config.php:26) in /home/raypasto/www/www/wordpress/wp-includes/rest-api/class-wp-rest-server.php on line 1648

Warning: Cannot modify header information - headers already sent by (output started at /home/raypasto/www/www/wordpress/wp-config.php:26) in /home/raypasto/www/www/wordpress/wp-includes/rest-api/class-wp-rest-server.php on line 1648

Warning: Cannot modify header information - headers already sent by (output started at /home/raypasto/www/www/wordpress/wp-config.php:26) in /home/raypasto/www/www/wordpress/wp-includes/rest-api/class-wp-rest-server.php on line 1648

Warning: Cannot modify header information - headers already sent by (output started at /home/raypasto/www/www/wordpress/wp-config.php:26) in /home/raypasto/www/www/wordpress/wp-includes/rest-api/class-wp-rest-server.php on line 1648
{"id":212,"date":"2010-04-21T14:45:20","date_gmt":"2010-04-21T19:45:20","guid":{"rendered":"http:\/\/raypastore.com\/wordpress\/?p=212"},"modified":"2011-11-02T07:47:44","modified_gmt":"2011-11-02T12:47:44","slug":"php-contact-page","status":"publish","type":"post","link":"https:\/\/raypastore.com\/wordpress\/2010\/04\/php-contact-page\/","title":{"rendered":"php: Contact Page"},"content":{"rendered":"

for those of you interested in creating a contact page with a form (fields and submit button) that goes directly to your email, check this out. You simply need to copy and paste this code into the body of your html. You also need to put your email address in the part that says ‘YourEmailAddressHere’ and need to save the page as something like: contact.php, not something like contact.html. And thats it. Very easy to do.<\/p>\n

<form name=”form1″ id=”form1″ method=”post” action=”<?=$PHP_SELF?>”>
\n<p>Name:
\n<input type=”text” name=”name” \/>
\n<\/p>
\n<p>&nbsp;<\/p>
\n<p>Email:
\n<input type=”text” name=”email” \/>
\n<\/p>
\n<p>&nbsp;<\/p>
\n<p>Subject:
\n<input type=”text” name=”subject” \/>
\n<\/p>
\n<p>&nbsp;<\/p>
\n<p>Message:
\n<textarea name=”comments” cols=”40″><\/textarea>
\n<\/p>
\n<p>&nbsp;<\/p>
\n<p>
\n<input name=”submitentry” type=”submit” value=”SUBMIT” \/>
\n<input type=”reset” name=”Submit2″ value=”Reset” \/>
\n<\/p>
\n<\/form>
\n<p>
\n<?php
\nif ($submitentry == “SUBMIT”){
\n$sql = “‘$name’, ‘$email’, ‘$comments'”;
\n$em = “‘$subject'”;
\nmail(‘YourEmailAddressHere’, $em, $sql);
\necho(“<p>Your message has been sent!” . “<\/p>”);
\n}
\n?><\/p><\/p>\n","protected":false},"excerpt":{"rendered":"

for those of you interested in creating a contact page with a form (fields and submit button) that goes directly to your email, check this out. You simply need to copy and paste this code into the body of your html. You also need to put your email address in the part that says ‘YourEmailAddressHere’ […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[25,90],"tags":[65,64],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/raypastore.com\/wordpress\/wp-json\/wp\/v2\/posts\/212"}],"collection":[{"href":"https:\/\/raypastore.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/raypastore.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/raypastore.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/raypastore.com\/wordpress\/wp-json\/wp\/v2\/comments?post=212"}],"version-history":[{"count":4,"href":"https:\/\/raypastore.com\/wordpress\/wp-json\/wp\/v2\/posts\/212\/revisions"}],"predecessor-version":[{"id":444,"href":"https:\/\/raypastore.com\/wordpress\/wp-json\/wp\/v2\/posts\/212\/revisions\/444"}],"wp:attachment":[{"href":"https:\/\/raypastore.com\/wordpress\/wp-json\/wp\/v2\/media?parent=212"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/raypastore.com\/wordpress\/wp-json\/wp\/v2\/categories?post=212"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/raypastore.com\/wordpress\/wp-json\/wp\/v2\/tags?post=212"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}