Hello guys, I have bought the domain and also the webhosting from godaddy and currently I am building a site. I have written a PHP code with help of youtube videos, the code is about when you come to some forum when you register it ... all the registeration process you go through is in there on my PHP code but now I dont know how exactly to upload it on my website? Need urgent help! Thanks in advance!
keep in mind a block of php code such as <? ... ?> can only run within a file with the extension .php (except in rare cases where other extensions are parsed thru the interpreter, but very unlikely on a shared host). You can't paste it into an .html file and expect it to work because html files get sent directly to the browser instead of run thru the PHP interpreter. Far as FTP, normally I would say stick to SSH/SCP/SFTP, but godaddy may not allow ssh style access to your server. (There's been an influx of hacked sites due to using the unencrypted FTP protocol, which if you're infected with a virus can compromise your password, not usually the case with an encrypted SCP/SFTP connection. )