ashrafmhd09 / php-csv-parser

Automatically exported from code.google.com/p/php-csv-parser
0 stars 0 forks source link

Validate() functionProblems while reading a filename that it is a url #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Retrieve a file from a url as filename
2. 
$csv->load('http://code.google.com/p/php-csv-parser/downloads/detail?name=File_C
SV_DataSource-1.0.1.tgz&can=2&q=')
3.

What is the expected output? What do you see instead?
Is not reading the file

What version of the product are you using? On what operating system?
File_CSV_DataSource-1.0.1.tgz

Please provide any additional information below.
I have written a function to check if the filename is coming from a url. 
If it is, it skips the validate() function while parsering the file. You can 
find it in the attached file if you want to include it in the next release.

Original issue reported on code.google.com by aerodr...@gmail.com on 26 Nov 2010 at 12:12

Attachments: