Anyone know how to call this ph page from a path other than root? |
2/18/2024 4:27:21 PM |
PHPRunner General questions | |
B
bleigh@yucatech.com authorDevClub member
Wondering if anyone has found a way to call these php pages from somewhere other than root folder? tried about everything i can think of cant find a way. from this article javascript: https://asprunner.com/forums/topic/22701-custom-dependent-dropdown-boxes var func = function(e){ $.post("mylookup.php", { <------------------looking for a way to call this from folder other than the web root? example ./include/mylookup.php or https://myserver/myfolder/lookup.php etc 'category' : this.getValue() }, function(data) { ....... |
|
admin 2/19/2024 | |
I think the easiest option is to specify the URL as an absolute path, starting with a slash that points to the root folder. So you can use /myfolder/lookup.php |