How to retrieve forms?

Post all HTML related questions here. No support.

Moderator: Project members

Post Reply
500 Command not understood
Posts: 5
Joined: 2014-04-22 14:19
First name: Agniswar
Last name: Bhattacharya

How to retrieve forms?

#1 Post by Agniswar » 2014-05-14 14:32

I have FileZilla client installed. Recently, I have included an admission form in my website. I want to retrieve the details submitted in the form. what URL mention in the action element of my coding? Any help appreciated. I am using XAMPP control panel which includes Apache, PHP and MySQL.

504 Command not implemented
Posts: 8
Joined: 2014-10-03 11:07
First name: Christian
Last name: Kruuse

Re: How to retrieve forms?

#2 Post by chrpust » 2014-10-07 14:30

Hey Agniswar

Now you are using PHP you can use:
action="<?php echo $_SERVER['PHP_SELF']; ?>"
Or you can post it to another php-file

You can also use the get method, which will show you the data in the URL so you can see if something is posted in your form.

Did it help you?
No advertisement in signatures allowed.

500 Command not understood
Posts: 3
Joined: 2014-10-21 12:41
First name: ali
Last name: reza

Re: How to retrieve forms?

#3 Post by alirezador » 2014-10-21 13:03

Dear Friend
Your question is not obvious.
for send and receive data in web You need to client side and server side coding.
For example, stor the following code in a PHP file named 'myphpfile.php' and run it.

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<title>Untitled Document</title>

<redacted vulnerable code, you forgot to escape HTML entities>
<form action="myphpfile.php" method="post">
name : <input name="MyName" type="text" /><br />
last name : <input name="MyLastName" type="text" /><br />
<input type="submit" />

Last edited by botg on 2014-10-22 08:27, edited 1 time in total.
Reason: Redacted vulnerable code.

Post Reply