C# 클래스 Pchp.Core.Utilities.FileSystemUtils

File system utilities.
파일 보기 프로젝트 열기: iolevel/peachpie

공개 메소드들

메소드 설명
StripPassword ( string url ) : string

Returns the given URL without the username/password information.

Removes the text between the last "://" and the following '@'. Does not check the URL for validity. Works for php://filter paths too.

메소드 상세

StripPassword() 공개 정적인 메소드

Returns the given URL without the username/password information.
Removes the text between the last "://" and the following '@'. Does not check the URL for validity. Works for php://filter paths too.
public static StripPassword ( string url ) : string
url string The URL to modify.
리턴 string