Re: [PHP] mail function fails

2001-07-02 Thread Julia A. Case
/usr/sbin/sendmail should be SUID root, if your isn't change that and it should work fine. Julia Quoting Shrout, Ryan ([EMAIL PROTECTED]): > I don't think that is it anymore. I have a new discovery. Upon running the > actually PHP script from the console, the code works! But only when I am >

Re: [PHP] php not run as cgi.

2001-06-30 Thread Julia A. Case
You can change the group to the group the webserver runs as and then make the file mod 660 (this way the webserver can read but other people can't) Hope this helps, Julia Quoting Jack ([EMAIL PROTECTED]): > hi everyone, > Does anyone know the best way to secure php source code so it is not > g

Re: [PHP] reading records alphebetically

2001-06-30 Thread Julia A. Case
Try using a query like select * from table_name where name like '$letter%'; Julia Quoting Jamie Saunders ([EMAIL PROTECTED]): > Hi, > > I have a MySQL database set-up containing a few hundred records. I'm trying > to make a script that reads the 'name' field of the records and displays > only

Re: [PHP] Please Help......

2001-06-30 Thread Julia A. Case
This could be difficult or not even possible... first you would need to add entries to the DNS zone file (and update the serial number) and then reload the DNS database, and this is only if you run your own DNS and not have your provider do it for you, like many of us do. Then you would have

Re: [PHP] passwd in php....

2001-06-30 Thread Julia A. Case
I don't think this is going to work, passwd requires you to input the passwword, not just pass it as an option on the command line. On top of that, you have to be root to change a password other than yours. Julia Quoting Bruno Freire ([EMAIL PROTECTED]): > Hi... > > My name is Bruno. > > Som

Re: [PHP] Pricing Advice Needed

2001-06-29 Thread Julia A. Case
This varies greatly depending on where you are... For example here on Long Island I can make $60-80 / man hour, but in New York City I can make as much as $150 / man hour... It also depends on what you are doing. Hope this helps, Julia Quoting Alva Chew ([EMAIL PROTECTED]): > Hi everyone, >

Re: [PHP] php 4.06 as an apache DSO Error

2001-06-23 Thread Julia A. Case
Make sure your configure statement contains something like this --with-apxs=/path/to/apxs Julia Quoting Daniel Guerrier ([EMAIL PROTECTED]): > I'm trying to install PHP 4.06 as a DSO with apache > 1.3.20 on redhat 7.1 and it produces this error. No > of which are the problem. What else can it

[PHP] math question

2001-06-23 Thread Julia A. Case
$theta = 15*pi/360; gives a value of 0 for $theta... it should be something like 0.131... Julia -- [ Julia Anne Case ] [Ships are safe inside the harbor, ] [Programmer at large] [ but is that what ships are really for.] [ Admining Linux ] [ To thine own

[PHP] gd library

2001-06-22 Thread Julia A. Case
This message never showed up on the list so I appologize if it shows up 2x. I have a customer that wants to use the gd library with PHP, I got 2 different versions (1.3.8 and 2.0.1) and both say that they no longer support GIF formats... but when I try to compile the ext/gd/gd.c file I get err

Re: [PHP] SQL statement for clearing a table

2001-06-22 Thread Julia A. Case
try delete from table; Julia Quoting Wilbert Enserink ([EMAIL PROTECTED]): > Hi all, > > anybody knows the mysql statement for clearing the contents of a table and > lieving the table itself intact? > > Wilbert > > - > Pas de Deux > Van Mierisstraat 25 > 2526 NM Den

[PHP] compiling with the gd library

2001-06-22 Thread Julia A. Case
I have a client that wants to have the gd library compiled into php, I got a modern version of the gd lib (1.8.4 and 2.0.1) and both state that they dropped support for gifs... but the ext/gd/gd.c tries to use gif calls... I'm confused. Julia -- [ Julia Anne Case ] [Ships are safe

[PHP] Developer mailing list

2001-06-22 Thread Julia A. Case
Hi, I'm trying to write a module for PHP and need a little help, I went to http://lists.php.net to see if there was a developer list, but only found the defualt Apache web page... Can someone direct me in the proper direction? Thanks, Julia -- [ Julia Anne Case ] [Ships are safe in

Re: [PHP] HELP problems running PHP4 script in CRON

2001-06-19 Thread Julia A. Case
I think your troubles are that you need a #!/path/to/php or you can start it with php -f file.php Julia Quoting Splashy ([EMAIL PROTECTED]): > Hi, > > Please find script below and hopefully tell me why when I run it over the > web it works perfectly but when I run it using cron or in a telnet

Re: [PHP] RE: Lists are back up

2001-06-18 Thread Julia A. Case
Quoting ckieninger ([EMAIL PROTECTED]): > thanks > can you renable the gtk-php mailing list. Thanks, Julia -- [ Julia Anne Case ] [Ships are safe inside the harbor, ] [Programmer at large] [ but is that what ships are really for.] [ Admining Linux ] [ T

Re: [PHP] MySQL database

2001-05-16 Thread Julia A. Case
first off, is the MySQL database running? you can do a ps -xa | grep mysql to see... second you need to enter a username and password on the mysql_connect line.. Hope this helps, Julia Quoting [Inf] F!RE-WALL ([EMAIL PROTECTED]): > Yo, > > I'd like to use a MySQL database on my website. If

[PHP] sockets...

2001-02-25 Thread Julia A . Case
Ok, I'm trying to open a socket connection to port 23 (telnet)... the script just seems to hang on connect... though I can connect and talk with ports 25 (smtp), port 80 (http), port 110 (pop3) and port 443 (https) so the code isn't too bad... Is there something special about the telnet por

[PHP] PHP CGI-Binary

2001-02-25 Thread Julia A . Case
Ok, I give up... how do I build PHP as a CGI-Binary? I've spent two days searching the configure file for this. Julia -- [ Julia Anne Case ] [Ships are safe inside the harbor, ] [Programmer at large] [ but is that what ships are really for.] [ Admining Linux ] [

[PHP] adding lib files...

2001-02-14 Thread Julia A . Case
If I have a lib.so file can I just link it in with php and have access to the functionality in lib.so? If not can someone show me the way to adding things to php? Julia (sorry if this is a stupid question) -- [ Julia Anne Case ] [Ships are safe inside the harbor, ] [Programm

Re: [PHP] Telnet with php?

2001-02-09 Thread Julia A . Case
I've been messing with popen and telnet recently and I can see the machine connect and show a response but I never get to a login prompt. I'll be fiddling with this some more, maybe we can work on it together? Julia Quoting Brandon Orther ([EMAIL PROTECTED]): > Hello, > > Is there a way to t

[PHP] string vs. integer...

2001-02-07 Thread Julia A . Case
How do I detrmine of a value is a string or a integer? I'm trying to tell the differnce between "machine.domain.com" and "192.168.2.1" I was going to explode on "." and parse through the data and validate it. Julia -- [ Julia Anne Case ] [Ships are safe inside the harbor, ] [

[PHP] PHP/MySQL question

2001-01-29 Thread Julia A . Case
Is it possible to move through an array that is returned as a recordset and then move back to the beginning of the array. Julia -- [ Julia Anne Case ] [Ships are safe inside the harbor, ] [Programmer at large] [ but is that what ships are really for.] [ Admining Li

Re: [PHP] PHP on FreeBSD 3.2

2001-01-26 Thread Julia A . Case
Thanks, it works now. Julia Quoting Rasmus Lerdorf ([EMAIL PROTECTED]): > Try a snapshot from http://snaps.php.net > > This should be fixed. > > -Rasmus > > On Fri, 26 Jan 2001, Julia A . Case wrote: > > > I'm having some trouble with PHP4 on a FreeBSD

[PHP] PHP on FreeBSD 3.2

2001-01-26 Thread Julia A . Case
I'm having some trouble with PHP4 on a FreeBSD 3.2 machine. PHP3 compiles and works fine, but PHP4 gives a floating point error (both as a module and static). PHP4 under FreeBSD 4.2 works fine. Any ideas, Julia -- [ Julia Anne Case ] [Ships are safe inside the harbor, ] [Pro

Re: [PHP] Sendmail User ID

2001-01-18 Thread Julia A . Case
$mailsent = mail("[EMAIL PROTECTED]", "Subject", $mesg, "From: [EMAIL PROTECTED]\n") Try this, Julia Quoting Yurais Fernandez Leal ([EMAIL PROTECTED]): > > Hi > > I have a web site that sends virtual greetings cards > > But the mails are been sent as nobody@webserver > > nobody is

[PHP] using ssh via popen

2001-01-14 Thread Julia A . Case
Can anyone shed any light on why the following code doesn't work? I'm trying to interact with ssh through PHP's popen function. Julia "; maxpsi(0); ?> -- [ Julia Anne Case ] [Ships are safe inside the harbor, ] [Programmer at large] [ but is that what ships are really