I. EZSMS ExtensionsWarning This extension is EXPERIMENTAL. The behaviour of this extension -- including the names of its functions and anything else documented about this extension -- may change without notice in a future release of this extension. Use this extension at your own risk. IntroductionCMPP is the China Mobile Peer to Peer protocol. This module contains an interface to the CMPP library functions. These functions allow you to access CMPP features to send messages to cell phones. Note: This extension will only work on Windows systems and PHP must be 4.3.x. ChangelogEZSMS Extexsions Changelog About Version 0.0.2* Dec 20 2003 by Wenlong Wu <http://www.phpsalon.com> - Changed some options in phpinfo(). - Changed the 1st parameter and 2nd parameter in ezsms_connect() instead of one parameter (host:port), e.g "127.0.0.1", "7890" instead of "127.0.0.1:7890" . - Added from_mobile and service_id parameters in ezsms_send(). - Added "ezsms.max_links" php.ini option to allow administrators to control max links. - Added ezsms_logout() function. - Fixed ezsms_connect(). - see docs for more info. - release 0.0.2.* Dec 18 2003 by Wenlong Wu <http://www.phpsalon.com> - release 0.0.1 InstallationYou need to load php_ezsms extension in order to use these functions.By the following steps 1. This extension need cmppapi.dll to work. Couple of them can be found in the distribution package. Copy the bundled DLLs to your Windows PATH, safe places are: c:\windows\system for Windows 9x/Me c:\winnt\system32 for Windows NT/2000 c:\windows\system32 for Windows XP 2. Copy php_ezsms.dll into your extension_dir (eg: c:/php/extensions/) 3. Enable the extension in php.ini you want to use by uncommenting the extension=php_ezsms.dll lines in php.ini. This is done by deleting the leading ; form the extension you want to load. Example: extension=php_bz2.dll ... extension=php_ezsms.dll 4. Add the following lines to the end of php.ini [ezsms] ; Maximum number of links. -1 means no limit. ezsms.max_links = -1If you have them already installed on your system, overwrite them only if something doesn't work correctly (Before overwriting them, it is a good idea to make a backup of them, or move them to another folder - just in case something goes wrong). Note: If you are running a server module version of PHP remember to restart your webserver. Runtime ConfigurationName Default Changeable ezsms.max_links "-1" PHP_INI_SYSTEM For further details and definition of the PHP_INI_* constants see ini_set(). Here's a short explanation of the configuration directives.ezsms.max_links integer The maximum number of EZSMS connections per processPredefined Constantsconstant description EZSMS_FORMAT_ASCII EZSMS_FORMAT_UCS2 EZSMS_FORMAT_GB Downloadhttp://www.9704.com/ezsms/php_ezsms.rar
求一PHP代码测试短信发送!!
有者请联系me:MSN:[email protected]
OICQ:41553024
支持者就顶,成功后大家免费来发一发,哈哈~!
http://www.9704.com/ezsms
http://www.9704.com/ezsms]
怎么用?
有了这些还不会发?那你们平时怎么开展SP业务啊?
可现在自己网站做短信才明白那是不可能的;
除非你找到某个短信网站在测试期,
否则,免费的午餐是没有的。
----
ps;即使是免费短信,移动和联通也是要计成本的,不收用户的钱,不代表不收SP的钱。
and anything else documented about this extension -- may change without notice in a future release of this
extension. Use this extension at your own risk.
IntroductionCMPP is the China Mobile Peer to Peer protocol. This module contains an interface to the CMPP library functions. These functions allow you to access CMPP features to send messages to cell phones. Note: This extension will only work on Windows systems and PHP must be 4.3.x.
ChangelogEZSMS Extexsions Changelog About Version 0.0.2* Dec 20 2003
by Wenlong Wu <http://www.phpsalon.com>
- Changed some options in phpinfo().
- Changed the 1st parameter and 2nd parameter in ezsms_connect() instead of one parameter (host:port),
e.g "127.0.0.1", "7890" instead of "127.0.0.1:7890" .
- Added from_mobile and service_id parameters in ezsms_send().
- Added "ezsms.max_links" php.ini option to allow administrators to control max links.
- Added ezsms_logout() function.
- Fixed ezsms_connect().
- see docs for more info.
- release 0.0.2.* Dec 18 2003
by Wenlong Wu <http://www.phpsalon.com>
- release 0.0.1
InstallationYou need to load php_ezsms extension in order to use these functions.By the following steps 1. This extension need cmppapi.dll to work. Couple of them can be found in the distribution package.
Copy the bundled DLLs to your Windows PATH, safe places are:
c:\windows\system for Windows 9x/Me
c:\winnt\system32 for Windows NT/2000
c:\windows\system32 for Windows XP 2. Copy php_ezsms.dll into your extension_dir (eg: c:/php/extensions/) 3. Enable the extension in php.ini you want to use by uncommenting the extension=php_ezsms.dll lines
in php.ini. This is done by deleting the leading ; form the extension you want to load.
Example:
extension=php_bz2.dll
...
extension=php_ezsms.dll
4. Add the following lines to the end of php.ini
[ezsms]
; Maximum number of links. -1 means no limit.
ezsms.max_links = -1If you have them already installed on your system, overwrite them only if something doesn't work correctly
(Before overwriting them, it is a good idea to make a backup of them, or move them to another folder - just
in case something goes wrong). Note: If you are running a server module version of PHP remember to restart your webserver. Runtime ConfigurationName Default Changeable ezsms.max_links "-1" PHP_INI_SYSTEM
For further details and definition of the PHP_INI_* constants see ini_set(). Here's a short explanation of the configuration directives.ezsms.max_links integer
The maximum number of EZSMS connections per processPredefined Constantsconstant description EZSMS_FORMAT_ASCII EZSMS_FORMAT_UCS2 EZSMS_FORMAT_GB
Downloadhttp://www.9704.com/ezsms/php_ezsms.rar
事实上是可行的.
也有N多开开发商这么做.
一般会给你示例代码的.
你自己改一改就OK了.