Question

sorry for this newb question, i just started programming with php

I'm following Yahoo Mail Web Apps PHP tutorial on retrieving mail from Yahoo. the guide is here http://developer.yahoo.com/mail/docs/user_guide/CredentialTheUser.html

on step 3 it says to: In the unzipped directory, run the following command, where can be either json or soap:

$php ListFolders.php

what does it mean by run command? like run command on cmd.exe or somewhere else?

thanks!

Was it helpful?

Solution

Yes, you need to cd (change directory) to your "unzipped directory", and I'll assume you don't have the PHP command available in shell, so you will probably need to supply the entire path.

from cmd.exe,

/path/to/your/php.exe ListFolders.php

or if you do not wish to cd to this directory, simply specify the full path

/path/to/your/php.exe /path/to/unzipped/ListFolders.php
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top