Posted by:
jjninja9
(---.lightspeed.cicril.sbcglobal.net)
I'm sorry, I still don't get it. This is all very new to me, and so I am not sure if I am just misunderstanding what you are explaining.
How do you attach an image? I can attach a screenshot of what my virtual host page looks like, if that would help me understand where I am going wrong?
I named the server "topsongs", and the directory is "c:/topsongs".
If I go to the URL, "[
localhost];, then I see a screen that has all of the files I have in "C:\wamp64\www\topsongs.php"
But when I try to click on the PHP file located on that URL, it displays the input screen of my file correctly, but the problem is that there is also part of my actual PHP code being displayed, and when I hit the submit button on my input screen, the output does not display correctly.
I have a file variable in my PHP code that references a txt file also located in the same folder "c:/topsongs" (that txt file is also visible in the URL, "[
localhost];. Is my PHP file not able to reference the txt file correctly, is that why the output does not display correctly?
Thank you again for helping me.