User Profile

Collapse

Profile Sidebar

Collapse
setovan
setovan
Last Activity: Nov 28 '12, 09:10 PM
Joined: Nov 28 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • pop up form

    i want to make a button if i clicked on this button a pop up form appears and enter any data like my name and submit it to the first page and get the data from it using PHP how can i do that ????
    See more | Go to post

    Leave a comment:


  • how to set initial value for $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW']

    if i run this code the pop up window appear but i don't want this window appears at the begining of the session i want to appear if the user clicked the button so how can i do it ?
    Code:
    <?php
    $PHP_AUTH_USER = @$_SERVER['PHP_AUTH_USER'];
    
    function authenticate() {
        header('WWW-Authenticate: Basic realm="Test Authentication System"');
        header('HTTP/1.0 401 Unauthorized');
        echo "You must
    ...
    See more | Go to post
    Last edited by Rabbit; Nov 28 '12, 08:52 PM. Reason: Please use code tags when posting code.

  • Warning: Cannot modify header information - headers already sent by..

    this warning appears when i send a header how can i fix it ?
    Code:
    <?php
    
    $con=mysql_connect("localhost","root","admin");
    mysql_query("set character_set_server='utf8'");
    mysql_query("set names 'utf8'");
    if(!$con)
    {
    	die('couldnot connect:');
    }
    
    mysql_select_db("santirino",$con);
    @$user_id = $_POST['ID'];
    ...
    See more | Go to post

  • appear time onclick a button and save the time in a database

    i want to make a button in an attendance table when the user click on this button the current time appears as a departure time for customer and how to save this time in my database. here's my code.
    Code:
    <?php
    $con=mysql_connect("localhost","root","admin");
    mysql_query("set character_set_server='utf8'");
    mysql_query("set names 'utf8'");
    if(!$con)
    {
    	die('couldnot
    ...
    See more | Go to post
    Last edited by Rabbit; Nov 28 '12, 02:39 AM.
No activity results to display
Show More
Working...