I get an undefined index, and consequently a "headers already sent". But that's 
because i have "error_reporting  =  E_ALL &
~E_NOTICE" on my php.ini...

Anyway, same thing happens with records.php. The parse_soa($soa) function tries 
to compare $soa['ttl'], which is not empty in the
case, simply does not exist because it was not pushed previously into $array.

--- records.php 2005-02-09 19:44:41.000000000 +0000
+++ records.php.1       2005-02-15 04:40:59.000000000 +0000
@@ -480,6 +480,7 @@
     // Build array
     $array['host'] = 
$_REQUEST['contactaddr'].':'.$_REQUEST['primary_name_server'];
     $array['val'] = 
$_REQUEST['refresh'].':'.$_REQUEST['retry'].':'.$_REQUEST['expire'].':'.$_REQUEST['minimum'];
+    $array['ttl'] = $_REQUEST['ttl'];

     $return = parse_soa($array);

br,
r


> -----Original Message-----
> From: Bill Shupp [mailto:[EMAIL PROTECTED] 
> Sent: ter�a-feira, 15 de Fevereiro de 2005 4:40
> To: [email protected]
> Subject: Re: [users] VegaDNS 1.1.0 - development branch
> 
> Rodrigo Borges Pereira wrote:
> 
> >SOA edit:
> >
> >--- default_records.php 2005-02-09 20:12:04.000000000 +0000
> >+++ default_records.php.1       2005-02-15 04:31:19.000000000 +0000
> >@@ -330,6 +330,7 @@
> >     // Build array from $_REQUEST
> >     $array['host'] = $_REQUEST['tldemail'].':'.$_REQUEST['tldhost'];
> >     $array['val'] = 
> >$_REQUEST['refresh'].':'.$_REQUEST['retry'].':'.$_REQUEST['ex
pire'].':'
> >.$_REQUEST['minimum'];
> >+    $array['ttl'] = $_REQUEST['ttl'];
> > 
> >     $return = parse_soa($array);
> >  
> >
> I don't get this one.  What is the symptom?  Editing default 
> records works fine for me.
> 
> Regards,
> 
> Bill
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to