English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

how to include files fromdifferent dirs using include "$_GET [page].txt"; in php?

2007-02-28 10:17:15 · 1 answers · asked by Peter 2 in Computers & Internet Programming & Design

1 answers

There is an include function to load other files in the current file, evaluating any php. Did you want to include a page based on a variable from a form or some other user variable? That has a potential security risk because an attacker could easily get it to load a malicious script.

2007-03-01 04:02:27 · answer #1 · answered by John Mahowald 5 · 0 0

fedest.com, questions and answers