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
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
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
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
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
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
]);
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
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
$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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
63 matches
Mail list logo