Skip to content

IT Notes

IT Notes

  • Home
  • Privacy Policy
  • Sample Page
    • Home
    • Interview Questions
    • PHP Interview Questions
    • Page 4
PHP Interview Questions

How can we get the error when there is a problem to upload a file?

$_FILES contains the error code associated with the uploaded file.

PHP Interview Questions

What is the difference between $_FILES[‘userfile’][‘name’] and $_FILES[‘userfile’][‘tmp_name’]?

$_FILES represents the original name of the file on the client machine, $_FILES represents the temporary filename of the file stored on the server.

PHP Interview Questions

What does $_FILES means?

$_FILES is an associative array composed of items sent to the current script via the HTTP POST method.

PHP Interview Questions

What does $_SERVER mean?

$_SERVER is an array including information created by the web server such as paths, headers, and script locations.

PHP Interview Questions

What does $GLOBALS mean?

$GLOBALS is associative array including references to all variables which are currently defined in the global scope of the script.

PHP Interview Questions

What is the difference between session_unregister() and session_unset()?

The session_unregister() function unregister a global variable from the current session and the session_unset() function frees all session variables.

PHP Interview Questions

When do sessions end?

Sessions automatically end when the PHP script finishes executing but can be manually ended using the session_write_close().

PHP Interview Questions

What is the meaning of a Persistent Cookie?

A persistent cookie is permanently stored in a cookie file on the browser’s computer. By default, cookies are temporary and are erased if we close the browser.

PHP Interview Questions

How can you propagate a session id?

You can propagate a session id via cookies or URL parameters.

PHP Interview Questions

How to initiate a session in PHP?

The use of the function session_start() lets us activating a session.

Posts navigation

1 … 3 4 5 … 11

« Previous Page — Next Page »

Recent Posts

  • What is Blade?
  • What are the features of Laravel?
  • What is Laravel?
  • Explain the for keyword
  • Explain the enum keyword

Recent Comments

No comments to show.

Archives

  • June 2025
  • November 2024
  • August 2024
  • July 2024
  • April 2024
  • September 2023
  • May 2023

Categories

  • Android Interview Questions
  • Angular JS interview Questions
  • C Programming
  • C Programs
  • C++ Programming
  • Codeigniter Interview Questions
  • Computer Network
  • CSS Interview Questions
  • HTML Interview Questions
  • Java
  • Java Interview Questions
  • Javascript Interview Questions
  • jQuery interview Questions
  • Laravel Interview Questions
  • Mobile Application Development
  • MySQL Interview Questions
  • PHP
  • PHP Interview Questions
  • Python
  • Python Interview Questions
  • React JS Interview Questions
  • Software Engineering
  • System Analysis and Design (SAAD)
  • Uncategorized
  • Vtiger CRM

You Missed

Laravel Interview Questions

What is Blade?

Laravel Interview Questions

What are the features of Laravel?

Laravel Interview Questions

What is Laravel?

C Programming

Explain the for keyword

IT Notes

Copyright © All rights reserved | Blogus by Themeansar.