Cheers
Enthusiast
Hi would anyone know how I can copy my websites template to another website host/builder?
import urllib2
url = 'http://kankurosucks.com' # write the url here
usock = urllib2.urlopen(url)
data = usock.read()
usock.close()
print data
There are so many things wrong with what you said here.There is a firefox add on which you can copy the PHP or just google phpmyadmin
will this copy the whole site? Will it function the same and include the pictures and graphics?You could use python to get the source code
Code:import urllib2 url = 'http://kankurosucks.com' # write the url here usock = urllib2.urlopen(url) data = usock.read() usock.close() print data
If you want to ensure an entire website transfer, open your websites directory within your server via FTP and copy the contents of either the 'public_html' or 'www' folder depending on which your current host provides. This will ensure the file paths within the code used is still pointing in the right direction. You can also just dump your database and upload the entire database on your new server/hosting website if needed. I hope this helps and good luck migrating over!will this copy the whole site? Will it function the same and include the pictures and graphics?