adspace
What are the different ways to login to a remote server? Explain the me, advantages and disadvantages?
Answer Posted / Shalabh Kapoor
There are several ways to log into a remote server in PHP:
1. SSH (Secure Shell) - Using 'exec' or 'ssh2_connect'. Advantages include encryption and secure communication. Disadvantage is that it requires additional setup.
2. FTP (File Transfer Protocol) - Using 'fsockopen'. Advantages include ease of use and common implementation. Disadvantage is that it is less secure than SSH.
3. Telnet - Using 'fstreams'. Advantages include compatibility with various servers and protocols. Disadvantage is that it is insecure and should not be used over untrusted networks.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between htmlentities() and htmlspecialchars()?
What is difference between static and final in php?
How to calculate the difference between two dates using php?
List some features of php that are deprecated in php7?
Explain me is it possible to destroy a cookie?
hello all, I need some sample placement papers in lion bridge.. can anyone help me?
What is the current stable version of php? What advance thing in php7?
How can we extract string "pcds.co.in" from a string "https://info@pcds.co.in" using regular expression of php? More on reg can you explain
Which variable declarations within a class is invalid in php?
What sized websites have you worked on in the past?
What does $_files means?
Write a program using while loop?
What is the current stable version of php?
sort term descripttion form, report and uery
What is trait in php?