[PHP] Where to set return-path for virtualhosts

2002-07-23 Thread Joseph Koenig
I saw a comment in the online docs about setting the return-path for sendmail for virtualhosts. However, the note did not say WHERE to put the line - I attempted to put it into apache's virtual host tag and that failed. The line was: php_admin_value return-path /usr/sbin/sendmail -t -i -f [EMAIL

[PHP] PHP 4.0.6 on NT (IIS 4.0) Can't replace uploaded file

2001-10-01 Thread Joseph Koenig
I've got a script on an NT (IIS 4.0) server that uploads a file. When the user attempts to replace the uploaded file with a new one via the form, the script is generating errors. Warning: Unable to create 'D:/public/HJ/www.h-jenterprises.com/test/pics/catalog/104_2.gif': Permission denied in

Re: [PHP] PHP 4.0.6 on NT (IIS 4.0) Can't replace uploaded file

2001-10-01 Thread Joseph Koenig
their upload script isn't setting the correct file permissions when creating the file. Directory permissions don't seem to be a problem for you. -Joe2 -Original Message- From: Joseph Koenig [mailto:[EMAIL PROTECTED]] Sent: Monday, October 01, 2001 12:38 PM To: [EMAIL PROTECTED

[PHP] Finding a File

2001-09-21 Thread Joseph Koenig
Hello everyone -- I'm just a little bit stumped on this. I've got some files that are available for user download, however, the files are in different directories. The file names are based on the item number which is available. For example, item number AS1000-01 is in directory AS and is named

Re: [PHP] Finding a File

2001-09-21 Thread Joseph Koenig
, pull AS out of ASx and MAS out of MASx? I looked through the string functions and didn't really see anything to promising. Something like is_letter() would be cool :) Thanks, Joe Joseph Koenig wrote: Hello everyone -- I'm just a little bit stumped on this. I've got some files

[PHP] PHP + NT + Weird line break??

2001-09-18 Thread Joseph Koenig
On NT, I have recently run into this problem. However, this is only as of today. When using include(); at the top of a page: ? include(); ? HTML... There is a line break before my page most of the time, but not always. Removing the include file and copy-pasting it's contents into the top

[PHP] PHP + FreeBSD + ODBC -- Progress Database

2001-09-13 Thread Joseph Koenig
This is probably a really stupid question. I've been reading info on phpbuilder and at iodbc.org and I must just be missing something. What I want to do is connect to a Progress Database on WinNT from a FreeBSD 4.3 server with PHP 4.0.6. Before I compiled PHP, I was under the impression I needed

[PHP] File Upload and NT...

2001-08-24 Thread Joseph Koenig
Sorry, I know file uploads are asked about all the time... I'm having an odd problem on a WinNT system. When I try to do my upload, I test the file to see the type of it: $image_info = GetImageSize($the_image); However, that line gives me: Warning: getimagesize: Unable to open

Re: [PHP] File Upload and NT...

2001-08-24 Thread Joseph Koenig
Actually, The warning is coming from when I try and upload the file from the desktop of my Mac. It's supposed to get uploaded into: C:\WINNT\PHP\UPLOADTEMP. I checked phpinfo() and that's where it says the upload_tmp_dir is. By the way, I was using the getimagesize to check if the file is a

[PHP] MySQL - Quicken

2001-06-20 Thread Joseph Koenig
I've got a client who wants to be able to export some stuff from a MySQL database in a format that Quicken can import to print some checks. Is this possible? From what i've seen, Quicken takes a proprietary format. Any info would be appreciated. Thanks, Joe

[PHP] Store PHP Code in MySQL?

2001-06-19 Thread Joseph Koenig
I've been playing a little bit trying to store some PHP code in MySQL and get it to execute. However, it behaves just like expected in that it just displays the code, and doesn't execute it. Essentially, i want to do this: ? while($data = mysql_fetch_array($result)) {

[PHP] Continue Script after readfile()

2001-05-16 Thread Joseph Koenig
is it possible for a script to continue running after calling readfile()? I have a function that uses readfile(), after the file has been read, I need to update a database. Any reason my script would just stop executing? At first I thouht it may be a time limit, issue, but I set time limit to 0

Re: [PHP] Continue Script after readfile()

2001-05-16 Thread Joseph Koenig
OK, I think I failed to see what was realling happening. The script is continuing after the readfile(), however, I want the page to reload after the file is done. The link that lets the user download the file is really a link to $PHP_SELF with some variables set. Everything in the script will

Re: [PHP] add to .htpasswd via php

2001-05-02 Thread Joseph Koenig
- From: Joseph Koenig [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 02, 2001 1:40 PM To: [EMAIL PROTECTED] Subject: [PHP] add to .htpasswd via php I'm attempting to streamline my work by writing a script that will add a user to the .htpasswd file. If echo the command I'm sending (via

[PHP] This should be simple...

2001-04-20 Thread Joseph Koenig
I have a client who insists on being able to put quotes into one of the fields of the database. That's fine with me, however, when editing records, anything in the quotes won't show up on the admin page. Essentially what happens is this: INPUT TYPE ="text" blab blab VALUE = "Here's the text "in

Re: [PHP] This should be simple...

2001-04-20 Thread Joseph Koenig
Right on. That did it. I probably should have been RTFM'ed for that one :) I knew there was a simple solution. Joe Alexander Wagner wrote: Joseph Koenig wrote: INPUT TYPE ="text" blab blab VALUE = "Here's the text "in quotes"" Well, obviously there's a pro

[PHP] PHP Install Problem

2001-03-19 Thread Joseph Koenig
Hi, I'm trying to get php to install on a RH 6.2 system. Apache 1.3.12. All goes well with the configure, make, and make install, but my server (apache) won't start and I get this message: Syntax error on line 249 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/libphp4.so into