IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 22, 2026, 5:16:15 PM (3 months ago)
Author:
eugene
Message:

fixing for modern PHP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-pstamp-20260421/pstamp/web/upload.php

    r42994 r42996  
    7272           if ($size > 0) {
    7373      //      echo "Uploaded $size bytes for '$type' file '$name' as '$tmp_name'<br />";
    74             $command = "$SCRIPT pstamp_insert_request.pl --tmp_req_file $tmp_name --dbname $dbname --dbserver $dbserver --workdir $WORKDIR";
     74            $command = "$SCRIPT pstamp_insert_request.pl --tmp_req_file $tmp_name --dbname $PS_DATABASE --dbserver $PS_HOSTNAME --workdir $WORKDIR";
    7575            } else {
    7676                echo "Error: Received 0 bytes for file '$name' <br />\n";
     
    134134echo "<br />\n";
    135135
    136 // listRequests("http://datastore.ipp.ifa.hawaii.edu", "pstamp_results_fileset");
    137 listRequests("http://datastore.ipp.ifa.hawaii.edu/ds", "pstamp_results_fileset");
     136listRequests($DS_URL, "pstamp_results_fileset");
    138137
    139138echo "<br />\n";
Note: See TracChangeset for help on using the changeset viewer.