Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Newbie needs help

Status
Not open for further replies.

tyrannus

MIS
Apr 6, 2006
115
US
Hey all, I am a newcomer to PHP but have a need for something and no idea where to start.. What I want to do is write a script that will search through a folder, pull out the file names and store them in a mysql database. I heard it was possible for PHP to do this I just have no clue where to start... Once I get started I can probably figure out the rest
 
You need to have a look at php.net documentation
specially the following
The page has an example as how to open and read directory.


For Mysql insert operation have a look at

You need to combine those codes to make the whole application. But this can get you going.




--------------------------------------------------------------------------
I never set a goal because u never know whats going to happen tommorow.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top