Jump to content

icefire

Members
  • Posts

    31
  • Joined

  • Last visited

    Never

Everything posted by icefire

  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
  10. anybody can help me i still get error msg "Parse error: syntax error, unexpected $end in C:\xampp\htdocs\XXXX\showcode.php(3) : eval()'d code on line 1"
  11. showcode.php not work it shows ths msg {Parse error: syntax error, unexpected '<' in C:\xampp\htdocs\XXXX\showcode.php(3) : eval()'d code on line 1}
  12. i'm trying to do a learning website page that show a code and its execution in one page i used iframe technique for that. my problem is that i'm trying to let the user to modify the code and save it then show the execution to next frame "output frame". How can i make this Step ?? what should i do ? my webpages : index.php <?php include("includes/config.php"); $page_title='Learning PHP step by step...'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset= UTF8-Bin" /> <link href="css/style.css" type="text/css" rel="stylesheet"/> <title><?php echo APP_TITLE?> - <?php echo $page_title?></title> <frame name = "m2" src = "include/m2.php" /> </head> <body> <div id="container"> <div id="header"><?php include("includes/header.php"); ?></div> <div id="topBar"><?php include("includes/top-bar.php"); ?></div> <div id="topBar2"><?php include("includes/top-bar2.php"); ?></div> <div id="menu"><?php include("includes/menu.php"); ?></div> <div id="m2"><?php include("includes/m2.php"); ?></div> <div id="m3"><?php include("includes/m3.php"); ?></div> <br style="clear:both" /> <div id="footer"><?php include("includes/footer.php"); ?> </div> </div> </div> </body> </html> include/m2.php <html> <body> <font face="verdana,arial" size="3"> <div align="center"> <p> <iframe name="iframe1" width="320" height="320" src="" frameborder="yes" scrolling="yes"> </iframe> <p> </font> </div> include/m3.php <html> <body> <font face="verdana,arial" size="3"> <div align="center"> <iframe name="iframe2" width="320" height="320" src="" frameborder="yes" scrolling="yes"> </iframe> </font> </div> include/menu.php <div> <ul> <li><a href="lab00.txt" target="iframe1">Getting started </a><a href="lesson00.html" target="iframe2">(Lesson00)</a></li> </ul> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> </div> include/top-bar2.php <div style="background-color:#fdfdfd;border-bottom:solid 1px #BBB; padding:.8px"> ..........................LESSONS ............................................................CODE..................................................................................OUTPUT....................................................<a href="#"></a> </div>
  13. ok next stage is to let the user to switch between english and deutsch language in the product page. how can i do that..
  14. well .. your sticky is in english and my native language is not english you need to translate it by some php codes or something
  15. LOoOoOL all these problems were came by a space before <?php Thank you dabaR you are really a genius man
  16. ..... [attachment deleted by admin]
  17. like this ? [attachment deleted by admin]
  18. here is my webpages with sql http://rapidshare.com/files/395267247/ShoppingCart.rar.html
×
×
  • 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.