[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

ntu-kpi.comp.programming

[q] ÐÅÒÅÄÁÞÁ ÚÎÁÞÅÎÉÊ ÐÅÒÅÍÅÎÎÙÈ Ó ÆÏÒÍÙ × ÆÁÊÌ PHP

FotX

3/30/2005 3:53:00 PM

óÏÂÓÓÎÏ ×ÙÚÙ×ÁÅÔÓÑ ÆÁÊÌ, ÐÅÒÅÍÅÎÎÁÑ ÎÅ ÉÍÅÅÔ ÚÎÁÞÅÎÉÑ.
html file

<html><head><title> give us some information </title></head>
<body>
<form action="files_2.php" method="POST">
<input type="text" name="sometext"><br>
<input type="submit" name="add" value="Aiaaaeou">
</form>
</body>
</html>

php file

<?php
if (is_writable("test.txt"))
{
echo "$sometext has been succesfully added to test.txt";
$f=fopen("test.txt","w");
fwrite($f,$sometext);
} else {
echo "file test.txt is not writable";
}
?>






--
óÞÁÓÔØÅ - ÜÔÏ ÎÅ ÏÓÔÁÎÏ×ËÁ, Á ÆÏÒÍÁ
ÐÕÔÅÛÅÓÔ×ÉÑ.

2 Answers

aaa

3/30/2005 5:04:00 PM

0

$sometext-&#206;&#197; &#201;&#205;&#197;&#197;&#212; &#218;&#206;&#193;&#222;&#197;&#206;&#201;&#209;? &#197;&#211;&#204;&#201; &#196;&#193; &#212;&#207; &#208;&#207;&#208;&#210;&#207;&#194;&#213;&#202; $_POST[sometext]
"fenix" <fenix@astral.ntu-kpi.kiev.ua> &#211;&#207;&#207;&#194;&#221;&#201;&#204;/&#211;&#207;&#207;&#194;&#221;&#201;&#204;&#193; &#215; &#206;&#207;&#215;&#207;&#211;&#212;&#209;&#200;
&#211;&#204;&#197;&#196;&#213;&#192;&#221;&#197;&#197;: news:d2ei1b$1dk4$1@news.ntu-kpi.kiev.ua...
> &#243;&#207;&#194;&#211;&#211;&#206;&#207; &#215;&#217;&#218;&#217;&#215;&#193;&#197;&#212;&#211;&#209; &#198;&#193;&#202;&#204;, &#208;&#197;&#210;&#197;&#205;&#197;&#206;&#206;&#193;&#209; &#206;&#197; &#201;&#205;&#197;&#197;&#212; &#218;&#206;&#193;&#222;&#197;&#206;&#201;&#209;.
> html file
>
> <html><head><title> give us some information </title></head>
> <body>
> <form action="files_2.php" method="POST">
> <input type="text" name="sometext"><br>
> <input type="submit" name="add" value="Aiaaaeou">
> </form>
> </body>
> </html>
>
> php file
>
> <?php
> if (is_writable("test.txt"))
> {
> echo "$sometext has been succesfully added to test.txt";
> $f=fopen("test.txt","w");
> fwrite($f,$sometext);
> } else {
> echo "file test.txt is not writable";
> }
> ?>
>
>
>
>
>
>
> --
> &#243;&#222;&#193;&#211;&#212;&#216;&#197; - &#220;&#212;&#207; &#206;&#197; &#207;&#211;&#212;&#193;&#206;&#207;&#215;&#203;&#193;, &#193; &#198;&#207;&#210;&#205;&#193;
> &#208;&#213;&#212;&#197;&#219;&#197;&#211;&#212;&#215;&#201;&#209;.
>

Moderator

4/1/2005 8:06:00 PM

0


Wed, 30 Mar 2005 17:03:34 +0000 (UTC)
"aaa" <grv@astral.ntu-kpi.kiev.ua>

uAIA?AIEA [*] -- EUAUOI?IIA AEOEOI?AIEA.


* On Wed, 30 Mar 2005 17:03:34 +0000 (UTC) you wrote:

> $sometext-IA EIAAO UIA?AIEN? AOIE AA OI ?I?OIAOE $_POST[sometext]
> "fenix" <fenix@astral.ntu-kpi.kiev.ua> OIIAYEI/OIIAYEIA ? II?IOONE
> OIAAOAYAA: news:d2ei1b$1dk4$1@news.ntu-kpi.kiev.ua...
> > oIAOOII ?UUU?AAOON ?AEI, ?AOAIAIIAN IA EIAAO UIA?AIEN.
> > html file
> >
> > <html><head><title> give us some information </title></head>
> > <body>
> > <form action="files_2.php" method="POST">
> > <input type="text" name="sometext"><br>
> > <input type="submit" name="add" value="Aiaaaeou">
> > </form>
> > </body>
> > </html>
> >
> > php file
> >
> > <?php
> > if (is_writable("test.txt"))
> > {
> > echo "$sometext has been succesfully added to test.txt";
> > $f=fopen("test.txt","w");
> > fwrite($f,$sometext);
> > } else {
> > echo "file test.txt is not writable";
> > }
> > ?>
> >
> >
> >
> >
> >
> >
> > --
> > o?AOOOA - UOI IA IOOAII?EA, A ?IOIA
> > ?OOAUAOO?EN.
> >

--
With Respect, ICQ# 34006064 ftp://reali...
Yuriy [haze at reality.org.ua] [Ahraywah Ohmankogah Skeeda]

np: /* silence */