×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Noob Needs some help making HTML edits on PHP page

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

RE: Noob Needs some help making HTML edits on PHP page

As the server admin/editor, only you would be aware of the source PHP (what PHP is generating or requiring/including from another source). Nobody here can point you to what to edit without seeing the source PHP.

RE: Noob Needs some help making HTML edits on PHP page

(OP)
How do I find it? I'm not familiar enough with the php stuff to know where to look?

RE: Noob Needs some help making HTML edits on PHP page

(OP)
When I open my site in firefox developer/debugger view I can find my text, it looks like its in /gallery/main.php but when I download the file and open it I don't see my text there. So I'm missing something......Sorry I'm such a noob.


RE: Noob Needs some help making HTML edits on PHP page

Hi

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

(OP)
OK, I'll keep looking, I know its here somewhere......

RE: Noob Needs some help making HTML edits on PHP page

Quote (dball63)

When I open my site in firefox developer/debugger view...

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...

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close