Jump to content
Killersites Forums


  • Posts

  • Joined

  • Last visited

billperrotta's Achievements


Newbie (1/14)



  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 1 is on the Company or Individual you are reporting. YOU ARE NOT reporting your personal information here. Name of Company or Individual you are reporting: - If you have more than one Company or Individual named in your report, or if the company goes by more than one name (AKA's), put the other names in the "Other Name's" box Name of Company or Individual: Aditional names (AKA's): (optional) Address of Company or Individual you are reporting: - You must enter either a physical street address and/or a web address. - You may enter both, BUT If the Company or Individual is on the Internet and only on-line based, or you don't have a physical address, you MUST enter their Web address Street Address: physical (street) address only, city and state go below Web Address: City, State, Zip Code, and Country of Company or Individual you are reporting: - Multiple cities can be entered for more than one location. - If the Company or Individual is on the Internet and only on-line based, and you have entered the Web address: the city, zip code, and country boxes can be left blank. Enter "Internet" in the State box. City: State/Province: Select Internet if online only. Zip Code: (optional) Country: Phone, FAX, and e-mail address of Company or Individual you are reporting: - This information is not required, but they are good tools for sympathetic Consumers to let the Company or Individual know how they feel about what they did to you and will only help your situation. - This information may also be helpful to other victims reading your Ripoff Report. - The more information you provide, the better. Fax: Phone: E-mail address: Ripoff Report * Home * File a Report * Consumer Resources * Search * Link to Ripoff Report * Privacy Policy * Terms of Service * FAQ * About Us * Contact Us * Why Ripoff Report will not release author information! * Thank You Emails! * Corporate Advocacy Program: How to repair your business reputation. * Ed Magedson - Ripoff Report Founder * Want to sue Ripoff Report? * Donate to our Legal Defense Copyright © 1998-2010, Ripoff Report. All rights reserved.
  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 username ='" . $username . "' AND user_password='" . $password . "' LIMIT 1"); if (mysql_num_rows ($sql) > 0) { $_SESSION['loggedin'] = true; $_SESSION['username'] = $username; echo 'you are now logged in!'; } else { echo 'your username and/or password is incorrect!'; } } } else { echo '<form action="login.php" method="post"> Username: <input type ="text" name="username" /><br /> Password: <input type="password" name="password" /><br /> <input type="submit" name="submit" value="login" /> </form>'; } ?>
  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,$password,time()"); echo 'you are now registered!'; }else{ echo 'you must enter a username and a password!'; } }else{ echo '<form action="register.php" method="post"> Username: <input type="text" name="username" /><br /> Password: <input type="password" name="password" /><br /> <input type="submit" name="submit" value="Register" /> </form>'; } ?>
  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...