Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Codesse

    Change IP address of Server via PHP

    AHHH! ifconfig only makes temporary change to IP address. When the box is rebooted it reverts back to the old ip address. I give up.... Any OS X or Unix experts have any advice. Thanks.
  2. Codesse

    Change IP address of Server via PHP

    I did chmod 440 /etc/sudoers Now the ifconfig will work by the command line, but it still doesn't work through php. I think I am on the right track now. Thanks for your help!
  3. Codesse

    Change IP address of Server via PHP

    I used pico. That might be my problem. Do I have to chmod the file after I pico it?
  4. Codesse

    Change IP address of Server via PHP

    I have tried the: $command = "sudo ifconfig en0 $newip"; however it fails. When I attempt that command directly on the command line it requires you to enter a password. However, in my sudoers file I placed: www ALL=(root) NOPASSWD: /sbin/ifconfig Shouldn't this allow Apache to run...
  5. Codesse

    Change IP address of Server via PHP

    I tried to modify the sudoers file to allow the "www" to access the ifconfig, but I still am getting a "permission denied". Do I have to use chmod on the directory or ifconfig file? I am new at OS X so I don't know how to properly set the permissions or the ramifications of setting those...
  6. Codesse

    Change IP address of Server via PHP

    I am running apache with php5 on mac OS X. My application requires the ability to enable a user to change the IP address of the server through a web interface. Is there a slick method that can use PHP to shell_exec to the OS X system to modifiy the IP address? I tried using IFCONFIG, but it...
  7. Codesse

    WebBrowser Control

    foada, I checked my development system and it is using IE v5.5. The target machine is using IE v6.0. It was actually using v5.5, but they upgraded to v6.0 after installing my software. The shdocvw.dll that is in the system directory was a newer version. I need to check to determine what...
  8. Codesse

    WebBrowser Control

    foada, The user deleted the shdocvw.dll that I provided and the problem still exists. Do you have any other advice? Thanks
  9. Codesse

    WebBrowser Control

    Thank you for the information. I will have the user delete the shdocvw.dll that I provided in the installation. Thank you.
  10. Codesse

    WebBrowser Control

    I have an application that uses the Microsoft WebBrowser control for Visual Basic 6. I have one user that has Windows ME OS and the webbrowser control only works when she opens the Internet Explorer. I know that the webbrowser control is dependant on the Explorer dll's, but I can not figure...

Part and Inventory Search

Back
Top