I've done the searching and even in the "View Source" the results do not show up. When I run the script from the command line the results look fine, no errors.
The browser is Mozilla running on Fedora 3.
The code:
<?php
$command = "/usr/bin/mysql -u root -pxxxxxxxx < mydbtest.txt | sed /Database/d | sed /mysql/d | sed /test/d";
$dblist = exec($command, $db);
foreach($db as $list) {
print "The following link is for the Results contained in Database <a href=ipsh.php?database=$list>$list</a> scanned on:<br>";
mysql_connect("xxx.xxx.xxx.xxx", "root", "xxxxxxx");
$timedate = mysql_query(
"select timestamp from $list.timestamps where id = 1");
while ($row = mysql_fetch_assoc($timedate)) {
$date = $row["timestamp"];
print "<b>$date</b>";
}
print "<br><br><br><br>";
}
?>
This whole area does not show up in "View Source" or the browser, but run command line and everything looks good.
Any assistance will be greatly appreciated.
Thanks,
cmarchman
The browser is Mozilla running on Fedora 3.
The code:
<?php
$command = "/usr/bin/mysql -u root -pxxxxxxxx < mydbtest.txt | sed /Database/d | sed /mysql/d | sed /test/d";
$dblist = exec($command, $db);
foreach($db as $list) {
print "The following link is for the Results contained in Database <a href=ipsh.php?database=$list>$list</a> scanned on:<br>";
mysql_connect("xxx.xxx.xxx.xxx", "root", "xxxxxxx");
$timedate = mysql_query(
"select timestamp from $list.timestamps where id = 1");
while ($row = mysql_fetch_assoc($timedate)) {
$date = $row["timestamp"];
print "<b>$date</b>";
}
print "<br><br><br><br>";
}
?>
This whole area does not show up in "View Source" or the browser, but run command line and everything looks good.
Any assistance will be greatly appreciated.
Thanks,
cmarchman