Jump to content

asp converting


Akasha

Recommended Posts

Hellois it possible to use an asp script or javascript to get the source of an webpage.For example i have a dynamic page, and using asp/java to get data out of an database to build the webpage.But one of the server doesn't support asp only php (apache webserver),So is there an command to get the static source.(same as right click -> source) and save it as an HTML file.so you get the same page only not dynamic but staticeven better if there is an converter van asp to php, probably there isn'thoop it is a liitle bit cleargreetz akasha

Link to comment
Share on other sites

You could probably get the source with javascript but that is client side so if ou tried to save it it would be saved to the users computer not the server and the user would have to give javascript write permissions to their harddrive which is a big security risk and is turned off by default.

Link to comment
Share on other sites

and if i make a website where someone could load an asp file then the website tranfers it too plain html and save it localand the users it self needs to upload the file to the server with ftp

Link to comment
Share on other sites

yes the user would have to ftp it to the server...that is if they happened to give javascript write permission which is very unlikely. 99% of the time you would get an error when trying to save the file because javascript won't have write permissions.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...