CrazyEngineers
  • When installed,XAMPPserver I clicked on the xampp and in htdocs folder, I created a folder named as "myproject" and then I created a file with name "Divya.php" in this folder.

    Divya Koya

    Divya Koya

    @divya-g3R3Pz
    Updated: Nov 7, 2018
    Views: 1.6K

    The code written in the file is as below:

    <?php

    echo "Hello World!";

    ?>

    But Instead of output It shows same code....Could Anyone  please help 

    me ......

    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • Kaustubh Katdare

    AdministratorNov 7, 2018

    What is the URL through which you are trying to access your file? If you saved your file within htdocs/myproject/Divya.php , then you should be able to see "Hello World" on the URL:  localhost/myproject/Divya.php 

    Also check in your XAMPP configuration if the PORT is set to 80. If not, you will have to add the port number to your localhost. For example: localhost:8080/myproject/Divya.php

    Make sure to replace the 8080 with the PORT number that is set in your XAMPP.

    If this does not work, let us know the error you are facing so that we can help you out. 

    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register