RE: [PHP-DB] Can't copy file to another server

2003-10-24 Thread N . A . Morgan
A simple thing, but do you have wrte permission on your drive F: from the web server? -Original Message- From: Karen Resplendo [mailto:[EMAIL PROTECTED] Sent: 23 October 2003 22:18 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DB] Can't copy file to another server Nope. A

[PHP-DB] unsubscribe...

2003-10-24 Thread jjende
unsubscribe... -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Using PHP to print using LP on Linux

2003-10-24 Thread Paul Fitz
Hi Guys, I suppose this isn't a database specific question, but it is the only PHP mailing list I am subscribed to. Trying to trigger a printer in the office hooked up to a Mandrake 8 box with PHP 4.3 to print a file remotely, using the 'lp' command. Uses a postscript template to create the t

[PHP-DB] Tristan Pretty is out of the office.

2003-10-24 Thread Tristan . Pretty
I will be out of the office starting 23/10/2003 and will not return until 11/11/2003. I will respond to your message when I return. Please contact Fiona or Alan for any issues. * The information contained in this e-mail me

[PHP-DB] Re: Tristan Pretty is out of the office.

2003-10-24 Thread David Robley
In article , [EMAIL PROTECTED] says... > > > > > I will be out of the office starting 23/10/2003 and will not return until > 11/11/2003. > > I will respond to your message when I return. > Please contact Fiona or Alan for any issues. Clearly, requested advice on how to unsubscribe didn't ge

[PHP-DB] Re: unsubscribe...

2003-10-24 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > unsubscribe... > Er, look down below -- Quod subigo farinam A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet? -

Re: [PHP-DB] txt to db, file() bug? - solved err..worked around

2003-10-24 Thread jeffrey_n_Dyke
The crux of the problem seemed to be that i was ftp'ing files down from remote servers(1 to 4 depending how many are currently active), saving them locally and then parsing those files in the same script. When i removed the ftp process from the code and broke the process out into two seperate cod

[PHP-DB] Configuring GD for Windows: image functions

2003-10-24 Thread Dillon, John
Could someone suggest where I am going wrong in configuring GD for Windows please? Ruunning Apache 1.3.2 and PHP 4.3.28 Apache httpd.conf says: LoadModule php4_module c:/PHP/php-4.3.2-Win32/sapi/php4apache.dll php.ini is only in c:\WINNT and says extension=php_gd2.dll

[PHP-DB] RE: Configuring GD for Windows: image functions

2003-10-24 Thread Dillon, John
I actually got this to work by changing ./extensions to c:\php\extensions. Still don't know where the ./ is relative to. There is no error on starting Apache. However, at the code lines: line 161> $file=$img[$y]; line 162> $src_img=ImageCreateFromJPEG($file); I get error: imagecreatefromjpeg: Un

Re: [PHP-DB] Using PHP to print using LP on Linux

2003-10-24 Thread Mac Intyre, Steven
Hiya, Mine works with the following; extension_dir = "c:/winnt/" And simply copy the php_gd2.dll file into the folder. Then restart apache. PS: This topic is a PHP-WIN topic not DB. Regards, Steven On 25 Oct 2003 at 5:43, Paul Fitz wrote: > > Hi Guys, > > I suppose this isn't

RE: [PHP-DB] Can't copy file to another server

2003-10-24 Thread Karen Resplendo
Gonna have to check that one. Who gets this permission might I ask? I'm told the PHP process is running under Administrator, so . . . . . . . . .is there any way to tell for sure? (by the way, your posts come through as triplicates) [EMAIL PROTECTED] wrote: A simple thing, but do you have wrt

[PHP-DB] Re: Using PHP to print using LP on Linux

2003-10-24 Thread Jason S Motes
This is what i use: exec ("lpr -P $PrinterName $PostscriptFile",$printOut , $printReturn); Paul Fitz wrote: Hi Guys, I suppose this isn't a database specific question, but it is the only PHP mailing list I am subscribed to. Trying to trigger a printer in the office hooked up to a Mandrake

[PHP-DB] Still can't copy file to remote server

2003-10-24 Thread Karen Resplendo
I've been able to do using the Command Prompt on the webserver where PHP is housed, but it doesn't work in PHP: $cmd= 'cmd /c copy "C:\Program Files\Apache13 14\Apache\htdocs\AsciiCheck\a.txt" "F:\" '; print $cmd.""; passthru($cmd); This is the output on the php page: cmd /c copy "C:\Program

[PHP-DB] mysql field comparison to multiple variables

2003-10-24 Thread Mike Baerwolf
Hello, I trying to put together a sql statement that will pull records based on a date field. I can't figure out how to compare the date field to multiple php variables. Something like this, WHERE date_field != $date_1 OR $date_2 OR $date_3 etc. etc. Thanks for the help. Mike -- PHP Databa