PHP, parametreleri içerir

0 Cevap

Ben bir formdan adlı bir PHP dosyası var. Yani $ _GET üzerinde parametrelerini alır.

Now I need the exact same functionality of this file, but not in such a form-call. I will include it in normal code with fixed parameters (which normally come from the form). So my file can work with the form AND without it.

Ben sadece include ile yol ve bunun önündeki $ _GET ayarı biliyorum. Ama bu en zarif yolu (I $ _GET gibi şeyler ayarlama fikri sevmiyorum) olduğundan emin değilim.

Bunu yapmanın başka yolları?

br, Chris

0 Cevap