It must be obvious, but I can\'t figure it out. I spent almost a whole day for this. I\'ll gladly buy a beer to someone who can lighten me.
On my server I have a directory with music files, generally in .mp3 format. I\'m writing a web application to search for and play these tracks.
I am using mod_xsendfile on Dreamhost to download large zip files (50mb+) I have mod_xsendfile enabled, and \"XSendFile on\" in my .htaccess.
I\'m making a program, and I want to be able to store questions and answers in a text file. What I\'m doing right now is separating the different question/answer combos by a new line, and separating t
How can I see all the images (*.jpg and *.png) in a folder, in my website? All I can give is th开发者_Python百科e location of the folder, but that is relative.
I am having trouble with updating my tableView. In the tableView of the popover managed by the rootviewcontroller, some items in my documents directory are displayed. In the detailViewcontroller, i c
I want to store the ASCII value of a letter into a variable, how can I do this? for example : r ASCII variable = 82
I\'m just wondering how I can use the name of a variable to set a file name in PHP? When I run the following code:
I want to write a php script to download some files(extensions - .apk, .dcm, .pdf, .zip etc...) on mobile browsers. I have written a php code to download those files and it is working fine on all the
For making the file name unique, I use this code to add an unique id at the end of filename: if (!file_exists(\"data/$filename\")) {$savingfile=$filename;} else {$savingfile=\"$filename-2\";}