This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 10 years ago.
I'm sharing links to PDF files that reside in an external server.
Here is how the links look like:
link 1
link 2
In the above sample page I made (azure domain renamed), the first link opens in Chrome's PDF viewer, the 2nd one however opens in a blank page.
What can be the reason?
I think I've found the solution.
When uploading a file to Azure blob, the Azure server isn't smart enough to set the content type of the file according to its extension/content, thus when downloaded by client it's misleading the browser.
The default Azure blob content type is application/octet-stream.
Check here and here for more.
Related
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 9 years ago.
can any 1 know how to download swf file from http://www.docin.com/p-269086295.html.
In above mention site around 1600 pages shown as a swf file.
I use, open source code and search for swf file but nothing happen.
Try to google for Douding Document Downloader, though I'm pretty sure you need to pay for downloading those files.
So if you still want to have the document, register to the site, buy an account, and press the download button (in chinese).
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 9 years ago.
I save my html in my local driver (c:/).
I do the next in my html file:
<td>Google</td>
When I open it, and click on the link, it enter to: file:///C:/www.google.com
How can I get rid of the file://c:/
You need to put http:// in front of the domain name. Otherwise it links to a file named "www.google.com" in the same directory as the HTML file.
<td>Google</td>
You need http:// before your link.
<a href="http://www.google.com">
Otherwise it is looking for a file called www.google.com on your server!
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 10 years ago.
Why are two of my images not rendering? It works when I use notepad++, but not when I upload it to my FTP.
403, forbidden message is there for this error
http://example.com/em_w/02/37/98/837-02379877w.jpg
This is the photo which can't be opened by the browser. The link that is given is not accessible through the server. If you go to this link, you will see the photo.
HINT: hit F12, which will open up Firebug. Switch to console view, and reload the page. From there, you can see if something's wrong.y
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 9 years ago.
I need to generate a link that opens up Google Maps and identifies an area based on a US Zip Code in the query string, preferably like below:
I tried to do it using this query string: https://maps.google.com/?q=us+90120
Appending the zip code at the end. But it doesn't always work. Right now, it's pointing to somewhere near Greenville. What's weird is that if you open up Google Maps and search "us 90210", it does point you to Beverly Hills.
Anything I should add to the query string? Or is the approach all wrong? I just need it to be simple. Any piece of information would be highly appreciated.
Thanks!
You made a typo- the link goes to 90120, and therefore, Greenville, but you want to go to 90210, which is Beverly Hills.
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 11 years ago.
I have designed this search box in photoshop and want to implement it into a static php file on my local machine. I want to be able to change from the different search engines, such as google, yahoo, and others by clicking on the logo to the left and a drop down list being displayed. I don't know how I would change the url that the form gets, but I think I would make a table for the drop down list. And I am not good at coding forms either...
http://img824.imageshack.us/i/searchm.jpg/
Any help?
Looking at the 'dropdown' of search engines, I would imagine you'd have to use some kind of javascript framework for that (jQuery being my suggestion with this plugin):
http://www.marghoobsuleman.com/jquery-image-dropdown
http://jsfiddle.net/ddx4g/6/
Then you just need some PHP to work out what search engine was selected and the search title and redirect to the appropriate page:
$searchterm=$_POST['searchterm'];
$searchengine=$_POST['searchengine'];
echo'<META HTTP-EQUIV="Refresh" CONTENT="0; URL=$searchengine" . .com . "?=searchterm">'";
Or something along these lines. This was all done very quickly so there's bound to be some errors in here somewhere but should get you started.