Porn sites can use third parties or check documents directly. Another means of verification is charging a credit card. Only people over the age of 18 are allowed to have a credit card. In this case the site is relying on the card provider to warrant age.