User Profile

Collapse

Profile Sidebar

Collapse
harisinfo
harisinfo
Last Activity: Nov 2 '06, 10:09 AM
Joined: Oct 27 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • harisinfo
    replied to exec(), system(), chdir() problem
    in PHP
    Hi,

    just checked the php.ini settings but it seems safe mode is off, any reason. I also restarted Apache. hmmmm any reason why this is not working on this server?

    Thanks again
    See more | Go to post

    Leave a comment:


  • harisinfo
    replied to exec(), system(), chdir() problem
    in PHP
    Hi,

    I am fairly new to this so if you could let me know what am I doing wrong as when I moved this script to another server it seems to work.

    Thanks
    See more | Go to post

    Leave a comment:


  • harisinfo
    started a topic exec(), system(), chdir() problem
    in PHP

    exec(), system(), chdir() problem

    Hi everyone,

    I have a very strange problem when trying to run a simple php script:

    ob_start();
    $e=chdir("/usr/lib") or die("Could not change directory");
    echo getcwd();
    ob_end_flush();

    when I run it through command line, it gives me /usr/lib/ but when I run it through the browser it always shows my current web directory where the script is located. I tried using...
    See more | Go to post
No activity results to display
Show More
Working...