How to upload a page to web and shows the page when url is given in browser? - url

I have designed a page using photoshop and illustrator for my product.Actually its the first page of our website, construction is not over yet.But I want to upload that one page to web now just for publicity.The thing is that i want to get that page open when the user types url in browser.
So, What i have to do to upload page to web and shows my page whenever the url is written in browser??Please help...

Is your page still in an image format or have you converted it to HTML?
If you have converted to HTML, upload it to your server and give the link of the HTML to users to check out the page.

It's not clear what your problem is but:
Register a domain with a provider
Name your html file index.html and upload it to the root folder of your web space.

Related

How to save html page and link to this page simultaneously

I'm using MS Windows 10 and the Chrome browser.
I save a lot of various Web pages on various portals.
Therefore, currently, I have to save the original Web page itself with the Chrome SingleFile plugin and then I'm creating a separate .txt file with the link for this page.
The reason why I'm doing it is that I need to check a downloaded page with updated information from time to time later.
For example, first, I save https://www.google.com content page, then I create a separate file link.txt with the content "https://www.google.com".
Is there any Chrome plugin that allows saving both Web-page and a link simultaneously with one click? I.e., without creating the additional file link.txt
Or maybe any other solution?
I'm searching for the method to save both Web-page and link to this page with one click.

Can Chrome open files (PDF etc) directly in browser for an intranet application?

My ASP.Net MVC app is an intranet app, and in the HTML, I put an anchor link to PDF files that are stored on our network. Chrome does not open these files in the browser if you click on the link, however if you copy the link off the webpage and make a new tab, paste the link in, it will open.
Now, both the app and the files are on the same domain so how can I get PDF to open automatically in a new tab? I have looked at the various Chrome extensions, but they don't seem to work. There must be a way to get local/network based files to open in your intranet using Chrome, please don't say I have to resort to awful Internet Explorer!
Any help much appreciated.
Have you tried to use HTML iframe tag to display the PDF?
Example:
<iframe id="frameID" style="border:1px solid #666CCC" title="PDF in an i-Frame" src="PDFData.pdf" frameborder="1" scrolling="auto" height="1100" width="850" ></iframe>
Out of date for you, but I recently solved this problem on an apache2 server on ubuntu. I believe it's a matter of security from the client browser- so that a webpage can't open client files maliciously
What solution was
mount the network share drive on my web server
html point to pdf inside the mounted drive
(Optional on Apache) use a .htaccess rule to prevent folder indexing (listing all files/folder)
therefore the webpage was opening its own file, not the clients; so firefox/chrome/et al will allow this to happen
The fix should be in your mvc project . Just make sure the action returns FileStreamResult . example:
return new FileStreamResult(new FileStream(filePath, FileMode.Open), MimeMapping.GetMimeMapping(filePath));

How can I navigate from an html file to another with a spotify uri?

I don't understand how to navigate through an app with multiple .html files. All the examples that I've found have only one html file.
I have two files in my app :
index.html
artist.html
In my index.html, I use a Text, which works but does not add a state in the history.
From what I have read in the documentation, I should use a link like spotify:app:$APPNAME:arg. But I can't manage to make a link like this works to navigate from an html file to another. And because I can only find apps with one html, I'm wondering if all the existing apps only show and hide parts of an html file to simulate the navigation.
You can link internal with:
sp://appname/filename.ext
link to spotify:app:appname:test.
At this point in index.html you can redirect to the page you want (I.e. test.html) using:
location.href=sp.core.getArguments() + '.html'
The initial call to spotify:app:appname:test will be in the history.

uploading files directly to a web page

would like to allow visitors to a web page to upload photos that will post right onto the page. i have the script that will allow them to browse their files and choose the files, but don't know how to get them to "submit". help?
Try using servlet. Here is an tutorial for that: upload-image
Hope this helps.

asp.net mvc routing, ignore route with extension in the middle of url

Hi How can make the asp.net routing engine ignore routes with an extension of the type
/pathtofile/filename.aspx/morepaths
I know this is hardly a real scenario but I need to know for another similar issue for an autogenerated url
Thanks
The MVC routing engine will not intercept a url if there is a matching file on the file system. (See RouteCollection.Ignore Method) So your example url will work fine. Query strings will also work fine.
You can test this out as follows:
Create an MVC application in Visual Studio
Run it
In your browser enter the url of the Site.css file in the Contents folder.
The file will be served and the browser will pop up the "Save" dialog.
Create an html file anywhere on the site and enter the url.
Your browser will display the html page.
Create an aspx web form anywhere on the site and enter the url.
Your browser will display the web form.
Add a query string or additional path to the url.
Your browser will display the web form.
You can also do this with .asp (classic ASP) pages (although the VS web server won't serve .asp pages, you have to set the site up in IIS for that to work.)
I hope that answers your question.

Resources