Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 1 of 1
  1. #1
    Junior Member RjapzDesigns's Avatar
    Join Date
    Jun 2012
    Location
    Maryland
    Posts
    17
    Member #
    31965
    Hi brothers and sisters

    I hope this is not too much to ask. But I need help setting up my article cms script to pair up with the database to process sign ups "register", setup user account, and submit/post articles. Im building a tips & advice, shop & save "coupons and deals", homemade, how to's, money making/saving ideas. To solve personal troubles and problems, by people posting articles, commenting/blogging and sharing ideas to help each other.

    I want the visitors to register and submit, receive a confirmation through email to activate account, then login and set up their profile, post and view articles. Like the normal functions of a cms article directory sites, like Goarticles.com.

    I have a processor.php file in the same folder with the php pages, and I also created a database admin account with my host. I then try to sign up as a visitor/guest, I registered, submit form, the confirmation thank you page shows after submitting, but no confirmation message sent to my email. Im not sure how to setup the form to process data, signup and see what I mean, the articles you see are examples that came with the article script when I downloaded. Below is the registration form and processor.php scripts.

    http://myresources.zxq.net/tipsartic.../regauthor.php

    Form opening code
    <form id="form1" name="form1" method="post" action="processer.php" onsubmit="return login_validation(this)">
    <input name="SearchOpt" value="1" type="hidden" />
    <input name="SearchWd" class="text-field" style="width:184px; height:18px;" type="text" />

    Submit and reset button codes
    <input name="submit" src="images/submit.jpg" action="thankyoureg.php" method"post" type="image" />
    <input name="reset" src="images/reset.jpg" action="regauthor.php" type="image" />


    --------------------------------------------------------------------------------
    Processer.php

    <?php
    $username = "123456_myusername";
    $password = "mypassword";
    $hostname = "myresources.zxq.net";
    $db_name="mydatabasename_zxq_1111";

    //connection to the database
    $dbhandle = mysql_connect($hostname, $username, $password)
    or die("Unable to connect to MySQL");
    echo "Connected to MySQL<br>";

    //select a database to work with
    $selected = mysql_select_db("mydatabasename_zxq_1111",$dbhandl e)
    or die("Could not select mydatabasename_zxq_1111");

    //execute the SQL query and return records
    $result = mysql_query("SELECT id, model,year FROM cars");

    //fetch tha data from the database
    while ($row = mysql_fetch_array($result)) {
    echo "ID:".$row{'id'}." Name:".$row{'model'}."Year: ". //display the results
    $row{'year'}."<br>";
    }
    //close the connection
    mysql_close($dbhandle);
    ?>

    Thanx

  2.  


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 11:00 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com