Re: [PHP] Why cookie is created?

2004-11-08 Thread Greg Donald
what a cookie is, a file on the user's computer, created by the web client. -- 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] Why cookie is created?

2004-11-08 Thread Greg Donald
the php.ini setting. -- 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] Arrays

2004-11-08 Thread Greg Donald
to PHP for that matter), so please don't get too technical in replies. Thanks so much for help. Where is you (broken) PHP code that you have written so far? What is it not doing that you are expecting it to do? -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http

Re: [PHP] loking for a item in string?

2004-11-07 Thread Greg Donald
that. php.net/preg_match -- 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] Recover POST form

2004-11-06 Thread Greg Donald
'/pre'; -- 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] Configure help / advise

2004-11-05 Thread Greg Donald
/ports/databases/mysql41-server Using FreeBSD 4.7 stable if that help (don't want to use the port) To each his own, but it seems the easiest way to me. cd /usr/ports/databases/mysql41-server make install clean -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com

Re: [PHP] Newbie pattern question

2004-11-05 Thread Greg Donald
On Fri, 5 Nov 2004 20:55:00 +0200, Phpu [EMAIL PROTECTED] wrote: if(ereg(^[a-zA-Z0-9_]{2,30}$, $name)) { if(ereg(^[a-zA-Z0-9_\ ]{2,30}$, $name)) { Need to allow spaces in the regular expression. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP

Re: [PHP] PHP - MCRYPT - CBC - IDEA

2004-11-05 Thread Greg Donald
On Fri, 5 Nov 2004 13:10:43 -0500, Frantzcy Paisible [EMAIL PROTECTED] wrote: I need to recreate this perl script in php : I'm not sure if you realize it, but you can call the Perl script from PHP using system(). -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http

Re: [PHP] Passing values from a new window

2004-11-05 Thread Greg Donald
On Fri, 05 Nov 2004 13:03:31 -0800, Todd Cary [EMAIL PROTECTED] wrote: I have seen instances where the surfer can open a new window to get email addresses and these addresses appear in the first window. Javascript. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http

Re: [PHP] Re: Passing values from a new window

2004-11-05 Thread Greg Donald
On Fri, 5 Nov 2004 15:30:43 -0600, Jay Blanchard [EMAIL PROTECTED] wrote: Thousands of examples will be yours to behold. 14.8 million from where I sit. I'm tired of all your inaccurate answers Jay. :) -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com

Re: [PHP] Re: Passing values from a new window

2004-11-05 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

Re: [PHP] Re: Passing values from a new window

2004-11-05 Thread Greg Donald
On Fri, 05 Nov 2004 13:17:29 -0800, Todd Cary [EMAIL PROTECTED] wrote: Is there a place where I can view some examples of using JavaScript? http://google.com/search?q=javascript -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List

Re: [PHP] Sessions and threading

2004-11-04 Thread Greg Donald
are as efficient as you make them. Also, PHP doesn't have threads. You can use some of the execution functions to simulate them to some extent however: http://www.php.net/manual/en/ref.exec.php -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General

Re: [PHP] ezpublish question -- take 2

2004-11-04 Thread Greg Donald
. :) Did you need some help with installing it perhaps? -- 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] Downloading Large (100M+) Files

2004-11-04 Thread Greg Donald
On Thu, 04 Nov 2004 08:22:18 -0800, Robin Getz [EMAIL PROTECTED] wrote: and now I don't loose 250 Meg of memory every time I download a 250Meg file. If someone wants to add this to the readfile() php manual - great. Anyone can post user comments in the manual. Give it a shot. -- Greg

Re: [PHP] Determining system resources

2004-11-04 Thread Greg Donald
246 2 0 4 86 -/+ buffers/cache:154 94 Swap: 486 12473 The system has to support whatever memory command you use. *nix: free windoze: mem -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http

Re: [PHP] Zip Codes

2004-11-04 Thread Greg Donald
On Thu, 4 Nov 2004 08:59:50 -0800, bb9876 [EMAIL PROTECTED] wrote: Is there any way to use PHP to determine the zip code someone is visiting from, assuming they are all from the US? http://www.usps.com/webtools/ -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http

Re: [PHP] Strange query

2004-11-04 Thread Greg Donald
On Thu, 4 Nov 2004 13:02:19 -0700, Vail, Warren [EMAIL PROTECTED] wrote: It is too bad this clause is not supported by some of the other databases I have had to use I think calling a limit a limit and an offset an offset is a good thing. -- Greg Donald Zend Certified Engineer http

Re: [PHP] Is there any 'strict' and 'warnings' like packages inside PHP ?

2004-11-04 Thread Greg Donald
On Fri, 5 Nov 2004 06:20:11 +0800, Exile [EMAIL PROTECTED] wrote: Is there any package like 'strict' or 'warnings' in PHP, like Perl ? error_reporting(E_ALL | E_STRICT); E_STRICT was added in PHP5. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP

Re: [PHP] Form executes differently in IE than in FireFox?

2004-11-03 Thread Greg Donald
, don't mind me, I'm as much of a hypocrite as the next person. We all are at times. -- 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] Domain Information

