[PHP] PEAR::Archive_Tar: File limit???

2003-07-22 Thread Michael Smith
Hi, I'm using PEAR::Archive_Tar to create a tar backup. I already have all my stuff ready in some folders, so this is whats going on: //we need the files $files[0] = "../downloads/"; $files[1] = "../images/"; $files[2] = "../pages/"; $files[3] = "../pages_

[PHP] Backing up: Database and scripts...

2003-07-22 Thread Michael Smith
Hi, So I can create the files, move them, etc. to backup my database and a couple of directories, but how do I create a gzip file of that and send it to the user? I need to basically execute a command to gzip a couple of files/directories... I also need to figure out how to un-gzip a gzip file

[PHP] Note on SuperGlobals

2003-07-17 Thread Michael Smith
Here's something pretty good I just found: A few years ago, my wife and I decided to go on a skiing trip up north. To reserve skiing equipment, you had to give 24 hours advance notice using the ski lodge's on-line website. The catch was that my wife had asked me to make the reservations 23 hour

[PHP] Re: DOMXML...

2003-07-15 Thread Michael Smith
This is not an option for me... I'm writing a CMS and want to be able to do things for other users without specific compile options. -Michael Russell P Jones wrote: This may not be what you are looking for, but the DOMXML object since PHP 4.0 works great --- you do have to compile PHP using the -

[PHP] XML Array

2003-07-15 Thread Michael Smith
Hey, I'm looking for a function to take an XML file and turn it into a PHP array with the same structure. So if I have: #00 image.jpg It would give me an array: Array ( [template] => Array ( [color] => #00 [background] => image.j

[PHP] PHP5 and PHP4 on Same Machine

2003-07-11 Thread Michael Smith
Hi, Just thought I'd let everyone know: you can run php5 and php4 on the same machine (--with-apxs for example) but, I don't know if you can AddType application/x-httpd-php4 .php4 .php AddType application/x-httpd-php5 .php5 or not... Is that possible? I know you can load both modules, but whiche

Re: [PHP] Private and protected variables in PHP 5?

2003-07-11 Thread Michael Smith
Hey, private vars are not accessible that way. This is the way it works... private $var is only usable by the class. You can't access it through $object->var. protected $var is only usable by the class if it was called directly, but not by any objects that are classes that are extended from the

[PHP] Variable Functions...

2003-07-10 Thread Michael Smith
Smarty has a class method where it calls: $this->$some_var("somevalue"); and this throws errors on Windows versions of php that i've tried. why is that? -Michael -- Pratt Museum IT Intern All programmers are playwrights and all computers are lousy actors. -- PHP General Mailing List (http://www

[PHP] Windows 2k, Apache, MySQL, PHP 4.3.2, Smarty

2003-07-09 Thread Michael Smith
Problem with Smarty. My application is giving me an error when i try to use smarty on a new WAMP install. Smarty is in my include path. Getting this error: *Fatal error*: Call to undefined function: () in *c:\htdocs\smarty\Smarty.class.php* on line *1658 *line 1658 is: $_source_return = $reso

[PHP] Stumper: Get Variable Name

2003-07-08 Thread Michael Smith
;Username = $smtp['user']; $mail->Password = $smtp['pass']; $mail->Helo = $smtp['helo']; $body = "We regret to inform you that "; } and I want to be able to tell myself what the variable's name was, the line it errored

[PHP] Please Hit these links... (for testing purposes)

2003-07-03 Thread Michael Smith
Hey, would everyone take a wack at http://www.prattmuseum.org:8080/prattcms/ http://www.prattmuseum.org:8080/prattcms/?id=49 and click links a couple of times? I'm working on some stats, and I especially need some from foreign countries (not US). Thanks! -Michael -- PHP General Mailing List (htt

[PHP] Please Hit these links... (for testing purposes)

2003-07-03 Thread Michael Smith
Hey, would everyone take a wack at http://www.prattmuseum.org:8080/prattcms/ http://www.prattmuseum.org:8080/prattcms/?id=49 and click links a couple of times? I'm working on some stats, and I especially need some from foreign countries (not US). Thanks! -Michael -- PHP General Mailing List (h

[PHP] PHP 4.3.1 Compiliation - RHL9

2003-04-03 Thread Michael Smith
s-sid --with-mysql=shared,/usr --with-pgsql=shared --with-unixODBC=shared --enable-memory-limit Any suggestions? -Michael -- Michael Smith <[EMAIL PROTECTED]> Custom87.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Finding UserName of HTTP Server

2003-03-20 Thread Michael Smith
Hi, Is there an environment variable for the user (like apache or nobody) that is used by the server for http serving? -Michael -- Michael Smith <[EMAIL PROTECTED]> Custom87.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] $array_nam[$variable][0]

2003-03-19 Thread Michael Smith
Hi, I'm trying to do a: $var = $array_name[$var2][0]; where $var2 is an integer. I've got this array from a database and I want to use a variable in the array... what's the exact syntax of this? -Michael -- Michael Smith <[EMAIL PROTECTED]> Custom87.net -- PHP Gener

[PHP] RE: JOIN for FREE ... Learn and Earn

2003-01-20 Thread Michael Smith
Balogne. Should I say more? -Michael Smith --- Today's True Quotes for InDUHviduals: Some people's minds are like cement: all mixed up and permanently set... -Original Message- From: Charles Cedeno [mai

[PHP] sending SMS messages via PHP

2001-03-07 Thread Michael Smith
I can easily send standard email messages via PHP. Does anyone know how to send SMS messages? -- Michael A. Smith <[EMAIL PROTECTED]> Director of Data Systems, wcities.com ICQ: 35884415 :wq -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona