[PHP] Problem with ftp_get and ftp_put over SSL

2005-02-23 Thread Tim Boring
I need to transfer files between a server at my company and one of our vendors. The vendor's running a SecureFTP (FTPS) server. In order to automate this from our side, I've created a class that wraps the ftp functions in an object. When I test my class on a standard FTP server, everything works

Re: [PHP] Problem with ftp_get and ftp_put over SSL

2005-02-23 Thread Tim Boring
Hi, Richard! On Wed, 2005-02-23 at 08:45 -0800, Richard Lynch wrote: > Maybe try the active/passive thing... > > Often-times, the client/server will/won't allow one or the other, based on > their idea of what's safe/fast. Yes, I tried that, too. Sorry, I didn't mention that in my original post.

Re: [PHP] Web Browser Timeout on Upload Script

2005-02-23 Thread Tim Boring
On Wed, 2005-02-23 at 22:54 +0100, Marek Kilimajer wrote: > Matt Cassarino wrote: > > Hi, > > > > I am running a simple Upload script in PHP using a HTML Form with a File > > field. The user can browse their computer and upload a file. It works > > great, except for large files, where the brow

Re: [PHP] FTP functions

2005-03-07 Thread Tim Boring
Hello! On Mon, 2005-03-07 at 18:20 +0530, Vaibhav Sibal wrote: > Hi > I checked ou the ftp functions of PHP, what I wanted to ask was that > if I connect to a remote server and issue and ftp_fget() command the > file will be downloaded to the server running the PHP code and Apache > webserver or t

Re: [PHP] Problem with ftp_get and ftp_put over SSL--SOLVED

2005-03-07 Thread Tim Boring
On Wed, 2005-02-23 at 15:58 -0500, Tim Boring wrote: > Hi, Richard! > > On Wed, 2005-02-23 at 08:45 -0800, Richard Lynch wrote: > > Maybe try the active/passive thing... > > > > Often-times, the client/server will/won't allow one or the other, based on > > th

[PHP] Best practices for set/get methods

2005-04-14 Thread Tim Boring
Does anyone have suggestions/ideas about best practices for writing set/get methods in PHP5? There are two basic ways I've seen this done, which I've provided examples of below. Method #2 is obviously the easier way, but that doesn't mean it may be the best way. I'm curious to read people's respo

[PHP] Seemingly weird regex problem

2005-01-20 Thread Tim Boring
array_push($tossed_lines, $line); echo "Rule #4 violation\n"; $tossed_counter++; $total_counter++; break; default: fwrite($output_handle, $line); $counter++; $total_counter++; break; } } -- Tim Boring IT Department, Automotive Distributors Toll Free: 800-421-5556 x3007 Direct: 614-532-4240 E-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Seemingly weird regex problem

2005-01-20 Thread Tim Boring
On Thu, 2005-01-20 at 12:59, Richard Lynch wrote: > Tim Boring wrote: > > Hello! I'm having an odd regex problem. Here's a summary of what I'm > > trying to accomplish: > > > switch ($line) > > { > > case ($total_counter <= 5

Re: [PHP] Seemingly weird regex problem

2005-01-20 Thread Tim Boring
On Thu, 2005-01-20 at 13:41, Jason Wong wrote: > On Friday 21 January 2005 01:52, Tim Boring wrote: > > Well the biggest problem in your code right now is your incomprehensible (to > me anyway) use of the switch construct. For a start I've no idea why you're > using ...

Re: [PHP] Seemingly weird regex problem

2005-01-20 Thread Tim Boring
On Thu, 2005-01-20 at 14:40, Bret Hughes wrote: > On Thu, 2005-01-20 at 12:43, Jason Wong wrote: > > On Friday 21 January 2005 02:16, Tim Boring wrote: > > > > > It's perfectly legit to use expressions. Now perhaps there is something > > > wrong with th

Re: [PHP] Seemingly weird regex problem

2005-01-20 Thread Tim Boring
On Thu, 2005-01-20 at 13:43, Jason Wong wrote: > On Friday 21 January 2005 02:16, Tim Boring wrote: > > > It's perfectly legit to use expressions. Now perhaps there is something > > wrong with the regex I'm trying to use, but using a regex in and of > > itsel

RE: [PHP] Seemingly weird regex problem

2005-01-20 Thread Tim Boring
On Thu, 2005-01-20 at 15:13, Michael Sims wrote: > Tim Boring wrote: > > On Thu, 2005-01-20 at 13:41, Jason Wong wrote: > >> I suspect what you want to be doing is something like this: > >> > >> switch (TRUE) { > >>

Re: [PHP] using require

2005-07-11 Thread Tim Boring
if I need to change a field in a table, add/delete a field, or add a whole new table, I simply make the change in my schema file, re-generate my PHP classes, and then use the new classes in my app. I don't have to search through a bunch of code to find all the instances of a particular SQL

[PHP] Problem with php.ini

2005-08-16 Thread Tim Boring
I'm having a problem with php-cli and php_mod reading my php.ini file. I've compiled php from source, during which process I set "--with-config-file=/etc". Once the compile completed, I then copied php.ini-recommened to /etc/php.ini. After restarting Apache, I run phpinfo() and "Configuration Fil

Re: [PHP] [SOLVED]Problem with php.ini

2005-08-16 Thread Tim Boring
On Tue, 2005-08-16 at 17:59 +0200, Torgny Bjers wrote: > Tim Boring wrote: > > >I'm having a problem with php-cli and php_mod reading my php.ini file. > >I've compiled php from source, during which process I set > >"--with-config-file=/etc". Once the

Re: [PHP] Help Desk software

2005-12-21 Thread Tim Boring
On Wed, 2005-12-21 at 09:17 -0800, Daniel Lahey wrote: > I found one set of links that might prove helpful: http:// > www.helpdesk.com/software-helpdesk.htm A lot of the software doubles > as asset management software or comes bundled with such a module. > There are a yitload of links on th

Re: [PHP] question about compositing objects

2006-01-12 Thread Tim Boring
whether you're operating on a copy of an object or a reference to the actual object itself. Hope that helps! Tim -- Tim Boring IT Manager Automotive Distributors Warehouse 2981 Morse Road Columbus, OH 43230 direct: 614-532-4240 toll free: 800-421-5556 x 4240 e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php