pawqar Posted May 10, 2012 Share Posted May 10, 2012 Hi everyone, I want to know if I could do something as the next but with the content of a file: <img src=http://xxx.xxx.xxx.xxx/myPhoto> with this you can insert a picture from the ip address ... well my question is if is there something similar but the content of a file. I have a file 0000.txt which contains a name "homer simpson". I've tried with object : <object data="http://127.0.0.1/0000.txt"> It works but it introduce in the html code page the next: #document<html><head><style type="text/css"></style></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">homer simpson; </pre></body>Besides on the web page create a space.... it's like having two lines, and when you introduce it between they it seems 30 lines. So I want just the text, anything else ... but I can't get it ... thank you for your time and sorry for my english greetings! Link to comment Share on other sites More sharing options...
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
Already have an account? Sign in here.Sign In Now