Results 1 to 6 of 6

Thread: What Protocols are Supported by PHP?

  1. #1
    Join Date
    May 2009
    Posts
    511

    What Protocols are Supported by PHP?

    Hello friends,
    I have done basic programs in PHP programming language. Now I want to move towards the advanced part of PHP. But I am confused about the protocols compatibility for PHP. I don't have much knowledge about it. So thought that posting here would be helpful for me.!! Please tell me what Protocols are Supported by PHP? Please reply me as soon as possible.!!

  2. #2
    Join Date
    Jul 2006
    Posts
    286

    Re: What Protocols are Supported by PHP?

    Filesystem is the default handler for PHP and represents the local files. When a relative path is specified (a path that does not begin with /, \, \ \, or a Windows drive letter), the path will be calculated relative to the current position. In many cases, the file the script resides unless it has been changed. Using the CLI version, the path will be calculated from the file calling the script. With some functions like fopen () and file_get_contents (), include_path may be analyzed to find the files, if a relative path is provided.
    IF you hate me, please don't mention it. I know who hates me and who doesn't. You really do not have to make fun of people....

  3. #3
    Join Date
    Aug 2006
    Posts
    227

    Re: What Protocols are Supported by PHP?

    HTTP and HTTPS - Allows read-only access to files available on the network with the GET method of HTTP 1.0. In a Host: header is sent with the application to manage virtual hosts, based on names. If you have configured the browser version with the optional user_agent in php.ini or via stream context, it will also be used in your application. Redirects have been supported since PHP 4.0.5, if you are using an older version, you should add yourself to include trailing slashes in your URL.
    I do to dead flowers what people at morgues do to dead people. Suck all the moisture out, dip them in plastic, paint them up pretty and put them in a nice frame.

  4. #4
    Join Date
    Jul 2006
    Posts
    289

    Re: What Protocols are Supported by PHP?

    I would like to explain you about the FTP and FTPS. This protocol allows access to existing files and create files via FTP. If the server does not support passive mode connections, then the connection will fail. You can open files for reading and writing, but not both simultaneously. If the remote file already exists on the ftp server and you try to open it in writing so that you do not specify the overwrite option in the context, the connection will fail. ftps: / / was introduced in PHP 4.3.
    Signatures reduce available bandwidth

  5. #5
    Join Date
    Mar 2008
    Posts
    349

    Re: What Protocols are Supported by PHP?

    You will also have to study about the PHP input / output. php: / / stdin, php: / / stdout and php: / / stderr allow direct access to the corresponding flows of entry and exit process PHP. The flow is a duplicate file descriptor, so if you open php: / / stdin and you later close, you close only the descriptor referenced by the stream STDIN will not be affected. Note that the behavior of PHP in this regard is relatively unstable in versions prior to 5.2.1. It is recommended to simply use the constants STDIN, STDOUT and STDERR instead of manually opening streams using these wrappers.

  6. #6
    Join Date
    Oct 2005
    Posts
    2,393

    Re: What Protocols are Supported by PHP?

    You should also have a knowledge about the Compression Streams. zlib: works like gzopen (), except that the flow can be used directly with fread () and other functions filesystem. This is deprecated as of PHP 4.3.0, given the ambiguities due to file names containing colon ':'. Instead, use compress.zlib: / /. compress.zlib: / / and compress.bzip2: / / are equivalent to gzopen () and bzopen () respectively, and operate even on systems that do not support fopencookie.

Similar Threads

  1. Information about the VPN protocols
    By Induhasan in forum Networking & Security
    Replies: 4
    Last Post: 20-11-2010, 05:24 AM
  2. What are the description of sub protocols
    By Raulf in forum Networking & Security
    Replies: 5
    Last Post: 15-02-2010, 08:17 AM
  3. What are various types of the protocols?
    By Julli_gaada in forum Networking & Security
    Replies: 4
    Last Post: 30-11-2009, 12:57 PM
  4. UDP and TCP protocols
    By Xmen in forum Networking & Security
    Replies: 3
    Last Post: 06-10-2009, 12:51 PM
  5. URL protocols
    By Ximen in forum Networking & Security
    Replies: 1
    Last Post: 05-01-2009, 07:30 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,751,788,464.35074 seconds with 16 queries