Hot answers tagged

1

You cannot write to HTTP using file_put_contents(). From the file_put_contents() documentation: A URL can be used as a filename with this function if the fopen wrappers have been enabled. See fopen() for more details on how to specify the filename. See the Supported Protocols and Wrappers for links to information about what abilities the various ...


1

I drive to this way... In FireFox we have this Addon: DownThemAll. It download manager. I like and use this. After, you can use Notepad++ to extract url. Paste de contect file as... After replace two times using Regular Expression First use this regular expression: \t[a-z0-9]*$ Second use this regular expression: ^.*?\t Complete the url to one ...


1

You set date.timezone in your php.ini file. This command will locate the php.ini file that PHP is currently using: php -i | grep 'Configuration File.* => ' In the example below, my php.ini is located at /opt/cpanel/ea-php56/root/etc/php.ini, and date.timezone is set to UTC: root@node2 [~]# php -i | grep 'Configuration File.* => ' Configuration ...


1

That is not a correct url. There should be no reference to anything like C:/wamp A correct url would be localhost/wiki/mw-config/index.php You have a web server now so urls should look pretty much like they do on a real site i.e. example.com/folder/file.php except you use localhost instead of example.com


1

Make sure you init driver class as below $manager = new MongoDB\Driver\Manager("mongodb://localhost"); $collection = new MongoDB\Collection($manager, "logs","capped_logs");



Only top voted, non community-wiki answers of a minimum length are eligible