Skip to content

Commit

Permalink
Update main.php
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroenherczeg committed Jul 27, 2020
1 parent 8d1828d commit 69fc336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
print_r($_ENV);
print "Fetching http://example.com ...\n";
$exampleComHtml = file_get_contents('http://example.com');
var_dump(file_get_contents('apify_storage/key_value_stores/default/INPUT.json'));
var_dump(file_get_contents('/apify_storage/key_value_stores/default/INPUT.json'));
print "Searching for <h1> tag contents ...\n";
preg_match_all('/<h1>(.*?)<\/h1>/', $exampleComHtml, $matches);
print "Found: " . $matches[1][0] . "\n";
Expand Down

0 comments on commit 69fc336

Please sign in to comment.