FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » calling a value into another php script...
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: calling a value into another php script... [message #182692 is a reply to message #182690] Thu, 29 August 2013 13:06 Go to previous messageGo to previous message
Nagaraju Kachapuram is currently offline  Nagaraju Kachapuram
Messages: 14
Registered: February 2013
Karma:
Junior Member
On Thursday, 29 August 2013 08:26:50 UTC+5:30, Jerry Stuckle wrote:
> On 8/28/2013 9:35 PM, nag wrote:
>
>> Hi all,
>
>>
>
>> I am using an index.html to execute a php prog. First I am choosing a an option from a dropdown list, which will connect to a mail server. If the password is correct then it will open second html page. I want to call the code part into the
>
>> second html page. How can it be done?
>
>>
>
>> <form action=xyz.php method=POST>
>
>> <option selected>Select from list</option>
>
>> <option value="x23(at)xyz(dot)com">name1,code1</option>
>
>> <option value="y13(at)xyz(dot)com">name2,code2</option>
>
>> <option value="z33(at)xyz(dot)com">name3,code3</option>
>
>>
>
>>
>
>> thank you.
>
>>
>
>
>
> Not enough information for an intelligent response.
>
>
>
> 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.
>
>
>
> And what mail server are you using? Most do not have a web interface,
>
> but you have to look at the mail server interface to see how it works.
>
>
>
> --
>
> ==================
>
> Remove the "x" from my email address
>
> Jerry Stuckle
>
> JDS Computer Training Corp.
>
> jstucklex(at)attglobal(dot)net
>
> ==================

We are using intranet. Its pop3 mail server.
calling as

<form action=passwd.php method=POST>


> 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.

Thank you.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PHP wirdwrap()
Next Topic: str_replace & assign to a var?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Sep 19 02:10:12 GMT 2024

Total time taken to generate the page: 0.04377 seconds