So I have used following code to get 2nd url contents. So I have used following code to get 2nd url contents. using file () fuction. How to fix Apache 2 not executing PHP files - TechRepublic An important difference from the_content() is that get_the_content() does not pass the content through the the_content filter. You should add an Apply to each outside the Get file content using path action, the screenshot of the flow should as below: Best Regards, Alice . PHP: file_get_contents - Manual You should add an Apply to each outside the Get file content using path action, the screenshot of the flow should as below: Best Regards, Alice . php - file_get_contents is not working for some url - Stack Overflow Accessing JSON feed URL can be done in various ways. Solved: Get file content using path error - Bad request 40... - Power ... php - file_get_contents is not working for some url - Stack Overflow First, you need to clear the virus or malware from your PC and then install the DLL file. Use the basename () function to return the file basename if the file path is provided as a parameter. Php File_get_contents Not Working For Some Url PHP: file_get_contents - Manual Solved: Get file content using path error - Bad request 40... - Power ... in the file, simply press "ctrl + w" and type "allow_url_fopen" and Return, most probably you will come to the explanation first, so repeat the search a couple of times. using fopen ()->fread ()->fclose () functions. Select the restore option to restore . The methods are. file_get_contents () is the preferred way to read the contents of a file into a string. How to Upload a File in PHP (With Easy Examples) Then type sudo service apache2 restart It will use memory mapping techniques, if this is supported by the server, to enhance performance. To do this, go back to your terminal window and issue the command: You can also use this function when creating a new file and you want to ensure that the file does not already exist on the server. This function is used to determine whether a file exists or not. PHP comes with many built-in wrappers for various URL-style protocols for use with the filesystem functions such as fopen () , copy (), file_exists () and filesize () . Declare a variable and store the directory name where the downloaded file will save. In addition to these wrappers, it is possible to register custom wrappers using the stream_wrapper_register () function. First, we'll create an HTML form that the user will see when they want to upload the file. using curl. Save the file to the given location. This means that get_the_content() will not auto-embed videos or expand shortcodes, among other things. So that I have to make a request similar as browser request. file_get_contents () is the preferred way to read the contents of a file into a string. Select the Uninstall option and follow the on-screen instructions to finish the process.