CGI query strings in MT?
November 14, 2005 5:32 PM   Subscribe

I'm doing some Movable Type development. I'd like to add a custom query string to the normal mt-search strings. I was hoping to use PHP to do something with the string, but unfortunately I can't run PHP in the CGI files. Any options? I'm not a CGI writer, so I may be missing something obvious.
posted by o2b to Computers & Internet (6 answers total)
PHP as of 4.[something] has a command-line binary that you could call directly from your cgi. I don't know anything about MT's internals (not even what language it's written in), so I can't give any more specific advice.
posted by boaz at 6:11 PM on November 14, 2005

Thanks for the links. I've tried the Inman technique, and even the folks at Rackspace can't help me make it work.

I'll keep trying the others, but that looked the most promising.
posted by o2b at 7:42 PM on November 14, 2005

Can you be more specific about what you want?

Give us an example -- the URL before and after.
posted by AmbroseChapel at 7:45 PM on November 14, 2005

Oh, and which version of MT.

And what exactly happens when you try the Inman technique?

Now I've read the Inman page, the point of it is to have a search-results page which has working PHP includes in it. But that doesn't appear to be what you want.
posted by AmbroseChapel at 7:50 PM on November 14, 2005

Never mind -- the reason I wanted the PHP is incredibly minor, and not worth the effort (an hour on the phone with Rackspace).

I've used javascript instead :)
posted by o2b at 11:17 AM on November 15, 2005

« Older Which linux distro for a mac?   |   BartenderFilter: Manhattan Newer »
This thread is closed to new comments.