Skip to content

Commit f404a33

Browse files
authored
Add files via upload
1 parent b10f8fe commit f404a33

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+19286
-18
lines changed

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2021-Present Priyansh Shah
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# IT-Company-Website
2+
3+
## Overview
4+
5+
The project “IT Company Website” is a responsive website made using HTML, CSS, Bootstrap and JavaScript. As it is responsive, it works well on all devices. The website includes modules like About, Services, Portfolio, Team, Career, Contact and FAQ. Whenever anyone submits the contact form or career form, an email is sent on company’s email id so that they get notified about it and can communicate with that person soon. The website contains all the modules that meet the project requirement and is doing all the work accurately.
6+
7+
## Website Link
8+
9+
Go check this website!!
10+
https://priyansh42.github.io/IT-Company-Website/
11+
12+
##
13+
14+
__NOTE: Please be aware that the PHP Mailer feature is not functional on the deployed website. To utilize it, you'll need to download the entire project and run it locally on your computer using XAMPP or WAMP.__
15+
__Additionally, you'll have to set up the sender's credentials in the 'mailing/mailingvariables.php' file. In the 'contactme.php' and 'careers.php' files, you should specify the receiver's email address. Don't forget to provide the path to the 'tmp-uploads' folder in 'careers.php' file to store uploaded files.__

composer.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "priyansh/itcompany",
3+
"autoload": {
4+
"psr-4": {
5+
"Priyansh\\Itcompany\\": "src/"
6+
}
7+
},
8+
"authors": [
9+
{
10+
"name": "It Company"
11+
}
12+
],
13+
"require": {
14+
"phpmailer/phpmailer": "^6.5"
15+
}
16+
}

composer.lock

Lines changed: 95 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contactme.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
require("./mailing/mailfunction.php");
3+
4+
$name = $_POST["name"];
5+
$phone = $_POST['phone'];
6+
$email = $_POST["email"];
7+
$message = $_POST["message"];
8+
9+
$body = "<ul><li>Name: ".$name."</li><li>Phone: ".$phone."</li><li>Email: ".$email."</li><li>Message: ".$message."</li></ul>";
10+
11+
$status = mailfunction("", "Company", $body); //reciever
12+
if($status)
13+
echo '<center><h1>Thanks! We will contact you soon.</h1></center>';
14+
else
15+
echo '<center><h1>Error sending message! Please try again.</h1></center>';
16+
?>

0 commit comments

Comments
 (0)