2
내 게시물 ID를 가져 오려고합니다. 이것은 형식입니다. -> postid-785645 숫자가 무작위로 생성됩니다.preg_match post-id
<?php
$mysite = "http://example.com";
$wholepage = @file_get_contents($mysite);
// I want to use preg_match to echo just the numbers. out of the whole page.
// Basically i'm trying to have is search the whole page for -> postid-(randomly generated number) and have it echo the number from things that are in this format.
?>
감사합니다 ... 사람 .. 좋은 작동합니다. – ashoopatel