VSS access

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
leea
Forum Newbie
Posts: 9
Joined: Tue May 16, 2006 10:40 pm

VSS access

Post 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
leea
Forum Newbie
Posts: 9
Joined: Tue May 16, 2006 10:40 pm

Post by leea »

I forgot to mention, the database im accessing is on an external machine.
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

call me naive, but what is vss?
leea
Forum Newbie
Posts: 9
Joined: Tue May 16, 2006 10:40 pm

Post by leea »

Microsoft Visual Soursesafe mate
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post 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?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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.
leea
Forum Newbie
Posts: 9
Joined: Tue May 16, 2006 10:40 pm

Post 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.
leea
Forum Newbie
Posts: 9
Joined: Tue May 16, 2006 10:40 pm

Post 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
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

Just mount the \\machine under X:\ and then execute X:\blah.exe
leea
Forum Newbie
Posts: 9
Joined: Tue May 16, 2006 10:40 pm

Post 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.
Post Reply