Jump to content

schimpfk

Members
  • Posts

    26
  • Joined

  • Last visited

  • Days Won

    1

schimpfk last won the day on November 14 2013

schimpfk had the most liked content!

schimpfk's Achievements

Newbie

Newbie (1/14)

3

Reputation

  1. I have the "Jpmaster77's login script" on my site and I wanted to add "Biography's" on the profiles. I created a new row in the 'users' table called 'bio' so I added this code to the 'userinfo.php' file: /* Bio*/ echo "<b><u>Biography:</b></u> <br/> ".$req_user_info['bio']."</p></div>"; I copied it from the E-mail one, which is: /* Email */ echo "<b><u>E-mail:</b></u> <br/> ".$req_user_info['email']."</p><hr/>"; (I just changed the 'email' to 'bio' ) And here is the 'useredit.php' (edit profile) file for the editing bio: <div class="clear"></div> <p class="grid_2"><div align="center">Biography: </p> <p class="center"> <input class="center" type="textarea" name="bio" maxlength="10000" value="<?php if($form->value("bio") == ""){ echo $session->userinfo['bio']; }else{ echo $form->value("bio"); } ?>"> <?php echo $form->error("bio"); ?> </p> <div class="clear"></div> <p> And I also just copied that from the "E-mail" edit profie, which is: <div class="clear"></div> <p class="grid_2"><div align="center">E-mail: </p> <p class="center"> <input class="center" type="text" name="email" maxlength="50" value="<?php if($form->value("email") == ""){ echo $session->userinfo['email']; }else{ echo $form->value("email"); } ?>"> <?php echo $form->error("email"); ?> </p> <div class="clear"></div> <p> <br/> But my problem is when the user edits his profile nothing get submitted to the database and nothing obviously shows up on their profile. What am I doing wrong? What I said above is ALL did. Any nice help is really appreciated. [i also attached a picture of the 'bio' database row.]
  2. In my public_html directory is nothing but an index.php file.
  3. I deleted it but nothing happened so I re-added the .htaccess in the Legacy File manager, but still nothing has changed.
  4. My site: http://socialrox.heliohost.org is forbidden for some reason, how do I change that so it will work again?
  5. Wait more for me to install my domain it took about 2 days.
  6. Sorry, I was just working on it then I couldn't publish. Anyways, Ok. Thank you I did not even know that.
  7. All Johnny servers say that they are not licensed once you login! AN ADMIN PLEASE FIX THIS ASAP!!! ~Thanks
  8. I'm working on a login script but once I publish our site it says that there was an error on the following code: <?php //We start sessions> session_start();?> Errors: Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/kevinrox/public_html/register.php:3) in /home/kevinrox/public_html/config.php on line 3 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/kevinrox/public_html/register.php:3) in /home/kevinrox/public_html/config.php on line 3 /****************************************************** ------------------Required Configuration--------------- Please edit the following variables so the members area can work correctly. ******************************************************/ //We log to the DataBase mysql_connect('localhost', 'kevinrox_urban', ***Password***'); mysql_select_db('database'); //Webmaster Email $mail_webmaster = '****E-MAIL****'; //Top site root URL $url_root = '/index.php'; /****************************************************** -----------------Optional Configuration---------------- **************************** **************************/ //Home page file name $url_home = 'index.php'; //Design Name $design = 'default'; ?> I took the E-mail and password out in the screen capture, too! Please help!
  9. I'm working on a login script but once I publish our site it says that there was an error on the following code: <?php //We start sessions> session_start(); Please help!
  10. Mr.Moderator, When I try making a file called: .htaccess It says that it already exists but it does not!
  11. How Do I not make sense? Our site starts at index.php but we would like it to start on main.php!
×
×
  • Create New...