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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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"

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.