2004-11-03 Thread Greg Donald
question perhaps? -- 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] PEAR Calendar

2004-11-03 Thread Greg Donald
. http://pear.php.net/manual/en/installation.manually.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: [PHP] email as link

2004-11-03 Thread Greg Donald
yourself. Some folks detest html emails, while others use plugins to make URLs become links in text emails. You're really at the mercy of the recipient email client. *shrug* -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http

Re: [PHP] Apache 1.3 'lag' with PHP ...

2004-11-03 Thread Greg Donald
? Or to track down the slowdown? Did you happen to try running the Apache benchmark tool 'ab' on it. It provides quite a bit of info aside from the actual timed requests. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http

Re: [PHP] 'Code Snippets' you couldn't live without

2004-11-03 Thread Greg Donald
(); $_POST = isset( $_POST ) ? array_map( 'slashes', $_POST ) : array(); $_COOKIE = isset( $_COOKIE ) ? array_map( 'slashes', $_COOKIE ) : array(); } -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] Selecting Date Range

2004-11-03 Thread Greg Donald
something like this: SELECT * FROM students WHERE join_date = '10/12/04' AND join_date = '12/12/04'; But I'm doubting your dates are stored in that format, and I bet there's more than one table to consider as well. Again, where's the PHP code you're asking a question about? -- Greg

Re: [PHP] Fatal error on parsedate.c While Building 4.3.9

2004-11-03 Thread Greg Donald
://www.php.net/manual/en/faq.build.php#faq.installation.needgnu -- 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] 'Code Snippets' you couldn't live without

2004-11-03 Thread Greg Donald
live without, code that makes your life easier when reused from project to project. Criticism comes easy when you have nothing to contribute otherwise. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] PEAR Calendar

2004-11-03 Thread Greg Donald
an entire webpage with specific instructions for installing a PEAR module manually, I gotta think it isn't 'terrible advice' to post the URL to it. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] PEAR Calendar

2004-11-03 Thread Greg Donald
On Wed, 03 Nov 2004 17:35:04 -0500, Greg Beaver [EMAIL PROTECTED] wrote: I am sorry I jumped on you Greg, you have given great advice very often on this list. My country is going to Hell, and I took a bit of frustration out on you :) No problem. It happens. :) -- Greg Donald Zend

Re: [PHP] text email new line

2004-11-02 Thread Greg Donald
On Tue, 2 Nov 2004 11:12:49 -0500, Jerry Swanson [EMAIL PROTECTED] wrote: I'm sending text email. How I can make new line. \n seems to be not working. Use \r\n instead of just \n. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing

Re: [PHP] Error Code Airhead

2004-11-02 Thread Greg Donald
instead of ||. -- 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] authentication question

2004-11-02 Thread Greg Donald
On Tue, 2 Nov 2004 13:48:30 -0500, Kelly Meeks [EMAIL PROTECTED] wrote: I need to require username/password access in two distinct ways. PHP Generic Access Control Lists http://phpgacl.sourceforge.net/ -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com

