RE: [PHP] Licensing??

2001-12-28 Thread Matthew Walker
Welcome to the world of free software. Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: Andrew V. Romero [mailto:[EMAIL PROTECTED]] Sent: Friday, December 28, 2001 9:36 PM To: [EMAIL PROTECTED] Subject: [PHP] Licensing?? I am looking

[PHP] Cookies In Images...

2002-01-02 Thread Matthew Walker
Can anyone give me a pointer on where to go to find out how to send cookies through images, preferably in PHP? Matthew Walker Ecommerce Project Manager Mountain Top Herbs --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.310

RE: [PHP] Cookies In Images...

2002-01-02 Thread Matthew Walker
Thanks. That's what I suspected, but I needed to make sure. Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: Bas van Rooijen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 02, 2002 2:28 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Cookies

[PHP] More on images...

2002-01-03 Thread Matthew Walker
Related to my last question about the cookies in images, is there any way to get the referrer from the calling page without passing it as an argument to the image generation script? Matthew Walker Ecommerce Project Manager Mountain Top Herbs --- Outgoing mail is certified Virus Free. Checked

RE: [PHP] More on images...

2002-01-03 Thread Matthew Walker
php. Any advice? Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: Billy Harvey [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 03, 2002 3:25 PM To: Matthew Walker Subject: Re: [PHP] More on images... On Thu, 2002-01-03 at 16:51, Matthew Walker wrote

RE: [PHP] More on images...

2002-01-03 Thread Matthew Walker
I solved it using Javascript to get the referrer of the parent doc, and pass it as a get request. Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: Matthew Walker Sent: Thursday, January 03, 2002 3:46 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] More

[PHP] mail() question

2002-01-23 Thread Matthew Walker
]); arsenic.mth.com is the LAN name of my box. How can I get PHP to send mail as if it was from the DNS name for the box (mthmarketing.com)? Matthew Walker Ecommerce Project Manager Mountain Top Herbs --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com

RE: [PHP] Outreaching (announcement)

2002-01-25 Thread Matthew Walker
I downloaded the current version to test, and I don't know how you call it stable enough to use. I continually get permission denied errors accessing the DB. Some of them go away if I refresh, others don't. And yes, the user has full permissions to the relevant DB. Matthew Walker Ecommerce

RE: [PHP] preg_replace() 'space' the final frontier

