FRONTEND GOLDFISH

12 views
Skip to first unread message

rated-x

unread,
Jul 6, 2009, 11:32:33 PM7/6/09
to goldfish-user
Anyone know whats this problem?

PHP Notice: Undefined index: azione in /srv/www/htdocs/webmail/src/
autoreply.php on line 38, referer: ../../webmail/src/autoreply.php


Thanks,
JR

rated-x

unread,
Jul 7, 2009, 3:40:57 AM7/7/09
to goldfish-user

i manage to make it work thanks for the goldfish it help a lot...
to avoid confusion i put in a single container so that it would be
easy to insert
and now its working :)


if ($_POST['azione'] == "UPDATE") {
$result = mysql_query("delete from autoresponder where email = '" .
$testusername . "'");
$df = $_POST['yyf'] . "-" . $_POST['mmf'] . "-" . $_POST['ddf'];
$de = $_POST['yye'] . "-" . $_POST['mme'] . "-" . $_POST['dde'];
$mes = str_replace("'","''",$_POST['message']);
$stat = $_POST['enabled'];
$sub = str_replace("'","''",$_POST['subject']);
$result = mysql_query("insert into autoresponder values
('$testusername','Auto Responder','$df','$de','$mes',$stat,'$sub')");

paolinux

unread,
Jul 7, 2009, 3:44:54 AM7/7/09
to goldfish-user
very good. Excellent.

Ciao Paolo
Reply all
Reply to author
Forward
0 new messages