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 :: Unread Messages :: Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
calling a value into another php script... [message #182689] Wed, 28 August 2013 21:35 Go to next message
Nagaraju Kachapuram is currently offline  Nagaraju Kachapuram
Messages: 14
Registered: February 2013
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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.
Message by Jerry Stuckle is ignored  [reveal message]  [reveal all messages by Jerry Stuckle]  [stop ignoring this user] Go to previous messageGo to next message
Re: calling a value into another php script... [message #182691 is a reply to message #182689] Thu, 29 August 2013 05:40 Go to previous messageGo to next message
Thomas 'PointedEars'  is currently offline  Thomas 'PointedEars'
Messages: 701
Registered: October 2010
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
nag wrote:

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

RTFM.

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

You do not want to do that.


PointedEars
--
When all you know is jQuery, every problem looks $(olvable).
Re: calling a value into another php script... [message #182692 is a reply to message #182690] Thu, 29 August 2013 09:06 Go to previous messageGo to next message
Nagaraju Kachapuram is currently offline  Nagaraju Kachapuram
Messages: 14
Registered: February 2013
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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 by Jerry Stuckle is ignored  [reveal message]  [reveal all messages by Jerry Stuckle]  [stop ignoring this user] Go to previous messageGo to next message
Re: calling a value into another php script... [message #182694 is a reply to message #182692] Thu, 29 August 2013 11:35 Go to previous messageGo to next message
Thomas 'PointedEars'  is currently offline  Thomas 'PointedEars'
Messages: 701
Registered: October 2010
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
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
Re: calling a value into another php script... [message #182695 is a reply to message #182689] Thu, 29 August 2013 20:18 Go to previous messageGo to next message
bill is currently offline  bill
Messages: 310
Registered: October 2010
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
On 2013-08-28 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.
>

I'm not sure, but you might want to use an href for the file you want to
open. As already mentioned, your info is a little lacking in detail;
actual code would be better to look at.

Also you should set your line lengths in your nntp client to be 80
characters or less in length. Over-length lines often won't all a
response until they're broken up as I did above.

And while I'm at it, you can pretty much ignore Stuckle; he's more of a
troll than anything else and very, very seldom parts with any useful
information, if he actually has any.
Message by Christoph Michael Bec is ignored  [reveal message]  [reveal all messages by Christoph Michael Bec]  [stop ignoring this user] Go to previous messageGo to next message
Re: calling a value into another php script... [message #182697 is a reply to message #182695] Thu, 29 August 2013 21:50 Go to previous messageGo to next message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
On 30/08/13 01:18, Twayne wrote:
>
> And while I'm at it, you can pretty much ignore Stuckle; he's more of
> a troll than anything else and very, very seldom parts with any useful
> information, if he actually has any.
>
>
Wrong. You can and should completely ignore stuckle because he IS a
troll and never ever parts with anything useful because he never had it
in the first place.


--
Ineptocracy

(in-ep-toc’-ra-cy) – a system of government where the least capable to lead are elected by the least capable of producing, and where the members of society least likely to sustain themselves or succeed, are rewarded with goods and services paid for by the confiscated wealth of a diminishing number of producers.
Message by Jerry Stuckle is ignored  [reveal message]  [reveal all messages by Jerry Stuckle]  [stop ignoring this user] Go to previous messageGo to next message
Re: calling a value into another php script... [message #182699 is a reply to message #182696] Thu, 29 August 2013 21:54 Go to previous messageGo to next message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
On 30/08/13 01:57, Christoph Michael Becker wrote:
> Twayne wrote:
>
>> I'm not sure, but you might want to use an href for the file you want to
>> open. As already mentioned, your info is a little lacking in detail;
>> actual code would be better to look at.
> ACK.
>
>> Also you should set your line lengths in your nntp client to be 80
>> characters or less in length. Over-length lines often won't all a
>> response until they're broken up as I did above.
> ACK. However, that might not be easily accomplished by posting via
> Google groups.
>
>> And while I'm at it, you can pretty much ignore Stuckle; he's more of a
>> troll than anything else and very, very seldom parts with any useful
>> information, if he actually has any.
> One may consider Jerry opinionated--but one should better not fall to
> the fallacy to consider him clueless. On the contrary, he can give
> valuable hints if one asks the "right" questions. And even if one asks
> "wrong" questions here, Jerry might give valuable hints; for instance,
> to look for a more suitable newsgroup/forum.
>
If you think that's valuable, you have a funny idea of value.

I hope the next time yoursatnav is broken and you stop to ask someone
the way the conversation goes like this

'Excuse me, can you tell me the way to San Jose?'
'No, I am a postman and my name is Stuckle.Try the post office'.
'So how do I get to the post office?'
'I am only a postman. Its not ,my job to tell you how to find the post
office'



--
Ineptocracy

(in-ep-toc’-ra-cy) – a system of government where the least capable to lead are elected by the least capable of producing, and where the members of society least likely to sustain themselves or succeed, are rewarded with goods and services paid for by the confiscated wealth of a diminishing number of producers.
Message by Jerry Stuckle is ignored  [reveal message]  [reveal all messages by Jerry Stuckle]  [stop ignoring this user] Go to previous messageGo to next message
Re: calling a value into another php script... [message #182702 is a reply to message #182696] Fri, 30 August 2013 05:57 Go to previous messageGo to next message
Thomas 'PointedEars'  is currently offline  Thomas 'PointedEars'
Messages: 701
Registered: October 2010
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
Christoph Michael Becker wrote:

> Twayne wrote:
>> And while I'm at it, you can pretty much ignore Stuckle; he's more of a
>> troll than anything else and very, very seldom parts with any useful
>> information, if he actually has any.
>
> One may consider Jerry opinionated--but one should better not fall to
> the fallacy to consider him clueless. On the contrary, he can give
> valuable hints if one asks the "right" questions.

(This concerns all, so no reply via e-mail this time.)

Like actually recommending to *disable* output buffering on a production
site, when having output buffering *enabled* is *the* *proven*, simple
measure to make a PHP-powered site faster, thus more user-friendly.

<news:ku1e26$5a9$3(at)dont-email(dot)me>

vs.

,-[default php.ini]
|
| ; output_buffering
| ; Default Value: Off
| ; Development Value: 4096
| ; Production Value: 4096

And that is just one of many examples where he is – probably out of lack of
*real* *PHP* *development* experience – dead wrong, while the majority of
his postings are nothing more than calling someone else troll.

(Q: If he realized it was a troll, why would he not just *stop* *feeding*
them? A: It takes one to know one.)

So thanks, but no, thanks. This newsgroup is much more readable for me
without his postings. Should he post anything valuable, which I consider
highly unlikely at this point, I will be reading it in quotations.


PointedEars
--
realism: HTML 4.01 Strict
evangelism: XHTML 1.0 Strict
madness: XHTML 1.1 as application/xhtml+xml
-- Bjoern Hoehrmann
Message by Jerry Stuckle is ignored  [reveal message]  [reveal all messages by Jerry Stuckle]  [stop ignoring this user] Go to previous messageGo to next message
Re: calling a value into another php script... [message #182704 is a reply to message #182703] Fri, 30 August 2013 10:30 Go to previous messageGo to next message
Denis McMahon is currently offline  Denis McMahon
Messages: 634
Registered: September 2010
Karma: 0
Senior Member
remove from buddy list
ignore all messages by this user
On Fri, 30 Aug 2013 08:49:14 -0400, Jerry Stuckle wrote:

> On 8/30/2013 5:57 AM, Thomas 'The PointedEars Twat' Lahn wrote:

>> Like actually recommending to *disable* output buffering on a
>> production site, when having output buffering *enabled* is *the*
>> *proven*, simple measure to make a PHP-powered site faster, thus more
>> user-friendly.

The only benefit I've ever seen from PHP output buffering is it allows
you to output a page and then change the headers at the end if for some
reason you have a need to ... as long as the buffer was big enough to
hold the whole page, otherwise you're fucked anyway, which is probably
why sensible coders always make sure they send all the headers *before*
sending the output.

Anyway, as you say, the browser is probably buffering the page,
especially if it's using compression, so all that buffering in php will
do is increase the memory footprint of the process.

This may in some cases mean that the output is "buffered" in the script,
by which I mean you build the output as a variable, or possibly a
collection of variables and an:

echo <<< EOT

.......

EOT;

where you insert those variables into the output, but IME it is better to
make sure that you get the whole headers before data thing right, rather
than rely on buffering and the "I wonder if tweaking this parameter will
reduce my memory footprint" whims of a future site administrator to do it
for you.

Especially as the future site admin is probably going to be a new hire
they recruited in a panic when the old unix admin retired, is probably
fresh out of college, and has no idea about real world IT.

--
Denis McMahon, denismfmcmahon(at)gmail(dot)com
Message by Jerry Stuckle is ignored  [reveal message]  [reveal all messages by Jerry Stuckle]  [stop ignoring this user] Go to previous messageGo to next message
Re: calling a value into another php script... [message #182707 is a reply to message #182699] Fri, 30 August 2013 17:15 Go to previous messageGo to next message
bill is currently offline  bill
Messages: 310
Registered: October 2010
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
...

And even if one asks
>> "wrong" questions here, Jerry might give valuable hints; for instance,
>> to look for a more suitable newsgroup/forum.

Sounds like good self-advice.
>>
> If you think that's valuable, you have a funny idea of value.
>
> I hope the next time yoursatnav is broken and you stop to ask someone
> the way the conversation goes like this
>
> 'Excuse me, can you tell me the way to San Jose?'
> 'No, I am a postman and my name is Stuckle.Try the post office'.
> 'So how do I get to the post office?'
> 'I am only a postman. Its not ,my job to tell you how to find the post
> office'

LOL!! That's got to be the best analogy I've see in a LONG time! I
don't dislike him; he's easy enough to avoid/ignore; I just think he's
more a troll than anything else.

>
>
>
Re: calling a value into another php script... [message #182708 is a reply to message #182697] Fri, 30 August 2013 17:24 Go to previous messageGo to next message
bill is currently offline  bill
Messages: 310
Registered: October 2010
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
On 2013-08-29 9:50 PM, The Natural Philosopher wrote:
> On 30/08/13 01:18, Twayne wrote:
>>
>> And while I'm at it, you can pretty much ignore Stuckle; he's more of
>> a troll than anything else and very, very seldom parts with any useful
>> information, if he actually has any.
>>
>>
> Wrong. You can and should completely ignore stuckle because he IS a
> troll and never ever parts with anything useful because he never had it
> in the first place.
>
>

He may have had something useful to say at one time but not via any post
I've seen here or on others sites he frequents. I do believe, actually
know, he's a troll, and probably an old, non-current coder nowadays.

I just simply seldom read any of this posts. He can be funny, too. He
once told me he'd never again respond to anything I said, and then
responded to several posts of mine, and the last time I poked at him, he
said I promised never to talk to him again, which was a lie. Luckily
he's easy to ignore; but I digress ...

I've been around here long enough now to appreciate those who are truly
helpful, even if it doesn't answer my query; I always appreciate the
attempts.

Cheers,

Twayne`
Message by Christoph Michael Bec is ignored  [reveal message]  [reveal all messages by Christoph Michael Bec]  [stop ignoring this user] Go to previous messageGo to next message
Message by Christoph Michael Bec is ignored  [reveal message]  [reveal all messages by Christoph Michael Bec]  [stop ignoring this user] Go to previous messageGo to next message
Re: calling a value into another php script... [message #182711 is a reply to message #182709] Fri, 30 August 2013 19:06 Go to previous messageGo to next message
Thomas 'PointedEars'  is currently offline  Thomas 'PointedEars'
Messages: 701
Registered: October 2010
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
Christoph Michael Becker wrote:

> Thomas 'PointedEars' Lahn wrote:
>> Christoph Michael Becker wrote:
>>> Twayne wrote:
>>>> And while I'm at it, you can pretty much ignore Stuckle; he's more of
>>>> a troll than anything else and very, very seldom parts with any useful
>>>> information, if he actually has any.
>>>
>>> One may consider Jerry opinionated--but one should better not fall to
>>> the fallacy to consider him clueless. On the contrary, he can give
>>> valuable hints if one asks the "right" questions.
>>
>> (This concerns all, so no reply via e-mail this time.)
>>
>> Like actually recommending to *disable* output buffering on a production
>> site, when having output buffering *enabled* is *the* *proven*, simple
>> measure to make a PHP-powered site faster, thus more user-friendly.
>>
>> <news:ku1e26$5a9$3(at)dont-email(dot)me>
>>
>> vs.
>>
>> ,-[default php.ini]
>> |
>> | ; output_buffering
>> | ; Default Value: Off
>> | ; Development Value: 4096
>> | ; Production Value: 4096
>
> If one posts wrong information in this newsgroup--wouldn't it be useful
> to reply by pointing out that it is wrong?

Not if the result of that would be to be called names, regardless of how and
what the reply is. You see, *that* is the problem. With some people it
does not matter what you post and how correct you are, you are always a
troll, and always called names. There are other prominent examples for that
attitude in the Big 8, and I have them killfiled as well. It is just not
worth it.

> Of course one can simply ignore such posts; other readers may not, and
> draw the conclusion that the newsgroup is not worth reading, let alone
> asking a question or starting a discussion here.

Arguing with the silent majority already?

> BTW: I consider a production value of output_buffering=4096 a reasonable
> setting.

AOL.

> However, I wouldn't accept the mere mention in a comment in php.ini a
> proof that it increases performance.

And well you should not. However, you should accept it as a recommendation
for the mentioned environment, whatever the reasons. Because those comments
are there by default for a reason.

And as for assessing performance, you could just use your mind: What does
output buffering do? And UTSL, I have gotten the impression that you can do
that.

>> And that is just one of many examples where he is – probably out of lack
>> of *real* *PHP* *development* experience – dead wrong, while the majority
>> of his postings are nothing more than calling someone else troll.
>>
>> (Q: If he realized it was a troll, why would he not just *stop* *feeding*
>> them? A: It takes one to know one.)
>
> On the other hand, leaving trolls trolling around, might easily result
> in these trolls taking over a discussion group...

Utter nonsense. *Feeding* the troll is the way to destroy the newsgroup,
because then it will be filled with off-topic flamewars instead of on-topic
discussions, and participants will leave because even their killfile will
not help them to see the good threads (they would have to killfile the
feeders as well, and then nobody would be left). You must not have been on
Usenet for very long, for simply the record clearly proves me correct.

> Besides, calling someone a troll means to pigeon-hole them. IMO that
> seldom fits exactly--there are more colors than just black and white.

IIRC, *I* have not called anyone a troll or other names in this newsgroup,
ever. As for “IMO”, you should insert an “H” in the right place, and read
above.

>> So thanks, but no, thanks. This newsgroup is much more readable for me
>> without his postings. Should he post anything valuable, which I consider
>> highly unlikely at this point, I will be reading it in quotations.
>
> You may have read
> <news:5213b351$0$6566$9b4e6d93(at)newsspool4(dot)arcor-online(dot)net>. Jerry was
> the only one who was willing to help there--and he was able to do so.

So he knows a bit of *C* and *guessed* correctly. I suspected as much.

Anyhow, I was not going to start a discussion about Jerry. I just did not
want to let your statement go without correction.


PointedEars
--
Sometimes, what you learn is wrong. If those wrong ideas are close to the
root of the knowledge tree you build on a particular subject, pruning the
bad branches can sometimes cause the whole tree to collapse.
-- Mike Duffy in cljs, <news:Xns9FB6521286DB8invalidcom(at)94(dot)75(dot)214(dot)39>
Message by Jerry Stuckle is ignored  [reveal message]  [reveal all messages by Jerry Stuckle]  [stop ignoring this user] Go to previous messageGo to next message
Message by Jerry Stuckle is ignored  [reveal message]  [reveal all messages by Jerry Stuckle]  [stop ignoring this user] Go to previous messageGo to next message
Message by Jerry Stuckle is ignored  [reveal message]  [reveal all messages by Jerry Stuckle]  [stop ignoring this user] Go to previous messageGo to next message
Message by Jerry Stuckle is ignored  [reveal message]  [reveal all messages by Jerry Stuckle]  [stop ignoring this user] Go to previous messageGo to next message
Message by Jerry Stuckle is ignored  [reveal message]  [reveal all messages by Jerry Stuckle]  [stop ignoring this user] Go to previous messageGo to next message
Re: calling a value into another php script... [message #182718 is a reply to message #182710] Fri, 30 August 2013 21:28 Go to previous messageGo to next message
Denis McMahon is currently offline  Denis McMahon
Messages: 634
Registered: September 2010
Karma: 0
Senior Member
remove from buddy list
ignore all messages by this user
On Sat, 31 Aug 2013 00:19:48 +0200, Christoph Michael Becker wrote:

>>> Anyway, as you say, the browser is probably buffering the page,
>>> especially if it's using compression, so all that buffering in php
>>> will do is increase the memory footprint of the process.
>
> What the browser does is completely unrelated to the issue at
> hand--we're talking about the server side.

Yes, freudian slip, typed browser when I meant web server process, so sue
me.

And TPEL is the most anally retentive twat I have ever come across on
usenet, even if you don't find my saying so helpful. I have never seen
him make a constructive comment, I have only ever seen him criticise the
input of others.

In that respect he's worse than TNP, Twayne, Richard the stoopid and the
bigoted idiot that uses broken html on the basis it renders ok and then
whines when his overlong broken pages overflow the ability of browsers to
cope with his element nesting errors.

--
Denis McMahon, denismfmcmahon(at)gmail(dot)com
Re: calling a value into another php script... [message #182719 is a reply to message #182718] Fri, 30 August 2013 22:55 Go to previous messageGo to next message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
On 31/08/13 02:28, Denis McMahon wrote:
> On Sat, 31 Aug 2013 00:19:48 +0200, Christoph Michael Becker wrote:
>
>>>> Anyway, as you say, the browser is probably buffering the page,
>>>> especially if it's using compression, so all that buffering in php
>>>> will do is increase the memory footprint of the process.
>> What the browser does is completely unrelated to the issue at
>> hand--we're talking about the server side.
> Yes, freudian slip, typed browser when I meant web server process, so sue
> me.
>
> And TPEL is the most anally retentive twat I have ever come across on
> usenet, even if you don't find my saying so helpful. I have never seen
> him make a constructive comment, I have only ever seen him criticise the
> input of others.
>
> In that respect he's worse than TNP, Twayne, Richard the stoopid and the
> bigoted idiot that uses broken html on the basis it renders ok and then
> whines when his overlong broken pages overflow the ability of browsers to
> cope with his element nesting errors.
>
Another constructive comment....not?

--
Ineptocracy

(in-ep-toc’-ra-cy) – a system of government where the least capable to lead are elected by the least capable of producing, and where the members of society least likely to sustain themselves or succeed, are rewarded with goods and services paid for by the confiscated wealth of a diminishing number of producers.
Message by Jerry Stuckle is ignored  [reveal message]  [reveal all messages by Jerry Stuckle]  [stop ignoring this user] Go to previous messageGo to next message
Re: calling a value into another php script... [message #182722 is a reply to message #182689] Sat, 31 August 2013 07:00 Go to previous messageGo to next message
Norman Peelman is currently offline  Norman Peelman
Messages: 126
Registered: September 2010
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
On 08/28/2013 09: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.
>

nag,

This is a basic SESSION issue. You need to start a SESSION when the
visitor enters the index page and then use the SESSION to transfer data
to your xyz/mail server page. For this basic setup to work you need to
run everything through PHP to maintain the SESSION.

Please see: http://us3.php.net/manual/en/book.session.php

--
Norman
Registered Linux user #461062
-Have you been to www.php.net yet?-
Message by Christoph Michael Bec is ignored  [reveal message]  [reveal all messages by Christoph Michael Bec]  [stop ignoring this user] Go to previous messageGo to next message
Message by Christoph Michael Bec is ignored  [reveal message]  [reveal all messages by Christoph Michael Bec]  [stop ignoring this user] Go to previous messageGo to next message
Message by Jerry Stuckle is ignored  [reveal message]  [reveal all messages by Jerry Stuckle]  [stop ignoring this user] Go to previous messageGo to next message
Message by Jerry Stuckle is ignored  [reveal message]  [reveal all messages by Jerry Stuckle]  [stop ignoring this user] Go to previous messageGo to next message
Re: calling a value into another php script... [message #182746 is a reply to message #182711] Mon, 02 September 2013 15:13 Go to previous message
bill is currently offline  bill
Messages: 310
Registered: October 2010
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
On 2013-08-30 7:06 PM, Thomas 'PointedEars' Lahn wrote:
> Christoph Michael Becker wrote:
>
>> Thomas 'PointedEars' Lahn wrote:
>>> Christoph Michael Becker wrote:
>>>> Twayne wrote:
>>>> > And while I'm at it, you can pretty much ignore Stuckle; he's more of
>>>> > a troll than anything else and very, very seldom parts with any useful
>>>> > information, if he actually has any.
....

>>
>> If one posts wrong information in this newsgroup--wouldn't it be useful
>> to reply by pointing out that it is wrong?
>
> Not if the result of that would be to be called names, regardless of how and
> what the reply is. You see, *that* is the problem. With some people it
> does not matter what you post and how correct you are, you are always a
> troll, and always called names. There are other prominent examples for that
> attitude in the Big 8, and I have them killfiled as well. It is just not
> worth it.

Absolutely; It's not very hard to simply ignore posters who goad on and
on to get a troll-type response and point it out. Most with such a loss
of respect and reputation would just move on if they weren't
appreciated. But when one begins the same types of post over and over,
well, they're bound to be labelled.
>
>> Of course one can simply ignore such posts; other readers may not, and
>> draw the conclusion that the newsgroup is not worth reading, let alone
>> asking a question or starting a discussion here.

Mmm, I don't know; most thinking people realize who the "good" and "bad"
posters are and find it easy enough to ignore them IFF there are ALSO
those who post with the right intent, respect and consideration of the
source of the questions.

....

>>>
>>> (Q: If he realized it was a troll, why would he not just *stop* *feeding*
>>> them? A: It takes one to know one.)
>>
>> On the other hand, leaving trolls trolling around, might easily result
>> in these trolls taking over a discussion group...

Which brings me to the WHY of my taking a minute or two to post. Those
who respond to any troll (or just plain miscreant) types are nearly as
bad as the perpetrator and it dissppoints me to see them lowering
themselves to that level of activity.

>
> Utter nonsense. *Feeding* the troll is the way to destroy the newsgroup,
> because then it will be filled with off-topic flamewars instead of on-topic
> discussions, and participants will leave because even their killfile will
> not help them to see the good threads (they would have to killfile the
> feeders as well, and then nobody would be left). You must not have been on
> Usenet for very long, for simply the record clearly proves me correct.

Right on. The best tool at hand, other than reporting the perp, is to
simply completely ignore him. Any response to a "troll" is "food" to
them as it encourages them to become even worse. Starve them of that
food and they not only get more hungry for it, but also to feel the lack
of any control they may have over their victims, since they end up with
no victims left. That's when they'll get distraught, so to speak, and
look elsewhere for their daily meals, regardless of the reason they do
the trolling at all.

>
>> Besides, calling someone a troll means to pigeon-hole them. IMO that
>> seldom fits exactly--there are more colors than just black and white.

Definitely agreed; Innocent people, especially newbies to Usenet or even
forums though not so much, can easily be caught up in the troll-fests.
You need to develop a tougher skin on Usenet than most other places and
learn that a useless post has no meaning and if a pattern develops, well
.... .

>
> IIRC, *I* have not called anyone a troll or other names in this newsgroup,
> ever. As for “IMO”, you should insert an “H” in the right place, and read
> above.

I don't recall you ever calling anyone a troll and even if you did, as
long as it wasn't misdirected, I wouldn't care about a passing reference
anyway.

Have you noticed; some people see the H as "honest", not "humble", and
other words too. When I offer an opinion, it's a way to separate it from
being interpreted as any kind of fact I'm trying to push on anyone -
thus, "IMO". IMHO is an acronym people just don't bother to know what it
actually means, or don't remember it accurately.

....

> Anyhow, I was not going to start a discussion about Jerry. I just did not
> want to let your statement go without correction.

More accurately, excepting actual PHP comments, you mean in your
opinion, right? :)
>
>
> PointedEars
>

Oh, if Jerry were the only one. I do a lot of work on the proffesional
newsgroups that are left, and he's not unique by any measure. It's just
the way the world works.

IMO: Let's just give him a 100% pass and be done with it.

Regards,

Twayne`
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: PHP wirdwrap()
Next Topic: str_replace & assign to a var?
Goto Forum:
  

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

Current Time: Fri May 24 12:41:30 EDT 2024

Total time taken to generate the page: 0.05248 seconds