Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F120015963
test.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Jul 1, 09:08
Size
753 B
Mime Type
text/x-php
Expires
Thu, Jul 3, 09:08 (2 d)
Engine
blob
Format
Raw Data
Handle
27121184
Attached To
R6831 Tequila PHP client
test.php
View Options
<?php
require_once
(
"tequila.php"
);
$client
=
new
TequilaClient
(
"https://tequila.epfl.ch"
,
86400
,
"Les Élèves vont à l
\'
école"
,
"http://localhost:8000/test.php"
);
$client
->
authenticate
(
array
(
'name'
,
'firstname'
,
'unit'
,
'unitid'
,
'where'
,
'group'
,
'email'
,
'title'
),
// "org=EPFL&firstname=John&unit=SC-PME&where=SC-PME/SC-S/ETU/EPFL/CH&group=inbc"
);
echo
<<<
EOT
<
html
>
<
head
>
<
title
>
Test
Tequila
</
title
>
</
head
>
<
body
>
<
h3
>
Test
Tequila
:</
h3
>
<
pre
>
EOT
;
echo
"
\n
Cookies = "
;
print_r
(
$_COOKIE
);
echo
"
\n
Session = "
;
print_r
(
$_SESSION
);
echo
<<<
EOT
</
pre
>
<
p
>
<
a
href
=
"{$_SERVER['PHP_SELF']}"
>
Test
session
key
</
a
><
br
/>
</
body
>
</
html
>
EOT
;
Event Timeline
Log In to Comment