Re: [PHP] Secure system calls -- how

2005-02-08 Thread Greg Donald
On Tue, 08 Feb 2005 03:14:43 +0100, Niels [EMAIL PROTECTED] wrote: I'm doing an intranet website for managing users. I need to be able to change passwords, move files and folders around and that kind of thing. What is the best way? sudo can assist you with this task. -- Greg Donald Zend

Re: [PHP] Re: [users@httpd] Favorite Linux Distribution

2005-02-08 Thread Greg Donald
On Tue, 8 Feb 2005 14:19:38 +, Rory Browne [EMAIL PROTECTED] wrote: This question is as much about politics, and religion, as it is technical. In all my years of attending Church I never once heard anyone discussing Linux. Must be a denominational thing. -- Greg Donald Zend Certified

Re: [PHP] Storing CCN's Again...

2005-02-08 Thread Greg Donald
simple to scrub the data away. $cc = '1234123412341234'; // do processing $cc = md5( time() ); -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Storing CCN's Again...

2005-02-08 Thread Greg Donald
?php $cc = '1234123412341234'; $cc = md5( time() ); echo `cat /dev/mem | strings | grep ^1234123412341234$`; ? -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Cerauno Technologies announces the release of DocGuru Professional 1.0

2005-02-08 Thread Greg Donald
, -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] array_map() problems

2005-02-07 Thread Greg Donald
(); } function slashes($var){ if(is_array($var)) return array_map(slashes, $var); else return addslashes($var); } -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Favorite Linux Distribution

2005-02-07 Thread Greg Donald
distros as well depending if you want security, hardware support, or a little of both. Most anything released in the last year has included or will support Apache2 and PHP5. If not it probably will soon. I run Gentoo and FreeBSD at home and Suse at work. -- Greg Donald Zend Certified Engineer

Re: [PHP] Storing CCN's Again...

2005-02-07 Thread Greg Donald
On Mon, 07 Feb 2005 22:25:46 -0500, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I think this is an extraordinary (and unjustified) level of paranoia. cat /dev/mem | strings | egrep ^[0-9]+$ -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http

Re: [PHP] Server Uptime

2005-02-07 Thread Greg Donald
On Mon, 7 Feb 2005 16:21:26 -0600, Brad Ciszewski [EMAIL PROTECTED] wrote: What is the function, or how do you make a script that displays the server's uptime? php -r 'system(uptime);' or ?php echo `uptime`; ? -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General

Re: [PHP] ncurses woes...

2005-02-07 Thread Greg Donald
, but then later I discovered the PHP ncurses functions are mostly the same. Here's the docs I read: http://www.tldp.org/HOWTO/NCURSES-Programming-HOWTO/ -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Problem with session

2005-02-05 Thread Greg Donald
(); print isset($_SESSION['time_to_expire']); always get '0'; How are you passing the session from one page to the next? You can pass it in the url or you can use transparent sessions (cookies). -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http

Re: [PHP] PHP5 stable enough for webapps ?

2005-01-28 Thread Greg Donald
no bugs.. especially when you look at the other 5.0.x releases: http://www.php.net/ChangeLog-5.php Sure PHP 5 is getting better all the time, but bug free I seriously doubt. That said, I'm using it for new development and it does appear to work fine. -- Greg Donald Zend Certified Engineer http

Re: [PHP] Looking for ideas on scheduling

2005-01-28 Thread Greg Donald
at that time. This will result in only one event in crontab with a greater potential for load on the server. I'm leaning towards Option 2*. What do you think? What other options do I have? That's pretty much how I do it. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP

Re: [PHP] Re: [NEWBIE GUIDE] For the benefit of new members

2005-01-25 Thread Greg Donald
list. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: [NEWBIE GUIDE] For the benefit of new members

2005-01-25 Thread Greg Donald
smart to learn something new. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: [NEWBIE GUIDE] For the benefit of new members

2005-01-25 Thread Greg Donald
to learn PHP. I don't think 'newbie' status has anything to do with the actual difficulty in producing a correct answers to their questions. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Re: [NEWBIE GUIDE] For the benefit of new members

