[PHP] Help needed with Curl

2007-07-24 Thread Bosky, Dave
I downloaded a copy of PHP Version 5.2.3 and installed it on Windows 2003. Everything seems to work fine except for Curl. -- PHP Version 5.2.3 cURL support enabled cURL Information libcurl/7.16.0 OpenSSL/0.9.8e zlib/1.2.3 -- It keeps returning this error message. Reason 'CURL

RE: [PHP] Help needed with Curl

2007-07-24 Thread Bosky, Dave
Brown [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 24, 2007 9:01 AM To: Bosky, Dave Cc: php-general@lists.php.net Subject: Re: [PHP] Help needed with Curl On 7/24/07, Bosky, Dave [EMAIL PROTECTED] wrote: I downloaded a copy of PHP Version 5.2.3 and installed it on Windows 2003. Everything

RE: Re[2]: [PHP] Help needed with Curl

2007-07-24 Thread Bosky, Dave
: Tuesday, July 24, 2007 10:56 AM To: Daniel Brown Cc: Bosky, Dave; php-general@lists.php.net Subject: Re[2]: [PHP] Help needed with Curl Hi Daniel, Tuesday, July 24, 2007, 2:34:06 PM, you wrote: In order to enable cURL on a Windows box, you have to copy libeay32.dll and ssleay32.dll from the DLL

[PHP] php script from bat file

2007-06-12 Thread Bosky, Dave
What's the syntax I need to use to execute a PHP script from a batch file? PHP is installed in 'C:\PHP' and the script I want to run is in 'C:\Inetpub\scripts\run.php'. I've created a Windows batch file which executes from the 'C:\PHP' directory and contains a single line 'php.exe

[PHP] logging of sql queries - success/failed

2007-06-07 Thread Bosky, Dave
I've got a script that imports several CSV files via the Load Data File command. I need to know if each import query was successful or failed. Is there a way to log the success/failure of each query including how many rows were inserted? Thanks, Dave

[PHP] scheduling a script to check a directory for files

2007-05-30 Thread Bosky, Dave
Greetings! I need to write a script to import '.csv' data files into MySQL. My question is how can I have a script execute and check a directory every 4 hours for any '.csv' files and if it finds any calls a function to import them? Thanks, Dave

[PHP] convert numerical day of week

2007-05-22 Thread Bosky, Dave
How can I convert the numerical day of week to the string version? Example, if the day of the week is 1 I would like to print out 'Sunday'. Thanks, Dave ** HTC Disclaimer: The information contained in this message may

[PHP] reading Paradox (.db) files

2007-05-17 Thread Bosky, Dave
Has anyone had any experience opening and reading Paradox (.db) files using PHP? Are there any plug-ins/extensions available that someone can recommend? Thanks, Dave ** HTC Disclaimer: The information contained in this

[PHP] import dbf files

2007-05-11 Thread Bosky, Dave
My goal is to be able to import dbf files into MySQL on a nightly basis. Can I enable dbase support by uncomment the dbase extension entry in the php.ini file or is there more to it? Are there any working examples available that read and import dbf files? Thanks, Dave

[PHP] function to compare ip addr to a ip range

2005-10-13 Thread Bosky, Dave
Does anyone have a function that will check if an ip address falls with a starting/ending ip address range Thanks, Dave ** HTC Disclaimer: The information contained in this message may be privileged and confidential

[PHP] Optimize PDF on upload?

2005-10-12 Thread Bosky, Dave
Any PHP modules available that will optimize PDF files on upload? Thanks, D ** HTC Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of

[PHP] rename an uploaded file.

2005-08-09 Thread Bosky, Dave
I seem to be having some trouble renaming a file after uploading it. It always returns a warning message indicating I have an invalid attribute in my rename statement. Thanks, Dave --- Example: $old = 'C:\\homedirectory\uploadedfiles\\newfile.gif'; $new =

RE: [PHP] How to convert documents to PDF using PHP

2005-06-23 Thread Bosky, Dave
I'll be working on a Win 2003 server box. I was reading about a COM object from verypdf.com. Can you recommend any specific COM objects? Thanks.. -Original Message- From: Rory Browne [mailto:[EMAIL PROTECTED] Sent: Thursday, June 23, 2005 9:13 AM To: Bosky, Dave Cc: php-general

[PHP] How to convert documents to PDF using PHP

2005-06-22 Thread Bosky, Dave
I need to find a way to allow users to select multiple files from a list and generate a single PDF file from them. The documents are limited to the following formats: MS Word, MS PowerPoint, MS Excel, Plain Text, gif/jpeg images. Are there any PHP classes or modules that exist which can

[PHP] Add Excel/Word documents to a dynamic pdf.

2005-06-08 Thread Bosky, Dave
I know how to create dynamic PDF's on the fly using the PDF library functions. Is there a way I can add Excel and Word documents to the dynamic PDF as well? Here's what I need to do. Basically I have a master list of available files in the following formats: text, JPEG images, Excel,

[PHP] protect file access outside webroot

2005-06-06 Thread Bosky, Dave
If I want to protect document from being directly accessed from the web and only allow them to be served by a file, what's the best location to upload them? Currently I upload them the htsdata directory, is this the best location? Thanks. Dave HTC Disclaimer: The information contained

[PHP] need class to send email w/attachments

2005-05-06 Thread Bosky, Dave
Any recommendations for PHP classes that will send email messages with attachments? Thanks, Dave HTC Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or

[PHP] help formatting a mysql datetime variable

2005-04-29 Thread Bosky, Dave
I'm trying to get a mysql datetime variable called $cdate formatted so it will print: Thursday, April 28, 2005 at 8:00:00 PM Eastern Time I tried the following but it's not perfect. -- $newDate = date('I, F d, Y at g:i:s A T', $cdate); echo $newDate; --

[PHP] encrypting pwds using blowfish encryption

2005-04-26 Thread Bosky, Dave
Does anyone have a simple code example of encrypting passwords using the blowfish encryption method? I've only used blowfish with Java and I'm unsure of the syntax. Thanks, Dave HTC Disclaimer: The information contained in this message may be privileged and confidential and protected

[PHP] mysql blob datatype for documents

2005-04-18 Thread Bosky, Dave
Would it be better to store uploaded pdf, word, or excel documents in a MySql blob field rather than keeping them in a directory? I really want to secure the documents and limit document access to specific users. Curious Dave HTC Disclaimer: The information contained in this message

[PHP] RegEx help

2005-04-14 Thread Bosky, Dave
I wanted to create a regex that force a PHP form text field to meet the following requirements: a. Must contain an 1 uppercase letter. [A-Z] b. Must contain 1 digit. [0-9] c. Must be a minimum of 7 characters in length. {7} I'm not sure of how to build the correct syntax for using all 3

[PHP] Password expiration script

2005-03-31 Thread Bosky, Dave
I'm looking for a script that would require a user to change their password every 30 days. Does anyone use a script that has functionality similar to what I'm looking for? Thanks, Dave HTC Disclaimer: The information contained in this message may be privileged and confidential and

[PHP] function to resize images

2005-02-28 Thread Bosky, Dave
Does anyone have a nice function that will resize an uploaded image to specific width/height dimensions? I wanted to find something that would work for only GIF and JPG image types. I've converted my shopping cart application from Cold Fusion to PHP and need to create thumbnails and reduce the

[PHP] PHP book recommendations

2005-02-14 Thread Bosky, Dave
I'm looking for an easy to read PHP book that will help me learn a solid foundation in PHP. I'm already familiar with the language but want to make sure I'm coding in the most efficient manner. What's a few of the better books out there? HTC Disclaimer: The information contained in this

[PHP] Student Suspended Over PHP use.

2005-02-09 Thread Bosky, Dave
I just ran across this interesting article from awhile back. Pretty funny http://bbspot.com/News/2000/6/php_suspend.html Topeka, KS - High school sophomore Brett Tyson was suspended today after teachers learned he may be using PHP. A teacheroverheard him say that he was using PHP, and

[PHP] mail() function

2005-02-09 Thread Bosky, Dave
I can't seem to get the mail function to work. Is there a way to authenticate before sending mail, I believe this is my issue. Also in my php.ini file the parameter sendmail_path is empty. Is this a required parameter for sending mail? I'm using Windows/IIS. Thanks, Dave HTC

[PHP] connection pooling

2005-02-04 Thread Bosky, Dave
What options are available regarding connection pooling using PHP? I understand how to accomplish this using Java but PHP is another language. Thanks. HTC Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the

[PHP] Best method to store shopping cart contents

2005-01-28 Thread Bosky, Dave
I've written some nice shopping carts in Cold Fusion that use a session variable to hold an array of structures. I need to convert the shopping cart to PHP but I'm unsure of how to store the cart's contents using PHP. Should I create a multi-dimensional array and store it a session variable?

RE: [PHP] Best method to store shopping cart contents

2005-01-28 Thread Bosky, Dave
:[EMAIL PROTECTED] Sent: Friday, January 28, 2005 11:35 AM To: Bosky, Dave Cc: php-general@lists.php.net Subject: Re: [PHP] Best method to store shopping cart contents Bosky, Dave wrote: I've written some nice shopping carts in Cold Fusion that use a session variable to hold an array of structures

[PHP] Recommend a free shopping cart app?

2004-12-27 Thread Bosky, Dave
I was looking for a nice 'Free' shopping cart app that I can plug into my website and wanted some recommendations. I've written some good ones in Cold Fusion and don't feel like converting them to PHP at the moment. Thanks, Dave HTC Disclaimer: The information contained in this

[PHP] Best and easy html text area replacement tool?

2004-10-04 Thread Bosky, Dave
I'm looking for an easy to use html textarea replacement script and figured this was the place to locate the most popular. Thanks, Dave HTC Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of