Noob Needs some help making HTML edits on PHP page
Noob Needs some help making HTML edits on PHP page
(OP)
I've got this site that I've been keeping up to date as best I can for a few years, it has one page that uses php to present an image gallery. That page also has some html in a frame on the page that I cannot figure out where to edit or make changes? Could use some help finding it. I just need to make some simple edits to it.
David
David
RE: Noob Needs some help making HTML edits on PHP page
RE: Noob Needs some help making HTML edits on PHP page
RE: Noob Needs some help making HTML edits on PHP page
RE: Noob Needs some help making HTML edits on PHP page
To expand on spamjim's answer, /gallery/main.php may acquire the text from various sources :
- Read text/PHP/other file on the same machine
- Query SQL/NoSQL/other database
- Download file through HTTP/FTP/other protocol
- Request from SOAP/REST/other API service
Or more of the above.Without knowing what exactly your script is doing, is quite impossible to tell you where and what to edit.
Feherke.
feherke.github.io
RE: Noob Needs some help making HTML edits on PHP page
RE: Noob Needs some help making HTML edits on PHP page
You cannot see PHP in the browser. It has already been processed by the server. The web browser is only displaying the HTML output produced by the PHP code. You need to dig around on your server to find the unprocessed source PHP files stored there. Understanding the concept of server side vs client side scripting is fundamental to web development. It would be useful to review the basics of PHP before attempting to edit anything, especially as poorly managed PHP code can expose your server to exploits and very bad days.
https://www.google.com/search?q=server+side+vs+cli...