cURL for .PHP

I am working to parse data from a page listed as .com/searchresults.php. The result of my do shell script cURL is “”. Is there any way to capture the page source code so I can parse with Applescript’s text item delimiter?

noob so be gentle.

thanks!

Steve

PHP source codes can’t be viewed unless you deassign the extension from the module or turn the php module off. That’s because the PHP code is never been send over the network but the result of interpretation of the file(s) is send to the user.

So if curl only shows you “” then there is really nothing send back from the server to the client except from HTTP headers.

I found a workaround by simply using system events to view the source code, select it all, copy and set a variable to the clipboard. Not elegant, but worked well.

thanks!

Steve