954,561 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Uploading php files in ftp

Hi,
I created some web pages using php.I copied those pages from my system and paste it into FTP afterthat if i run my website it wont show any design which is in my page.If i copied my html pages and paste that into ftp that time it was working.I want run webpage with php can anyone tell me how to upload php web pages into ftp

Thanks in advance
PunithaPary

punithapary
Light Poster
48 posts since Jun 2008
Reputation Points: 10
Solved Threads: 0
 

FTP is a protocol for transfering files. FTP server is a server that provides FTP functionality.
HTTP server is the one that will display html pages in your browser, as you expect them to look like.
If your http server does not support PHP, then you cannot have php pages to work on that server, but normal html pages will be displayed as you have designed them.

Note that both FTP server and HTTP server can operate with the same folder, so you can upload your html or php files via ftp, and access and view it via http.

Rhyan
Posting Whiz in Training
240 posts since Oct 2006
Reputation Points: 21
Solved Threads: 26
 

What was the resulting anwser? I am having the same issues.

Any help would be great.

creativegolf
Newbie Poster
1 post since Jan 2011
Reputation Points: 10
Solved Threads: 0
 

If the php module is copied to the correct place on the server (same place as the HTML) AND if the PHP is error free (and properly named and formatted) AND if the server supports PHP, then it should work. If you check out all of these points and and they are ok and a simple "Hello World" module won't work then you should start with your web host support and make sure that you are doing everything that the server requires.

Two things to verify are
* That you aren't using short open tags (<?) instead of the full PHP tag (<?PHP). Some servers won't take the short tags.

* That your PHP module has a .php suffix (not .htm or .html). If you don't do this, it won't recognize it to be a PHP module and your PHP code won't be processed by the Interpreter.

chrishea
Nearly a Posting Virtuoso
1,428 posts since Sep 2008
Reputation Points: 210
Solved Threads: 230
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You