Reply to Re: [PHP] How from an html/web form I may go to a php script output(of form values)

Your name:

Reply:


Posted by Forest Liu on 03/19/05 17:32

I am so sorry for my misunderstanding and leading you to anger. But I
am still not so clear yet...about your demand.

I guess you wanna say, a visitor enter his account and password, and
click 'submit', then the browser navigates to b.php to check if all
are correct. Right?

a.php:
<form method=post action="b.php">
<input name=usrinfo value="Input your info here">
<input type=submit>
</form>

b.php:
<?php
echo "your input just now is:".$_POST[usrinfo];
?>

it will really work.I promise.

First, make sure your script tag is <?php ... ?>, that's the default
tag for interpreter.
Secondly, HTML page is just a plain text file. You can just use
Notepad to edit it. It's not about Frontpage or Deamweaver, It's about
HTML code. Whichever tool you are using, they all generate a plain
text file named "*.html" on your HDD. Then you should upload them to a
web host space.And , they run on the server side.


On Sat, 19 Mar 2005 17:03:19 +0200, Leonidas Savvides
<a080725@cytanet.com.cy> wrote:
> If is easy please answer and this : when be online AND OPEN A FILE FROM
> A WEB LOCATION HOST - MINE WITH NOTEPAD may after I modify it, save it
> again to my hosting space WITHOUT save it to my PC first ? Please note
> that I mean using NotePad and I mean entering the host username&password
> when OPEN / SAVE ...? ATTENTION: I DO NOT MEAN SAVE IT TO MY HDD FIRST
> AND AFTER UPLOAD IT !!! Please tell me the same[as for NotePad] but for
> Dreamweaver MX ?
> a080725@cytanet.com.cy
> -----Original Message-----
> From: Forest Liu [mailto:oxware@gmail.com]
> Sent: 18 March 2005 11:51
> To: Leonidas Savvides
> Cc: php-general@lists.php.net; myhddlse75@yahoo.com; sony-only;
> gatewayonly@polis-index.com.cy
> Subject: Re: [PHP] How from an html/web form I may go to a php script
> output(of form values)
>
> I donot know what happened in Frontpage. I just use Dreamweaver to
> design the page layout, and then UltraEdit to add php code.
>
> I think you are asking about the page submit. You can find the exact
> example in the php manual, which can be obtained from php.net
>
> a.php:
> <form method=post action="b.php">
> <input name=usrinfo value="Input your info here">
> <input type=submit>
> </form>
>
> b.php:
> echo "your input just now is:".$_POST[usrinfo];
>
> it will work.
>
> On Fri, 18 Mar 2005 10:38:45 +0200, Leonidas Savvides
> <a080725@cytanet.com.cy> wrote:
> > How from an html/web form I may go to a php script output(of form
> > values) ? I mean the programming for the result :
> >
> > A visitor to webpage-A.php when press submit of a webform go to a
> > webpage-B.php where as a php script uses the previous form data , and
> > for example there's output of these data the exactly words the visitor
> > enters ?
> >
> > May this done in MS-FrontPage2002 ?
> >
> > THE SCRIPT IN MS-FrontPage2002 HTML MODE NO EXECUTED BUT IS LIKE NO
> > EXIST , UNLIKE THE CODE HAS ALREADY SCRIPT COLOR IN HTML MODE OF
> > FRONTPAGE AND ALSO PHP SCRIPT FILE NAME xxx.php IS IN THE WEB FORM
> > PROPERTIES ? ... I INSERT PHP SCRIPT IN <SCRIPT> ..... </SCRIPT> TAGS
> ?
> > AND ALSO I TRY DELETE PHP SCRIPT INSERTING ONLY ONE COMMAND THE:
> > <Script>
> > echo "this operate till here";
> > </Script>
> > BUT AGAIN THE SAME RESULT .... ?
> > After press SUBMIT the php script file shows in address bar and all
> > viewed area is white (nothing on screen) ?
> >
> > Leonidas Savvides
> > a080725@cytanet.com.cy
> >
> >
>
> --
> Sincerely,
> Forest Liu(刘云赟)
>
>


--
Sincerely,
Forest Liu(刘云赟)

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация