User Profile

Collapse

Profile Sidebar

Collapse
microguy
microguy
Last Activity: Aug 15 '09, 04:02 AM
Joined: Jan 7 '09
Location: Utah
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • microguy
    replied to error on Session_Start()
    in PHP
    I got it working now. There were space on line 20. Right now I have login page with two button for register and forgot. When we click on register or forgot it goes to another page. I did not want that. When click on forgot and I want email address box with subit box show up on same page. How do we do that? Like hide the address box and submit button till click on forgot then it will show up. Something like that. Can someone tell me the codes?
    See more | Go to post

    Leave a comment:


  • microguy
    replied to error on Session_Start()
    in PHP
    there is nothing on line 20

    here is my code
    Code:
    <?php
    
    //Database Information
    	$dbhost = "localhost";
    	$dbname = "xxxxxxx";
    	$dbuser = "xxxxxxxxx";
    	$dbpass = "xxxxxxxx";
    
    
    
    
    
    
    // $link = mysql_connect("localhost","root","") or die("Couldn't make connection.");
    $link
    ...
    See more | Go to post
    Last edited by Markus; Jan 7 '09, 09:46 PM. Reason: added [code] tags. Microguy, please read your PMs.

    Leave a comment:


  • microguy
    replied to error on Session_Start()
    in PHP
    sorry

    Here are errors



    Warning: session_start() [function.sessio n-start]: Cannot send session cookie - headers already sent by (output started at /home/mysimon/public_html/deaflds/test2/dbc.php:20) in /home/mysimon/public_html/deaflds/test2/login.php on line 21

    Warning: session_start() [function.sessio n-start]: Cannot send session cache limiter - headers already sent (output started at /home/mysimon/public_html/deaflds/test2/dbc.php:20)...
    See more | Go to post

    Leave a comment:


  • microguy
    started a topic error on Session_Start()
    in PHP

    error on Session_Start()

    I am kind of new on PHP. I could not figure out what went wrong on my ph.

    Here is code:
    Code:
    <?php 
    
    include 'dbc.php';
    
    $user_email = mysql_real_escape_string($_POST['email']);
    
    if ($_POST['Submit']=='Login')
    {
    $pass = $_POST['pwd'];
    $sql = "SELECT id,user_email FROM rmusers WHERE 
                user_email = '$user_email' AND 
                user_pwd = '$pass' AND
    ...
    See more | Go to post
    Last edited by Markus; Jan 7 '09, 08:20 PM. Reason: added [code] tags
No activity results to display
Show More
Working...