0

Is there any way to prevent jQuery AJAX retreiving a complete PHP file instead of its server output ? I just tried to obtain text only output, expecting what ever php decides to return, but got the whole file. Not ideal if as on some files it would reveal potential hacking targets such as database tables etc

Datadimension
  • 872
  • 1
  • 12
  • 31

1 Answers1

0

The host was not allowing config of private files, the solution was to move provider and place php above the root directory.

Datadimension
  • 872
  • 1
  • 12
  • 31