Help Desk Software & Beyond
May 17, 2012, 03:55:06 AM *
Welcome, Guest. Please login or register.
To post messages you need to register. We apologize for inconvenience, but this is to prevent spam.
Registration is instant (no email verification) and we do not ask for any personal information.

Login with username, password and session length
News: Welcome to Help Desk Software forum!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: [INFO] PHP with Trouble Ticket Exp. (No Go)  (Read 2222 times)
cullinanweb
Newbie
*

Karma: 0
Posts: 1


View Profile
« on: February 12, 2007, 05:49:37 AM »

Hi there,

I am trying to design a client zone for my web design and hosting clients to get in touch with me, log support tickets etc and a host of other stuff.

This app is designed in php and I am hoping to use TTX with this for the support calls. However to maintain user login form my site I need to miantain sessions. Does TTX support the php language in the templates?

Any help would be appreciated. I can give more info if required.
« Last Edit: March 22, 2008, 02:53:35 PM by sparky672 » Logged
Alex
Administrator
Hero Member
*****

Karma: 22
Posts: 605



View Profile WWW
« Reply #1 on: February 12, 2007, 06:35:38 AM »

Trouble Ticket Express does not support PHP in templates. You can try using PHP modules from CPAN

http://search.cpan.org/~gschloss/PHP-Interpreter-1.0.1/lib/PHP/Interpreter.pm
http://search.cpan.org/~karasik/PHP-0.10/PHP.pm

or parsing output of ttx.cgi via CLI, however you may have to rebuild complete CGI context in order to use some built-in features of PHP. As I understand session support assumes CGI (rather than command line) environment.

You may also try wrapping ttx.cgi ino PHP code using Perl package:

http://pecl.php.net/package/perl
Logged

Follow me on: LinkedIn
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1 RC3 | SMF © 2001-2006, Lewis Media Valid XHTML 1.0! Valid CSS!
Page created in 0.021 seconds with 18 queries.