[PHP] OS X and cURL Issues

2002-11-30 Thread Weston Houghton
I'm working on getting the following install working under OS 10.2.2: ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/share/man \ --with-apxs=/usr/sbin/apxs \ --with-mysql \ --with-gd=/usr/local \ --with-png-dir=/usr/local \ --with-zlib-dir=/usr/local \ --with-

[PHP] Re: [PHP-INST] OS X and Curl Issues

2002-12-01 Thread Weston Houghton
I found two main things that were hampering my install. 1. While I thought I had updated cURL, I believe I may have only upgraded the executable itself the first time, while leaving the libraries themselves at an older version. 2. OS X install cURL with a prefix of /usr, whereas the standard c

[PHP] Free Util: apxDebug

2002-12-07 Thread Weston Houghton
Hey all, I've been meaning to write a simple debug tracking class for use in my own projects. So this week I finally did. I have no clue if anyone else would ever use it, or have any interest in looking at it, but I've set it up for people to download it if you have any interest. Regardless, I

Re: [PHP] Nested Arrays

2002-12-26 Thread Weston Houghton
Sure... for the longwinded approach, just do this: $row1 = array("col1", "col2", "col3", ...); $row2 = array("col1", "col2", "col3", ...); $row3 = array("col1", "col2", "col3", ...); $row4 = array("col1", "col2", "col3", ...); $row5 = array("col1", "col2", "col3", ...); $main_array = array($row1

Re: [PHP] Nested Arrays

2002-12-26 Thread Weston Houghton
Sure... for the longwinded approach, just do this: $row1 = array("col1", "col2", "col3", ...); $row2 = array("col1", "col2", "col3", ...); $row3 = array("col1", "col2", "col3", ...); $row4 = array("col1", "col2", "col3", ...); $row5 = array("col1", "col2", "col3", ...); $main_array = array($row1

[PHP] str_replace

2002-12-26 Thread Weston Houghton
All, In using str_replace, I glanced at the manual and found that it can take arrays for it's arguments. Great! I thought that I could have a single search string, an array of replacement vars, and no subject. It would then replace each successive instance of the search string with the next e

Re: [PHP] str_replace

2002-12-26 Thread Weston Houghton
okey dokey, here goes: this gets really complicated to explain without showing the code, which I really can't do (damned NDA's) and ultimately it's a bit big to post anyhow. But I'm going to try. I let the user specify a number of rows to input 2 pieces of data. I then replace a template conta

Re: [PHP] fit window to image

2003-01-16 Thread Weston Houghton
This wouldn't really be done in PHP. This is a Javascript element, as it requires work to be done on the client side. You could easily make a combination of PHP and Javascript to do this with any set of images though. Wes On Thursday, January 16, 2003, at 08:37 PM, Ezequiel Sapoznik wrote:

[PHP] Blueshoes App Framework

2003-01-21 Thread Weston Houghton
Does anyone have any experience with or comments on blueshoes? I've not investigated it much, as the license seems a bit odd, but I thought I'd get some info on it if anyone had any, so far I haven't found anyone who has tried it, which seems a tad weird to me. http://www.blueshoes.org/ Cheer

[PHP] __PHP_Incomplete_Class Object

2003-01-29 Thread Weston Houghton
Ok, now I'm frustrated. I'm trying to register an object in the session, and access that object from 2 different pages. I start off in the first file, and do: include("nycmgMail.php"); session_start(); $myMailer = new nycmgMail(); $myMailer->buildRecipients(); $_SESSION['myMailer'] = $myMaile

[PHP] Using CVS through PHP

2003-01-30 Thread Weston Houghton
I'm looking at building a system script for build management. I would very much prefer to do this in PHP. Are there any integrated means of using CVS with php, or am I limited to using system calls from cvs? Thanks, Wes ---

[PHP] 4.3 Install on Solaris

2003-01-31 Thread Weston Houghton
All, I seem to be getting a silly error on Solaris when trying to do a PHP 4.3 make. I get an error that looks to me like the liner arguments are just too long. to be honest, I'm a bit stupified as to why this is happening or how to fix it. FWIW, I have compiled 4.23 just fine on that box

Re: [PHP] mailing with SMTP server requiring authentication

2003-02-02 Thread Weston Houghton
For a bit more in depth answer, I would recommend using the Mail class in Pear: http://pear.php.net/manual/en/core.mail.mail.php Should make it very easy. Wes On Sunday, February 2, 2003, at 01:10 PM, Jason Wong wrote: On Monday 03 February 2003 00:32, Johan Köhne wrote: Is it possible and

Re: [PHP] Resizing Images Uploaded to Web Page

2003-03-08 Thread Weston Houghton
You'll need to either use the gd functions, or my recommendation, get the imagick module and use it. Both should do an excellent job. iMagick is in PEAR. Wes On Saturday, March 8, 2003, at 03:15 PM, Vernon wrote: I have users uploading images to a server and need to have those files resized

Re: Fw: [PHP] Resizing Images Uploaded to Web Page

2003-03-08 Thread Weston Houghton
iMagick offers all of the functionality of imageMagick, which is a substantially different subset than GD. iMagick is primarily geared toward modifying existing images. Resizing, converting formats, apply effects to, etc. It also works with a far larger set of base image formats. Check out

Re: [PHP] request

2003-05-30 Thread Weston Houghton
I would imagine that you have to add: $random = gmp_strval($random); In between the two lines to convert the resource to a string value. Wes On Thursday, May 29, 2003, at 04:24 PM, Marius wrote: how to do that it echoes a random number and not a Resource id #1, -- Marius [EMAIL PROTECTED]

Re: [PHP] Anyone have oci8 working on MacOSX?

2003-05-30 Thread Weston Houghton
What version of PHP are you using, and are you using both CLI and Apache module at the same time? I compiled it at work with no huge problems. Wes On Thursday, May 29, 2003, at 06:45 PM, Sapporo wrote: Hi, is anyone sucessfully using the oci8 Oracle extension on MacOSX? Whenever I try to co

Re: [PHP] Namespace like C++

2003-06-03 Thread Weston Houghton
Nope. They've been looking to add it in the next version of the Zend Engine, but to be honest, it isn't working out well for a language like PHP. As of last week, the decision was actually to remove the somewhat dubious namespace support that had already been added. Cheers, Wes On Monday, June

Re: [PHP] ImageMagick Extension v0.2a Released (UPDATED)

2002-11-21 Thread Weston Houghton
I had no idea anyone was actively working on something like this. Are you looking for help? Do you plan on perhaps making this a Sourceforge project, or something similar? Cheers and great job, Wes On Thursday, November 21, 2002, at 05:56 PM, Michael Montero wrote: Just released the next ve

[PHP] Browscap.ini

2001-05-19 Thread Weston Houghton
So... I cannot for the life of me get browscap.ini to work. Also the browserhawk version of the browscap.ini is sadly out of date. Anyone have any leads for me on getting this to work? I consistently get an empty array returned. Thanks, Wes -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] RANT: Why doesn't PHP have built-in support for dynamicimage generation?

