Re: [PHP] FreeBSD fsockopen problem

2002-04-18 Thread Charles Williams
fixed, chuck - Original Message - From: Charles Williams [EMAIL PROTECTED] To: Php-General (E-mail) [EMAIL PROTECTED] Sent: Wednesday, April 17, 2002 2:34 PM Subject: [PHP] FreeBSD fsockopen problem Hey all, I am in need of opening a UDP socket on a FreeBSD box. The following code

[PHP] Web Hosting control panel ported to freebsd

2002-03-23 Thread Charles Williams
yep, finally got it working. original linux based web hosting control panel, written in PHP, now works under freebsd 4.3 (tested), and should work on 4.4 as well. If interested in testing on a FreeBSD system just let me know, off list, at [EMAIL PROTECTED] I would like to get this compatible

[PHP] Net status and free memory on freebsd

2002-03-22 Thread Charles Williams
Hey all, I'm working on porting a php app to freebsd. However, there is a problem. ;) in linux you can parse /proc/net/dev for all network statistics and make a call to free for available memory. How could you do the same thing in freebsd? I have looked at netstat -b -p ip -I ed0 but that

[PHP] Working with IP addresses

2002-03-18 Thread Charles Williams
Hey all, I find myself in need of working with IP addresses. However, the situation is a bit strange. There will be a form with a text box to allow IP address entries as follows: 192.168.5.195 or 123.23.35.4 123.23.35.45 123.23.35.74 or 123.4.34.1/123.4.34.255 or 13.234.5.41/13.234.5.75

Re: [PHP] Working with IP addresses

2002-03-18 Thread Charles Williams
- Original Message - From: [EMAIL PROTECTED] To: Charles Williams [EMAIL PROTECTED] Cc: Php-General (E-mail) [EMAIL PROTECTED] Sent: Monday, March 18, 2002 10:12 PM Subject: Re: [PHP] Working with IP addresses On Mon, 18 Mar 2002, Charles Williams wrote: There will be a form

Re: [PHP] PHP module for modem???

2001-12-18 Thread Charles Williams
This would require that your httpd user (nobody? depends on your setup) has read/write access to said device (which is normally not the case). In such a case you would need to filter it through sudo or some such. chuck - Original Message - From: Nathan Cassano [EMAIL PROTECTED] To:

Re: [PHP] Checking a frames url..

