Jump to content

icefire

Members
  • Posts

    31
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

icefire's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. And then you're going to take the job from somebody simply because you have the diploma, which in fact you never earned your self. There is zero effort level in the new generation of kids. The motto seems to be, "How can I get by doing as little as I possibly can?". ahaha... very true. In any case, its up to them to prove themselves when they actually get the job, unless they plan to put up a business instead of working for someone else. i just come to this forum for hard tricks i make this forum is my last way to solution. for example this part of assingmnet is extremly hard Nobody can solve it even you
  2. my assigment is almost finished i ll lose 1 mark for this trick i solve a lot of my assigments from this forum bye
  3. well.. this is my assignement at collage in php course the Assignement is "Modify the above application so that the code block is displayed in a textbox to allow editing the script and insert/modify the code, save it and display t in the right block. Figure below shows the look of the main web page."
  4. No I dont want to use javascript i want any solution by php or HTML
  5. Hi! my website is about a html code that extract a code in one iframe "iframe1" and execute the result in onther iframe "iframe2" In the first i had an iframe box that my txt files excute in : my iframe code : <iframe name="iframe1" width="320" height="320" src="" frameborder="yes" scrolling="yes"> </iframe> and this is my txt files page: <div> <ul> <li><a href="file01.txt" name = "file01.txt" target="iframe1">Getting started </a><a href="file01.html" target="iframe2">(file01)</a></li> <li><a href="file02.txt" name = "file02.txt" target="iframe1">Getting started </a><a href="file02.html" target="iframe2">(file02)</a></li> <li><a href="file03.txt" name = "file03.txt" target="iframe1">Getting started </a><a href="file03.html" target="iframe2">(file03)</a></li> </ul> </div> and its work perfectly. Then i changed my iframe1 to a textarea box to let the user to modify the code a"txtfile". But now i cant extract the code a"txt file" in a textarea like when i was extracted in iframe my textarea code: <form action="showcode.php" method="post" name="form" target="iframe2"> <textarea name="textareaa" cols="32" rows="16"> </textarea> <input type="submit" value="Save" /> </form> showcode.php <?php $test=$_POST['textareaa']; echo($test); ?> i tried to modify the target of my txt files from "iframe1" to "textareaa" <div> <ul> <li><a href="file01.txt" name = "file01.txt" target="textareaa">Getting started </a><a href="file01.html" target="iframe2">(file01)</a></li> <li><a href="file02.txt" name = "file02.txt" target="textareaa">Getting started </a><a href="file02.html" target="iframe2">(file02)</a></li> <li><a href="file03.txt" name = "file03.txt" target="textareaa">Getting started </a><a href="file03.html" target="iframe2">(file03)</a></li> </ul> </div> but its not work.. :-\ its open the txt file in a new page not in the textarea box SO any good programmer can SOLVE my problem ??
  6. include/m2.php <html> <body> <font face="verdana,arial" size="3"> <div align="center"> <form action="showcode.php" method="post" name="form123" target="iframe2"> <textarea name="msg" cols="32" rows="16"><?php echo file_get_contents('C:\xampp\htdocs\XXXX\file01.txt') ?></textarea> <input type="submit" value="Show" /> </form> </font> </div> </body> </html> menu.php <div> <ul> <li><a href="file01.txt" target="form123">Getting started </a><a href="file01.html" target="iframe2">(file01)</a></li> <li><a href="file02.txt" target="form123">Getting started </a><a href="file02.html" target="iframe2">(file02)</a></li> <li><a href="file03.txt" target="form123">Getting started </a><a href="file03.html" target="iframe2">(file03)</a></li> <li><a href="file04.txt" target="form123">Getting started </a><a href="file04.html" target="iframe2">(file04)</a></li> <li><a href="file05.txt" target="form123">Getting started </a><a href="file05.html" target="iframe2">(file05)</a></li> </ul> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> </div>
  7. wow.. Thanx.. but still a small problem :-\ i have a menu in my site contains txt files. what i want is when a user chose a txt file from menu the path of the txt file will put automatically in code for example (path/to/file2.txt). i hope you understand what i mean sry for my "Broken English" <-- nice movie
  8. no. my Q was in <textarea>
  9. Hi! How can i call a txt file to show in <textarea> box ? Thank you
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.