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

    Join Date
    May 2000
    Posts
    10
    Rep Power
    0

    Is it possible to process a PHP script from within another?

    I have produced a list of staff from a LDAP database called zlaty.php3. This list only contains part of the full database record for each member of staff.

    I have another script called seznam2.php3, which lists the full record against parameters input.

    I require the facility to be able to obtain the full record from my telephone list when required. I want to code a function to process seznam2.php3 using a unique identifier that I pass from each record
    ($zkratka). But I can't find how to process seznam2.php3

    I want to avoid recreating the code from seznam2.php3 in zlaty.php3.

    Thanks for any help


    Tony
  2. #2
  3. .Net Developer
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2000
    Location
    London
    Posts
    987
    Rep Power
    15

    probably you can use exec() function for doing this.

    ------------------
    SR -
    shiju.dreamcenter.net

    "The fear of the LORD is the beginning of knowledge..."

Similar Threads

  1. php script won't work inside "cgi-local" directory
    By Volitics in forum PHP Development
    Replies: 5
    Last Post: April 26th, 2004, 11:50 PM
  2. Replies: 2
    Last Post: February 11th, 2004, 12:03 AM
  3. Replies: 10
    Last Post: February 9th, 2004, 10:51 AM
  4. Apache Error : Unable to fork new process??
    By Nicolino07 in forum Apache Development
    Replies: 0
    Last Post: February 5th, 2004, 12:14 PM
  5. How can I enable a power user to run this script?
    By Yamadatroy in forum Visual Basic Programming
    Replies: 2
    Last Post: January 19th, 2004, 10:39 PM

IMN logo majestic logo threadwatch logo seochat tools logo