[PHP] Strore Data in File

2002-09-10 Thread Ram K
Hi I want to store the data of a table in a file and read that file just as one would read a table. For e.g. I have a table t_data with cols name,number,cost and my data file data.txt would have the following data: --- john,1,100 mark,2,200 spencer,3,200 --- Now on the web page when t

[PHP] file upload problem

2002-09-05 Thread Ram K
Hey I have a prob with my php file upload. i am using windows my html file looks like Upload the datafile here my php file looks like "; echo $file.""; @copy($file, $newfile) or $endresult = "Couldn't Copy File To Server"; echo $endresult; ?> when i run i get an