Jump to content
Killersites Forums

billperrotta

Member
  • Content Count

    52
  • Joined

  • Last visited

Community Reputation

0 Neutral

About billperrotta

  • Rank
    Member
  1. Now I'm semi up and running how would I create a form like this? I copied the fields from ripoff report.com. I want to be able to create a report with these options see below. It is a complaint form. This whole project has been for a friends consumer reports website. * File a Report Company or Individual Information Company or Individual Information Report Title and Category Report Title and Category Write your Report Write your Report Add Photos Add Photos Submit your Report Submit your Report Company or Individual you are reporting All the information in Step
  2. Also to put a welcome banner is it "<p>Welcome to got a beef?</p>" ?
  3. Not to sound stupid but I am used to adding links with Kompozer. What is the tag to create the link? I just want to create a local html file ie "reportuploads.html" then create a link on the members.php page to it. <html>reportuploads.html<html> ? By the way the last changes work like charm. just need to know how to insert links to other web pages into members.php
  4. Don't want to be that detailed. just want to direct all users with an account, to a central page then I can redirect them to other pages to upload files or add posts.
  5. Thanks those small corrections are in valuable and it works. Now question? How to I insert an html link into members.php or login.php. So that if users that have user accounts I want to link them to another page that will allow them to upload files. I assume I will put all the other important links in index.htm. I plan on trying another tut I found later to create a php file uploader. One weird thing I found login.php stops users without accounts but members.php seems to welcome anyone.
  6. There is no row for any users I am trying to create, even though the db is telling me I am registered. I am lost, It would be nice if this just worked. I saw some downloadable free php scripts for logons. But not sure those include mysql. I will probably look for a downloadable script for file uploading. What do you suggest? I would like to get this working soon. May not be able to get over that rainbow because there are no instructions to create the mysql db for those.
  7. I corrected it moved the dollar sign down to line 8. The register.php appears again, but login.php still says username is incorrect all the time. The test file still says no users in database. here is login.php pasted below. <?php session_start(); include ('mysql.php'); if (isset ($_POST['submit'])) { $username = mysql_escape_string($_POST['username']); $password = mysql_escape_string(sha1 ($_POST['password'])); if (!empty ($username) && !empty ($password)) { $sql = mysql_query ("SELECT * FROM users WHERE us
  8. No good. Here is the error "Parse error: syntax error, unexpected T_STRING, expecting T_VARIABLE or '$' in /homepages/21/d176117763/htdocs/register.php on line 8" new register.php pasted below <?php include ('mysql.php'); if (isset ($_POST['submit'])) { $username = mysql_escape_string($_POST['username']); $ password = mysql_escape_string(sha1($_POST['password'])); if (!empty ($username) && !empty ($password)) { $sql = mysql_query("INSERT INTO users (username, user_password, user_regdate) Values ($username,$pass
  9. Where is the change for the register.php can't remember. Can you give me a link?
  10. if I make the host uiserver I get unknown host uiserver. I tried that because the name uiserver is in my command prompt.
  11. got this when server name variable is gotabeef2.com " Could not connect to server ... Lost connection to MySQL server at 'reading initial communication packet', system error: 111"
  12. I changed it to my main oneandone customer id and password and go the same thing. Maybe I should change the server name to gotabeef2.com instead of the server name that the database is giving me?
×
×
  • Create New...