This file is indexed.

/usr/share/php/xajax/examples/xul/xulServer.php is in php-xajax 0.5-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?php
/*
	File: xulServer.php

	Example which demonstrates a XUL application with xajax.  XUL will only
	work in Mozilla based browsers like Firefox.
	
	Title: XUL Example - Server
	
	Please see <copyright.inc.php> for a detailed description, copyright
	and license information.
*/

/*
	Section: XUL example
	
	- <xulServer.php> (this file)
	- <xulClient.xul>
	- <xulApplication.php>
*/

/*
	@package xajax
	@version $Id: xajax.inc.php 362 2007-05-29 15:32:24Z calltoconstruct $
	@copyright Copyright (c) 2005-2007 by Jared White & J. Max Wilson
	@copyright Copyright (c) 2008-2009 by Joseph Woolley, Steffen Konerow, Jared White  & J. Max Wilson
	@license http://www.xajaxproject.org/bsd_license.txt BSD License
*/

/*
	Section: Standard xajax startup
	
	- include <xajax.inc.php>
	- instantiate main <xajax> object
*/
	require_once("../../xajax_core/xajax.inc.php");
	$xajax = new xajax();

	/*
		Function: test
		
		alert 'hallo', then update the testButton's label to 'Success'
	*/
	function test() {
			$objResponse = new xajaxResponse();
			$objResponse->alert("hallo");
			$objResponse->assign('testButton','label','Success!');
			return $objResponse;
	}
	
	/*
		- Register the function <test>
	*/
	$xajax->register(XAJAX_FUNCTION,"test");
	
	/*
		Section: processRequest
	*/
	$xajax->processRequest();
?>