Forum Moderators: coopster
I created a web application and now i need to test it with a big sample.
My objective is to create something like 100 fakes users into my SQL database on my server.
I would like to do that by just calling a bash, script, from the command line.
What i did uptonow is a php file where i connect to the database and insert all these fake users.
Unfortunately, i dont know how to call these php file from the command line and especially how to add parameters that are then used in the php file (i.e. : the number of profiles that need to be created).
I am working on Windows7.
Any ideas and tips are welcomed.
Thanks in advance.
Using PHP from the command line [php.net] should get you on track. With Windows, you will want to be careful as you escape from shell using the backslash [webmasterworld.com]