Need help to load PHP on my Website!

Discussion in 'Programming' started by Sheikh Ahsan, Jul 28, 2009.

  1. #1
    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!
     
    Sheikh Ahsan, Jul 28, 2009 IP
  2. ractors

    ractors Well-Known Member

    Messages:
    1,979
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    140
    #2
    use any ftp client and upload that to server

    you can use filezilla or cute ftp both are free.
     
    ractors, Jul 28, 2009 IP
  3. kblessinggr

    kblessinggr Peon

    Messages:
    539
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #3
    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. )
     
    kblessinggr, Jul 28, 2009 IP