2005-01-25 Thread Greg Donald
people to his classy site when he can, and how you like to alienate people with RTFM, STFA, STFW etc. than to shove them off on a 'newbie' list and forget about them(!). Well, like I said.. I'd participate. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing

Re: [PHP] Is this even possible?

2005-01-24 Thread Greg Donald
192.168.1.100 So edit your pg_hba.conf and add an entry. The easiest way to get PG up and running on a Windows system is cygwin. Or at least that's my opinion... YMMV The 8.0 beta installed for me just fine with no cygwin. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP

Re: [PHP] setcookie command

2005-01-24 Thread Greg Donald
\wwwroot\test.php on line 15 Do not set cookies after you have ouput anything, set them before. Or use the output buffering functions. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Maxing out sessions?

2005-01-24 Thread Greg Donald
On Mon, 24 Jan 2005 16:22:23 -0500, Matt [EMAIL PROTECTED] wrote: /tmp is not it's own partition... but I have 6Gig free on the / drive. Right now I have 401 sessions and am pushing 2Gig on the /tmp directory. What does cat /proc/sys/fs/file-max say? -- Greg Donald Zend Certified Engineer

Re: [PHP] bug in str_split function?

2005-01-21 Thread Greg Donald
On Fri, 21 Jan 2005 12:07:34 -0600, chris [EMAIL PROTECTED] wrote: $test2=str_split($test); Do echo 'pre'; print_r( $test2 ); right here and see if the $test2 array has the data you expect. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http

Re: [PHP] control REMOTE_ADDR header

2005-01-21 Thread Greg Donald
On Sat, 22 Jan 2005 06:52:37 +0300, Alawi Albaity [EMAIL PROTECTED] wrote: I Want to control some privacy is there class to help me do that ? http://www.anonymizer.com/ -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] Allow users to upload images to directory

2005-01-20 Thread Greg Donald
that clearly (and simply) explains this? php.net/imagecopyresized There's an example right there on the manual page. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Search engine

2005-01-20 Thread Greg Donald
://www.devshed.com/c/a/PHP/Search-This/ -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] quoting values in HTML - is there a diference between ' and

2005-01-20 Thread Greg Donald
quotes generally for quoting strings. So are the two totally synonymous in HTML? Feed it to the validator and see for yourself: http://validator.w3.org/ -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Search indexing.. Re: [PHP] Search engine

2005-01-20 Thread Greg Donald
-This/ -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] EREGI_REPLACE? HELP!!!

2005-01-20 Thread Greg Donald
:]+], '', $string ); I'm no regex guru so there may be a better way.. but it seemed to work for me. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Hidden Images.

2005-01-18 Thread Greg Donald
? Thanks. You might try http://www.boutell.com/gd/manual2.0.33.html#support -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Nested SQL Statements

2005-01-18 Thread Greg Cullen
Relatively new to PHP. Having an issue trying to nest sql statements. Basically I am trying to pull a variable from SQL1, Pass it as a Variable/Bind or Parm to SQL2 and then Go back to SQL1 and pull the next value and pass to SQL2 again for processing. It seems like the SQL2 is getting stuck

Re: [PHP] Re: which is best php editor?

2005-01-17 Thread Greg Donald
On 17 Jan 2005 18:55:21 -, Matthew Weier O'Phinney [EMAIL PROTECTED] wrote: Me, I use vim. Amen. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Trouble with Apache 2.0, PHP and MySQL

2005-01-17 Thread Greg Donald
On Fri, 14 Jan 2005 12:34:53 -0800, Phillip S. Baker [EMAIL PROTECTED] wrote: Any help here would be appreciated. Simple.. your PHP doesn't have MySQL support. Rebuild it or install the rpm or package or whatever. What kind of 'Linux box' is it? -- Greg Donald Zend Certified Engineer http

Re: [PHP] Phonetic speller function

2005-01-17 Thread Greg Donald
provide a listing of similar words from the db lookup. It's all up to you what words go into the db to pick from. I read somewhere most English speaking folks only use about 80K words or so. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http

Re: [PHP] Echoing Variables Names

2005-01-17 Thread Greg Donald
to make sure that that my following conditional statements are working properly and the values are set. So is there a way to print out the name of the variables? print_r( $array ); -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] Search Engine Friendly URLs

2005-01-16 Thread Greg Donald
,qsappend] You might also want RewriteRule ^$ default.php?p=index [L,qsappend] for a catch-all bounce to the homepage. http://httpd.apache.org/docs/mod/mod_rewrite.html -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Phonetic speller function

2005-01-16 Thread Greg Donald
in the user comments. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] use php to determine user OS

2005-01-16 Thread Greg Donald
On Sat, 15 Jan 2005 18:30:02 -0800, Graham Anderson [EMAIL PROTECTED] wrote: is there a php function out there that can get the operating system of the user...Mac/PC/Linux $_SERVER[ 'HTTP_USER_AGENT' ] -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List

Re: [PHP] imagejpeg() output

2005-01-16 Thread Greg Donald
. imagejpeg() is for outputting the data to the browser. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Best method for threading?

2005-01-15 Thread Greg Donald
On Wed, 12 Jan 2005 04:13:17 -0800, Galen [EMAIL PROTECTED] wrote: What do you all do to handle situations like this? If you need threads then use a language that has threads. I'd go with Java or Perl. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List

Re: [PHP] php editor

2005-01-14 Thread Greg Donald
( 'display_errors', 1 ); But later when you go to a production environment I'd go with: error_reporting( E_ERROR | E_WARNING | E_PARSE ); ini_set( 'display_errors', 0 ); ini_set( 'log_errors', 1 ); -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] php editor

2005-01-14 Thread Greg Donald
On Thu, 13 Jan 2005 16:37:24 -0800 (PST), welly limston [EMAIL PROTECTED] wrote: i'm usually use Dreamweaver to edit php code and debug in it it's very help ones us why don't u try Why don't you mail me $399 and I will. :) -- Greg Donald Zend Certified Engineer http://destiney.com

Re: [PHP] Help with encryption

2005-01-14 Thread Greg Donald
it, but sadly.. I'm not one of them. Good luck in your quest. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Begining CVS

2005-01-14 Thread Greg Donald
you make the trunk, branches, and tags directories from the start. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php editor

2005-01-14 Thread Greg Donald
or even part of the task be better handled better with another language? -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Downloading Images

2005-01-13 Thread Greg Donald
, and it will update the image paths as well. One little command is all you need: wget -m -np http://example.com/ -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php editor

2005-01-13 Thread Greg Donald
On Thu, 13 Jan 2005 18:02:12 +0200, William Stokes [EMAIL PROTECTED] wrote: I'm quite new with writing php code. I was considering of using some kind of php editor program to help with the syntax. Know any goog ones? vim.org editplus.com Both support PHP syntax highlighting. -- Greg Donald

Re: [PHP] Begining CVS

2005-01-13 Thread Greg Donald
... thanks I'd go with Subversion. I switched from CVS about 6 months ago and haven't had any issues. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Data Enryption

2005-01-12 Thread Greg Donald
); $char = chr( ord( $char ) - ord( $keychar ) ); $result .= $char; } return $result; } -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Data Enryption

2005-01-12 Thread Greg Donald
can readout your key! Imagine a world where there were no inexperienced sysadmins. oh and Greg, you may just have told the world the key that you are actually using! I made that one up just for the post. And even if I didn't.. good luck finding the data. -- Greg Donald Zend Certified

Re: [PHP] Data Enryption

2005-01-12 Thread Greg Donald
can control how their PHP is built. Think 'many different clients on many different web hosts'. You think I would say to a client that I can't build them a PHP cart because their PHP doesn't have mcrypt support? Umm.. no. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP

Re: [PHP] Data Enryption

2005-01-12 Thread Greg Donald
On Thu, 13 Jan 2005 03:37:29 +0100, Jochem Maas [EMAIL PROTECTED] wrote: (no disrespect to Zend, but ZCE _sounds_ a lot like MSCE and everyone knows what thats worth ;-) - just a but of humour guys!) Yeah that's hilarious. -- Greg Donald Zend Certified Engineer http://destiney.com

