Ignore:
Timestamp:
May 29, 2007, 11:28:41 PM (17 years ago)
Author:
andersk
Message:
urlencode some stuff.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • locker/sql/bin/create-database

    r131 r326  
    44list($h,$u,$p) = explode("\t",`/mit/scripts/sql/bin/get-password`);
    55$d = $argv[1];
    6 $create_r = explode(',',file_get_contents("http://sql.mit.edu/~sql/main/do/batch/create_db?d=$d&u=$u&p=$p"));
     6$create_r = explode(',',file_get_contents('http://sql.mit.edu/~sql/main/do/batch/create_db?d=' . urlencode($d) . '&u=' . urlencode($u) . '&p=' . urlencode($p)));
    77$return_r = array_shift($create_r);
    88$created = implode(',',$create_r);
Note: See TracChangeset for help on using the changeset viewer.