Reply To: Eyetracking experiment: Uploading and downloading material to server

PennController for IBEX Forums Support Eyetracking experiment: Uploading and downloading material to server Reply To: Eyetracking experiment: Uploading and downloading material to server

#9932
Jeremy
Keymaster

Hi Sanghee,

You don’t need to edit the PHP script. The lines you posted here just create an input field for when you visit the PHP page in your browser, in which you can enter the value that will be reported in the experiment’s results file to retrieve the eye-tracking data of the corresponding participant

The PHP script will create a subfolder named after the URL of the eye-tracking experiment, and will place one file containing compressed data per participant in that subfolder; the PHP script will uncompress the data for you, either when you visit the page in your browser, or when you directly fetch the URL by passing a parameter as illustrated in the R script

You need to replace http://files.lab.florianschwarz.net/ibexfiles/RecordingsFromIbex/EyeTracker.php with the URL that points to your PHP script, not necessarily the experiment‘s URL: if your experiment is at https://my.server.xyz/myproject/ but your PHP file is at https://my.server.xyz/myscripts/EyeTracker.php, then you should use the latter (ie. ETURL = "https://my.server.xyz/myscripts/EyeTracker.php?experiment=")

In your case, after I looked up your project’s script, you should use ETURL = "https://mondo1.dreamhosters.com/script.php?experiment=" — also, make sure to replace the sftp path you reference in EyeTrackerURL to use the https path I just reported here: EyeTrackerURL("https://mondo1.dreamhosters.com/script.php")

Jeremy