| 
			
			 | 
		#1 | 
| 
			
			
			
			 Guru 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 978 
				Karma: 3475832 
				Join Date: May 2012 
				Location: France 
				
				
				Device: Elipsa, Sage, Libra 2 
				
				
				 | 
	
	
	
		
		
			
			 
			
			Today is the second time in as many days I encountered a php format (the n°18 in GeorgeH's Harvard classics series today). It seems to be a new "thing". Does Calibre plan to add it to its recognised formats? If not does anybody know how to convert it to epub before feeding it into Calibre? 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I've googled it but am a bit lost in the mountain of references. Thanks in advance.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 250 
				Karma: 20386 
				Join Date: Sep 2010 
				Location: France 
				
				
				Device: Bookeen Diva, Kobo Clara BW 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Can you point towards a 'php' ebook file?  Because for me, PHP is a script language, not an ebook format...
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#3 | |
| 
			
			
			
			 US Navy, Retired 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,897 
				Karma: 13806776 
				Join Date: Feb 2009 
				Location: North Carolina 
				
				
				Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 I suspect if you rename it the name it should have (Harvard Classics Volume 18 - Dryden, Sheridan, Goldsmith, Shelley, Browning, Byron.epub) then it will be just fine.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | |
| 
			
			
			
			 Guru 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 978 
				Karma: 3475832 
				Join Date: May 2012 
				Location: France 
				
				
				Device: Elipsa, Sage, Libra 2 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 EDIT: I just realised I download with Mozilla Firefox whenever there are captchas, I'll have to check whether it might be systematic with Internet. Also I forgot to mention that whatever the book, its name is attachment.php EDIT2: A Gutenberg book just downloaded normally with Internet. I'll have to mention it to GeorgeH. Last edited by anacreon; 12-14-2013 at 12:07 PM.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 .... 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,547 
				Karma: 18068960 
				Join Date: May 2012 
				
				
				
				Device: .... 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I have also noticed this when downloading epubs from the MobileRead Library with IE11. Typically when IE cannot securely identify an epub's file type from the server end doc-type and file sniffing it will give the file the safe extension of .zip (epubs being zips, of course) and I don't recall coming across it giving them a .php extention before. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	As you say, it also changes the file name to "attachment" so all epub files from MR Library become attachment.php which seems to be extracted from the webpage link; however, if mobileread.com is added to IE11's compatability view list then epubs from there are named and downloaded correctly. I don't know if this is some issue at the server end that IE11 is tougher on than earlier versions for security reasons, in which case I would have expected it to name epub files as .zips, or is just a glitch in IE11 or a matter at the server of a type that IE11 is designed to be intolerant of. (Chrome, for example, seems to not be affected)  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#6 | 
| 
			
			
			
			 null operator (he/him) 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,018 
				Karma: 30277294 
				Join Date: Mar 2012 
				Location: Sydney Australia 
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Another source of '.php' dowloads its that some sites will a small download.php file if you download using anything but the browser "Save link/target as", i.e. a via some sort of download manager.   
		
	
		
		
		
		
		
		
		
		
		
		
		
			Its a tactic that's sometimes used to prevent 'mass downloading'. I think I've got them at MR when I've tried to d/l some attachments using Free Download Manager. BR Last edited by BetterRed; 12-14-2013 at 07:40 PM. Reason: clarity  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | |
| 
			
			
			
			 .... 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,547 
				Karma: 18068960 
				Join Date: May 2012 
				
				
				
				Device: .... 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Not sure if this was understood or not (as it isn't exactly clear from the OP's and my posts) so mentioning it just in case, but the file attachment.php that is downloaded is in fact the epub itself not the "blahblah.php" one. Just renaming it to an epub is all that is required. However, the matter you raise may be the root of a glitch and is one I had not thought of. John  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#8 | |
| 
			
			
			
			 null operator (he/him) 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,018 
				Karma: 30277294 
				Join Date: Mar 2012 
				Location: Sydney Australia 
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 I think I can recall getting them here when downloading some of MiniMouse's blank covers - had to get them one at a time ![]() I just remembered that the 'blahblah.php' is quite often (always ?) 'download.php'. I use external download managers because large downloads - eg iso's from MS - can take a long time, I also like to have the freedom to restart my browser at any time. I'll tweak my prior post Cheers BR  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#9 | 
| 
			
			
			
			 .... 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,547 
				Karma: 18068960 
				Join Date: May 2012 
				
				
				
				Device: .... 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Understood BR. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Also adding to my After a bit of a play I have found that the file misnaming problem applies to all ebook formats (mobi, prc, etc) downloaded from MR Library with IE11 (at least with 64bit on Win8.1) not just epub.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#10 | 
| 
			
			
			
			 Ex-Helpdesk Junkie 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421 
				Karma: 85400180 
				Join Date: Nov 2012 
				Location: The Beaten Path, USA, Roundworld, This Side of Infinity 
				
				
				Device: Kindle Touch fw5.3.7 (Wifi only) 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			The answer is don't use IE, avoid it like the plague.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#11 | |
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 373 
				Karma: 1138320 
				Join Date: May 2012 
				Location: Ontario, Canada 
				
				
				Device: Kindle 3, Nexus 7 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#12 | |
| 
			
			
			
			 .... 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,547 
				Karma: 18068960 
				Join Date: May 2012 
				
				
				
				Device: .... 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 It is some matter associated with IE11, but whether it is something to do with its less trusting nature for security reasons (if no doc-type, etc. at the server) or sticking rigidly to standards that the server end does not meet, or something to do with its download management that the server does not like (BR has mentioned difficulties that may be experienced with some download manager applications). In the end the solution at the user's end is very simple and sticks, one just has to add mobileread.com to IE11's Compatability View list. Last edited by AnotherCat; 12-17-2013 at 06:06 PM.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#13 | |
| 
			
			
			
			 Ex-Helpdesk Junkie 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421 
				Karma: 85400180 
				Join Date: Nov 2012 
				Location: The Beaten Path, USA, Roundworld, This Side of Infinity 
				
				
				Device: Kindle Touch fw5.3.7 (Wifi only) 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Php Metadata question | skyefriday | Library Management | 0 | 09-16-2012 12:39 AM | 
| str to mobi PHP | NicWest | Kindle Formats | 2 | 04-16-2012 09:01 AM | 
| Which PHP version do you have? | erayd | Workshop | 2 | 10-04-2010 09:02 PM | 
| PHP for Android | keng2000 | enTourage Archive | 1 | 07-30-2010 08:19 PM | 
| Using PHP to convert PDFs | joedevon | 5 | 07-05-2009 11:50 PM | |