Hi

1.am able to run using XAMPP on PC.

When i run from my board, am not getting proper data.

I mean it is not fetching the file index_1.txt.html and index_1.txt file are available in same path in sd card.

Anything wrong

2.Instead of using second argument with file name, is it possible to use as a function and call it in same file in below code

xhttp.open("POST", "index_1.txt", true);

Please suggest

Thanks and Regards

Rizwan Syed

Explain what you mean by "when I run it from my board"? Most surfboards don't run apps or have a browser.

Like rproffitt I am lost however it sounds as though your board, whatever that is, may be missing a server. Post your code and explain what you mean by board.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.