Sunday, 15 September 2013

I need help writing a php file to redirect a html request. -


This is a difficult problem because it is multi-layered, but I'm sure people can help me.

Actually, I have an html snippet on my website, which requires the execution of the URL. Instead of writing URLs in space, I would like to get the content of a text file on my server, but I will also add the contents of the other

Here is the HTML snippet with the line that needs text on the 4th line Is:

  1 ##  

I hope someone can help me This is very easy, yet disappointing work! Thanks!

I'm not sure what you are asking, but when you say

< Pre> "I would like to get the contents of a text file on my server"

I'm assuming that you have to capture the contents of a file and insert text, that means the JS snippet To automate in?

Your line of code:

  2 ## & lt; Script type = "text / javascript" & gt; 3 ## MRP Incent ({4 ## 'URL': 'Text Is From File',  

Potential Solution: Usage

  $ scrape_file Echo = File_get_contents ("the_file.txt or html");  

The above code will output: This is a test file with test text.

  2 ## & lt; script type = "text / javascript"> # 3 # MRP incentrette ({4 ## 'url': '& lt ;? = $ Scrape_file? & Gt;',  

No comments:

Post a Comment