03-25-2009
I suggest you look up "PHP tutorial" on Google, find a simple example of reading values from the $_POST object, and write some code. It doesn't matter if you get it working perfectly; you can post what you have and ask for help then.
Without showing some effort, I doubt anyone will write the code for you.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm trying to use wget to submit a form. I have tried to dig out what is actually being "posted" and where, using tamperdata (see below).
http://ubuntuforums.org/attachment.php?attachmentid=109123&d=1239224127
Here is my wget command:
wget --http-user=xyz --http-password=xyz... (1 Reply)
Discussion started by: mike909
1 Replies
2. Shell Programming and Scripting
My form validation script looks like this of the form like this....
<html>
<form method="POST" action="">
<table >
<tr>
<td >Name:</td>
<td ><input type="text" name="name" size="30%"></td>
</tr>
<tr>
<td >Phone:</td>
<td ><input type="text" name="phone" size="30%"></td>
</tr>... (0 Replies)
Discussion started by: gameboy87
0 Replies
3. Web Development
Dear Sir,
I have used a php form mail code in a website. The problem I am facing is: the text in mail body is getting injected to a configured yahoo mail ID, but no attachement file. I need the attachement to go to the configured yahoo mail ID.
The code I have used :
<?php
... (1 Reply)
Discussion started by: swapan
1 Replies
4. Shell Programming and Scripting
I am trying to write a shell script to use curl in order to automate downloading data from a website. The URL with the post form is here: http://try-db.org/de/InfoBySpecies.php .
I have a list of about 1800 different species I want to check. For Example, choose the first species and use the... (2 Replies)
Discussion started by: hansvg
2 Replies
5. Shell Programming and Scripting
hello
my script is submitting POST-data to a site
(its not my first script, i've done these before many times (include parsing scripts) but this one is tough)
so the problem is i'm submitting a form with firefox
and in firebug i see WHAT exactly i'm submitting
then
when i do EXACTLY the... (28 Replies)
Discussion started by: tip78
28 Replies
6. UNIX for Dummies Questions & Answers
Hello,
i have page domain.com/form.php
the form fields on form.php are named:
name=ipaddress
name=port
and submit button is named: submit
i want to ask how the linux command will look like to submit the form filled with:
ipaddress: 127.0.0.1
port: 80
I tried various curl and... (5 Replies)
Discussion started by: postcd
5 Replies
7. Web Development
I have an input form with several fields. What I would like to achieve is to auto populate or copy certain fields if they are empty when the form is submitted. I would like to use php if not then javascript but not jquery if possible - I have sort of had a go but I really have no idea... (4 Replies)
Discussion started by: barrydocks
4 Replies
8. Programming
hi all,
im going to design a web html form so users can input what username and password they want to make the ftp account, once they enter in a username and password they click on the submit button and it submits it to a bash script and then the bash script will run and finish of making the... (3 Replies)
Discussion started by: robertkwild
3 Replies
9. Shell Programming and Scripting
Hi All,
I'm new in forum.
Many congratulations to everyone for all work.
I'm not an expert in bash script
I've a problem with a sh file.
The sh file run every t minuts and it read data from txt file and then compile form.
Finally, the user, from the web browser click on send.
The script... (0 Replies)
Discussion started by: Herbert
0 Replies
10. Shell Programming and Scripting
Hi I was hoping some one could help me with a problem I have.
I am trying to collect some information from a web form and save it to a text file.
I found an example on this site that is sort of what I am trying to accomplish, the shell script bellow should echo the input back to the browser... (0 Replies)
Discussion started by: Paul Walker
0 Replies
LEARN ABOUT PHP
phpcredits
PHPCREDITS(3) 1 PHPCREDITS(3)
phpcredits - Prints out the credits for PHP
SYNOPSIS
bool phpcredits ([int $flag = CREDITS_ALL])
DESCRIPTION
This function prints out the credits listing the PHP developers, modules, etc. It generates the appropriate HTML codes to insert the
information in a page.
PARAMETERS
o $flag
- To generate a custom credits page, you may want to use the $flag parameter.
Pre-defined phpcredits(3) flags
+-----------------+---------------------------------------------------+
| name | |
| | |
| | description |
| | |
+-----------------+---------------------------------------------------+
| CREDITS_ALL | |
| | |
| | All the credits, equivalent to using: CRED- |
| | ITS_DOCS + CREDITS_GENERAL + CREDITS_GROUP + |
| | CREDITS_MODULES + CREDITS_FULLPAGE. It generates |
| | a complete stand-alone HTML page with the appro- |
| | priate tags. |
| | |
| CREDITS_DOCS | |
| | |
| | The credits for the documentation team |
| | |
|CREDITS_FULLPAGE | |
| | |
| | Usually used in combination with the other |
| | flags. Indicates that a complete stand-alone HTML |
| | page needs to be printed including the informa- |
| | tion indicated by the other flags. |
| | |
|CREDITS_GENERAL | |
| | |
| | General credits: Language design and concept, |
| | PHP authors and SAPI module. |
| | |
| CREDITS_GROUP | |
| | |
| | A list of the core developers |
| | |
|CREDITS_MODULES | |
| | |
| | A list of the extension modules for PHP, and |
| | their authors |
| | |
| CREDITS_SAPI | |
| | |
| | A list of the server API modules for PHP, and |
| | their authors |
| | |
+-----------------+---------------------------------------------------+
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
Prints the general credits
<?php
phpcredits(CREDITS_GENERAL);
?>
Example #2
Prints the core developers and the documentation group
<?php
phpcredits(CREDITS_GROUP | CREDITS_DOCS | CREDITS_FULLPAGE);
?>
Example #3
Printing all the credits
<html>
<head>
<title>My credits page</title>
</head>
<body>
<?php
// some code of your own
phpcredits(CREDITS_ALL - CREDITS_FULLPAGE);
// some more code
?>
</body>
</html>
NOTES
Note
phpcredits(3) outputs plain text instead of HTML when using the CLI mode.
SEE ALSO
phpversion(3), php_logo_guid(3), phpinfo(3).
PHP Documentation Group PHPCREDITS(3)