Re: [PHP] Icq Message
At 01:40 PM 4/23/2001 -0500, you wrote: Anyone have a clue as how to send an icq message to a given ICQ number via a php-web-page? I think I remember seeing one on the zend.com code gallery. Do a search there for icq. Shawn -- 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] Conflict between zlib and t1lib ?
Ok, I'm trying to compile php with both zlib (1.1.3) and t1lib. When I do: ./configure --with-t1lib --with-zlib (etc) it fails with: checking whether to include zlib support... yes checking for gzgets in -lz... no configure: error: Zlib module requires zlib = 1.0.9. But if I omit the --with-1tlib it works fine. In a strangeness thing, if I ./configure --with-zlib and then ./configure --with-t1lib --with-zlib it actually finishes the configure (but if I erase config.cache it still fails). It seems that something during the configuring of t1-lib is messing with the later configure for zlib. I know nadda about configure scripts so I'm hoping one of you developer-types can help. Shawn --- Shawn J. Wallace ([EMAIL PROTECTED]) Justweb Inc. - http://www.justweb.com (519)652-6599 or (800)343-9312 -- 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]
Re: [PHP] IP Chains
At 12:18 AM 4/24/2001 -0700, you wrote: I wanted o ask u about a problem regarding my project. The project is related to Cyber Cafe Authentication. Here we have to chk whether a set of user name password is valid and if valid allow this user access to internet. All the scripitng has been done in PHP and the operating system is linux. Now we just have to link IP CHAINS to our php script. That is when the user is allowed to access internet, ip chains should start running through the script. However we are stuck at this problem cannot find a sound solution. Can u plz help us? That would be very nice :) Something to think about - apache doesn't run as root, ipchains requires that you be root. I suppose you could suid it, but that's an evil solution. Other than that, I'd recommend reading up on ipchains... there's a decent HOWTO at www.linux.org Shawn -- 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]
Re: [PHP] Java Servlet Support
At 12:25 PM 2/5/2001 -0500, you wrote: The sapi/servlet option is essentially a Java servlet that you add to your Java webserver just like you would any other servlet and it invokes the PHP engine through JNI and reflection (so you could reference Java objects from within your PHP script). This option is much more efficient then just running the ext/java extension (which allows you to access Java objects from PHP by starting up a JVM per session) since the JVM used is already running in the Java webserver and can be managed much better by the latter than anything ext/java can attempt to do. Note that using this SAPI implies that PHP will be running in your Java Webserver instead of on your HTTP webserver (e.g. Apache) which could have implications (hopefully for the better) unless they're both running on the same physical machine. That sounds excellent. So if I understand you correctly, I could run Apache with JServ (or Tomcat) and build PHP into it to get a nice solution. I could then write servlets that call PHP scripts/functions and vice versa? Shawn --- Shawn J. Wallace ([EMAIL PROTECTED]) Justweb Inc. - http://www.justweb.com (519)652-6599 or (800)343-9312 -- 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] Java Servlet Support
Can anyone tell me exactly what using --with-servlet[=DIR] will give me? I mean, does that compile in servlet support? Are there PHP functions for executing servlets? What's the deal exactly... Shawn --- Shawn J. Wallace ([EMAIL PROTECTED]) Justweb Inc. - http://www.justweb.com (519)652-6599 or (800)343-9312 -- 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] Which Regex library?
I'm getting some strange things happening using regex's where it will skip certain matches for no apparant reason. I know the regex itself is fine, it's too simple to screw up... So I noticed that there is a compile option --with-regex=TYPE Does anyone know exactly what the differences are between the php, system, and apache regex libraries? Which should I use to fix this strangeness? I'm recompiling right now with --with-regex=apache to see if that changes anything... I just don't want to break any other programs. Shawn --- Shawn J. Wallace ([EMAIL PROTECTED]) Justweb Inc. - http://www.justweb.com (519)652-6599 or (800)343-9312 -- 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]
RE: [PHP] Which Regex library?
Ok, this is from memory, but.. I'm trying to pull the IP addresses of mail relays out of an email - and they are of the form [xxx.xxx.xxx.xxx], so I do something like: ereg('\[(0-9\.)*]', $email, $res) It finds some but not all of them in the email. What I really do is put that in a while statement and replace each found ip with a marker so I can repeat the regex again and again. --- Shawn J. Wallace ([EMAIL PROTECTED]) Justweb Inc. - http://www.justweb.com (519)652-6599 or (800)343-9312 -- 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]