2002-02-02 Thread Weston Houghton
Anybody interested in working on a PEAR module to interface PHP with something like ImageMagick directly? I would love to see it. Maybe if I am unemployed long enough soon I can work on it myself. Not that I really want that to happen... I think that might be the best solution for PHP's lack of

Re: [PHP] argh!

2002-02-19 Thread Weston Houghton
Is it an array, or a single variable? Wes > Ok this is getting frustrating! I am serializing a variable and passing it > through the url, in the url and when I echo it on the next page it shows > s:608:, and when I unserialize it and echo it, it doesnt show anything! How > can I pull that dat

Re: [PHP] POST form File Upload Progress Bar?

2002-04-16 Thread Weston Houghton
My cheap trick around this is to have an onClick event on the form submit button that brings up a small window with a progress note in it, and an animated gif of a prgress bar. As the page does not unLoad until the upload is finished, I use the unLoad event of the body tag to close that progress

Re: [PHP] POST form File Upload Progress Bar?

2002-04-16 Thread Weston Houghton
Let me isolate it out of the project tonight, and I'll try to post a simple example for everyone. Wes > could you give us some samples im also searching for that. thanks. > > Regards, > mike > >> >> My cheap trick around this is to have an onClick event on the form submit >> button that bri

Re: [PHP] Not A PHP question but I need help in a big way...

2002-04-22 Thread Weston Houghton
Check out ChiliSoft: http://www.chilisoft.com/ Wes > Hi, > > I just got finish will a meeting from HELL, I need to ask can some one tell > me is there an Apache Mailing List like this. I have to ask if I can do ASP > page on Apache, I know I know please don't flame me, I kept trying to get >

[PHP] PHP 4.2x changes

2002-05-14 Thread Weston Houghton
All, I've recently upgraded from 4.1.2 to 4.2.0. And of course my script has stopped working. I know a lot with the globals has changed, but to be honest, I am not sure how or why. Can anyone give me an initial lead as to what I should look for first? I know I use the following elements: $_SER

Re: [PHP] PHP 4.2x changes

2002-05-14 Thread Weston Houghton
on register_globals in your php.ini file and things should start > working again. > > On Tue, 14 May 2002, Weston Houghton wrote: > >> >> All, >> >> I've recently upgraded from 4.1.2 to 4.2.0. And of course my script has >> stopped working. I

Re: [PHP] PHP 4.2x changes

