Retrieve filename from NSURL

The code below should work. Updated it so I removed the top statement. I could’ve used NSString vs const char * or std::string from C++ but thought C Character Pointers would be quite appropriate for this case in point. Also revamped this so it’s in it’s own concise function: -(NSString*) extractFile:(const char*) url { NSURL … Read more

NSURL path vs absoluteString

Question 1: What is the actual difference between these methods? Let’s analyze this writing 6 lines of code – 3 for a local and 3 for http URL – and playing around with them a little bit. Let’s create an NSURL using the file:// scheme. If you ask yourself why there are 3 / after … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)