CGI within PHP

They have: 37 posts

Joined: Apr 2000

Thanx, i'll try that Smiling

------------------
Dan
The World of Dan

They have: 37 posts

Joined: Apr 2000

I think that I already know how to do this, but I was wondering if you could help me anyway.

I'm going to have a site that runs on PHP3/4

On the main page it will have a news feature which will be powered by a CGI called NewsPro, the newspro files will be held externally for importion into the main page (if you understand that you will understand anything Smiling

Now if I was using SSI I would just do a call to the file, but how would I do it with PHP.

Would I just use a require or an include command or somthing like that??

Thanx in advance.

Dan

They have: 334 posts

Joined: Dec 1999

Try:

<?PHP virtual('/cgi-bin/filename.cgi')?>

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.