Re: [PHP] Passing marked rows in a table

2004-11-02 Thread Greg Donald
right away: echo 'pre'; print_r($_POST); echo '/pre'; -- 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] Uploading Images

2004-11-01 Thread Greg Donald
60x60. Is there any way to do this? getimagesize( $_FILES['userfile']['tmp_name'] ) contains the size info. -- 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: Matching *exact* string?

2004-10-31 Thread Greg Donald
On Sun, 31 Oct 2004 12:58:04 +0100, Nick Wilson [EMAIL PROTECTED] wrote: I think in_array() sounds like a great solution, wonder if it's faster than comparing each ooe with == ? thanks! Benchmark it both ways and find out. Then post back and tell us. :) -- Greg Donald Zend Certified

Re: [PHP] mysql_select_db error

2004-10-31 Thread Greg Donald
= mysql_query() || die('bad query: ' . mysql_error()); -- 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] image files - upload and managment

2004-10-31 Thread Greg Donald
this penalty in light of any meager advantages offered by keeping the files in the databases instead of in a directory. /snip -- 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] str_pad with nbsp;

2004-10-31 Thread Greg Donald
only appear as one character when viewed as html, but to str_pad() it's 6 characters. -- 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] Help needed

2004-10-29 Thread Greg Donald
actual code, people will most likely help you debug it. -- 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] trying 2 pull data out table and populate a list box

2004-10-29 Thread Greg Donald
this. -- 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] Splitting a webpage

2004-10-29 Thread Greg Donald
On Fri, 29 Oct 2004 11:52:46 +0100, Nunners [EMAIL PROTECTED] wrote: Can someone suggest a way of going through the string to find the relevant bits - is split the easiest way? I would use preg_match(). -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com

Re: [PHP] Code help on a multi select list

2004-10-29 Thread Greg Donald
on the client when possible I say. -- 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] Gawd I hate those useless error messages...

2004-10-29 Thread Greg Donald
On Fri, 29 Oct 2004 16:28:39 +0200, -{ Rene Brehmer }- [EMAIL PROTECTED] wrote: I do realise that this error means I've forgotten a curly brace or semi-colon somewhere, but seriously ... I use vim. Shift-5 matches braces and parentheses easy enough. -- Greg Donald Zend Certified Engineer

Re: [PHP] Re: Bug-Tracking-System in PHP ?

2004-10-29 Thread Greg Donald
. adodb.sf.net My favorite feature is the md5 bzip'd PHP sessions. -- 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] Code help on a multi select list

2004-10-29 Thread Greg Donald
On Fri, 29 Oct 2004 10:15:57 -0500, Jay Blanchard [EMAIL PROTECTED] wrote: Make mine Communicty New Orleans Blend w/Chicory pleaseintravenously please... Bah.. Mountain Dew and a couple of Sudafed is where it's at. :) -- Greg Donald Zend Certified Engineer http://gdconsultants.com

Re: [PHP] Using Google's API with PHP

2004-10-29 Thread Greg Donald
you register a developer account and get your key and all that? -- 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: Re: Bug-Tracking-System in PHP ?

2004-10-29 Thread Greg Donald
with each other. -- 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] Friday afternoon - being thick

2004-10-29 Thread Greg Donald
On Fri, 29 Oct 2004 12:29:29 -0400, Aaron Wolski [EMAIL PROTECTED] wrote: Is this what you are looking for: /r/n? You mean \r\n ? -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] PHP in CGI ....php.in

2004-10-29 Thread Greg Donald
On Fri, 29 Oct 2004 21:14:27 +0200, Christian Ista [EMAIL PROTECTED] wrote: Someone else told me it's possible to have a php.ini by website. Could you tell me where put in and what in ? php -c /path/to/php.ini -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http

Re: [PHP] PHP in CGI ....php.in

2004-10-29 Thread Greg Donald
a couple of ways: 1) command line: php -c /path/to/php.ini -r echo 'Hello World'; 2) command line scripts: #!/usr/bin/php -c /path/to/php.ini ?php echo 'Hello world'; ? -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http

