Extract PHP?
- Started
- Last post
- 11 Responses
- hubb7designs
Is there a way to extract PHP code from a html/css website?
- brains0
who are you trying to rip?
- hubb7designs0
I'm just trying to see how a contact form works, and I see in the html that it's referencing contact.php... I don't know how to write php code yet, so I wanted to see this one to learn and see if I could use it for my contact page...
If you've seen mine.... it kinda sucks
- ukit0
You'd have a much easier time Googling "PHP contact page"
- Michaelp0
hubb7 your prob better off just searching for an example will save you the time
- Michaelp0
oops ukit beat me to it
- hubb7designs0
This form has a function where it requires that you enter your name, email and comment... if you don't enter an area of the form then the entire form slides don't and displays a message, "Please enter your name."
Is there a term for this?
Most of the googled php contact forms are more basic.
- acescence0
form validation. but it's easier to do things like check if a field is blank on the client side with javascript.
- hubb7designs0
So then I'm in need on some contact form php and javascript validation>
Any good suggestions at to where to locate?
Google has already shown me a couple examples.
- dijitaq0
i've used this before http://www.webdevupdate.com/2009…
- ETM0
To answer the basics of the original question -- no you cannot really extract the server side code (PHP, ASP etc). It is processed on server and the ultimate result is delivered to your browser as HTML. To see the code you need the original file sitting on the server, not what you receive in the browser.
So as everyone suggested, best to find example files or tutorials online.