Re: [PHP] SMS

2001-12-06 Thread Daniel Berwig

It works with a virtual phone in the site, but I can't try sending SMS
berfore buying it (U$ 400.00). I won't buy a product before being sure it
works.

Does anyone know another method to do it?

Tnx.


Dan McCullough [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Heres a code snippet:
 Sorry for leading astray.

 // load the swsms module
 dl( ../swsms.so );

 // create the sms object
 $sms = create_sms();

 // send the carrier list request
 carrierlist_send( $sms );

 // check if the request was a success
 if( ! $sms-success ) {
 // display error info
 print( Unable to retreive a carrier list from Simplewire:  .
$sms-errorDesc . \n );
 print( Error Code:  . $sms-errorCode . \n );
 }
 else {
 // walk the carrier list array
 array_walk( $sms-carrierlist, displayCarrier );
 }

 function displayCarrier( $c ) {
 // display the carrier info
 print( ID:  . $c-id . \n );
 print( Title:  . $c-title . $c-subtitle . \n\n );
 }
 --- Daniel Berwig [EMAIL PROTECTED] wrote:
  Does anyone know how could I send data from php through SMS to a cel
phone?
  I simply can't find info about that.
 
  Thanks in advance,
 
  Daniel Berwig.
 
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  To contact the list administrators, e-mail: [EMAIL PROTECTED]
 


 =
 Dan McCullough
 ---
 Theres no such thing as a problem unless the servers are on fire!
 h: 603.444.9808
 w: McCullough Family
 w: At Work

 __
 Do You Yahoo!?
 Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
 http://geocities.yahoo.com/ps/info1



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: auto form submit

2001-11-21 Thread Daniel Berwig

A way to do it is puting a javascript like this at the end of the page:

script language=Javascript
!--
document.form1.submit();
//--
/script

where form1 is the form name you have in the page. When the page is loaded,
it will then submit the form.


Wm [EMAIL PROTECTED] escreveu na mensagem
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 hi all,

 if i pass data through a form (post) to a php script(script must be
 separate from form)

 is there a way that this php script can then forward that data to
 another script without
 attaching it to the end of the url?

 thanks.




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: Multiple Entry SELECT and JavaScript interaction

2001-11-20 Thread Daniel Berwig

You can't use brackets in this case. The Javascript won't reconize the name
of the form element. Try using another caracter that can be reconized, like
underscore.


Sean Dougherty [EMAIL PROTECTED] escreveu na mensagem
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 I have a curious problem that I don't have a clue how to solve that's
 probably simple but I can't find it documented anywhere. It might be the
 first PHP-induced limitation I've run into...

 In order to allow multiple entry on a SELECT form object, the name of
the
 form has to end with the brackets [], but then when I do that I can't
refer
 to it from within JavaScript because as a variable name it becomes
illegal.
 I have to be able to refer to the SELECT object to change its contents
based
 on another form object.

 I've tried all kinds of things to work around this, but I'm stuck. Any
ideas
 out there?

 Thanks,
 Sean





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: Multiple Entry SELECT and JavaScript interaction

2001-11-20 Thread Daniel Berwig

I almost forgot that... you can refer to the form element by the objects
array, like this:

document.form[0].elements[1].value


Sean Dougherty [EMAIL PROTECTED] escreveu na mensagem
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 I have a curious problem that I don't have a clue how to solve that's
 probably simple but I can't find it documented anywhere. It might be the
 first PHP-induced limitation I've run into...

 In order to allow multiple entry on a SELECT form object, the name of
the
 form has to end with the brackets [], but then when I do that I can't
refer
 to it from within JavaScript because as a variable name it becomes
illegal.
 I have to be able to refer to the SELECT object to change its contents
based
 on another form object.

 I've tried all kinds of things to work around this, but I'm stuck. Any
ideas
 out there?

 Thanks,
 Sean





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Loading a dll

2001-11-16 Thread Daniel Berwig

Does anyone know if it is possible to load a dll at runtime that is not in
the extensions_dir configured in the php.ini? And if it is possible, how can
I do it?

Thanks in advance.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: Loading a dll

2001-11-16 Thread Daniel Berwig

The problem is that the php tries to load the dll from the extension_dir. Is
there a way to make it load from anywhere else?

Henrik Hansen [EMAIL PROTECTED] escreveu na mensagem
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 [EMAIL PROTECTED] (Daniel Berwig) wrote:

   Does anyone know if it is possible to load a dll at runtime that is not
in
   the extensions_dir configured in the php.ini? And if it is possible,
how can
   I do it?

 if anything dl() does it.

 --
 Henrik Hansen



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: Loading a dll

2001-11-16 Thread Daniel Berwig

It doesn't load the dll, when specifying the path (relative path neither
absolute path).

Any solution?


Daniel Berwig


Henrik Hansen [EMAIL PROTECTED] escreveu na mensagem
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 [EMAIL PROTECTED] (Daniel Berwig) wrote:

   The problem is that the php tries to load the dll from the
extension_dir. Is
   there a way to make it load from anywhere else?

 try to supply a path in dl().

 --
 Henrik Hansen



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] getrusage() not supported

2001-11-13 Thread Daniel Berwig

I'm trying to run a script in my server (IIS 5) that uses the function
getrusage(), but it returns the following warning:

Warning: getrusage() is not supported in this PHP build in file_name.php on
line 377

Does anyone know how I can solve this problem?

Thanks in advance.




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]