Re: [PHP] https://...

2004-10-28 Thread Greg Donald
On Thu, 28 Oct 2004 11:01:53 -0500, Afan Pasalic [EMAIL PROTECTED] wrote: I am not so good in this: you want to say that SSL use 443 port Yup. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net

[PHP] Fwd:

2004-10-28 Thread Greg Donald
PROTECTED]). Can someone unsubscribe this guy? Thanks. -- 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] About File Paths

2004-10-28 Thread Greg Donald
On Thu, 28 Oct 2004 18:27:34 +0200, Nick Wilson [EMAIL PROTECTED] wrote: If a script is to be called with cron *outside* of the http directory, how should file system paths be handled? I always assume cron is dumb and provide it with full paths. -- Greg Donald Zend Certified Engineer http

Re: [PHP] Converting a PERL Date

2004-10-28 Thread Greg Donald
On Thu, 28 Oct 2004 13:06:57 -0400, KWRIGHT [EMAIL PROTECTED] wrote: I have a perl date that is writing to a file. I need to display that date using PHP to a page.The date looks like this 1077051100 in the file. Can anyone help? php.net/date -- Greg Donald Zend Certified Engineer

Re: [PHP] File uploads and handling

2004-10-28 Thread Greg Donald
['userfile'], r); $_FILES['userfile']['name'] is the file. $_FILES['userfile']['tmp_name'] is the name of the file. $_FILES['userfile'] is as you stated 'just an array'. It's all right there in the manual. http://php.net/manual/en/features.file-upload.php -- Greg Donald Zend Certified Engineer http

Re: [PHP] Learning PHP5

2004-10-28 Thread Greg Donald
back to me. It's certainly possible, but I wouldn't want to learn Perl again from scratch. -- 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] Validation and session variables

2004-10-27 Thread Greg Donald
will thread them for you based on that message id. This somewhat prevents multiple (correct) answers to the same questions over and over throughout the day. And don't forget to turn threading 'on' in your mail client. Like in Pine for example, you _have_ to turn it on before it begins to work. -- Greg

Re: [PHP] PHP Command Line Scripts 'Aborting' at end ...

2004-10-27 Thread Greg Donald
explain more what's going on. -- 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] output htmkl file as text

2004-10-27 Thread Greg Donald
on the screen? You need to send the Content-Type header for text instead of html. php.net/header -- 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] PHP Command Line Scripts 'Aborting' at end ...

2004-10-27 Thread Greg Donald
test.php script runs fine for me. cat test.php #!/usr/local/bin/php ?php echo test; ? ./test.php Content-type: text/html X-Powered-By: PHP/4.3.9 test -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http

Re: [PHP] https://...

2004-10-27 Thread Greg Donald
: http://marc.theaimsgroup.com/?l=php-generalm=109767486431095w=2 -- 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] Configuration with upload maximum issue...

2004-10-26 Thread Greg Donald
you edit the correct php.ini file? For example on my Debian system I have two: /etc/php4/apache/php.ini /etc/php4/cgi/php.ini -- 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] how to get bios info

2004-10-26 Thread Greg Donald
On Tue, 26 Oct 2004 18:54:45 +0530, Akshay [EMAIL PROTECTED] wrote: how to get bios info in PHP Is there any command? Maybe something like: php -r system('dmesg'); -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http

Re: [PHP] Add methods to object dinamically

2004-10-26 Thread Greg Donald
there? -- 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] Php files with .html extension?

2004-10-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

Re: [PHP] Php files with .html extension?

2004-10-25 Thread Greg Donald
seconds with .html parsed as PHP. I only ran these tests locally, and only on the one server.. so it's definatly not very scientific. I think we all sorta knew the results anyway. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List

Re: [PHP] Register Globals

2004-10-25 Thread Greg Donald
On Mon, 25 Oct 2004 11:50:39 -0700 (PDT), Matthew Sims [EMAIL PROTECTED] wrote: I see that register_globals is turned on. Now I always use the $_GET and $_POST vars but will this still affect me? .htaccess php_flag register_globals off -- Greg Donald Zend Certified Engineer http

