Page 1 of 1

VSS access

Posted: Tue May 16, 2006 10:44 pm
by leea
How can it be done?

Has anyone written an interface for this or know of a way to do this?

Im trying to add and create projects in VSS via php. It doesnt like it when i run the SS.exe command line version of VSS.

Thanks

Posted: Tue May 16, 2006 10:56 pm
by leea
I forgot to mention, the database im accessing is on an external machine.

Posted: Tue May 16, 2006 11:04 pm
by Burrito
call me naive, but what is vss?

Posted: Tue May 16, 2006 11:07 pm
by leea
Microsoft Visual Soursesafe mate

Posted: Tue May 16, 2006 11:13 pm
by RobertGonzalez
Burrito wrote:call me naive, but what is vss?
Thank you for asking. I didn't know either, but was too sheepish to ask. :oops:

Isn't sourcesafe a code encryption utility?

Posted: Tue May 16, 2006 11:20 pm
by feyd
SourceSafe is Microsoft's version control application. It's not a "true" version control as VSS is written to access a "local" database only. As with most things Microsoft, the storage format is closed source, last I checked. A "tool" to interact with it the database would actually directly manipulate the files as the "client" does.

If it's possible to switch version control software, I'd recommend moving to Subversion (SVN.) But I'll hazard to guess this is not possible for the foreseeable future.

Posted: Tue May 16, 2006 11:39 pm
by leea
Well, we just ordered subversion a while ago, but the the eta is a while away.

The system however has to be implemented for VSS support (VSS sucks btw :)) since a significant portion of our system relies on this.

Posted: Wed May 17, 2006 2:27 am
by leea
No luck so far.

I have another question which would solve my problem, is it possible to execute a *.exe file on another computer from the php server?

e.g.

I want to be able to execute a file at location

\\Othermachine\runthis.exe

relative to my php server?

Obviously cant "exec('\\Othermachine\runthis.exe')" because its out of the machines scope. But is it possible to fsocketopen/curl/fopen into it?

I guess my problem is trying to access machines outside of the php server. This program will be for an intranet and everythings winxp.

Thanks

Posted: Wed May 17, 2006 4:56 am
by timvw
Just mount the \\machine under X:\ and then execute X:\blah.exe

Posted: Wed May 17, 2006 7:18 pm
by leea
No work.

Ive narrowed down the problem to Apache in Windows not allowing me to access these external machines. Php from the command line lets me access these machines.