Re: calling a value into another php script... [message #182694 is a reply to message #182692] |
Thu, 29 August 2013 15:35 |
Thomas 'PointedEars'
Messages: 701 Registered: October 2010
Karma:
|
Senior Member |
|
|
nag wrote:
> On Thursday, 29 August 2013 08:26:50 UTC+5:30, Jerry Stuckle wrote:
>> […]
Please trim your quotes to the *relevant* *minimum*.
> We are using intranet. Its pop3 mail server.
> calling as
>
> <form action=passwd.php method=POST>
POP3 is used to receive e-mails; SMTP is used to send e-mails.
>> Where is the password entered? If it's in the same form, you need to
>> validate the password in your script before calling the mail server.
>
>
> <tr>
> <td width="131" height="22" bordercolor="#999999" align="left">
> <font face="Verdana" color="white" size="2"><B>Password</font></td>
> <td width="148" height="22" bordercolor="ffffe0"><font
> face="Verdana"> <input type="password" size="20" value name="passwd"
> style="background-color: ffe6c1; font-family:Verdana; font-size:8pt;
> color:#111111; font-weight:bold"></font></td>
> </tr>
> </table>
> <p><br>
> <input name="mailserver" type=hidden value="xx.xx.x.xx"> </p>
> <input type=submit value=Login name=submit> </p>
> </center>
> </div>
>
> Actually the username part in email id is itself the code part which I
> have to print on the second html page. Presently I am asking the user to
> enter the value. It is leading to do mistake by the user.
Still zero lines of PHP code posted, but HTML code that, if read, poses a
severe risk for gtting eye cancer. Perhaps you want to get the basics
first?
<http://validator.w3.org/>
<http://php.net/manual/>
> Thank you.
You're welcome.
PointedEars
--
> If you get a bunch of authors […] that state the same "best practices"
> in any programming language, then you can bet who is wrong or right...
Not with javascript. Nonsense propagates like wildfire in this field.
-- Richard Cornford, comp.lang.javascript, 2011-11-14
|
|
|