Jump to content

denn0n

Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

About denn0n

  • Rank
    Newbie
  1. that's irrelevant, how dare you say no use object tags? and use iframes !! the problem it is really simple , i need an a function on the file called from the object or iframe tag could call an a other function on the fathers document and the opposite ways to, I apretiate your intention Foxy but i will appretiate more if you help me to get this i need
  2. Hi everyone. I'm having a problem, this it will be an example about what I'm trying to do the principal document is index.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252" /> <title>My Website</title> <script type='text/javascript' src='js1.js'></script> </head> <html> <object type="text/php" data="contents.php" border="0"></object> </html>
  3. i do apreciate your help thescientist but it is solve , between you have right and other things, the paths to the commands have to be full and for some init process on ubuntu you should put sudo before and the error log it is a great ideai put this afther the comand on cron to get a new file log error 2>/var/log/crontab.err
  4. Hello everyone, I'm new to this forum, I have the next problem I hope someone can advise. I have a php script I need to run from cronjobs. This script contains some commands shell_exec, fairly simple and the output is directed to a file, from the webmin module cronjobs goes well but when running from cron, the commands shell_exec stops working the cronjob is * * * * * php /some/path/myscript.php to make it easy #!/usr/bin/php -q <?php $iptables=shell_exec('iptables -S '); $file_name="/some/path/out_test.txt"; $ar=fopen("$file_name","w"); fputs($ar,$iptabl
×
×
  • Create New...