On Friday 04 February 2005 2:23 pm, Ing. Branislav Gerzo wrote: > Paul Archer [PA], on Friday, February 4, 2005 at 08:14 (-0600 (CST)) > > thinks about: > >> I think he means that he wants his perl to generate HTML > >> containing PHP. > > PA> Understood. My point was more along the lines of: "What do you > really want PA> to do, and why don't you state that clearly, instead > of making us PA> mind-read?" > > ok, sorry then. We have website done with PHP, it did my brother. But > I'm more into perl, so I did some scripts. Website is about checking > IPs (if it is up, and so on), so I wrote script for that. Ok, now my > problem: > > user come to website, write in textbox some IPs, I want send this > input to my perl script (parse that text, takes IPs, do operation > with them - insert them to database, check them...), and send results > via _PHP_ to user. > > Thanks to all for replies!
Okay, so you've got the perl script to generate a response to the ping but you want the PHP engine to format the resulting HTML page? Back to my original answers 1) convert the PHP to perl and get perl to generate the final HTML page 2) have the perl CGI perform the required task and store the result somewhere, then generate a HTTP redirector pointing to a PHP page which reads that response from wherever it was stored. -- Gary Stainburn This email does not contain private or confidential material as it may be snooped on by interested government parties for unknown and undisclosed purposes - Regulation of Investigatory Powers Act, 2000 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>