Find the best tutors and institutes for PHP

Find Best PHP Classes

Please select a Category.

Please select a Locality.

No matching category found.

No matching Locality found.

Outside India?

Search for topics

PHP Updates

Ask a Question

Post a Lesson

All

All

Lessons

Discussion

Answered on 08/09/2018 IT Courses/Programming Languages/PHP

Stackodes Technologies

1. What is the full form of PHP and what is the PHP? Ans: the full form of PHP is Hypertext Pre-processor. Php is server-side scripting language and Its open source and freely available. PHP easily integrated with HTML, javascript and other fount End Technologies. 2. Why PHP called server side... read more
  • 1. What is the full form of PHP and what is the PHP?

Ans: the full form of PHP is Hypertext Pre-processor.

Php is server-side scripting language and Its open source and freely available. PHP easily integrated with HTML, javascript and other fount End Technologies.

  • 2. Why PHP called server side scripting language?

Ans: All PHP script are executed on server and send response back as HTML as browser can only understand the HTML so due to all PHP code executed on server its called as server-side scripted language

  • 3. Describe the $_GET ,$_POST , $_REQUEST method in PHP ?

Ans: in the PHP, you can use the $_REQUEST variable to get the data from client.we can get server response using $_GET.$_POST,$_REQUEST. When we are using “get” method from the client that time we have to use $_GET method. And when we use “post ” that time we have to use $_POST.if we are not aware of client method we can use $_REQUEST, $_REQUEST supports both $_GET and $_POST.

  • 4. What is the Difference between Session and cookies in PHP?

Ans: A cookie is a small file with the maximum size of 4KB that the web server stores on the client computer.Once a cookie has been set, all page requests that follow return the cookie name and value.

read less
Answers 5 Comments
Dislike Bookmark

Answered on 29/10/2018 IT Courses/Programming Languages/PHP

Shivkumar

A Php developer can expect a starting annual salary of nearly 83,000 INR that goes up to 4.20 lakhs in a two to three years time. Python developer salary depends on two important aspects : Your knowledge and problem solving skills. Type of company/organisation. Lets discuss the first point: Let's... read more

A Php developer can expect a starting annual salary of nearly 83,000 INR that goes up to 4.20 lakhs in a two to three years time. 

Python developer salary depends on two important aspects :

  1. Your knowledge and problem solving skills.
  2. Type of company/organisation.

Lets discuss the first point:

Let's say u have a descent knowledge about python as well as you know one or two frameworks of python eg. Flask or django, then you can get a descent CTC of 6 to 8 lpa.

read less
Answers 3 Comments
Dislike Bookmark

Answered on 30/08/2018 IT Courses/Programming Languages/PHP

Clevigour Solutions

Hi Sivaganesh We would prfer you to go with python framework. Because Pythone is more robust then PHP and from security prespective it provide more options.
Answers 4 Comments
Dislike Bookmark

Looking for PHP Classes

Find best PHP Classes in your locality on UrbanPro.

FIND NOW

Answered on 22/10/2018 IT Courses/Programming Languages/PHP

Will PHP die in 2018?

Ahmed Januhasan

Computer Wizard

No,
Answers 1 Comments
Dislike Bookmark

Answered on 22/10/2018 IT Courses/Programming Languages/PHP

Where are the PHP jobs?

Ahmed Januhasan

Computer Wizard

anywhere in the World.
Answers 1 Comments
Dislike Bookmark

Answered on 22/10/2018 IT Courses/Programming Languages/PHP

How can I get a remote job as a PHP Codeigniter developer?

Ahmed Januhasan

Computer Wizard

Work Online Like Freelancer and upwork.
Answers 1 Comments
Dislike Bookmark

Answered on 22/10/2018 IT Courses/Programming Languages/PHP

What is the origin of PHP and why has it become so popular?

Ahmed Januhasan

Computer Wizard

It is the main importance of using PHP language in web development. PHP is one of the most secure ways of developing websites and dynamic web applications. PHP has multiple layers of security to prevent threats and malicious attacks. It is the major importance of using PHP to develop a hybrid web app... read more

It is the main importance of using PHP language in web development. PHP is one of the most secure ways of developing websites and dynamic web applications. PHP has multiple layers of security to prevent threats and malicious attacks. It is the major importance of using PHP to develop a hybrid web application.

read less
Answers 1 Comments
Dislike Bookmark

Answered on 10/11/2018 IT Courses/Programming Languages/PHP

How can I display a test paper by creating an interface using PHP and MySQL?

Sekhar M

IT Realtime Concepts and Tutorials

prepare a php form with ajax functionality, for database mysql to display and write all functionalities as you require
Answers 2 Comments 1
Dislike Bookmark

Answered on 20/10/2018 IT Courses/Programming Languages/Python IT Courses/Java IT Courses/Programming Languages/PHP

Alkesh Kaba

If it is that much simple as i have been said to learn from the internet then everyone would have been developer according to me you should learn offline by some good institute. like Praxware technologies .Where Training is done by working professional.
Answers 8 Comments
Dislike Bookmark

Looking for PHP Classes

Find best PHP Classes in your locality on UrbanPro.

FIND NOW

