Jump to content

Calling a php file


Lineman

Recommended Posts

If you create a file called index.php xampp should load that file by default if it's in the web root folder (/htdocs?)

 

Anyways, if you make myfile.php you can only load it as a url in the browser or by another script with header() or whatever...

 

mysite.com/myfile.php

 

mysite.com will load default doc type (usually index.php, then index.html, etc...) depending on your install

Link to comment
https://forums.phpfreaks.com/topic/103036-calling-a-php-file/#findComment-527764
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.