[TYPO3-english] passing TScript Var to PHP
    La Farge Douglas 
    doug at gcnpublishing.com
       
    Fri Jan  9 20:51:24 CET 2009
    
    
  
I have the following setup in a template for a set of pages:
includeLibs.notification = fileadmin/sap_resource_notification.php
page.1000 = USER_INT
page.1000.userFunc = user_resource_notification->notify
What I'd like to be able to do is pass a variable from the TScript  
constants to the PHP script via the above call.
so in Constants:
url = http://foo.com
in Setup (I realize this isn't proper syntax):
includeLibs.notification = fileadmin/php/resource_notification.php
page.1000 = USER_INT
page.1000.userFunc = user_resource_notification->notify({$url})
in PHP:
$url = 'url passed in from TScript setup'.
IS anything like this possible?  Is there another way to do this?
thanks,
doug
-+-+-+-+-+-+-+-+-+-+-+-+-+
Doug La Farge
GCN Publishing, Inc.
203.665.6211 x209
928.699.0663 (cell)
Internet Software & Services For Today's Media Companies
www.gcnpublishing.com * www.bg2go.com
    
    
More information about the TYPO3-english
mailing list