Skip to content

Instantly share code, notes, and snippets.

<html>
<head>
<title>reCAPTCHA demo: Simple page</title>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
</head>
<body>
<form action="?" method="POST">
<div class="g-recaptcha" data-sitekey="YOUR_PUBLIC_KEY_FROM_GOOGLE"></div> <br/>
<input type="submit" value="Submit" name="submit">
</form>
@wdevaul
wdevaul / db_to_xml.inc
Created June 23, 2011 21:00
WebDNA to convert a database to xml
[!]
Example usage:
[db_to_xml db=/dbs/patterns.db[url]&eqVENDORIDdatarq=[v_id][/url][!]
[/!]&HIDDEN_FIELDS=MANUFID MPATTERNID[!]
[/!]&LOOKUP_FIELDS=patternname_on_patternid]
[function name=lookup_PATTERNNAME][lookup db=/dbs/database.db&lookinfield=patternid&value=[on]&returnfield=PATTERNNAME][/function]
Description:
@wdevaul
wdevaul / footer.inc
Created June 23, 2011 19:30
WebDNA file to list relevant variables
@wdevaul
wdevaul / pretty_dna_links_and_urls.txt
Created January 24, 2011 21:58
WebDNA pretty links and URLs
[!]====================================================
Reference: https://www.paypal.com/cgi-bin/webscr?cmd=p/xcl/rec/ipn-intro-outside
ENABLE IPN IN YOUR PAYPAL ACCOUNT
1) Log Into your PayPal acct.
2) Go to "Profile", and under "Selling Preferences" click "Instant Payment Notification"
3) Click "Edit Settings" button
4) Enter your "Notification URL" (doesn't need to be https) where your IPN code will live
5) Choose "IPN messages - Receive IPN messages (Enabled)" and Save.
====================================================[/!]