2002-05-14 Thread Weston Houghton
g called initially. Thanks for the patience and help. Wes > http://www.php.net/manual/en/security.registerglobals.php > > On Wed, 15 May 2002, Weston Houghton wrote: > >> >> Ok, makes sense based on previous threads I have gleaned over. Can you point >> me to any

[PHP] Missing functions??

2002-05-27 Thread Weston Houghton
Hello again all, I'm using the Mac OS X binary of PHP 4.2.1 provided by Mark Liyanage (http://www.entropy.ch/software/macosx/php/), and I am starting to notice some oddities, I was wondering if anyone else had seen these errors in other ports. I'm getting some base php functions that seem to be

[PHP] Apache query error affecting PHP?

2002-05-28 Thread Weston Houghton
Hello... I'm wondering if I have found an oddity in httpd. I'm currently writing a PHP directory listing system. I am pretty sure that this is not a php issue, but I have not been able to test it on a httpd install sans php, but it can be seen when requesting an image file, which should not invo

Re: [PHP] Apache query error affecting PHP?

2002-05-28 Thread Weston Houghton
s one (but not fully crazy). Now I have to try to convince Microsoft that they have a bug... ooh fun. Thanks for the reply here, it seems my mail from the apache list is not coming through, so I hadn't seen the response there. Cheers, Wes > Weston Houghton <[EMAIL PROTECTED]> wr

Re: [PHP] _() ???

2002-05-28 Thread Weston Houghton
Oddly, I get the following error on the page when trying to view it though: Fatal error: Call to undefined function: _() in /Library/WebServer/Documents/admin/horde/config/prefs.php on line 5 Here's the exact offending code: $prefGroups['language'] = array( 'column' => _("Your Information")

Re: [PHP] _() ???

2002-05-28 Thread Weston Houghton
Of course this had to come in after I sent my email. Thanks again Rasmus, you seem to always be there with the answer. Wes > No, the _() function is the standard gettext() alias. See > http://php.net/gettext > > -Rasmus > > On Tue, 28 May 2002, John Holmes wrote: > >>> What exactly does t

[PHP] PHP 5?

2002-02-23 Thread Weston Houghton
Are there rumblings of what to look for in the next major release of PHP yet? Is there a different, better place to ask? I'm just curious... Wes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Read and Escape file

2002-04-04 Thread Weston Houghton
Hey all, I am looking to build a bit of a weird templating system for a project I am working on. Currently, I am looking at building these templates in separate text files, and allowing certain elements to be replaced within those files. I'm thinking then of reading these text files into php th

[PHP] Beginner's CURL

2001-12-12 Thread Weston Houghton
Ok, So I'm an admitted newbie to using CURL, and idea why this doesn't work? curl -O http://www.php.net/do_download.php?download_file=php-4.1.0.tar.gz curl: No match. Thanks, Wes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

[PHP] PHP 4.1.0 Compiling on OS X

2001-12-12 Thread Weston Houghton
Hey all, So I'm experimenting trying to get PHP 4.1 running under MacOS 10.1.1, running the following for configure: ./configure --with-apxs2=/Volumes/ego/apache2/bin/apxs --enable-calendar --enable-ftp --with-gd --enable-mailparse --with-mysql --enable-trans-sid Getting through configure ok,

Re: [PHP] PHP 4.1.0 Compiling on OS X

2001-12-12 Thread Weston Houghton
P.S. From my checking all php_dl functions are declared as returning voids... Wes > > Hey all, > > So I'm experimenting trying to get PHP 4.1 running under MacOS 10.1.1, > running the following for configure: > > ./configure --with-apxs2=/Volumes/ego/apache2/bin/apxs --enable-calendar > --e

[PHP] PHP & Imagemagick

2001-07-22 Thread Weston Houghton
Does anyone know if there are PHP specific bindings for ImageMagick out there? If not, anyone want to work on them... :) Thanks, Wes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the l

Re: [PHP] PHP & Imagemagick

2001-07-22 Thread Weston Houghton
but only from the point of view of exec > > Do you mean building them into PHP functions? > > - Original Message - > From: "Weston Houghton" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Sunday, July 22, 2001 11:05 PM > Subject: [PHP]

[PHP] Large File Uploads, max file sizes and timeouts

2001-09-20 Thread Weston Houghton
Hey all, Two related questions. If I remember correctly this has been beaten to death before on the list, but here I am having issues with it, and ending up at somewhat of a loss still. I've built a media management system for a video company. It is built to handle large data assets, such as ex

[PHP] Help! Large File Uploads, max file sizes and timeouts

2001-09-23 Thread Weston Houghton
Does no one have a clue on this one? I'm really in need of leads here. Thanks, Wes > > Hey all, > > Two related questions. If I remember correctly this has been beaten to death > before on the list, but here I am having issues with it, and ending up at > somewhat of a loss still. > > I've bu