Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Trigger a CGI file from inside PHP

Avatar of cannonarm
cannonarm asked on
8 Comments1 Solution520 ViewsLast Modified:

I need some help ... I am converting my website from Perl to PHP ... I am almost done ... but I have to run a cgi script that cannot be converted to php ... I have PHP Version 4.3.11 on Fedora ... the cgi script is on the same box ... I am desperate to run this script

i tried this:

$cgi_string = "http://www.mywebserver.com/cgi-bin/convert_stuff.cgi";
$result = file_get_contents($cgi_string);

file_get_contents is taking forever , it is timing out ... convert_stuff.cgi works when i run it thru the browser ... convert_stuff changes a bunch of tables in the database , and changes are correct when ran thru the browser ... for the life of me i cannot get it to work inside php code ... please help

Avatar of TeRReF
TeRReFFlag of Netherlands image

Our community of experts have been thoroughly vetted for their expertise and industry experience.

This problem has been solved!
Unlock 1 Answer and 8 Comments.
See Answers