A
A
AlexAll2018-11-29 19:46:06
Yii
AlexAll, 2018-11-29 19:46:06

How to find rffer in yii2 when you receive Post request with cUrl from another site?

How to find rffer in yii2 when you receive Post request with cUrl from another site?
I try so it gives out Null

var_dump(Yii::$app->request->getReferrer());
            die;

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Arman, 2018-11-29
@Arik

It is necessary that the site (which makes the curl request) send such a header

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question