Re: [PHP] @session_start generates a new session_id

2004-10-25 Thread Greg Donald
On Mon, 25 Oct 2004 15:59:18 -0400, Lizet Peña de Sola [EMAIL PROTECTED] wrote: How can I set session_auto_start On, I have a similar problem and I think it's because my web hosting has that feature off. .htaccess php_flag session.auto_start on -- Greg Donald Zend Certified Engineer http

Re: [PHP] Php files with .html extension?

2004-10-25 Thread Greg Donald
seconds for .html not parsed as PHP vs. 30.5 seconds as .html parsed as 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: [PHP] problem using error_reporting() PHP 5.0.2 (cli)

2004-10-24 Thread Greg Donald
On Sun, 24 Oct 2004 16:41:16 +0530, Yashesh Bhatia [EMAIL PROTECTED] wrote: error_reporting(E_STRICT|E_ALL); This does appear broken. I was unable to get E_STRICT to work at all on my setup. PHP 5.02, and Apache 2.0.51. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http

Re: [PHP] Serial Communication

2004-10-22 Thread Greg Donald
On Fri, 22 Oct 2004 18:11:43 +0200, Ulrik Witschass [EMAIL PROTECTED] wrote: Hello List, I am searching information about serial communication with PHP on Windows machines. There's a simple example on this page: http://www.php.net/function.fopen Search for 'SERIAL'. -- Greg Donald Zend

Re: [PHP] COPY with PostgreSQL

2004-10-22 Thread Greg Donald
have some stray non-escaped characters. -- 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] Strange Array Error

2004-10-21 Thread Greg Donald
relating to this on google or php.net... -- 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] URL variables, and the $_GET[xxx] function...

2004-10-21 Thread Greg Donald
? Perhaps a rookie Q, but I guess we all learn something every day eh? Any thoughts? I'm guessing you used to have register_globals on, and now you don't. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] Sessions question

2004-10-21 Thread Greg Donald
easily access all the fields from your query in the $row array. -- 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] Sessions question

2004-10-21 Thread Greg Donald
directory. You can make an .htaccess file with this in it: php_flag register_globals Off -- 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] Passing the Array as Parameter to either the function or object/class???

2004-10-21 Thread Greg Donald
-orientated feature like object/class stuffs? Yes. By reference and by value. Some people have issues with theoretical posts like this one. Showing an honest attempt with some broken code usually gets help the quickest. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http

Re: [PHP] Sessions question

2004-10-21 Thread Greg Donald
On Thu, 21 Oct 2004 10:14:47 -0400, Mike Smith [EMAIL PROTECTED] wrote: How about changing How about learning to trim your posts? Thanks. :) -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] Re-compiling PHP

2004-10-21 Thread Greg Donald
PHP like --with-mysql=/usr . How is your MySQL installed? From RPMs? If so do you have the MySQL development RPMs installed? What OS are you running? -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] Re-compiling PHP

2004-10-21 Thread Greg Donald
is a much quicker option. rpm -Uvh ftp://ftp.redhat.com/pub/redhat/linux/7.3/en/os/i386/RedHat/RPMS/mysql-devel-3.23.49-3.i386.rpm Then run ldconfig. Then try your PHP ./configure again. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General

Re: [PHP] Please Help! Call to undefined function mysql_connect()

2004-10-21 Thread Greg Donald
On Thu, 21 Oct 2004 16:41:28 -0500, Scott McDonald [EMAIL PROTECTED] wrote: Error: Fatal error: Call to undefined function mysql_connect() in d:\inetpub\www\test.php on line 5 I am at a loss... any ideas? Did you uncomment the mysql entension in your php.ini ? -- Greg Donald Zend

Re: [PHP] Mixing classes

2004-10-20 Thread Greg Donald
, but with messages like these you really only waste other peoples' time. Did you search the mailing list archives already? http://marc.theaimsgroup.com/?l=php-generalm=109509393613288w=2 -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General

Re: [PHP] relative paths with require

