#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Posts
    6
    Rep Power
    0
    hello! i am back with a new question!
    i am working with a dynamic dns script.
    in this script i want word parsing..
    like in the name records it is
    blabla.xermin.com. IN A 1.1.1.1
    on the page i want like

    blabla.xermin.com -> 1.1.1.1
    and the users may edit blabla.xermin.com to bladibladi.xermin.com (IF bladibladi.xermin.com is avilable, else exit.
    and when the new hostname is maked
    i want to send 'ndc reload' to the shell..
    is anyone able to help me?
    -thanks-
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Location
    London/UK
    Posts
    91
    Rep Power
    14
    You may get some major problems with this as I'm guessing PHP is running as Nobody or similar user with negligable rights, for obvious reasons.

    I suggest that you cron a separate script that does the NDC reload - say - twice a day. Run this one as root

    hth

    Bealers

    ------------------
    http://back-end.org

Similar Threads

  1. help with tables and wordwrapping
    By junkedBrian613 in forum PHP Development
    Replies: 2
    Last Post: February 15th, 2004, 05:42 PM
  2. extracting text from pdf files online
    By igiveadamn in forum Perl Programming
    Replies: 2
    Last Post: February 13th, 2004, 04:09 PM
  3. Simple find and replace word search for a text file with php?
    By rabid lemming in forum PHP Development
    Replies: 4
    Last Post: February 1st, 2004, 09:37 PM
  4. how to keep table on top, not centered??
    By vinyl in forum HTML Programming
    Replies: 2
    Last Post: January 20th, 2004, 06:19 PM
  5. float question
    By yeah-yeah in forum HTML Programming
    Replies: 10
    Last Post: January 15th, 2004, 03:59 PM

IMN logo majestic logo threadwatch logo seochat tools logo