yes, you can create here;
/var/www/html/newdir
and put your script.php inside newdir
and try to run link below in your browser;
http://localhost/newdir
yes, you can create here;
/var/www/html/newdir
and put your script.php inside newdir
and try to run link below in your browser;
http://localhost/newdir
corn ubuntuforums community.
Open Source platform where the real world of human is here. Click here for Solve thread
OK - I copied my subdir - Downloads - to /var/www/html/ so now I have
/var/www/html$ ls -l
total 28
drwxr-xr-x 9 root root 12288 jul 22 11:38 Downloads
where all my files and scripts are.
When I run http://localhost/Downloads/ I get:
Index of /Downloads
Name Last modified Size Description
[PARENTDIR] Parent Directory -
[ ? ] addnewacct.php 2018-07-22 11:38 6.1K
... all files are listed here ...
When I click at the script in the list then I get:
This page isn’t working
localhost is currently unable to handle this request.
HTTP ERROR 500
The Truth Is Out There
I forgot to metion that I have LAMP installed also ...
The Truth Is Out There
corn ubuntuforums community.
Open Source platform where the real world of human is here. Click here for Solve thread
OK - thanks for your support ... I will check the script
The Truth Is Out There
sample of call php
Code:<?php get_filename(); ?>filename should be the one that is being called.PHP Code:
<?php get_filename(); ?>
corn ubuntuforums community.
Open Source platform where the real world of human is here. Click here for Solve thread
Ok
The Truth Is Out There
Bookmarks