file:///Users/[user]/Library/Application%20Support/iPhone%20Simulator/7.0/Applications/[session
id]/Upload%20test.app/file.txt
Ich verwende diesen Code, um den Inhalt der Datei zu lesen:
Code: Select all
$url = "someurl";
$file = fopen($url, "rb");
$filename = $id;
$newfile = fopen($filename, "wb");
echo "File path: ".$url."
";
echo "File contents:
";
echo file_get_contents($url);
Mobile version