2004-10-20 Thread Greg Donald
. On our new server, the relative paths seem to start from where the first php script in the chain of require's resides. Did you check the open_basedir setting? That will make php act as you described. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP

Re: [PHP] change server unix-win

2004-10-20 Thread Greg Donald
-e s/\///g $file.tmp $file rm $file.tmp done Remember on windows you will be dealing with backslashes instead of forward slashes, and you have to escape the backslashes with backslashes. $path = '/usr/local/blah'; will be something like: $path = 'c:\\inetpub\\www'; -- Greg Donald Zend

Re: [PHP] CPU usage @5% during 2 minutes

2004-10-20 Thread Greg Donald
to a php script's execution time with a bad nameserver. Then you add a proxy server in there as you described and things will only get worse. You might want to see if there's any packet loss with a ping test too. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http

Re: [PHP] fopen by URL is disabled, is there another way of reading a remote webpage?

2004-10-20 Thread Greg Donald
`wget http://yahoo.com` ? -- 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] fputcsv() error message

2004-10-20 Thread Greg Donald
as I posted yesterday. Your version of PHP simply doesn't have it. Checkout a CVS version of PHP and build it, or live without the function. It's not that hard to understand. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List

Re: [PHP] PHP on Windows

2004-10-20 Thread Greg Donald
to happen immediately. Right-click on the folder icon, and uncheck the read-only box. -- 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] url

2004-10-20 Thread Greg Donald
can fix the code: if(isset($_GET['area'])) -- 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: Best way to allow a user to indicate formatting to be displayed but stored.

2004-10-20 Thread Greg Donald
On Wed, 20 Oct 2004 15:01:56 -0400, GH [EMAIL PROTECTED] wrote: I guess this means I do not have pear... right? You can download the PEAR files and put them most anywhere. They don't have to be in the standard location. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http

Re: [PHP] people/projects looking for developers...

2004-10-19 Thread Greg Donald
this is the best forum to begin seeking members for a new business. -- 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] sql trim problem

2004-10-19 Thread Greg Donald
or the mailing list for the database you are using, if one exists. Fixed length fields often have 'filler' data at the end of the field. I suspect this the case with your data. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http

Re: [PHP] Optimized GIF animations created on the fly (patch included)

2004-10-19 Thread Greg Donald
on that page later. Please do not hesitate to contact me for any questions or suggestions! You probably want to post this info to php-dev. php-general is for users of PHP, not necessarily the actual PHP developers. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com

Re: [PHP] fputcsv() error message

2004-10-19 Thread Greg Donald
On Tue, 19 Oct 2004 12:37:02 -0500, Steven [EMAIL PROTECTED] wrote: Fatal error: Call to undefined function: fputcsv() in /home/webdev/sites/tracking_site/scripts/report.php on line 19 php.net/fputcsv (no version information, might be only in CVS) -- Greg Donald Zend Certified Engineer

Re: [PHP] Square brackets tags

2004-10-19 Thread Greg Donald
and use eval() to parse it out? -- 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] Site Search for website

2004-10-18 Thread Greg Donald
and index them. Or I may be wrong. Any guidance appreciated. You can use htdig for indexing the site: http://www.htdig.org/ Then build a PHP wrapper around the results for display: http://www.devshed.com/c/a/PHP/Search-This/ -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http

Re: [PHP] 'Intelligently' truncate string?

2004-10-18 Thread Greg Donald
into an array then rebuild a new string with only so many elements of the array. -- 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] cacheing problem

2004-10-17 Thread Greg Donald
On Sun, 17 Oct 2004 17:16:09 -0700 (PDT), Mag [EMAIL PROTECTED] wrote: Warning: Page has Expired You can use the GET method instead of POST in your form if that's appropriate. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List

Re: [PHP] probs generating multiple drop down select lists within a single form

2004-10-17 Thread Greg Donald
to be getting. any thoughts/comments/pointers would be helpful.. i'm pretty sure that the issue/prob is rather straight forward/simple, but i can't see it right now Not sure exactly what is broken, is that your entire script as posted? -- Greg Donald Zend Certified Engineer http

<    2   3   4   5   6   7   8   9   10   >