2001-12-17 Thread Charles Williams
Necro, inline below - Original Message - From: Necro [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 17, 2001 9:58 AM Subject: [PHP] Checking a frames url.. Lo all, I am trying to write a script that will output to a frame the current location within a site.. like

Re: [PHP] 'Select All'

2001-12-17 Thread Charles Williams
Shane, is this meant for initial settings of the form only or as a button, or some such, to allow someone to select all the boxs? chuck - Original Message - From: Shane Wright [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 17, 2001 6:54 PM Subject: [PHP] 'Select All'

Re: [PHP] How deep can I go with embedded if s.

2001-12-17 Thread Charles Williams
Mehmet, If you can keep the scope ({and}) correct then you will have no problems. However, it will get kinda slow after going deep enough. chuck - Original Message - From: Mehmet Kamil ERISEN [EMAIL PROTECTED] To: php [EMAIL PROTECTED] Sent: Monday, December 17, 2001 10:07 PM Subject:

Re: [PHP] PHP 4.10: any way to override register_globals = OFF

2001-12-17 Thread Charles Williams
Jack $_GET is automatically global to all scopes. No need to globalize. chuck - Original Message - From: Jack Dempsey [EMAIL PROTECTED] To: Michael Jurgens [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, December 17, 2001 10:49 PM Subject: Re: [PHP] PHP 4.10: any way to override

Re: [PHP] Is PHP up to task?

2001-12-15 Thread Charles Williams
- Original Message - From: René Fournier [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, December 15, 2001 1:27 AM Subject: [PHP] Is PHP up to task? (Now that I have your attention... :-) Here's the situation: All the navigational buttons in the site I'm working on have

[PHP] PHP Safe Mode control

2001-12-10 Thread Charles Williams
Hey all, I just finished an article on Safe Mode control for PHP but it is based on non-Win32 systems. Can somebody with a bit more experience in Win32 servers take a look at it and let me know what can be done to achieve, if not the same level of control then close to it, on a Win32 platform?

Re: [PHP] PHP based authentification -----------

2001-08-20 Thread Charles Williams
Alex, If your using sessions then just use session_destroy(); in your logout. chuck - Original Message - From: Alex Sofronie [EMAIL PROTECTED] To: PHP General [EMAIL PROTECTED] Sent: Sunday, August 19, 2001 4:25 PM Subject: [PHP] PHP based authentification --- Hi all! How

[PHP] MySQL Multi-Table Select Query Problem

2001-08-15 Thread Charles Williams
Hey folks, if you go to http://www.acnsnet.com/czc/show.php?state=Bayern You can see my problem with this query. This thing is killin me so if you have any ideas just shout. thanks, chuck Chuck's Top 10 Things to Remember and Think about!

Re: [PHP] Capturing output of shell script.

2001-07-02 Thread Charles Williams
- Original Message - From: Brad Hubbard [EMAIL PROTECTED] To: Charles Williams [EMAIL PROTECTED]; Php-General (E-mail) [EMAIL PROTECTED] Sent: Saturday, June 30, 2001 1:12 PM Subject: Re: [PHP] Capturing output of shell script. On Sat, 30 Jun 2001 06:36, Charles Williams wrote

Re: [PHP] Capturing output of shell script.

2001-07-02 Thread Charles Williams
correction below chuck - Original Message - From: Charles Williams [EMAIL PROTECTED] To: [EMAIL PROTECTED]; Php-General (E-mail) [EMAIL PROTECTED] Sent: Monday, July 02, 2001 10:54 PM Subject: Re: [PHP] Capturing output of shell script. - Original Message - From: Brad

[PHP] Capturing output of shell script.

2001-06-30 Thread Charles Williams
Hello all, I have an .sh shell script being executed from a php4 call. I need to capture the string return and work with that in the php script. The only problem is that the call works but I cannot get the returned string. I've tried using exec, passthru, ``, system, and escapeshellcommand.

Re: [PHP] ADD a user in linux using PHP

2001-06-30 Thread Charles Williams
ADD a user in linux using PHPsure, I use a small C program I wrote and set to setuid root. that way I can hide it and it all works good with an exec call from php. I wouldn't advise setting setuid adduser to root. It's way too dangerous. chuck - Original Message - From: Bruno

[PHP] Determining page load time?

2001-06-20 Thread Charles Williams \(CEO\)
Hey all, If you take a look at the link http://www.acnshosting.com/server_test/index.php you will notice that I am running a php script that calculates the time it takes to read the file from the drive and parse it through apache. However, that is all it does. What I would like to be able to

[PHP] Max execution time for exec()?

2001-05-22 Thread Charles Williams \(CEO\)
Haven't seen anything to support this but it seems to me that exec() and such has maximum execution times. Can anyone verify this? chuck -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

Re: [PHP] Is this a typo or what?

2001-05-22 Thread Charles Williams \(CEO\)
- Original Message - From: Floyd Baker [EMAIL PROTECTED] To: Henrik Hansen [EMAIL PROTECTED] Cc: Henrik Hansen [EMAIL PROTECTED]; PHP General List [EMAIL PROTECTED] Sent: Tuesday, May 22, 2001 8:16 PM Subject: Re: [PHP] Is this a typo or what? On 22 May 2001 19:32:00 +0200, you wrote:

Re: [PHP] File upload form

2001-05-22 Thread Charles Williams \(CEO\)
sniped for brevities sake ;) Chris, Have you asked what browsers they are using? Also, what are you using to serve this page? chuck -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

[PHP] Problem with exec, shell_exec

2001-05-18 Thread Charles Williams \(CEO\)
below you'll see a bit of code that is not working for me. I have tried exec, shell_exec, passthru, system. nothing works. If I copy the echoed copy of the command and paste it in an SSH session it works 100%. all of the exec, and such use the 'sh' shell. So I changed to that shell to verfy

Re: [PHP] Problem with exec, shell_exec

2001-05-18 Thread Charles Williams \(CEO\)
are set to 4700. the exec() call uses the 'sh' shell on both script calls. The only differance is that one works and the other doesn't. Any ideas? Thanks, Chuck - Original Message - From: Charles Williams (CEO) [EMAIL PROTECTED] To: Php-General (E-mail) [EMAIL PROTECTED] Sent: Friday, May

[PHP] PHP ICQ Channel

2001-05-17 Thread Charles Williams \(CEO\)
For those of you interested. There is a ICQ channel for PHP at: 74684492 -- 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] Pattern matching and replacement!

2001-05-08 Thread Charles Williams \(CEO\)
Hello all, I have a slight problem. I am storing an email template in a MySQL DB. Portions of the email have text that need to be replaced with variable values when run through the script. ex: snip Sehr geehrte(r) Frau/Herr {%Last_Name%} , Dies ist eine automatische Zusendung von ACNS Billing