Lesson Posted on 12/01/2017 IT Courses/Programming Languages/PHP IT Courses/Programming Languages/PHP /Advanced PHP IT Courses/Programming Languages/PHP /Php AJAX +3 IT Courses/Programming Languages/PHP /Php MySQL IT Courses/Programming Languages/PHP /PHP Realtime Project IT Courses/Programming Languages/PHP /PHP Web 2.0 less

Read Your Gmail Emails Using PHP and IMAP

Swadesh

I am full-Stack Software Developer with years of experience designing small, medium and enterprise applications. Experiences: -Designing...

Hello Friends ,Recently I have worked on drip email campaign project for that I need to read emails using PHP From the gmail inbox. Here is the simple example for Read emails from the gmail: To start with we should have the following minimum requirements PHP5 IMAP enabled in your Gmail settings. PHP... read more

Hello Friends ,
Recently I have worked on drip email campaign project for that I need to read emails using PHP From the gmail inbox.

Here is the simple example for Read emails from the gmail:

To start with we should have the following minimum requirements

  1. PHP5
  2. IMAP enabled in your Gmail settings.
  3. PHP IMAP Extension is enabled

How to enable IMAP in PHP

How to Enable IMAP in XAMPP : –

IMAP is not enabled by default in Xampp distribution, so to enable it go to the file “\xampp\php\php.ini” and search for “;extension=php_imap.dll” and by removing the beginning semicolon at the line ,it’s get enabled ,it should be: extension=php_imap.dll.

How to Enable IMAP in Wampp : –

1] \wamp\bin\apache\apache2.2.22\bin
Enable php_imap.dll extension by removing ; at beginning of string

2] \wamp\bin\php\php5.3.13
Enable php_imap.dll extension by removing ; at beginning of string

Configuration Setting

/* connect to gmail with your credentials */
$hostname = ‘{imap.gmail.com:993/imap/ssl}INBOX’;
$username = ‘YOUR_GMAIL_USERNAME’; # e.g helloworld@gmail.com
$password = ‘YOUR_GMAIL_PASSWORD’; # your gmail password

Connection using Gmail’s IMAP
$inbox = imap_open($hostname,$username,$password,NULL,1) or die(‘Cannot connect to Gmail: ‘ . print_r(imap_errors()));

Here is the full PHP script for read Your Gmail Inbox Emails Using IMAP.

set_time_limit(4000);


// Connect to gmail
$hostname = '{imap.gmail.com:993/imap/ssl}INBOX';
$username = 'yourmail@gmail.com';
$password = 'bond007';

// try to connect
$inbox = imap_open($hostname,$username,$password,NULL,1) or die('Cannot connect to Gmail: ' . print_r(imap_errors()));

/* ALL - return all messages matching the rest of the criteria
ANSWERED - match messages with the \\ANSWERED flag set
BCC "string" - match messages with "string" in the Bcc: field
BEFORE "date" - match messages with Date: before "date"
BODY "string" - match messages with "string" in the body of the message
CC "string" - match messages with "string" in the Cc: field
DELETED - match deleted messages
FLAGGED - match messages with the \\FLAGGED (sometimes referred to as Important or Urgent) flag set
FROM "string" - match messages with "string" in the From: field
KEYWORD "string" - match messages with "string" as a keyword
NEW - match new messages
OLD - match old messages
ON "date" - match messages with Date: matching "date"
RECENT - match messages with the \\RECENT flag set
SEEN - match messages that have been read (the \\SEEN flag is set)
SINCE "date" - match messages with Date: after "date"
SUBJECT "string" - match messages with "string" in the Subject:
TEXT "string" - match messages with text "string"
TO "string" - match messages with "string" in the To:
UNANSWERED - match messages that have not been answered
UNDELETED - match messages that are not deleted
UNFLAGGED - match messages that are not flagged
UNKEYWORD "string" - match messages that do not have the keyword "string"
UNSEEN - match messages which have not been read yet*/

// search and get unseen emails, function will return email ids
$emails = imap_search($inbox,'ALL');

$output = '';
rsort($emails);

foreach($emails as $mail) {

$headerInfo = imap_headerinfo($inbox,$mail);
$overview = imap_fetch_overview($inbox,$mail,0);
$message = imap_fetchbody($inbox,$mail,2);
$output .= ($overview[0]->seen ? 'read' : 'unread').'
';
$output .= $headerInfo->subject.'
';
$output .= $headerInfo->toaddress.'
';
$output .= $headerInfo->date.'
';
$output .= $headerInfo->reply_to[0]->mailbox.'@'.$headerInfo->reply_to[0]->host.'
';
$output .= $headerInfo->reply_toaddress.'
';
$output.= '

'.$message.'

';

$emailStructure = imap_fetchstructure($inbox,$mail);

if(!isset($emailStructure->parts)) {
$output .= imap_body($inbox, $mail, FT_PEEK);
} else {

}
echo $output;
$output = '';
}

// colse the connection
imap_expunge($inbox);
imap_close($inbox);

read less
Comments 5
Dislike Bookmark

About UrbanPro

UrbanPro.com helps you to connect with the best PHP Classes in India. Post Your Requirement today and get connected.

Overview

Questions 687

Lessons 37

Total Shares  

+ Follow 19,225 Followers

Top Contributors

Connect with Expert Tutors & Institutes for PHP

x

Ask a Question

Please enter your Question

Please select a Tag

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 25 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 6.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more