added curl to PHP