Jump to content

[SOLVED] Call GetId3 from inside a CGI file?


pianoman993

Recommended Posts

Hello PHP gods, I have a small question for you!

 

I have a small CGI application that uploads audio files. I would like it to check each file it uploads to see how long it is. That is were my GetID3 question comes in. (GetID3 is a PHP script that allows the user to see how long (seconds) a file is).

 

Is it possible to call to use GetID3 in a CGI file? If so please post any code that would help me understand this. Thank you so much. :)

 

Any help is greatly appreciated!!

- Pianoman993

I'm not exactly sure what laungage, and I might have a change at converting it... if I had the experience haha.

 

But is it possible to maybe redirect the browser at the end of the CGI file to a PHP file with $_GET URL variables?

 

If so could someone show me what the code for a CGI redirect would look like?

 

- Pianoman993

Possibly, if I had the expertise haha.

 

But is it possible to maybe redirect the browser at the end of the CGI file to a PHP file with $_GET URL variables?

 

If so could someone show me what the code for a CGI redirect would look like?

 

- Pianoman993

 

That is a CGI question...probably best posted at a CGI Forum, cause CGI can be written in a couple different languages (if I remember right). I know it can be written in Perl and I think C++ (not sure on the C++).

 

But yea, it depends on what language it was written in etc. You can google just as well as I can, honestly. Search "Redirect with CGI and Request Variables"

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.