כתבתי בקובץ
<?php
$url = $_GET['url'];
$a = $_GET['a'];
$b = $_GET['b'];
$c = $_GET['c'];
if ($url == NULL) {
print "read=t-לא מוגדרת כתובת &go_to_folder=/1";
exit();
}
if ($a == NULL) {
print "read=t-אנא הקש את 1=a,,,100,1,50,HebrewKeyboard,,,,,,,InsertLettersChangeLanguageNo,";
exit();
}
if ($b == NULL) {
print "read=t-אנא הקש את 2=b,,,100,1,50,HebrewKeyboard,,,,,,,,";
exit();
}
if ($c == NULL) {
print "read=t-אנא הקש את גוף 3=c,,,100,1,50,HebrewKeyboard,,,,,,,,";
exit();
}
$get_url = curl -L ("$url'?1='$a'&2='$b'&3='$c");
print $get_url;
print "go_to_folder=/1";
?>
התשובה שאני מקבל היא:
Notice: Undefined index: url in /storage/ssd3/502/17270502/public_html/SendEmail/SendEmail.php on line 2
Notice: Undefined index: a in /storage/ssd3/502/17270502/public_html/SendEmail/SendEmail.php on line 3
Notice: Undefined index: b in /storage/ssd3/502/17270502/public_html/SendEmail/SendEmail.php on line 4
Notice: Undefined index: c in /storage/ssd3/502/17270502/public_html/SendEmail/SendEmail.php on line 5
read=t-לא מוגדרת כתובת &go_to_folder=/1
ובמערכת אני שומע שקט