Hi dbemowsk,
I gave this a whirl on lunch break. At first it was complaining about not finding items in ./include/ and ./ext/ sub folders. I noticed that the zip did not include the folder paths, so when I unzipped, it put everything in the root folder - no subdirectories were made. So I guessed at it and put things in /include/ and /ext/ sub directories that I created. Then when I typed in text2x10.php with my gv user/pw, it asked me to select a program to open it up on my machine. So, I navigated to the php.exe, and then it executed your program (it just needed to be associated to php.exe the first time - fyi for everyone else out there that might see this).
Finally, it tried to run, and I get this (and yea, I did supply my gv user and pw). I honestly wonder if me trying to create all those required subfolders manually has anything to do with this?
Google Voice text message to X10 translator
PHP Notice: Undefined offset: 0 in C:\text2x10\text2x10.php on line 205
Notice: Undefined offset: 0 in C:\text2x10\text2x10.php on line 205
There is no stored username and password for the system to use.
If using the script for the firs time, you must include your
Google Voice login information:
text2x10 <GV username> <GV password>
OK, I tried installing this on 2 different machines and did not have a problem with either install. The folder structure on both installs was fully created. First, I am curious about the first steps you took to unzip the file, like what program you used (e.g. 7zip, pkzip, windows explorer ? ? ?)? There had to be a reason why it didn't keep the folder structure in tact when you unzipped it. Also, you mentioned that you typed text2x10.php with your GV username and password. This is NOT correct. There is a batch file named text2x10.bat, so you only need to type "text2x10 with your GV username and password".
The two times I installed it, I simply opened the text2x10.zip file in windows explorer and dragged it to the root of c:\. I then had a c:\text2x10_dist\ folder. I navigated to the c:\text2x10_dist\ folder in a DOS command prompt (cmd) window and typed :
text2x10 user@host.com password
Where "user@host.com" was my GV username and "password" was my GV password, and got the message:
The Google Voice username and password have been saved.
The next time you run the script, you only need to run:
text2x10
If you need to change the stored Google Voice username and
password simply run:
text2x10 <GV username> <GV password>
and the system will update the user information.
Listening
When typing your GV username and password, do not use the <>. By default, the text2x10.cfg file has BEVERBOSE set to 1, so you should see messages displayed on the screen as the program does things.
I have made one minor code change to something that was ECHOing to the screen that shouldn't have been and I updated the zip file and got rid of the _dist, so future downloads will have c:\text2x10\ (if extracted to the c:\ root folder).
My only suggestion I have for the moment is to try removing the folder and structure you created and try unzipping it again. I used windows explorer to create the zip initially, and also to extract it when doing the two tests. I am speculating that a support file didn't get extracted correctly, especially since you had to create some of the sub-folders.