Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can one to dial-up via php?

Status
Not open for further replies.

sulacco

Technical User
Joined
Nov 8, 2002
Messages
74
Location
RU
Sorry, but i'm very tied of Russian forum. It's mentality or
something worse. Can Western ppl help me out. My question is:
Is it possible to make dialup connection in php (php installed in client machine(not server)). Which functions to use?
I quite understand that question is slightly off major course of php but i have such a need.
 
but sleipnir for dial up u have to use the client's connection. how are u going to access that? php is on the server side...

Known is handfull, Unknown is worldfull
 
2vbkris
I've php installed on client machine(not server).
so i'm used to enter Internet via dial-up and like to make
it automatically. On c++ i know how to do it.

2sleipner214
my system:win2000 iis 5.0
 
that's right to initiate a dial-up connection.
 
If PHP is installed on the client it can run a PHP console which has more rights than regular PHP -- with that you can actually run any Windows Batch Command or any regular expression that the OS accepts and thusly use the OS through PHP.

I know of no way you can initialize or call upon the Modem itself through PHP but perhaps you can use Windows or the OS commands to do this --

try shell_exec() or proc_open() or popen() -- using the BACKTICK `` markers PHP will try to execute anything between those markers as console commands.


Rocco is the BOY!!

SHUT YOUR LIPS...
ROCCOsm.gif
 
Question...
is this a setup for an individual client box, or a script you're trying to ship out the door?

If it's the first, you can definately do this with enough finagling, though you may be best served by heading over to one of the Win32 forums and asking about making a modem connection through the command line.

If it's the later, you're going to be at the whim of alot of issues such as whether or not the user has correctly setup a default modem in their Control Panel, and if so if they've setup the correct dialing properties and saved passwords etc.

-Rob
 
Tnank you people. You're really helping. You have no idea how it difficult to get answer from my russian collegues.
They are behaving unreasonable. I think that's why we lose
Cold War. And I'm quite happy about this.
 
2skiflyer
I'm doing it in script. I got such schedule:
1)I'm calling from my mobile phone to my sliping machine
2)maching awakes makes some calls then make some calculation
then disconnect from net and call me to mobile phone and
pass over some info. I'm get some calls and again i'm happy.
Personnaly I think 'Com' will do the job.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top