{"id":137,"date":"2009-03-17T22:28:50","date_gmt":"2009-03-18T06:28:50","guid":{"rendered":"http:\/\/www.henselhosting.com\/?p=137"},"modified":"2021-09-30T03:13:24","modified_gmt":"2021-09-30T10:13:24","slug":"do-you-have-php-scripts-available","status":"publish","type":"post","link":"https:\/\/www.henselhosting.com\/blog\/do-you-have-php-scripts-available\/","title":{"rendered":"Do you have php scripts available?"},"content":{"rendered":"<p>Yes, we have a formmail application. Send us your emailaddress, so we can authorize it (it must be either your contact-emailaddress or an emailaddress on your domain).<\/p>\n<p>\u00a0<\/p>\n<p>Colors: <span style=\"color: #00ff00;\">green<\/span> means change, <span style=\"color: #ff0000;\">red<\/span> means this is a remark, so remove!!<\/p>\n<p>\u00a0<\/p>\n<p>############### start sample code ###################<\/p>\n<p>&lt;html&gt;<br \/>\n&lt;head&gt;<br \/>\n&lt;title&gt;Voorbeeld formulier&lt;\/title&gt;<br \/>\n&lt;\/head&gt;<\/p>\n<p>&lt;body&gt;<br \/>\n&lt;form action=&#8221;http:\/\/script.hensel.nl\/formmail.php&#8221; method=&#8221;post&#8221;&gt;<\/p>\n<p><span style=\"color: #ff0000;\">1. Enter your emailaddress:<\/span><\/p>\n<p>&lt;input type=&#8221;hidden&#8221; name=&#8221;recipient&#8221; value=&#8221;me@my_domain.com&#8221;&gt;<\/p>\n<p>\u00a0<\/p>\n<p><span style=\"color: #ff0000;\">2<\/span><span style=\"color: #ff0000;\">. Please enter the mandatory fields (u vindt de overeenkomende velden\/vragen in groen bij 5):<\/span><\/p>\n<p><span style=\"color: #ff0000;\">(&#8220;env_report&#8221; displays extra info about the visitor,see 3)<\/span><\/p>\n<p>&lt;input type=&#8221;hidden&#8221; name=&#8221;required&#8221; value=&#8221;env_report,email,<span style=\"color: #00ff00;\">onderwerp,bericht<\/span>&#8220;&gt;<\/p>\n<p>\u00a0<\/p>\n<p><span style=\"color: #ff0000;\">3. Vul de omgevings variabelen in die u wilt ontvangen:<br \/>\nREMOTE_ADDR: Het IP adres van de gebruiker<br \/>\nHTTP_USER_AGENT: De gebruikte internet browser.<br \/>\nREMOTE_USER: Username waarmee gebruiker is ingelogd (werkt alleen in een beveiligde directory)<\/span><\/p>\n<p>&lt;input type=&#8221;hidden&#8221; name=&#8221;env_report&#8221; value=&#8221;<span style=\"color: #00ff00;\">REMOTE_ADDR,HTTP_USER_AGENT<\/span>&#8220;&gt;<\/p>\n<p><span style=\"color: #ff0000;\"><br \/>\n<\/span><\/p>\n<p><span style=\"color: #ff0000;\">4. Hier vult u eigen pagina&#8217;s in waarheen de gebruiker wordt gestuurd na het invullen van het formulier<\/span><\/p>\n<p><span style=\"color: #ff0000;\">U mag deze 3 regels ook weglaten (dan krijgt u standaard Engelse ok- en foutmeldingen):<\/span><\/p>\n<p><span style=\"color: #ff0000;\">Let op: als u deze pagina adressen niet veranderd (of deze regels niet weglaat) krijgt u foutmeldingen.<\/span><\/p>\n<p>&lt;input type=&#8221;hidden&#8221; name=&#8221;redirect&#8221; value=&#8221;http:\/\/www.mijn.eigen.domein.nl\/ok.htm&#8221;&gt;<\/p>\n<p>&lt;input type=&#8221;hidden&#8221; name=&#8221;error_redirect&#8221; value=&#8221;http:\/\/www.mijn.eigen.domein.nl\/error.htm&#8221;&gt;<\/p>\n<p>&lt;input type=&#8221;hidden&#8221; name=&#8221;missing_fields_redirect&#8221; value=&#8221;http:\/\/www.mijn.eigen.domein.nl\/missing.htm&#8221;&gt;<\/p>\n<p>\u00a0<\/p>\n<p>5. Dit zijn de velden\/vragen van uw formulier (let op: het email veld is verplicht):<\/p>\n<p>Email: &lt;input type=&#8221;text&#8221; size=&#8221;50&#8243; name=&#8221;email&#8221;&gt;&lt;br&gt;<\/p>\n<p>Naam: &lt;input type=&#8221;text&#8221; size=&#8221;50&#8243; name=&#8221;naam&#8221;&gt;&lt;br&gt;<\/p>\n<p>Onderwerp: &lt;input type=&#8221;text&#8221; size=&#8221;50&#8243; name=&#8221;onderwerp&#8221;&gt;&lt;br&gt;<\/p>\n<p>Bericht:&lt;br&gt;&lt;textarea cols=&#8221;50&#8243; rows=&#8221;15&#8243; name=&#8221;bericht&#8221;&gt;&lt;\/textarea&gt;&lt;br&gt;<\/p>\n<p>\u00a0<\/p>\n<p>6. Vul de tekst van de verzendknop in:<\/p>\n<p>&lt;input type=&#8221;submit&#8221; value=&#8221;Verzend&#8221;&gt;<\/p>\n<p>&lt;\/form&gt;<\/p>\n<p>&lt;\/body&gt;<\/p>\n<p>&lt;\/html&gt;<\/p>\n<p>\u00a0<\/p>\n<p>############### end sample code ###################<\/p>\n<div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Yes, we have a formmail application. Send us your emailaddress, so we can authorize it (it must be either your contact-emailaddress or an emailaddress on your domain). \u00a0 Colors: green means change, red means this is a remark, so remove!! \u00a0 ############### start sample code ################### &lt;html&gt; &lt;head&gt; &lt;title&gt;Voorbeeld formulier&lt;\/title&gt; &lt;\/head&gt; &lt;body&gt; &lt;form action=&#8221;http:\/\/script.hensel.nl\/formmail.php&#8221; method=&#8221;post&#8221;&gt;&hellip; <a class=\"more-link\" href=\"https:\/\/www.henselhosting.com\/blog\/do-you-have-php-scripts-available\/\">Continue reading <span class=\"screen-reader-text\">Do you have php scripts available?<\/span><\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[3,24],"class_list":["post-137","post","type-post","status-publish","format-standard","hentry","category-support","tag-faq","tag-script","entry"],"_links":{"self":[{"href":"https:\/\/www.henselhosting.com\/blog\/wp-json\/wp\/v2\/posts\/137","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.henselhosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.henselhosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.henselhosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.henselhosting.com\/blog\/wp-json\/wp\/v2\/comments?post=137"}],"version-history":[{"count":3,"href":"https:\/\/www.henselhosting.com\/blog\/wp-json\/wp\/v2\/posts\/137\/revisions"}],"predecessor-version":[{"id":3537,"href":"https:\/\/www.henselhosting.com\/blog\/wp-json\/wp\/v2\/posts\/137\/revisions\/3537"}],"wp:attachment":[{"href":"https:\/\/www.henselhosting.com\/blog\/wp-json\/wp\/v2\/media?parent=137"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.henselhosting.com\/blog\/wp-json\/wp\/v2\/categories?post=137"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.henselhosting.com\/blog\/wp-json\/wp\/v2\/tags?post=137"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}