Find the answer to your Linux question:
Results 1 to 2 of 2
In my php script i use virtual() to run my perl script from which I would like to get a n array variable to be used in php. Is this ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2003
    Posts
    27

    Pass variable to php


    In my php script i use virtual() to run my perl script from which I would like to get a n array variable to be used in php. Is this possible?

    I used virtual() cos php does not have Net::Telnet function. I got a result from it and saved it to a variable array. So I need to now pass it back to the php script to be used in php.

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    I wouldn't bet that that's possible. Instead of calling a perl program for a telnet connection, can't you use the fsockopen in PHP?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •