Parašė Autoaina· 2012 Lap. 5 17:11:24
#1
Labas,
PHP 7.v pajungus registracijoje captcha nerodo patvirtinimo kodo nors refrešo ir garso ikonos yra, paspaudus ant garso ikonos meta errora, pagal mane tai kode kažko dar trūksta, busiu dėkingas Jūsų pagalba:
Warning: Cannot modify header information - headers already sent by (output started at /home/galeolt/domains/mano domenas.lt/public_html/config.php:11) in /home/galeolt/domains/mano domenas.lt/public_html/includes/securimage/securimage_play.php on line
7 iki line 11
Čia šitie .php kuriose rodoma klaida.
public_html/config.php:
<?php
// database settings
$db_host = "localhost";
$db_user = "galeolt_aaina";
$db_pass = "hdly6s%j#ObF";
$db_name = "galeolt_autoaina";
$db_prefix = "phpfsprthst28ab2_";
define("DB_PREFIX", "phpfsprthst28ab2_");
?>
public_html/includes/securimage/securimage_play.php:
<?php
include 'securimage.php';
$img = new Securimage();
header('Content-type: audio/x-wav');
header('Content-Disposition: attachment; name="securimage.wav"');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Expires: Sun, 1 Jan 2000 12:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . 'GMT');
echo $img->getAudibleCode();
exit;
?>
Redagavo Autoaina· 2012 Lap. 5 18:11:39