Need Help ASAP

Status
Not open for further replies.

bms71@pitt

New Member
Messages
5
Reaction score
0
Points
0
I have to update my website for Monday for a class, but I have no idea where I can go to upload new pages since I apparently can't do it from Dreamweaver right now.
 

techairlines

x10 Flyer
Community Support
Messages
2,867
Reaction score
165
Points
63
You can try connecting to FTP using an FTP client

or you can upload your site files through cPanel and the File Manager.

Upload HTML (or others) that you want viewable in the public_html directory.
 
Last edited:

Smith6612

I ate all of the x10Pizza
Community Support
Messages
6,517
Reaction score
48
Points
48
When you log into your FTP, you will see a listing similar to what you see in my second screenshot below. The first screenshot is the contents of my public_html folder, which is where my site is located.

Your FTP address is your site's domain. Your username and password are the same that you use to log into cPanel.

EDIT: From the looks of things, it appears as though you've already uploaded some content to your site, unless that is the old data.
 

Attachments

  • FTP2..png
    FTP2..png
    136.8 KB · Views: 19
  • FTP1..png
    FTP1..png
    168.6 KB · Views: 21
Last edited:

bms71@pitt

New Member
Messages
5
Reaction score
0
Points
0
OK. Scratch that. I found my cPanel. Now, I'm trying to set up a contact form that enter entries into a database. Can someone tell me what's wrong with my code?

PHP:
<?php
//make the database connection
$conn = mysql_connect("localhost", "bms71_bms71", "password");
mysql_select_db("bms71_mailinglist", $conn);
$firstName = $_REQUEST['firstName'];
$lastName = $_REQUEST['lastName'];
$email = $_REQUEST['email'];
$street1 = $_REQUEST['street1'];
$street2 = $_REQUEST['street2'];
$city = $_REQUEST['city'];
$state = $_REQUEST['state'];
$zip = $_REQUEST['zip'];
//insert new records
mysql_query("INSERT INTO info (firstName, lastName, email, street1, street2, city, state, zip) VALUES ( '$firstName', '$lastName', '$email', '$street1', '$steet2', '$city', '$state', '$zip')");
?>

This is linked to a thank you page by
PHP:
<?php
@require("personalinfo_connection.php");
?>

My database is called bms71_mailinglist, the table is info, and my user name is bms71_bms71
 
Status
Not open for further replies.
Top