$a="Shan"; $b=base64_encode($a); echo $b
Base 64 decoding $c=base64_decode($b); echo $c
$a="Shan"; $b=base64_encode($a); echo $b
Base 64 decoding $c=base64_decode($b); echo $c
shutdown -s -f -t 5
#!C:/Python25/python.exe -u
import MySQLdb print "Content-type: text/html" db=MySQLdb.connect(host="localhost",user="xxxx",passwd="",db="xxxxxx") cursor=db.cursor() \
import socket \
timeout=10
a=1
socket.setdefaulttimeout(timeout)
from urllib2 import Request, urlopen, URLError, HTTPError
url="http://www.rediff.com"
req = Request(url)
try:
response = urlopen(req)
except:
print 'error'
the_page=response.read()
no=1
cursor.execute('INSERT INTO testing values("%s","%s")' % \ (no,the_page))