I have a form where the user will select the date and Name
for e.g. 1 July 05 and ACC
The PHP code should do the following....
1) Change the date format to 2005/JUL/cm01JUL2005bhav.csv
2) Add it to the actual URL http://nseindia.com/content/historical/EQUITIES/
3) The contents from the URL should be temporarily saved in the memory
(output buffering?) The URL will be...
http://nseindia.com/content/historical/EQUITIES/2005/JUL/cm01JUL2005bhav.csv
4) Look for the name ACC and select the entire line.
5) Display the selected line. The result will look like this...
ACC,EQ,380,388,376.8,385.85,387,379.6,469751,180025829.9,1-JUL-2005,
I hope someone will help me to write this code. |