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


Please Help Members By Posting Answers For Below Questions

What is the difference between htmlentities() and htmlspecialchars()?

1089


What is difference between static and final in php?

1107


How to calculate the difference between two dates using php?

1142


List some features of php that are deprecated in php7?

1021


Explain me is it possible to destroy a cookie?

1025


hello all, I need some sample placement papers in lion bridge.. can anyone help me?

2174


What is the current stable version of php? What advance thing in php7?

1093


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

1076


Which variable declarations within a class is invalid in php?

1046


What sized websites have you worked on in the past?

1084


What does $_files means?

1162


Write a program using while loop?

1115


What is the current stable version of php?

1122


sort term descripttion form, report and uery

2254


What is trait in php?

1065