AlexxanderX's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
Active Members
Active Posts:
54 (0.06 per day)
Joined:
13-January 12
Profile Views:
621
Last Active:
User is offline May 02 2013 02:29 AM
Currently:
Offline

Previous Fields

Country:
RO
OS Preference:
Windows
Favorite Browser:
Chrome
Favorite Processor:
Who Cares
Favorite Gaming Platform:
PC
Your Car:
Who Cares
Dream Kudos:
0
Icon   AlexxanderX has not set their status

Posts I've Made

  1. In Topic: Cannot modify header information - headers already sent

    Posted 4 Apr 2013

    I don't know, but one time worked that code without errors, but now I don't know why no more working. In the accesed file I have:
    <?php //include("protection.php");
    include_once 'backup_functions.php';
    $obj = new backup("localhost","user","pass","database");
    $str = $obj->DoBackup();
    //echo '</br></br></br>START-'.$str.'-STOP</br></br></br>';
    ?>
    
  2. In Topic: Cannot modify header information - headers already sent

    Posted 4 Apr 2013

    Hello back. I have the same error:

    Quote

    Warning: Cannot modify header information - headers already sent by (output started at /home/.../public_html/.../.../backup_functions.php:206) in /home/.../public_html/.../.../backup_functions.php on line 213

    Warning: Cannot modify header information - headers already sent by (output started at /home/.../public_html/.../.../backup_functions.php:206) in /home/.../public_html/.../.../backup_functions.php on line 214

    Warning: Cannot modify header information - headers already sent by (output started at /home/.../public_html/.../.../backup_functions.php:206) in /home/.../public_html/.../.../backup_functions.php on line 215

    Warning: Cannot modify header information - headers already sent by (output started at /home/.../public_html/.../.../backup_functions.php:206) in /home/.../public_html/.../.../backup_functions.php on line 216
    .
    I have in backup_functions.php this code from https://github.com/b...0with%20PHP.php but whithout last 6 lines because I but them in backup_save.php wich is accesed. I know the code from github is old but if can help or give me another code for making a backup of a database into a .sql file.

    EDIT: I know the warning is because of the echo from line 209, but if delete the echo I will download an 0 Bytes file.
  3. In Topic: Cannot modify header information - headers already sent

    Posted 1 Apr 2013

    I read some parts from link but can't find a solution to my problem. I added some lines to my code above the if($_POST["submit"]) - line 52 from my last posted code and every time I click on submit button I see FALSE:
    if(isset($_COOKIE[$name]))
    {
        echo 'TRUE';
    }
    else{
        echo 'FALSE';
    }
    

    So my cookie can't set the value. Please if can help me.


    I deleted the line 81 - header() - and it's working! :D
  4. In Topic: Cannot modify header information - headers already sent

    Posted 27 Mar 2013

    View PostDormilich, on 27 March 2013 - 03:45 AM, said:

    View PostAlexxanderX, on 27 March 2013 - 11:37 AM, said:

    I don't understand what you want to say

    didnít you ever asked yourself how cookies are transferred from PHP to the browser?


    No, but I searched but can't found nothing relevant.
  5. In Topic: Cannot modify header information - headers already sent

    Posted 27 Mar 2013

    View PostDormilich, on 27 March 2013 - 03:22 AM, said:

    View PostAlexxanderX, on 27 March 2013 - 11:06 AM, said:

    First I need to show HTML: user need to introduce his pass and user and if is correct to set the cookie.

    but that are two calls to the server and you need to set the cookie on the second call’s HEAD.


    I don't understand what you want to say :(/>

    @andrewsw: I will try without function_exists()
    RE @andrewsw: I tried but no difference.

My Information

Member Title:
D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:
Location:
Romania
Years Programming:
2

Contact Information

E-mail:
Private

Friends

AlexxanderX hasn't added any friends yet.

Comments

AlexxanderX has no profile comments yet. Why not say hello?