Welcome to the Webmaster Forum.
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Oct 2016
    Location
    Delhi
    Posts
    82

    PHp Interview Questions ???

    PHP interview Question Part-1
    1) What is the difference between "echo" and "print" in PHP?
    Print is not a constructor whereas echo is a constructor.
    Print can take argument whereas with echo it is doesn’t support to take arguments.

    2) Which will execute faster POST or GET? Explain
    POST is much secured when compared to the GET method. Since it as secured method it require to pass more test then the normal GET method.

    3) what are the new features that are added in PHP5?
    1) PHP5 introduces SPL that provide a range of classes and
    interface.
    2) Contains access modifier.
    3) It offers built in interface in addition to built in class.
    4) It support OOPS concept.

    4) What is the purpose of ob_start() ?
    OB_start() turn on the output buffer. While the buffer is on, no output is sent rather it is stored in the internal buffer. Inorder to get content from output Ob_get_content function can be used.

    5) How to call C function within PHP?
    Not all C function can be called to PHP. Function such as fputs() fgetc() fwrite() exit() printf().

    6) what is the use of header function in PHP?
    The main purpose of the header function is that it redirect to the file that contains the information. More then this sometime header file are also responsible for authentication.

    7 ) What is difference between require_once(), require(), include().
    Because above three function usually use to call a file in another file.
    require() produces a FATAL ERROR, if the file you want to include is not found.
    include() just send a warining msg.

    8) While in case of download, How will you make a percentage bar showing current status of total 100%?
    Following procedure help to show the processing bar while download
    Percentage can be displayed using image
    Changing the width will help to change depending on the process completed.

    9) Where does the session stored, either client side or server side?
    PHP Session is used to maintain client's previous state and the session is stored on the server side.

    10) Can you submit a form without using submit button ? If Yes, How?
    If you don't want to use the Submit button to submit a form, you can use normal hyper links to submit a form. But you need to use some JavaScript code in the URL of the link.

  2. #2
    Senior Member
    Join Date
    Jan 2016
    Location
    Mumbai
    Posts
    517

    Re: PHp Interview Questions ???

    I agree with this post.

  3. #3
    Senior Member
    Join Date
    Aug 2016
    Location
    Kolkata
    Posts
    623

    Re: PHp Interview Questions ???

    Nice Information keep it up.

 

 

Similar Threads

  1. A few homeschooling questions.?
    By freidariviere in forum General Talk
    Replies: 0
    Last Post: 06-27-2015, 09:42 AM
  2. What are the type of questions asked in the first round of SEO interview?
    By sonikathakur in forum Search Engine Optimization (SEO)
    Replies: 1
    Last Post: 01-16-2015, 01:09 AM
  3. seo related interview question?
    By Aaysha Mishra in forum Search Engine Optimization (SEO)
    Replies: 0
    Last Post: 08-04-2014, 05:04 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Back to top

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207