- XAMPP for Windows: https://www.apachefriends.org/download.html
- Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019
If the file C:\xampp\php\ext\php_xdebug.dll already exists, you can skip the download.
| <?php | |
| if (realpath(__FILE__) == realpath($_SERVER['SCRIPT_FILENAME'])) { | |
| $generator = new QRCode($_REQUEST['d'], $_REQUEST); | |
| $generator->output_image(); | |
| exit(0); | |
| } | |
| class QRCode | |
| { | |
| private $data; |
| #include <iostream> | |
| using namespace std; | |
| void trainTicketKiosk(); | |
| void commissionCalculator(); | |
| void rockyLaundrySystem(); | |
| void teddyChildcare(); | |
| void aboutMe(); | |
| void menu(); |
| //IF Else | |
| #include <iostream> | |
| using namespace std; | |
| int main() { | |
| int number; | |
| cout << "Enter an integer: "; | |
| cin >> number; |
| #include <iostream> | |
| #include<cstring> | |
| using namespace std; | |
| class GPA { | |
| private: | |
| double creditH[25]; // Store the credit hours of student | |
| string grade; // variable for storing the grade of student in string variable | |
| string gradeList[20]; // To get the list of grades | |
| double gpa; |
| #include <iostream> | |
| #include <vector> | |
| #include <string> | |
| #include <stdlib.h> | |
| #include <fstream> | |
| using namespace std; | |
| void ShowList(std::vector<std::string>& List); | |
| void AddToList(std::vector<std::string>& List); |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Map</title> | |
| </head> | |
| <body> | |
| <button onclick="getLocation()">Get My Location</button> | |
| <p id="location"></p> | |
If the file C:\xampp\php\ext\php_xdebug.dll already exists, you can skip the download.
| //capture by session | |
| if ($this->request->is('post')) { | |
| $this->Session->write('name', $this->request->data['Department']['name']); | |
| //read session | |
| <?php echo $this->Session->read('name'); ?> | |
| <?php echo $this->Form->input('name2', array('class' => 'form-control', | |
| 'value' => $this->Session->read('name')));?> |
| //load animate, morphtext css and js | |
| <?php | |
| echo $this->Html->css('animate'); | |
| echo $this->Html->css('morphext'); | |
| echo $this->Html->script('morphext.min.js'); | |
| ?> | |
| ...It is <span id="js-rotating">Good, Fast, Nice</span> to be used... | |
| <script> |