2002-01-30 Thread Matthew Walker
$statement=preg_replace(/ /,br,$original,19); Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: hugh danaher [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 30, 2002 12:35 PM To: Php-General Subject: [PHP] preg_replace() 'space' the final

RE: [PHP] MySQL Fetch_Array VS. Fetch_Object

2002-01-30 Thread Matthew Walker
Note that you can do this: print $row[field_name]; Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: Bryan Gintz [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 30, 2002 11:49 AM To: PHP List Subject: [PHP] MySQL Fetch_Array VS. Fetch_Object

RE: [PHP] preg_replace() 'space' the final frontier

2002-01-30 Thread Matthew Walker
Looking at what you wanted to do, I realized this isn't going to work. That line of code will put a BR between each of the first 19 words. Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: Matthew Walker Sent: Wednesday, January 30, 2002 12:47 PM

RE: [PHP] How can I decrypt a password I previously coded with md5()?

2002-01-30 Thread Matthew Walker
Exactly. The point of MD5 is that there is no way to get the password back. This makes things much more secure if your site gets hacked. Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: Demitrious S. Kelly [mailto:[EMAIL PROTECTED]] Sent: Wednesday

RE: [PHP] zend encoded files dont work

2002-01-31 Thread Matthew Walker
I'd imagine it's because windows zend has to compile them in a slightly different manner. Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: Kunal Jhunjhunwala [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 31, 2002 12:41 PM To: php-list Subject

RE: [PHP] problems with mt_rand()

2002-01-31 Thread Matthew Walker
Did you remember to seed it? See http://www.php.net/manual/en/function.mt-srand.php for info on how to seed it. Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: Benjamin deRuyter [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 31, 2002 1:02 PM

RE: [PHP] Help with JPGraph in PHP.

2002-01-31 Thread Matthew Walker
You need to send the headers to tell the browser what kind of data you're sending. Try something like this: header(Content-type: image/png); Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: Sridhar Moparthy [mailto:[EMAIL PROTECTED]] Sent: Thursday

RE: [PHP] PHP and Apache authorization: how to logout. Help!

2002-02-01 Thread Matthew Walker
Does anyone have the answer for this question? I need it too... Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: Aras Kucinskas [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 31, 2002 10:39 AM To: [EMAIL PROTECTED] Subject: [PHP] PHP and Apache

RE: [PHP] PHP and Apache authorization: how to logout. Help!

2002-02-01 Thread Matthew Walker
I've done some investigating on my own. There is no way to do this. Period. Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: Matthew Walker Sent: Friday, February 01, 2002 3:37 PM To: Aras Kucinskas; [EMAIL PROTECTED] Subject: RE: [PHP] PHP

RE: [PHP] PHP and Apache authorization: how to logout. Help!

2002-02-01 Thread Matthew Walker
The entire browser has to close down to clear the auth data. Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: Lazor, Ed [mailto:[EMAIL PROTECTED]] Sent: Friday, February 01, 2002 4:41 PM To: Matthew Walker; Aras Kucinskas; [EMAIL PROTECTED] Subject

RE: [PHP] Trying to put ips into database

2002-02-08 Thread Matthew Walker
What type of field is 'ip'? Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: Leif K-Brooks [mailto:[EMAIL PROTECTED]] Sent: Friday, February 08, 2002 9:18 AM To: [EMAIL PROTECTED] Subject: [PHP] Trying to put ips into database I'm trying: $query

RE: [PHP] A MYSQL COUNTER

2002-02-11 Thread Matthew Walker
This is too much for a text file. You should definitely use MySQL for this. Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: Georgie Casey [mailto:[EMAIL PROTECTED]] Sent: Monday, February 11, 2002 3:22 PM To: [EMAIL PROTECTED] Subject: [PHP

RE: [PHP] Parse Error

2002-02-12 Thread Matthew Walker
I'd definitely check Line 19. You probably forgot a ; Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: Jason Whitaker [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 12, 2002 4:01 PM To: [EMAIL PROTECTED] Subject: [PHP] Parse Error Ok I got

RE: [PHP] PEAR DB class

2002-02-14 Thread Matthew Walker
Sure is legal. I use it all /over/ the place. Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: Gary [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 14, 2002 2:26 PM To: [EMAIL PROTECTED] Subject: [PHP] PEAR DB class Hi all, Before I get

RE: [PHP] mysql 4 windows

2002-02-24 Thread Matthew Walker
Yes. MySQL is as stable as the box you run it on. ;) Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: jtjohnston [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 24, 2002 10:06 PM To: [EMAIL PROTECTED] Subject: [PHP] mysql 4 windows Does anyone

RE: [PHP] Session_start()

2002-03-07 Thread Matthew Walker
You must place session_start() before any other /output/. It can come after other code, as long as nothing will be output before it. Alternately, you can turn on output buffering and just not worry about it. Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message

RE: [PHP] Re: Phpfx, what is it?

2002-03-20 Thread Matthew Walker
A quick search on google told me this: phpfx is a website with the goal of providing free and quality open source php scripts Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: Philip Hallstrom [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 20

RE: [PHP] what is the difference between function and language construct?

2002-03-21 Thread Matthew Walker
Because $a=5 is not 'empty'. Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: bob [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 5:19 PM To: [EMAIL PROTECTED] Subject: [PHP] what is the difference between function and language construct

RE: [PHP] counter for HIGH traffic site

2002-04-08 Thread Matthew Walker
run. The queries consist of the same kind you would be using. Debug Data This page was generated in 0.030305027961731 seconds. 9 queries executed. Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: Craig Westerman

[PHP] PHP (CLI) + CURL + SSL Problem...

2002-06-07 Thread Matthew Walker
I have PHP installed both as a module, and as a CLI. When I use CURL from inside the module, it works fine for all connections, including SSL. When I use the CLI, I can't make SSL connections with CURL. It just returns 'false'. Anyone know why? -- PHP General Mailing List

Re: [PHP] PHP (CLI) + CURL + SSL Problem...

2002-06-07 Thread Matthew Walker
installation? Try running this through the CLI to check... if(extension_loaded('curl')){ echo 'curl support present'; } else { echo 'curl not found'; } mh. On 7 Jun 2002, Matthew Walker wrote: I have PHP installed both as a module, and as a CLI. When I use CURL from inside

Re: [PHP] mysql_num_rows()

2002-06-07 Thread Matthew Walker
It's 1 based. It returns the number of rows. Not the index of the last row. (Which would be 0 based.) On Fri, 2002-06-07 at 19:23, William_dw -- Sqlcoders wrote: Hiya!, Does anyone know whether mysql_num_rows is zero or one based? that is, if I have 5 records will mysql_num_rows() return 4

[PHP] Multiple Threads?

2002-04-13 Thread Matthew Walker
shipping rates to display on a page. If you had to query them one at a time, the delay would be unacceptable. However, with that perl module, you could query them all at the same time, making it much faster. Does anyone know if such a thing exists for PHP? Matthew Walker Senior Software Engineer

[PHP] RE: Multiple Threads?

2002-04-14 Thread Matthew Walker
Won't work for web connections, because it waits for each connection to complete before running the next one. Matthew Walker Senior Software Engineer ePliant Marketing -Original Message- From: Richard Creech [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 14, 2002 1:46 PM To: [EMAIL

RE: [PHP] Multiple Threads?

2002-04-15 Thread Matthew Walker
I think what I'm going to end up doing, is using a perl CGI script to do this part. I /know/ perl can do it easily, and I won't have to hack together my own threading code. Thanks for the suggestions though. Matthew Walker Senior Software Engineer ePliant Marketing -Original Message

RE: [PHP] Checking for TTF in a script

2002-04-16 Thread Matthew Walker
Use this: if (function_exists(imagettftext)) { //TTF Exists } else { //TTF Doesn't exist } Matthew Walker Senior Software Engineer ePliant Marketing -Original Message- From: Jackson Miller [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 16, 2002 12:42 PM To: [EMAIL

RE: [PHP] SafeExtract() ... extract securily

2002-04-17 Thread Matthew Walker
Sounds really good to be! Now if they would code this into PHP, it would be perfect. This would solve several security issues. Matthew Walker Senior Software Engineer ePliant Marketing -Original Message- From: Amit Arora [mailto:[EMAIL PROTECTED] (nospam)] Sent: Wednesday, April 17

RE: [PHP] Mass Mail {?!}

2002-04-22 Thread Matthew Walker
I'd recommend this script with a few changes. ? $Emails = array(Get your list of emails into the array somehow); for($i=0; $icount($Emails); $i++) { // send email code usleep(delay in microseconds); } ? Matthew Walker Senior Software Engineer ePliant Marketing

RE: [PHP] Can php support ttf??

2002-04-22 Thread Matthew Walker
Also, non-Unicode TTF fonts will /not/ work with PHP. Matthew Walker Senior Software Engineer ePliant Marketing -Original Message- From: Rahul Bhide [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 9:45 PM To: zhaoxd Cc: php mailling list Subject: Re: [PHP] Can php support ttf

RE: [PHP] remove last character in a string

2002-04-22 Thread Matthew Walker
Actually, if he uses a negative index in substr(), he doesn't need to know the length of the string. Matthew Walker Senior Software Engineer ePliant Marketing -Original Message- From: Tyler Longren [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 9:29 PM To: Craig Westerman

RE: [PHP] Re: how to send spaces in the url

2002-05-09 Thread Matthew Walker
Might I suggest using PHP's urlencode() to encode the string, and Javascript's function unescape()? Matthew Walker Senior Software Engineer ePliant Marketing -Original Message- From: Kevin Stone [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 09, 2002 11:37 AM To: [EMAIL PROTECTED

RE: [PHP] simple array question (Am a Newbie kindly excuse.)

2002-05-09 Thread Matthew Walker
Try this: ?php $a1[]=ryan1; $a1[]=ryan1.2; $a1[]=ryan2; $a1[]=ryan2.1.1.1.1.1; $a1[]=ryan3; $a1[]=ryan3.2; print(Tesing arrays:br); for($i=0; $i count($a1); $i++) { { echo($a2[$i]); if ($i != (count($a1) - 1)) { echo ,br; } } ? Matthew Walker Senior

RE: [PHP] Newbie question to everybody....PHP

2002-05-11 Thread Matthew Walker
to ask if you have any more questions. I always try and answer questions on the list if I have the time, and know the answer. Matthew Walker Senior Software Engineer ePliant Marketing -Original Message- From: r [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 11, 2002 7:26 PM To: [EMAIL

RE: [PHP] setcookie() in 4.2.0

2002-05-11 Thread Matthew Walker
going. (Or maybe I'm just too lazy to take the tremendous amount of time it would take to rewrite our code to not send output before headers...) Matthew Walker Senior Software Engineer ePliant Marketing -Original Message- From: Olexandr Vynnychenko [mailto:[EMAIL PROTECTED]] Sent

RE: [PHP] help with undefined variables, please

2002-05-14 Thread Matthew Walker
I prefer to use isset(), not empty(). It's more accurate, in that it knows the difference between a variable that just isn't set, and one that has an empty value (which may be valid). Matthew Walker Senior Software Engineer ePliant Marketing -Original Message- From: Philip Olson

[PHP] Sessions Without Cookies or SID Passing...

2002-05-14 Thread Matthew Walker
to accommodate it. So, is there any reliable way to emulate sessions without requiring a cookie, or a variable passed in every URL? Matthew Walker Senior Software Engineer ePliant Marketing --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com

RE: [PHP] Sessions Without Cookies or SID Passing...

2002-05-14 Thread Matthew Walker
The sites are not dynamic, but the shopping cart /is/. The problem is, if people don't have cookies on, when they return to the site to order more products, they loose the SID that has been appended to the links inside the cart, and thus loose the contents of their shopping cart. Matthew Walker

RE: [PHP] Sessions Without Cookies or SID Passing...

2002-05-14 Thread Matthew Walker
You're not understanding the problem. This is not an authentication situation. We are using sessions to track information about what a customer's OrderID is, and other related information. Matthew Walker Senior Software Engineer ePliant Marketing -Original Message- From: Rasmus

RE: [PHP] Sessions Without Cookies or SID Passing...

2002-05-14 Thread Matthew Walker
to maintain session data. But maybe my mind is just trapped in a rut. Please enlighten me. Matthew Walker Senior Software Engineer ePliant Marketing -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 14, 2002 6:04 PM To: Matthew Walker Cc: [EMAIL PROTECTED

RE: [PHP] Sessions Without Cookies or SID Passing...

2002-05-14 Thread Matthew Walker
Blah. That's a really ugly choice, but I suppose we may end up having to do that. I'd give my kingdom for always-on cookies. Ah well. I'll look into this some more once my current project is finished. Thanks for your advice. (And thanks to everyone else too) Matthew Walker Senior Software

RE: [PHP] PHP 4.2x changes

2002-05-14 Thread Matthew Walker
Actually, it is $PHP_SELF. Try $_SERVER['PHP_SELF'] Matthew Walker Senior Software Engineer ePliant Marketing -Original Message- From: Weston Houghton [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 14, 2002 6:14 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP 4.2x changes All, I've

[PHP] PHP Tag question

2002-05-15 Thread Matthew Walker
I'm writing a coding standards document for our programmers, and I need to know if the 'echo' shortcut PHP tags are always on, or if we need to assume they might not be on. (By echo shortcut, I mean this syntax: ?=$variable?) Matthew Walker Senior Software Engineer ePliant Marketing

RE: [PHP] I'm doing something wrong....

2002-05-15 Thread Matthew Walker
When you create an array this way, no numeric indexes are assigned. Matthew Walker Senior Software Engineer ePliant Marketing -Original Message- From: Robert Rothe [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 2:35 PM To: [EMAIL PROTECTED] Subject: [PHP] I'm doing

RE: [PHP] SQL Server test tool

2002-05-15 Thread Matthew Walker
Just attempt to connect. If it succeeds, the server is alive. Matthew Walker Senior Software Engineer ePliant Marketing -Original Message- From: Scott St. John [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 6:53 AM To: [EMAIL PROTECTED] Subject: [PHP] SQL Server test tool

RE: [PHP] Re: Sessions and include()...

2001-09-22 Thread Matthew Walker
pieces would need to use the same session as if they were on /our/ server. -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED]] Sent: Friday, September 21, 2001 10:25 PM To: Matthew Walker Cc: [EMAIL PROTECTED] Subject: [PHP] Re: Sessions and include()... I believe: include

[PHP] DB.php, and how to use?

2001-09-25 Thread Matthew Walker
a quick set of examples for how to use the class functions? I haven't done OO programming in a long time, and I've never done it in PHP. -- Matthew Walker Ecommerce Project Manager Mountain Top Herbs --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http

[PHP] PEAR DB Questions

2001-09-26 Thread Matthew Walker
insert you performed. How do I get that information with the PEAR DB module? -- Matthew Walker Ecommerce Project Manager Mountain Top Herbs --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.281 / Virus Database: 149 - Release Date

RE: [PHP] PEAR DB Questions

2001-09-26 Thread Matthew Walker
Thanks. That will work quite nicely. -Original Message- From: Jack Dempsey [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 26, 2001 1:20 PM To: Matthew Walker; [EMAIL PROTECTED] Subject: RE: [PHP] PEAR DB Questions don't know about pear, but in case you can't do it, there's

[PHP] Restrict where PHP is Usable?

2001-10-02 Thread Matthew Walker
use PHP. They'll have to pay a (very small) monthly fee to have access to it. This is partly as a very loose security measure, so that not everyone has access to PHP. -- Matthew Walker Ecommerce Project Manager Mountain Top Herbs --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus

[PHP] include() problem...

2001-09-20 Thread Matthew Walker
error. Warning: Failed opening 'DB/mysql.php' for inclusion (include_path='') in /usr/local/httpd/htdocs/test.php on line 2 Help? Please? I'm at a loss as to how to fix this, and I kind of need to. -- Matthew Walker Ecommerce Project Manager Mountain Top Herbs --- Outgoing mail is certified

RE: [PHP] include() problem...

2001-09-20 Thread Matthew Walker
it properly. But when I try and do an include, I get the following error. Warning: Failed opening 'DB/mysql.php' for inclusion (include_path='') in /usr/local/httpd/htdocs/test.php on line 2 Help? Please? I'm at a loss as to how to fix this, and I kind of need to. -- Matthew Walker Ecommerce

RE: [PHP] include() problem...

2001-09-20 Thread Matthew Walker
Checked that. Plenty of permissions. Anyone else have any idea? -Original Message- From: Johnson, Kirk [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 20, 2001 1:48 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] include() problem... Check the permissions on both the directory and

RE: [PHP] include() problem...

2001-09-20 Thread Matthew Walker
Okay... This is odd. Despite the fact that 'print_r(ini_get(include_path));' returns the right include_path, I just checked the php.ini file, and lo and behold, there is no include path set. So... Have I just discovered a bug? -Original Message- From: Matthew Walker [mailto:[EMAIL

[PHP] Sessions and include()...

2001-09-21 Thread Matthew Walker
What happens if you use include() to include a file from another server, and that file sets a session? Does the session get set for the domain of the wrapper page, or does it get set for the domain of the included page? -- Matthew Walker Ecommerce Project Manager Mountain Top Herbs

RE: [PHP] Getting https-page

2003-01-20 Thread Matthew Walker
Look into the CURL libraries. http://www.php.net/manual/en/ref.curl.php They essentially allow you to emulate the behavior of a browser. Where I work, we use them to make SSL connections to payment processing gateways. Matthew -Original Message- From: Martin Thoma [mailto:[EMAIL