PHP Test 3 A variable $word is set to "HELLO WORLD", which of the following script returns in title case?echo ucfirst(strtolower($word).echo ucwords($word.)echo ucwords(strtolower($word).echo ucfirst($word). The difference between include() and require()are different how they handle failureboth are same in every aspectsis include() produced a Fatal Error while require results in a WarningNone of above Which of the following method sends input to a script via a URL?NoneBothPostGet Which of the following method is suitable when you need to send larger form submissions?There is no direct way for larger form. You need to store them in a file and retrieveGetPostBoth Get and Post Which of the following mode of fopen() function opens a file only for writing. If a file with that name does not exist, attempts to create anew file. If the file exist, place the file pointer at the end of the file after all other data.WW+A+A The function setcookie( ) is used toEnable or disable cookie supportStore data in cookie variableDeclare cookie variablesAll of above To work with remote files in PHP you need to enableallow_remote_filesallow_url_fopenboth of abovenone of above In mail($param1, $param2, $param3, $param4), the $param2 containsThe recipientThe messageThe headerThe subject mysql_connect( ) does not take following parameter.user IDdatabase hostpassworddatabase name Study following steps and determine the correct order. (1) Open a connection to MySql server (2) Execute the SQL query (3) Fetch the data from query (4) Select database (5) Close Connection4, 1, 3, 2, 54, 1, 2, 3, 51, 4, 2, 3, 51, 5, 4, 2, 1 Which of the following is not a session function?session_pwsession_idsession_destroysession_decode When uploading a file if the UPLOAD_ERR-OK contains value 0 it means.File upload progress is 0% completedThe file uploaded with successUplaod is not successful, error occurredUploaded file size is 0 Which of the following delimiter syntax is PHP's default delimiter syntax.a. <% %>b. <?php ?>c. <? ?>d. <script language="php"> </script>abcd Which of the following statement produce different output. a. <P="This is php example"; ?>b. <?echo "This is php example"; ?>c. <?PHP echo "This is php example"; php?>d. <script language="php"> print "This is php example";</script>abcd Php supports all four different ways of delimiting. In this context identify the false statement.Variables declared in previous blocks are remembered on later blocks too!You can use different delimiting styles in same pageYou can use any delimiting style but must use a single style consistently for a pageYou can use any of the delimiting style Which of following commenting is supported by Php.Multiline Comment /* ------------- */Shell syntax - #Both of aboveNone of above To produce the output I love the summer time, Which of the following statement should be used?a. <?php print("<P>I love the summer time</p>");?>b. <?php $season = "summer time"; print("<P>I love the $season</p>"); ?>c. <?php $message = "I love the $season"; echo $message; ?>aa and ca and bAll of the above What's the best way to copy a file from within a piece of PHP?Use "exec" to run an operating system command such as cp (Unix, Linux) or copy (Windows)Use the built in copy() functionOpen the input and output files, and use read() and write() to copy the data block by block until read() returns a zeroPrint out a message asking your user to "telnet" in to the server and copy the file for you PHP code is embedded directly into XHTML document?TrueFalse Is it possible to submit a form with out a submit button?YesNo Schreibe einen Kommentar Antworten abbrechenDu musst angemeldet sein, um einen Kommentar abzugeben.