• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Is it possible to capture a .php from a website?

legocitytruck

Senior member
I know it's possible to view and save the the html from a website. If the website references a .php file, is it possible to view and save that also?
 
Hmm, are there any places online that provide the html for a comment box for a website and the php file for your hosting service?
 
I'm sure you could find examples but how you want to implement the comments will determine what you need to do. Displaying a text box and a submit button is really simple, but doing something with that text is what you would have to decide. Do you want to just jam it all in a txt file on the server, commit them to a database, email them to someone, etc?
 
I'd like to collect the person's name and comment and then display both on the website. I'm not looking for anything advnced such as smilies, swear block out, spelling correction, or so on.
 
legocitytruck, definetly look up how to sanitize your user input. otherwise you will be overwhelmed by spam and virus droppers.
 
Thanks Boran, is there code avaialable for doing this?

in the mean time, how should the SQL file be saved? I'd like to try to get it working properly before addng extras.
 
legocitytruck, I do not know php, I would suggest finding some tutorials. google will definetly turn up results if you look for "php input sanitation".
 
Back
Top