Vibrant Technologies is headquarted in Mumbai,India.We are the best php training provider in Navi Mumbai who provides Live Projects to students.We provide Corporate Training also.We are Best php classes in Mumbai according to our students and corporators
PHP / MySQL applications are compatible to all operating systems, support all the popular databases, 100% remotely configurable, perfect for web programming & provide higher performance and speed.
PHP is an HTML-embedded scripting language. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The goal of the language is to allow web developers to write dynamically generated pages quickly.
MySQL is a Relational Database Management System (RDBMS) that uses Structured Query Language (SQL).
PHP is the most popular scripting language for web development. It is free, open source and server-side (the code is executed on the server).
PHP third party tool and plug-in integration such as chat, forum, blog and search engine
PHP stands for “PHP: Hypertext Preprocessor”. It is very good for creating dynamic content. PHP is a widely-used, free, and efficient alternative to competitors such as Microsoft's ASP.
PHP / MySQL applications are compatible to all operating systems, support all the popular databases, 100% remotely configurable, perfect for web programming & provide higher performance and speed.
PHP is an HTML-embedded scripting language. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The goal of the language is to allow web developers to write dynamically generated pages quickly.
MySQL is a Relational Database Management System (RDBMS) that uses Structured Query Language (SQL).
PHP is the most popular scripting language for web development. It is free, open source and server-side (the code is executed on the server).
PHP third party tool and plug-in integration such as chat, forum, blog and search engine
PHP stands for “PHP: Hypertext Preprocessor”. It is very good for creating dynamic content. PHP is a widely-used, free, and efficient alternative to competitors such as Microsoft's ASP.
Topics: Introduction to PHP
To know more about
Offer- http://mazenet-chennai.in/mazenet-offers.html
Syllabus- http://mazenet-chennai.in/php-training-in-chennai.html
For more events- http://mazenet-chennai.in/mazenet-events.html
All videos- https://www.youtube.com/c/Mazenetsolution
Facebook- https://www.facebook.com/Mazenet.IT.Solution/
Twitter- https://twitter.com/Maze_net
Mail us : marketing@mazenetsolution.com
Contact: 9629728714
PHP Basic and Fundamental Questions and Answers with Detail ExplanationAbdul Rahman Sherzad
These PHP basic and fundamental questions and answers with detail explanation help students and learners to think comprehensive, and to seek more to understand the concept and the root of each topic concretely.
PHP is a server-side scripting language designed for web development but also used as a general-purpose programming language. As of January 2013, PHP was installed on more than 240 million websites (39% of those sampled) and 2.1 million web servers.[4] Originally created by Rasmus Lerdorf in 1994,[5] the reference implementation of PHP (powered by the Zend Engine) is now produced by The PHP Group.[6] While PHP originally stood for Personal Home Page,[5] it now stands for PHP: Hypertext Preprocessor, which is a recursive backronym
php complete reference with database concepts for beginners is generally useful for those who want to start the career as a php developer. given each and every information right from the scratch to understand for the beginners and students as well. I hope this will help you a lot for the beginners to start the career.
Algebra of equivalent instances and its applicationsSSA KPI
AACIMP 2010 Summer School lecture by Dmitry Krushinsky. "Applied Mathematics" stream. "The p-Median Problem and Its Applications" course. Part 3.
More info at http://summerschool.ssa.org.ua
Topics: Introduction to PHP
To know more about
Offer- http://mazenet-chennai.in/mazenet-offers.html
Syllabus- http://mazenet-chennai.in/php-training-in-chennai.html
For more events- http://mazenet-chennai.in/mazenet-events.html
All videos- https://www.youtube.com/c/Mazenetsolution
Facebook- https://www.facebook.com/Mazenet.IT.Solution/
Twitter- https://twitter.com/Maze_net
Mail us : marketing@mazenetsolution.com
Contact: 9629728714
PHP Basic and Fundamental Questions and Answers with Detail ExplanationAbdul Rahman Sherzad
These PHP basic and fundamental questions and answers with detail explanation help students and learners to think comprehensive, and to seek more to understand the concept and the root of each topic concretely.
PHP is a server-side scripting language designed for web development but also used as a general-purpose programming language. As of January 2013, PHP was installed on more than 240 million websites (39% of those sampled) and 2.1 million web servers.[4] Originally created by Rasmus Lerdorf in 1994,[5] the reference implementation of PHP (powered by the Zend Engine) is now produced by The PHP Group.[6] While PHP originally stood for Personal Home Page,[5] it now stands for PHP: Hypertext Preprocessor, which is a recursive backronym
php complete reference with database concepts for beginners is generally useful for those who want to start the career as a php developer. given each and every information right from the scratch to understand for the beginners and students as well. I hope this will help you a lot for the beginners to start the career.
Algebra of equivalent instances and its applicationsSSA KPI
AACIMP 2010 Summer School lecture by Dmitry Krushinsky. "Applied Mathematics" stream. "The p-Median Problem and Its Applications" course. Part 3.
More info at http://summerschool.ssa.org.ua
Summer's nearly here, and the truth of the matter is, fad weightloss strategies just don't work and aren't any good for you. Find out how to get your summer body ready, and keep it, holistically.
A story about how an Englishman built Beijing first T-shirt brand. From holding street catwalk shows to working with the local government to crazy drunk TV appearances this story is sure to inpsire you.
www.plasteredtshirts.com
Investigation of SKN 3.0 Heliocollectors Work EfficiencySSA KPI
AACIMP 2010 Summer School lecture by Gennady Varlamov. "Sustainable Development" stream. "Clean Energy Production Technologies" course.
More info at http://summerschool.ssa.org.ua
Οι διαφάνειες αυτές ως επί το πλείστον αποτέλεσαν υλικό των τριήμερων εκπαιδευτικών που διοργανώθηκαν στα πλαίσια του προγράμματος "Πολίτες ενάντια στην Κατάθλιψη". Περισσότερες πληροφορίες για το πρόγραμμα μπορείτε να βρείτε στα εξής μέρη:
Στην επίσημη ιστοσελίδα του προγράμματος: http://www.citizensagainstdepression.gr
Στην σελίδα του προγράμματος στο facebook: https://www.facebook.com/citizensagainstdepression?fref=ts
Στον twitter λογαριασμό: https://twitter.com/citizensvsdepre
Behind the Lens of a Veteran Photojournalist: How to Tell More Compelling Sto...Resource Media
Resource Media takes you behind the lens with our very own veteran photojournalist and show you how to take better pictures to create compelling and persuasive stories. The adventure begins with storytelling basics and builds on how photos can enhance communications with your key supporters. We will share insights on recommended tools, composition tips and picture-taking techniques that you’ll need to turn your snapshots into convincing stories.
Need To Get Your Mojo Back? Keeping You and Your Team Motivated!Multifamily Insiders
You started off the year with a bang, now your sizzle has turned into a bit of a fizzle! Find yourself In need of a Mojo adjustment? This presentation is for you! We all need our Mojo to keep us motivated and growing in both our professional and personal lives!
Brief History of PHP
PHP (PHP: Hypertext Preprocessor) was created by Rasmus Lerdorf in 1994. It was initially developed for HTTP usage logging and server-side form generation in Unix.
PHP 2 (1995) transformed the language into a Server-side embedded scripting language. Added database support, file uploads, variables, arrays, recursive functions, conditionals, iteration, regular expressions, etc.
PHP 3 (1998) added support for ODBC data sources, multiple platform support, email protocols (SNMP,IMAP), and new parser written by Zeev Suraski and Andi Gutmans .
PHP 4 (2000) became an independent component of the web server for added efficiency. The parser was renamed the Zend Engine. Many security features were added.
PHP 5 (2004) adds Zend Engine II with object oriented programming, robust XML support using the libxml2 library, SOAP extension for interoperability with Web Services, SQLite has been bundled with PHP
What is PHP Used For?
PHP is a general-purpose server-side scripting language originally designed for web development to produce dynamic web pages
PHP can interact with MySQL databases
What is PHP?
PHP == ‘Hypertext Preprocessor’
Open-source, server-side scripting language
Used to generate dynamic web-pages
PHP scripts reside between reserved PHP tags
This allows the programmer to embed PHP scripts within HTML pages
What is PHP (cont’d)
Interpreted language, scripts are parsed at run-time rather than compiled beforehand
Executed on the server-side
Source-code not visible by client
‘View Source’ in browsers does not display the PHP code
Various built-in functions allow for fast development
Compatible with many popular databases
What does PHP code look like?
Structurally similar to C/C++
Supports procedural and object-oriented paradigm (to some degree)
All PHP statements end with a semi-colon
Each PHP script must be enclosed in the reserved PHP tag
Comments in PHP
Standard C, C++, and shell comment symbols
Variables in PHP
PHP variables must begin with a “$” sign
Case-sensitive ($Foo != $foo != $fOo)
Global and locally-scoped variables
Global variables can be used anywhere
Local variables restricted to a function or class
Certain variable names reserved by PHP
Form variables ($_POST, $_GET)
Server variables ($_SERVER)
Etc.
Variable usage
Arithmetic Operations
$a - $b // subtraction
$a * $b // multiplication
$a / $b // division
$a += 5 // $a = $a+5 Also works for *= and /=
Concatenation
Use a period to join strings into one.
If ... Else...
If (condition)
{
Statements;
}
Else
{
Statement;
}
While Loops
While (condition)
{
Statements;
}
Date Display
$datedisplay=date(“yyyy/m/d”);
Print $datedisplay;
# If the date is April 1st, 2009
# It would display as 2009/4/1
Month, Day & Date Format Symbols
PHP tutorial for beginners with examples. In this session you will be learning lot of things. Know about the PHP introduction. Begin from basics and find the required details about it. PHP tutorial for beginners is available for you, watch till the end.
Take the help of this PHP admin tutorial for beginners and check the required information. Complete details required to get by you from this session. First know PHP basics and then proceed for other concepts. Greetings from Websoles Strategic Digital Solutions.
Learning of Php and My SQL Tutorial | For BeginnersRatnesh Pandey
PHP provides support for the HTTP PUT method used by some clients to store files on a server.
MySQL is a freely available open source Relational Database Management System (RDBMS) that uses Structured Query Language (SQL).
PHP / MySQL applications are compatible to all operating systems, support all the popular databases, 100% remotely configurable, perfect for web programming & provide higher performance and speed.
PHP is an HTML-embedded scripting language. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The goal of the language is to allow web developers to write dynamically generated pages quickly.
MySQL is a Relational Database Management System (RDBMS) that uses Structured Query Language (SQL).
PHP is the most popular scripting language for web development. It is free, open source and server-side (the code is executed on the server).
PHP third party tool and plug-in integration such as chat, forum, blog and search engine
PHP: Why PHP and MySQL? Server-side scripting, PHP syntax and variables, comments, types, control structures, branching, looping, termination, functions, passing information with PHP, GET, POST, formatting form variables, superglobal arrays, strings and string functions, regular expressions, arrays, number handling, basic PHP errors/problems
The new features of PHP 7 - Enrico Zimuel - Codemotion Milan 2016Codemotion
In this talk I'll present some of the new features of PHP 7. I will present the scalar type and return type declarations, the spaceship and null coalescing operators, the anonymous classes, the new Error exception, the security features, etc. Moreover, I will present some benchmarks and use cases of PHP 7 regarding the huge performance improvement.
Presented at Codemotion 2016. Discusses the beginner-level dynamics of the performance-improved PHP 7. Gain expanded knowledge of the spaceship and null coalescing operators, anonymous classes, the new error exception, and the security features of PHP 7.
java-corporate-training-institute-in-mumbaiUnmesh Baile
Vibrant Technologies is headquarted in Mumbai,India.We are the best Java training provider in Navi Mumbai who provides Live Projects to students.We provide Corporate Training also.We are Best Java classes in Mumbai according to our students and corporators
Vibrant Technologies is headquarted in Mumbai,India.We are the best Java training provider in Navi Mumbai who provides Live Projects to students.We provide Corporate Training also.We are Best Java classes in Mumbai according to our students and corporators
Vibrant Technologies is headquarted in Mumbai,India.We are the best Robotics training provider in Navi Mumbai who provides Live Projects to students.We provide Corporate Training also.We are Best Robotics classes in Mumbai according to our students and corporators
Corporate-training-for-msbi-course-in-mumbaiUnmesh Baile
Vibrant Technologies is headquarted in Mumbai,India.We are the best MSBI training provider in Navi Mumbai who provides Live Projects to students.We provide Corporate Training also.We are Best Microsoft Business Intelligence classes in Mumbai according to our students and corporators
Vibrant Technologies is headquarted in Mumbai,India.We are the best Linux training provider in Navi Mumbai who provides Live Projects to students.We provide Corporate Training also.We are Best Linux classes in Mumbai ac
Professional dataware-housing-training-in-mumbaiUnmesh Baile
Vibrant Technologies is headquarted in Mumbai,India.We are the best Data Warehousing training provider in Navi Mumbai who provides Live Projects to students.We provide Corporate Training also.We are Best Data Warehousing classes in Mumbai according to our students and corporators
Best-embedded-corporate-training-in-mumbaiUnmesh Baile
Vibrant Technologies is headquarterd in Mumbai,India.We are the best Embedded System training provider in Navi Mumbai who provides Live Projects to students.We provide Corporate Training also.We are Best Embedded System Programming classes in Mumbai according to our students and corporators
Vibrant Technologies is headquarted in Mumbai,India.We are the best selenium training provider in Navi Mumbai who provides Live Projects to students.We provide Corporate Training also.We are Best selenium classes in Mumbai according to our students and corporates
Weblogic-clustering-failover-and-load-balancing-trainingUnmesh Baile
Vibrant Technologies is headquarted in Mumbai,India.We are the best Weblogic training provider in Navi Mumbai who provides Live Projects to students.We provide Corporate Training also.We are Best Weblogic classes in Mumbai according to our students and corporators
Advance-excel-professional-trainer-in-mumbaiUnmesh Baile
Vibrant Technologies is headquarted in Mumbai,India.We are the best Advanced Excel training provider in Navi Mumbai who provides Live Projects to students.We provide Corporate Training also.We are Best Advanced Excel classes in Mumbai according to our students and corporates
Best corporate-r-programming-training-in-mumbaiUnmesh Baile
Vibrant Technologies is headquarted in Mumbai,India.We are the best Teradata training provider in Navi Mumbai who provides Live Projects to students.We provide Corporate Training also.We are Best Teradata Database classes in Mumbai according to our students and corporates
Vibrant Technologies is headquarted in Mumbai,India.We are the best r programming training provider in Navi Mumbai who provides Live Projects to students.We provide Corporate Training also.We are Best r programming classes in Mumbai according to our students and corporates
Vibrant Technologies is headquarted in Mumbai,India.We are the best Data Warehousing training provider in Navi Mumbai who provides Live Projects to students.We provide Corporate Training also.We are Best Data Warehousing classes in Mumbai according to our students and corporates
Vibrant Technologies is headquarted in Mumbai,India.We are the best SAS training provider in Navi Mumbai who provides Live Projects to students.We provide Corporate Training also.We are Best Statistical Analysis System classes in Mumbai according to our students and corporates
Microsoft-business-intelligence-training-in-mumbaiUnmesh Baile
Vibrant Technologies is headquarted in Mumbai,India.We are the best MSBI training provider in Navi Mumbai who provides Live Projects to students.We provide Corporate Training also.We are Best Microsoft Business Intelligence classes in Mumbai according to our students and corporators
Linux-training-for-beginners-in-mumbaiUnmesh Baile
Vibrant Technologies is headquarted in Mumbai,India.We are the best Linux training provider in Navi Mumbai who provides Live Projects to students.We provide Corporate Training also.We are Best Linux classes in Mumbai according to our students and corporates
Corporate-informatica-training-in-mumbaiUnmesh Baile
Vibrant Technologies is headquarted in Mumbai,India.We are the best Informatica training provider in Navi Mumbai who provides Live Projects to students.We provide Corporate Training also.We are Best Informatica classes in Mumbai according to our students and corporates
Corporate-informatica-training-in-mumbaiUnmesh Baile
Vibrant Technologies is headquarted in Mumbai,India.We are the best Informatica training provider in Navi Mumbai who provides Live Projects to students.We provide Corporate Training also.We are Best Informatica classes in Mumbai according to our students and corporates
Vibrant Technologies is headquarted in Mumbai,India.We are the best Robotics training provider in Navi Mumbai who provides Live Projects to students.We provide Corporate Training also.We are Best Robotics classes in Mumbai according to our students and corporates
Best-embedded-system-classes-in-mumbaiUnmesh Baile
Vibrant Technologies is headquarterd in Mumbai,India.We are the best Embedded System training provider in Navi Mumbai who provides Live Projects to students.We provide Corporate Training also.We are Best Embedded System Programming classes in Mumbai according to our students and corporators
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
Here is something new! In our next Connector Corner webinar, we will demonstrate how you can use a single workflow to:
Create a campaign using Mailchimp with merge tags/fields
Send an interactive Slack channel message (using buttons)
Have the message received by managers and peers along with a test email for review
But there’s more:
In a second workflow supporting the same use case, you’ll see:
Your campaign sent to target colleagues for approval
If the “Approve” button is clicked, a Jira/Zendesk ticket is created for the marketing design team
But—if the “Reject” button is pushed, colleagues will be alerted via Slack message
Join us to learn more about this new, human-in-the-loop capability, brought to you by Integration Service connectors.
And...
Speakers:
Akshay Agnihotri, Product Manager
Charlie Greenberg, Host
Search and Society: Reimagining Information Access for Radical FuturesBhaskar Mitra
The field of Information retrieval (IR) is currently undergoing a transformative shift, at least partly due to the emerging applications of generative AI to information access. In this talk, we will deliberate on the sociotechnical implications of generative AI for information access. We will argue that there is both a critical necessity and an exciting opportunity for the IR community to re-center our research agendas on societal needs while dismantling the artificial separation between the work on fairness, accountability, transparency, and ethics in IR and the rest of IR research. Instead of adopting a reactionary strategy of trying to mitigate potential social harms from emerging technologies, the community should aim to proactively set the research agenda for the kinds of systems we should build inspired by diverse explicitly stated sociotechnical imaginaries. The sociotechnical imaginaries that underpin the design and development of information access technologies needs to be explicitly articulated, and we need to develop theories of change in context of these diverse perspectives. Our guiding future imaginaries must be informed by other academic fields, such as democratic theory and critical theory, and should be co-developed with social science scholars, legal scholars, civil rights and social justice activists, and artists, among others.
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Ramesh Iyer
In today's fast-changing business world, Companies that adapt and embrace new ideas often need help to keep up with the competition. However, fostering a culture of innovation takes much work. It takes vision, leadership and willingness to take risks in the right proportion. Sachin Dev Duggal, co-founder of Builder.ai, has perfected the art of this balance, creating a company culture where creativity and growth are nurtured at each stage.
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
Keynote at DIGIT West Expo, Glasgow on 29 May 2024.
Cheryl Hung, ochery.com
Sr Director, Infrastructure Ecosystem, Arm.
The key trends across hardware, cloud and open-source; exploring how these areas are likely to mature and develop over the short and long-term, and then considering how organisations can position themselves to adapt and thrive.
UiPath Test Automation using UiPath Test Suite series, part 4DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 4. In this session, we will cover Test Manager overview along with SAP heatmap.
The UiPath Test Manager overview with SAP heatmap webinar offers a concise yet comprehensive exploration of the role of a Test Manager within SAP environments, coupled with the utilization of heatmaps for effective testing strategies.
Participants will gain insights into the responsibilities, challenges, and best practices associated with test management in SAP projects. Additionally, the webinar delves into the significance of heatmaps as a visual aid for identifying testing priorities, areas of risk, and resource allocation within SAP landscapes. Through this session, attendees can expect to enhance their understanding of test management principles while learning practical approaches to optimize testing processes in SAP environments using heatmap visualization techniques
What will you get from this session?
1. Insights into SAP testing best practices
2. Heatmap utilization for testing
3. Optimization of testing processes
4. Demo
Topics covered:
Execution from the test manager
Orchestrator execution result
Defect reporting
SAP heatmap example with demo
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
The Art of the Pitch: WordPress Relationships and SalesLaura Byrne
Clients don’t know what they don’t know. What web solutions are right for them? How does WordPress come into the picture? How do you make sure you understand scope and timeline? What do you do if sometime changes?
All these questions and more will be explored as we talk about matching clients’ needs with what your agency offers without pulling teeth or pulling your hair out. Practical tips, and strategies for successful relationship building that leads to closing the deal.
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Tobias Schneck
As AI technology is pushing into IT I was wondering myself, as an “infrastructure container kubernetes guy”, how get this fancy AI technology get managed from an infrastructure operational view? Is it possible to apply our lovely cloud native principals as well? What benefit’s both technologies could bring to each other?
Let me take this questions and provide you a short journey through existing deployment models and use cases for AI software. On practical examples, we discuss what cloud/on-premise strategy we may need for applying it to our own infrastructure to get it to work from an enterprise perspective. I want to give an overview about infrastructure requirements and technologies, what could be beneficial or limiting your AI use cases in an enterprise environment. An interactive Demo will give you some insides, what approaches I got already working for real.
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualityInflectra
In this insightful webinar, Inflectra explores how artificial intelligence (AI) is transforming software development and testing. Discover how AI-powered tools are revolutionizing every stage of the software development lifecycle (SDLC), from design and prototyping to testing, deployment, and monitoring.
Learn about:
• The Future of Testing: How AI is shifting testing towards verification, analysis, and higher-level skills, while reducing repetitive tasks.
• Test Automation: How AI-powered test case generation, optimization, and self-healing tests are making testing more efficient and effective.
• Visual Testing: Explore the emerging capabilities of AI in visual testing and how it's set to revolutionize UI verification.
• Inflectra's AI Solutions: See demonstrations of Inflectra's cutting-edge AI tools like the ChatGPT plugin and Azure Open AI platform, designed to streamline your testing process.
Whether you're a developer, tester, or QA professional, this webinar will give you valuable insights into how AI is shaping the future of software delivery.
UiPath Test Automation using UiPath Test Suite series, part 3DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 3. In this session, we will cover desktop automation along with UI automation.
Topics covered:
UI automation Introduction,
UI automation Sample
Desktop automation flow
Pradeep Chinnala, Senior Consultant Automation Developer @WonderBotz and UiPath MVP
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
Neuro-symbolic is not enough, we need neuro-*semantic*Frank van Harmelen
Neuro-symbolic (NeSy) AI is on the rise. However, simply machine learning on just any symbolic structure is not sufficient to really harvest the gains of NeSy. These will only be gained when the symbolic structures have an actual semantics. I give an operational definition of semantics as “predictable inference”.
All of this illustrated with link prediction over knowledge graphs, but the argument is general.
Epistemic Interaction - tuning interfaces to provide information for AI supportAlan Dix
Paper presented at SYNERGY workshop at AVI 2024, Genoa, Italy. 3rd June 2024
https://alandix.com/academic/papers/synergy2024-epistemic/
As machine learning integrates deeper into human-computer interactions, the concept of epistemic interaction emerges, aiming to refine these interactions to enhance system adaptability. This approach encourages minor, intentional adjustments in user behaviour to enrich the data available for system learning. This paper introduces epistemic interaction within the context of human-system communication, illustrating how deliberate interaction design can improve system understanding and adaptation. Through concrete examples, we demonstrate the potential of epistemic interaction to significantly advance human-computer interaction by leveraging intuitive human communication strategies to inform system design and functionality, offering a novel pathway for enriching user-system engagements.
3. Content :
1. what is php?
2. what php code look like?
3.varibles
4.variable usage
5.echo
6.arithmetics
7.concetenation
8.escaping the character
9.destory php-sessions
10.php overview
11.if..else
12.while loops
Vibrant Technology & Computers
Vashi,Navi Mumbai 3
4. Goal of this tutorialGoal of this tutorial
Not to teach everything about PHP, but
provide the basic knowledge
Explain code of examples
Provide some useful references
Vibrant Technology & Computers
Vashi,Navi Mumbai 4
5. PHP == ‘Hypertext Preprocessor’
Open-source, server-side scripting language
Used to generate dynamic web-pages
PHP scripts reside between reserved PHP tags
This allows the programmer to embed PHP
scripts within HTML pages
What is PHP?What is PHP?
Vibrant Technology & Computers
Vashi,Navi Mumbai 5
6. What is PHP (cont’d)What is PHP (cont’d)
Interpreted language, scripts are parsed at run-
time rather than compiled beforehand
Executed on the server-side
Source-code not visible by client
‘View Source’ in browsers does not display the PHP
code
Various built-in functions allow for fast
development
Compatible with many popular databases
Vibrant Technology & Computers
Vashi,Navi Mumbai 6
7. What does PHP code look like?What does PHP code look like?
Structurally similar to C/C++
Supports procedural and object-oriented
paradigm (to some degree)
All PHP statements end with a semi-colon
Each PHP script must be enclosed in the
reserved PHP tag
<?php
…
?>
Vibrant Technology & Computers
Vashi,Navi Mumbai 7
8. Comments in PHPComments in PHP
Standard C, C++, and shell comment
symbols
// C++ and Java-style comment
# Shell-style comments
/* C-style comments
These can span multiple lines */
Vibrant Technology & Computers
Vashi,Navi Mumbai 8
9. Variables in PHPVariables in PHP
PHP variables must begin with a “$” sign
Case-sensitive ($Foo != $foo != $fOo)
Global and locally-scoped variables
Global variables can be used anywhere
Local variables restricted to a function or class
Certain variable names reserved by PHP
Form variables ($_POST, $_GET)
Server variables ($_SERVER)
Etc.
Vibrant Technology & Computers
Vashi,Navi Mumbai 9
11. EchoEcho
The PHP command ‘echo’ is used to
output the parameters passed to it
The typical usage for this is to send data to the
client’s web-browser
Syntax
void echo (string arg1 [, string argn...])
In practice, arguments are not passed in
parentheses since echo is a language
construct rather than an actual function
Vibrant Technology & Computers
Vashi,Navi Mumbai 11
12. Echo exampleEcho example
Notice how echo ‘5x5=$foo’ outputs $foo rather than replacing it with 25
Strings in single quotes (‘ ’) are not interpreted or evaluated by PHP
This is true for both variables and character escape-sequences (such as “n”
or “”)
<?php
$foo = 25; // Numerical variable
$bar = “Hello”; // String variable
echo $bar; // Outputs Hello
echo $foo,$bar; // Outputs 25Hello
echo “5x5=”,$foo; // Outputs 5x5=25
echo “5x5=$foo”; // Outputs 5x5=25
echo ‘5x5=$foo’; // Outputs 5x5=$foo
?>
Vibrant Technology & Computers
Vashi,Navi Mumbai 12
13. Arithmetic OperationsArithmetic Operations
$a - $b // subtraction
$a * $b // multiplication
$a / $b // division
$a += 5 // $a = $a+5 Also works for *= and /=
<?php
$a=15;
$b=30;
$total=$a+$b;
Print $total;
Print “<p><h1>$total</h1>”;
// total is 45
?>
Vibrant Technology & Computers
Vashi,Navi Mumbai 13
14. ConcatenationConcatenation
Use a period to join strings into one.
<?php
$string1=“Hello”;
$string2=“PHP”;
$string3=$string1 . “ ” .
$string2;
Print $string3;
?>
Hello PHP
Vibrant Technology & Computers
Vashi,Navi Mumbai 14
15. Escaping the CharacterEscaping the Character
If the string has a set of double quotation
marks that must remain visible, use the
[backslash] before the quotation marks to
ignore and display them.
<?php
$heading=“”Computer Science””;
Print $heading;
?>
“Computer Science”
Vibrant Technology & Computers
Vashi,Navi Mumbai 15
16. PHP Control StructuresPHP Control Structures
Control Structures: Are the structures within a language that allow
us to control the flow of execution through a program or script.
Grouped into conditional (branching) structures (e.g. if/else) and
repetition structures (e.g. while loops).
Example if/else if/else statement:
if ($foo == 0) {
echo ‘The variable foo is equal to 0’;
}
else if (($foo > 0) && ($foo <= 5)) {
echo ‘The variable foo is between 1 and 5’;
}
else {
echo ‘The variable foo is equal to ‘.$foo;
}
Vibrant Technology & Computers
Vashi,Navi Mumbai 16
17. If ... Else...If ... Else...
If (condition)
{
Statements;
}
Else
{
Statement;
}
<?php
If($user==“John”)
{
Print “Hello John.”;
}
Else
{
Print “You are not John.”;
}
?>
No THEN in PHP
Vibrant Technology & Computers
Vashi,Navi Mumbai 17
19. Date DisplayDate Display
$datedisplay=date(“yyyy/m/d”);
Print $datedisplay;
# If the date is April 1st
, 2009
# It would display as 2009/4/1
2009/4/1
$datedisplay=date(“l, F m, Y”);
Print $datedisplay;
# If the date is April 1st
, 2009
# Wednesday, April 1, 2009
Wednesday, April 1, 2009
Vibrant Technology & Computers
Vashi,Navi Mumbai 19
20. Month, Day & Date Format SymbolsMonth, Day & Date Format Symbols
M Jan
F January
m 01
n 1
Day of Month d 01
Day of Month J 1
Day of Week l Monday
Day of Week D Mon
Vibrant Technology & Computers
Vashi,Navi Mumbai 20
21. FunctionsFunctions
Functions MUST be defined before then can be
called
Function headers are of the format
Note that no return type is specified
Unlike variables, function names are not case
sensitive (foo(…) == Foo(…) == FoO(…))
function functionName($arg_1, $arg_2, …, $arg_n)
Vibrant Technology & Computers
Vashi,Navi Mumbai 21
22. Functions exampleFunctions example
<?php
// This is a function
function foo($arg_1, $arg_2)
{
$arg_2 = $arg_1 * $arg_2;
return $arg_2;
}
$result_1 = foo(12, 3); // Store the function
echo $result_1; // Outputs 36
echo foo(12, 3); // Outputs 36
?>
Vibrant Technology & Computers
Vashi,Navi Mumbai 22
24. PHP - FormsPHP - Forms
•Access to the HTTP POST and GET data is simple in PHPAccess to the HTTP POST and GET data is simple in PHP
•The global variables $_POST[] and $_GET[] contain theThe global variables $_POST[] and $_GET[] contain the
request datarequest data
<?php
if ($_POST["submit"])
echo "<h2>You clicked Submit!</h2>";
else if ($_POST["cancel"])
echo "<h2>You clicked Cancel!</h2>";
?>
<form action="form.php" method="post">
<input type="submit" name="submit" value="Submit">
<input type="submit" name="cancel" value="Cancel">
</form>
Vibrant Technology & Computers
Vashi,Navi Mumbai 24
25. WHY PHP – Sessions ?WHY PHP – Sessions ?Whenever you want to create aWhenever you want to create a websitewebsite that allows you to store and displaythat allows you to store and display
information about a user, determine which user groups a person belongs to,information about a user, determine which user groups a person belongs to,
utilize permissions on yourutilize permissions on your websitewebsite or you just want to do something cool onor you just want to do something cool on
your site,your site, PHP's SessionsPHP's Sessions are vital toare vital to eacheach of these features.of these features.
Cookies are about 30% unreliable right now and it's getting worse every day.Cookies are about 30% unreliable right now and it's getting worse every day.
More and more web browsers are starting to come with security and privacyMore and more web browsers are starting to come with security and privacy
settings and people browsing the net these days are starting to frown uponsettings and people browsing the net these days are starting to frown upon
Cookies because they store information on their local computer that they doCookies because they store information on their local computer that they do
not want stored there.not want stored there.
PHP has a great set of functions that can achieve the same results ofPHP has a great set of functions that can achieve the same results of
Cookies and more without storing information on the user's computer. PHPCookies and more without storing information on the user's computer. PHP
Sessions store the information on the web server in a location that you choseSessions store the information on the web server in a location that you chose
in special files. These files are connected to the user's web browser via thein special files. These files are connected to the user's web browser via the
server and a special ID called a "Session ID". This is nearly 99% flawless inserver and a special ID called a "Session ID". This is nearly 99% flawless in
operation and it is virtually invisible to the user.operation and it is virtually invisible to the user.
Vibrant Technology & Computers
Vashi,Navi Mumbai 25
26. PHP - SessionsPHP - Sessions
•Sessions store their identifier in a cookie in the client’s browserSessions store their identifier in a cookie in the client’s browser
•Every page that uses session data must be proceeded by theEvery page that uses session data must be proceeded by the
session_start()session_start() functionfunction
•Session variables are then set and retrieved by accessing the globalSession variables are then set and retrieved by accessing the global
$_SESSION[]$_SESSION[]
•Save it asSave it as session.phpsession.php
<?php<?php
session_start();session_start();
if (!$_SESSION["count"])if (!$_SESSION["count"])
$_SESSION["count"] = 0;$_SESSION["count"] = 0;
if ($_GET["count"] == "yes")if ($_GET["count"] == "yes")
$_SESSION["count"] = $_SESSION["count"] + 1;$_SESSION["count"] = $_SESSION["count"] + 1;
echo "<h1>".$_SESSION["count"]."</h1>";echo "<h1>".$_SESSION["count"]."</h1>";
?>?>
<a href="session.php?count=yes">Click here to count</a><a href="session.php?count=yes">Click here to count</a>
Vibrant Technology & Computers
Vashi,Navi Mumbai 26
27. Avoid Error PHP - SessionsAvoid Error PHP - Sessions
PHP Example: <?php
echo "Look at this nasty error below:<br />";
session_start();
?>
Error!
PHP Example: <?php
session_start();
echo "Look at this nasty error below:";
?>
Correct
Warning: Cannot send session cookie - headers already sent
by (output started at
session_header_error/session_error.php:2) in
session_header_error/session_error.php on line 3
Warning: Cannot send session cache limiter - headers
already sent (output started at
session_header_error/session_error.php:2) in
session_header_error/session_error.php on line 3
Vibrant Technology & Computers
Vashi,Navi Mumbai 27
28. Destroy PHP - SessionsDestroy PHP - Sessions
Destroying a Session
why it is necessary to destroy a session when the session will get
destroyed when the user closes their browser. Well, imagine that you
had a session registered called "access_granted" and you were using
that to determine if the user was logged into your site based upon a
username and password. Anytime you have a login feature, to make
the users feel better, you should have a logout feature as well. That's
where this cool function called session_destroy() comes in handy.
session_destroy() will completely demolish your session (no, the
computer won't blow up or self destruct) but it just deletes the session
files and clears any trace of that session.
NOTE: If you are using the $_SESSION superglobal array, you must
clear the array values first, then run session_destroy.
Here's how we use session_destroy():
Vibrant Technology & Computers
Vashi,Navi Mumbai 28
29. Destroy PHP - SessionsDestroy PHP - Sessions
<?php
// start the session
session_start();
header("Cache-control: private"); //IE 6 Fix
$_SESSION = array();
session_destroy();
echo "<strong>Step 5 - Destroy This Session </strong><br />";
if($_SESSION['name']){
echo "The session is still active";
} else {
echo "Ok, the session is no longer active! <br />";
echo "<a href="page1.php"><< Go Back Step 1</a>";
}
?>
Vibrant Technology & Computers
Vashi,Navi Mumbai 29
30. PHP OverviewPHP Overview
Easy learning
Syntax Perl- and C-like syntax. Relatively
easy to learn.
Large function library
Embedded directly into HTML
Interpreted, no need to compile
Open Source server-side scripting language
designed specifically for the web.
Vibrant Technology & Computers
Vashi,Navi Mumbai 30
31. PHP Overview (cont.)PHP Overview (cont.)
Conceived in 1994, now used on +10 million
web sites.
Outputs not only HTML but can output XML,
images (JPG & PNG), PDF files and even Flash
movies all generated on the fly. Can write these
files to the file system.
Supports a wide-range of databases
(20+ODBC).
PHP also has support for talking to other
services using protocols such as LDAP, IMAP,
SNMP, NNTP, POP3, HTTP.
Vibrant Technology & Computers
Vashi,Navi Mumbai 31
38. History of PHPHistory of PHP
PHP began in 1995 when Rasmus Lerdorf developed a
Perl/CGI script toolset he called the Personal Home
Page or PHP
PHP 2 released 1997 (PHP now stands for Hypertex
Processor). Lerdorf developed it further, using C instead
PHP3 released in 1998 (50,000 users)
PHP4 released in 2000 (3.6 million domains).
Considered debut of functional language and including
Perl parsing, with other major features
PHP5.0.0 released July 13, 2004 (113 libraries>1,000
functions with extensive object-oriented programming)
PHP5.0.5 released Sept. 6, 2005 for maintenance and
bug fixes
Vibrant Technology & Computers
Vashi,Navi Mumbai 38
39. Recommended Texts for Learning PHPRecommended Texts for Learning PHP
Larry Ullman’s books from the Visual Quickpro
series
PHP & MySQL for Dummies
Beginning PHP 5 and MySQL: From Novice to
Professional by W. Jason Gilmore
(This is more advanced and dense than the others,
but great to read once you’ve finished the easier
books. One of the best definition/description of
object oriented programming I’ve read)
Vibrant Technology & Computers
Vashi,Navi Mumbai 39
40. PHP ReferencesPHP References
http://www.php.net <-- php home page
http://www.phpbuilder.com/
http://www.devshed.com/
http://www.phpmyadmin.net/
http://www.hotscripts.com/PHP/
http://geocities.com/stuprojects/ChatroomDescription.htm
http://www.academic.marist.edu/~kbhkj/chatroom/chatroom.htm
http://www.aus-etrade.com/Scripts/php.php
http://www.codeproject.com/asp/CDIChatSubmit.asp
http://www.php.net/downloads <-- php download page
http://www.php.net/manual/en/install.windows.php <-- php
installation manual
http://php.resourceindex.com/ <-- PHP resources like sample
programs, text book references, etc.
http://www.daniweb.com/techtalkforums/forum17.html php
forums
Vibrant Technology & Computers
Vashi,Navi Mumbai 40