Jump to content

hunglduc

Members
  • Content Count

    16
  • Joined

  • Last visited

Community Reputation

0 Neutral

About hunglduc

  • Rank
    Newbie
  1. .dot file to create graph. u can access to site http://www.graphviz.org/ to know about dot file.
  2. i have a .dot file. now i want to convert .dot file to xml file. and with xml file. i want to convert xml to dot, xml to html, xml to excel. can u please help me and give me some instruction to do it
  3. i have a .dot file. now i want to convert .dot file to xml file. and with xml file. i want to convert xml to dot, xml to html, xml to excel. can u please help me and give me some instruction to do it
  4. what is haystack and needle?
  5. can u please give me some support to write rss for a website
  6. what is a framework, what is it used to do? and why, which frameworks we should use, why?Drupal, joomla, zend, what is the best?
  7. why if statement if executed but else statement not executed. $str="welcome to php"; if(ereg("[^a-z]",$str)) echo "don't appear<br />"; else echo "appear<br />";
  8. i have tried upload these code in free host to test, it run no errors but i didn't see the folder upload
  9. when i run these code, it appeared errorWarning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/redirect.php:8) in /opt/lampp/htdocs/redirect.php on line 10<html><head><!--<meta http-equiv="refresh" content="5;url=http://www.google.com">--></head><body><?php//echo "<meta http-equiv='refresh' content='5;url=http://www.google.com'>"; header("Location:http://www.google.com");?></body></html>
  10. it gave error message when i used these code. i have created a folder upload in the same directory the php file if(file_exists("upload/".$_FILES["filename"]["name"])) { echo "File already<br />"; } else { move_uploaded_file($_FILES["filename"]["tmp_name"],"upload/".$_FILES["filename"]["name"]); echo "File "."upload/".$_FILES["filename"]["name"]."<br />"; } Warning: move_uploaded_file(upload/fiche_tnvid041.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /opt/lampp/htdocs/upload_file.php on line 51Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpSrng0I' to 'upload/fiche_tnvid041.jpg' in /opt/lampp/htdocs/upload_file.php on line 51File upload/fiche_tnvid041.jpg
  11. i have created folder upload but i have not created a file in upload folder
  12. why i run these code successfully, but it have not created folder upload, and a file with fillename in the folder if(file_exists("upload/".$_FILES["filename"]["name"])) { echo "File is already<br />"; } else { move_uploaded_file($_FILES["filename"]["tmp_name"],"upload/".$_FILES["filename"]["name"]); echo "File "."upload/".$_FILES["filename"]["name"]."<br />"; }
  13. i see the function require() and include() have silmilar features, but error handling, when i use include(), when i use require(),
  14. what is differences between echo and print
  15. i used these code but i see the function isset() not correct like w3schools said. when i not fill in the form, and press the button submit, these code still runi don't understand the function isset() like this page said <html><body><?phpif (isset($_REQUEST['email']))//if "email" is filled out, send email { //send email $email = $_REQUEST['email']; $subject = $_REQUEST['subject']; $message = $_REQUEST['message']; mail( "someone@example.com", "Subject: $subject", $message, "From: $email" ); echo "Thank you for using our mail form"; }else//if "email" is not filled out, display the form { echo "<form method='post' action='mailform.php'> Email: <input name='email' type='text' /><br /> Subject: <input name='subject' type='text' /><br /> Message:<br /> <textarea name='message' rows='15' cols='40'> </textarea><br /> <input type='submit' /> </form>"; }?></body></html>
×
×
  • Create New...