FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » My first PHP Script...
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
My first PHP Script... [message #175797] Wed, 26 October 2011 23:26 Go to previous message
SpreadTooThin is currently offline  SpreadTooThin
Messages: 3
Registered: October 2011
Karma:
Junior Member
Hi, I'm a seasoned programmer that needs to do this one program and
then I'll probably never program in PHP for another 5 years....

I have a perl script that was created by another programmer, who is
long gone...
I need to take the output of that script and then 'massage' it so that
the data can be formated and displayed to my liking..

The script is

http://myserver/cgi-bin/path/deptlist.pl?dept=HR

This script gives me a phone list of all the people in HR except the
color coding is terrible.
So pardon my ignorance here but this is where I was told to start...

<?php
include_once "deptlist.pl";
?>

Not much to go on, but is there a way to get the output of the script
into a string variable and then parse the string and produce the
output to my liking?

Should i be attempting this in PHP or should I perhaps try java
script?

Get me started and I'll figure out the rest....
Thanks.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: populating a list box problem
Next Topic: Simple PHP script - VMS problem
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 03:34:47 GMT 2024

Total time taken to generate the page: 0.04445 seconds