A
A
alex1nd2018-03-07 11:10:14
PHP
alex1nd, 2018-03-07 11:10:14

How to check http url?

using if --
on a specific page url substitute a tag

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2018-03-07
@webinar

use $_SERVER['HTTP_HOST']also $_SERVER['REQUEST_URI']
php.net/manual/en/reserved.variables.server.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question