Re: [PHP] Data Enryption

2005-01-12 Thread Greg Donald
with them, but they've worked pretty good for me more than a couple of times when mcrypt wasn't available. If you don't want to use them then don't use them. I couldn't care less. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] client information

2005-01-11 Thread Greg Donald
server, so it's not going to be available to PHP. php -r 'system(set|grep DISPLAY);' DISPLAY=65-86-94-210.client.dsl.net:0.0 -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] client information

2005-01-11 Thread Greg Donald
variable set for that user... Try putting your code on your web server and surfing to it. What do you get as output? Not much. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] geographic search engine

2005-01-11 Thread Greg Donald
/ 57.3 ) miles = sqrt( x^2 + y^2 ) This does not take into account the curve of the earth. In addition you'll need a db with the latitude and longitude for each zip code. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] $_GET $_POST simultaneously

2005-01-11 Thread Greg Donald
ways, I just do stuff like: $id = isset( $_POST[ 'id' ] ) ? $_POST[ 'id' ] : 0; $id = isset( $_GET[ 'id' ] ) ? $_GET[ 'id' ] : $id; -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Building key sequences from strings

2005-01-11 Thread Greg Donald
What am I doing wrong ? Use eval() on the string after you construct it. php.net/eval -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] *** glibc detected *** double free or corruption: error

2005-01-10 Thread Alex Greg
On Mon, 10 Jan 2005 06:58:21 +0600, Raditha Dissanayake [EMAIL PROTECTED] wrote: Alex Greg wrote: (apologies if this reaches the list twice - the first time I sent it, it didn't arrive within 12 hours) Hi, Recently I migrated the front-end of our bulletin board (running phpBB, patched

Re: [PHP] imagecreatefromjpeg

2005-01-09 Thread Alex Greg
On Sun, 9 Jan 2005 21:37:33 +1100, Juergen Rehberger [EMAIL PROTECTED] wrote: i have a problem with my resizing image script. It all works fine on my localhost server, but once i upload the whole thing on my webhost, the script allows resizing of images not bigger than 600kb or something

[PHP] *** glibc detected *** double free or corruption: error

2005-01-09 Thread Alex Greg
(apologies if this reaches the list twice - the first time I sent it, it didn't arrive within 12 hours) Hi, Recently I migrated the front-end of our bulletin board (running phpBB, patched against the recently highlight vulnerability) to a pair of servers running Fedora Core 3. I compiled Apache

[PHP] Re: Global class instances mysteriously set to NULL

2005-01-09 Thread Greg Beaver
(get_included_files()); ? If you switch the ordering of inclusion and get a different listing, there's your answer. Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Using the OR operator in an IF statement

2005-01-08 Thread Greg Beaver
is implemented using !=/ Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] *** glibc detected *** double free or corruption: error

2005-01-08 Thread Alex Greg
Hi, Recently I migrated the front-end of our bulletin board (running phpBB, patched against the recently highlight vulnerability) to a pair of servers running Fedora Core 3. I compiled Apache 1.3.33 and PHP 4.3.10 from source. The MySQL database is running on a separate machine. This morning,

Re: [PHP] Multiple POP accounts on Webmail Front

2005-01-07 Thread Greg Donald
from other email accounts to view with IMP /snip -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] migrating to PHP 5 + Apache 2 from PHP 4.3.8 + Apache 1.3.33.

2005-01-06 Thread Greg Donald
On Thu, 06 Jan 2005 16:15:43 +, symbulos partners [EMAIL PROTECTED] wrote: We know that. We understood all of that. What we need to know is: Please, do not assimilate me. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net

[PHP] Re: PDFlib-Lite-6.0.1

2005-01-04 Thread Greg Beaver
see 1.3.4, upgrade and try again. Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP5 Namespace ?

2005-01-04 Thread Greg Beaver
before namespaces are added -- if then. It will not be added in PHP 5.x. 6.0 is the next version that will consider adding them, unless someone comes up with a brilliant implementation that doesn't break everything. Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] php vs java....

2005-01-03 Thread Greg Donald
On Sun, 2 Jan 2005 21:48:01 -0500, GH [EMAIL PROTECTED] wrote: Can you please explain Threads to me? Multiple isolated tasks executing at the same time. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Register Globals=ON

2005-01-03 Thread Greg Donald
cases. It's all right there in the fine manual: http://us2.php.net/register_globals -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is there any way that PHP will issue a warning when using undeclared vars?

2005-01-03 Thread Greg Donald
can easily turn it back off later when my code goes production: if( $debug ) { error_reporting( E_ALL ); ini_set( 'display_errors', 1 ); ini_set( 'log_errors', 1 ); } else { error_reporting( E_ERROR | E_WARNING | E_PARSE ); ini_set( 'display_errors', 0 ); } -- Greg Donald

Re: [PHP] Total Server Sessions

2005-01-03 Thread Greg Donald
sessions query. You can even force garbage collection before the count to get a realtime count. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] migrating to PHP 5 + Apache 2 from PHP 4.3.8 + Apache 1.3.33.

2005-01-03 Thread Greg Beaver
maintaining parallel setups for a while, which is a real pain, but you would get the cutting-edge features you are looking for with a safety fallback, which your clients would be looking for. Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: newbie.. $_GET $_POST

2005-01-03 Thread Greg Beaver
escaping function for another database. Web security hinges on ensuring that your allowed input is finite and verifiable. Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Total Server Sessions

2005-01-03 Thread Greg Donald
On Tue, 4 Jan 2005 10:40:51 +1100, HarryG [EMAIL PROTECTED] wrote: How do I have database driven php sessions. Any examples?? Hmm.. maybe you missed the url the first time, here it is again: http://destiney.com/pub/Destiney_db_sessions_0.1.0.tar.bz2 -- Greg Donald Zend Certified Engineer

[PHP] php5 webhosting

2005-01-03 Thread Greg Donald
Anyone found any good deals with webhosts supporting PHP5 yet? Thanks, -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: php5 webhosting

2005-01-03 Thread Greg Beaver
Greg Donald wrote: Anyone found any good deals with webhosts supporting PHP5 yet? it's not exactly for newbies, but bluga.net has been doing a fine job for me. Greg P.S. ZCE doesn't exactly imply newbie :) this is for others on the list -- PHP General Mailing List (http://www.php.net

[PHP] Re: function problem

2005-01-02 Thread Greg Beaver
($field1) . ' '); Regards, Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] phpMyAdmin w/ winXP - IIS w/PHP 4.3 w/mysql 4.1.8

2005-01-01 Thread Greg Donald
On Sat, 1 Jan 2005 14:15:27 -0500, GH [EMAIL PROTECTED] wrote: It would be nice if phpMyAdmin would kindly note that on their website... http://www.phpmyadmin.net/documentation/ snip Note: phpMyAdmin's MySQL 4.1 support is experimental! /snip -- Greg Donald Zend Certified Engineer http

Re: [PHP] php vs java....

2005-01-01 Thread Greg Donald
On Sat, 1 Jan 2005 10:07:20 -0800 (PST), Lewis LaCook [EMAIL PROTECTED] wrote: ...just looking for opinions: will PHP eclipse (IS PHP eclipsing) Java? I'd like to see threads added to PHP. Java has them, and Perl does as well. And I'm sure there are others that I don't know about. -- Greg

[PHP] Re: distributed architecture....

2004-12-30 Thread Greg Beaver
anything that's similar, or that could be used as a starting point for the architecture... the closest i can find is the open source gnutella/limeware p2p app structure... Do a websearch for XML REST. Regards, Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Installing on Windows.... CGI v. ISAPI?

2004-12-29 Thread Greg Donald
On Wed, 29 Dec 2004 11:27:35 -0500, GH [EMAIL PROTECTED] wrote: #1 what is ISAPI? Internet/Information Services Application Programming Interface -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] $_FILE[user][error] = 6 ?

2004-12-29 Thread Greg Donald
What is a $_FILE[user][error]= 6 It appears undefined per the manual: http://www.php.net/manual/en/features.file-upload.errors.php -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP]

2004-12-29 Thread Greg Donald
a job at Zend later down the road. :) -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: negative numbers

2004-12-27 Thread Greg Donald
); } else { RETURN_LONG(Z_LVAL_PP(value) 0 ? -Z_LVAL_PP(value) : Z_LVAL_PP(value)); } } RETURN_FALSE; } -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] getting home directory path

2004-12-26 Thread Greg Donald
On Sat, 25 Dec 2004 15:36:05 -0500, Sebastian [EMAIL PROTECTED] wrote: how do i get the path to my home directory.. eg, /usr/home/ $_SERVER['home'] -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] Mandrake 10.1

2004-12-25 Thread Greg Donald
-- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Wiki recomendations

2004-12-25 Thread Greg Donald
Could anyone recommend a good PHP-based Wiki script, for PHP 4.x? I've been testing a bunch of them and almost all seem to be crap so far. Thanks.. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] Parse Flash File for URLs

2004-12-24 Thread Greg Donald
for, was hoping someone out there could offer some tips, suggestions, pseudo-code, etc for how this could be done. php -r 'system( strings *.swf | grep http );' -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] php + html (frame)

2004-12-24 Thread Greg Donald
http://tech.irt.org/articles/js126/ -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Exec() denied read on Apache (fedora core 3)

2004-12-24 Thread Greg Donald
-r 'system( whoami );' -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] filesize math

2004-12-24 Thread Greg Donald
; $t++ ) { $size /= 1024; $file_size = round ( $size, 1 ) . ' ' . $file_type[ $t ] . 'B'; } echo \$file_size = $file_size; -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Next page every second

2004-12-24 Thread Greg Wardawy
Thanks a lot Sagar, The logic looks perfect. Having no web programming experience at all I didn't even know what I was looking for. And I didn't know I needed a java script for the PHP page. Greg. - Original Message - From: Sagar C Nannapaneni [EMAIL PROTECTED] To: Greg Wardawy [EMAIL

[PHP] Re: [PHP-DB] Table Info

2004-12-24 Thread Greg Wardawy
Hi Brad, That's what I'm trying to achieve (my post Next page every second). Maybe Sagar's response will help you a bit. Greg Brad Ciszewski [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am having problems coming up with a way to do this. I highly appreciate any help what so ever

Re: [PHP] Simple code to replace one line?

2004-12-24 Thread Greg Donald
On Fri, 24 Dec 2004 19:08:03 -0500, Aaron Paulley [EMAIL PROTECTED] wrote: I know that the line in a file that I want to replace completely is line number 9. Is there a simple function I can use to replace that line? php -r 'system( sed 9s/.*/replacement/g old new );' -- Greg Donald Zend

Re: [PHP] Merry Christmas ;o]

2004-12-24 Thread Greg Donald
On Fri, 24 Dec 2004 20:45:28 -0300 (ART), Alaor Barroso [EMAIL PROTECTED] wrote: Merry Christmas and happy new year for all that is part of php community, god bless us. Peace! Same. :) -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General

Re: [PHP] hackers?

2004-12-24 Thread Greg Donald
fun. :) -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Question about dates

2004-12-24 Thread Greg Donald
for example. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MP3s

2004-12-23 Thread Greg Donald
$contents; ? // mp3.m3u ( one line ): mp3.php -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re[2]: [PHP] Compiling PHP Source guides

2004-12-23 Thread Greg Donald
On Thu, 23 Dec 2004 16:33:30 +, Richard Davey [EMAIL PROTECTED] wrote: and I have to say - the F in RTFM has NEVER stood for Fine in my books :) You people and your double quotes.. pffftt. :) -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP

Re: [PHP] PHP4: Using create_function to create an object method

2004-12-23 Thread Greg Donald
'. The anonymous function you create will have a name but it's not a name you can use, it's just a randomly generated string for preventing naming collisions. That's why you must access anonymous functions with a variable. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com

[PHP] Next page every second

2004-12-23 Thread Greg Wardawy
or tons of the variables displayed in a single cell of the table. I could really use your help here. Happy Holidays to all of you and many thanks for any suggestions given. Greg. # __SNIP__ table width=420 height

<    1   2   3   4   5   6   7   8   9   10   >