: and
then comments preceeded by
Does anyone know a straightforward function to accomplish this?
Regards,
Collins -Nairobi KE.
--
If you have an apple and I have an apple and we exchange these apples
then you and I will still each have one apple. But if you have an idea
and I have an idea and we
($email_to,$email_subject,$emailbody,$header)
--
Michael
__
||| Michael Collins
||| Kuwago Inc
||| Singapore and Seattle USA
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 9:11 AM +0800 9/14/04, Michael Collins wrote:
How do I preserve line breaks in the body of an email message?
Nevermind got it figured out. sorry for the extra bandwidth
--
Michael
__
||| Michael Collins
||| Kuwago Inc
||| Singapore and Seattle USA
--
PHP General Mailing List (http
One thing you could do is to download the class and extract just the
functions you need.
--
Michael
__
||| Michael Collins
||| Kuwago Inc
||| Singapore and Seattle USA
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Try running 'make clean' before you run 'make' again. I had a problem when
trying to run 'make' for the umpteenth time during my recent troubles, and
apparently it was because things got a little too cluttered, and this did
the trick.
Will
-Original Message-
From: Jason Wong
,
guys?
Will
-Original Message-
From: Support [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 01, 2004 10:11 PM
To: Will Collins; [EMAIL PROTECTED]
Subject: Re: [PHP] Upgrade PHP?
I've dealt with a similar problem with Mandrake. Some distros have their own
idea of where things should go
To test it, I used:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-gd
--with-zlib-dir=/usr/include
-Original Message-
From: bruce [mailto:[EMAIL PROTECTED]
Sent: Monday, August 02, 2004 3:39 PM
To: 'Will Collins'; [EMAIL PROTECTED]
Subject: RE: [PHP] Upgrade
Won't work:
Fatal error: Call to undefined function: imagecreatefromjpeg()
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]
Sent: Monday, August 02, 2004 4:09 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Upgrade PHP?
On Tuesday 03 August 2004 03:21, Will Collins wrote
10:14 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Upgrade PHP?
On Tuesday 03 August 2004 07:42, Will Collins wrote:
Won't work:
Fatal error: Call to undefined function: imagecreatefromjpeg()
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
--with-gd
--with-zlib-dir=/usr
I'm having problems upgrading PHP from 4.2.2 to 4.3.8 on RedHat 9. I've
tried simply making the 4.3.8 from source, but RedHat didn't use the default
PHP folder structure is seems, since there has been no change in my PHP
version. I also tried the ./configure string returned by 'phpinfo()'
I've always gotten errors when trying to use the value property of a
textarea. Put the value info between the textarea/textarea tabs.
-Original Message-
From: bruce [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 20, 2004 12:59 PM
To: [EMAIL PROTECTED]
Subject: [PHP] textarea/display
Name each of the checkboxes grid[] (input type=checkbox name=grid[]
value=your_valueYour Text), then in your processing script,
$_POST['grid'] will be an array with the values of all the checked boxes
(assuming at least one was checked - otherwise it won't be set). If you
want a limit on the
Error handlers? Plus, you can set up PHP to log errors to a file in
'php.ini'...
-Original Message-
From: Scott Fletcher [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 20, 2004 9:48 AM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP error catching
What are those php functions that catch
PHP MySQL Web Development is a pretty good one. It does a good job of
giving a fairly thorough explanation on things, considering the broad range
of topics to be covered. I never have really been a fan of the Fast and
Easy... series, or the Learn * In 24 Hours series.
Will
-Original
I apologize for requesting a read receipt. Won't happen again - I hope. :)
-Original Message-
From: Will Collins [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 17, 2004 2:27 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Book Required
PHP MySQL Web Development is a pretty good one
://www.phpmac.com/articles.php?view=177
--
Michael
__
||| Michael Collins
||| Kuwago Inc
||| Singapore and Seattle USA
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
that in PHP.
--
Michael
__
||| Michael Collins
||| Kuwago Inc
||| Singapore and Seattle USA
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 2:57 AM -0400 7/4/04, John W. Holmes wrote:
Michael Collins wrote:
I am relatively new at PHP and wondering why there is no mechanism
to create user-defined superglobals? For example in ASP.Net I can
setup a global.asa to define database connections or any named
value I want to be available
whatever WHERE id = .$_GET['rm_id']. LIMIT 1;
mysql_query($query);
}
?
/code
Will Collins
-Original Message-
From: Robert Cummings [mailto:[EMAIL PROTECTED]
Sent: Friday, May 14, 2004 8:49 PM
To: Ryan A
Cc: PHP-General
Subject: Re: [PHP] How to duplicate this functionality?
On Fri
any reload at all.
It has a pretty cool effect when you up the duration and use it for
totally different pages too... it's just really fun to play with. Just
stick it into the header of your page.
Will Collins
-Original Message-
From: Will Collins [mailto:[EMAIL PROTECTED]
Sent: Friday
I have two test files running on a server, which is giving me a headache,
due to the fact the session variables are not been maintained across the two
pages.
The server is running ...
PHP Version = 4.0.5
register_globals = ON
Session Support = Enabled
session.auto_start = Off
['test']);
vincent
-Original Message-
From: Charles Collins [mailto:[EMAIL PROTECTED]
Sent: mardi 20 avril 2004 17:44
To: [EMAIL PROTECTED]
Subject: [PHP] session variables
I have two test files running on a server, which is giving me a headache,
due to the fact the session variables
] wrote in message
news:[EMAIL PROTECTED]
I would do
script 1 :
$_SESSION['test'] = hello world;
and in script2 :
print($_SESSION['test']);
vincent
-Original Message-
From: Charles Collins [mailto:[EMAIL PROTECTED]
Sent: mardi 20 avril 2004 17:44
To: [EMAIL PROTECTED]
Subject: [PHP] session
)
Works a treat now, the server was saving the session cookie for the wrong
url and hence when the secoudn page was called in the same browser it wa not
able to collect up the session variables as the domain names were different.
Thanks again,
Regards
Charlie.
Charles Collins [EMAIL PROTECTED
Hello,
My problem is this: I wish to have extremely highly secure sessions. I have
instituted full SSL, tuned apache, and set the web server security such that
there is very low possiblity of internal session hijacking. However, I am
concerned about the session fixation problem (as well as a
hi
i need to set one directory on my server with global_variables turned on.
i'm running apache
i've read that by setting the environment variable PHPRC, I can point a
directory to a different php.ini file. however, i'm having trouble finding
out how to go about doing this. is this something i
Do you have this line in your php.ini file?
SMTP= your mail server here ;for
win32 only
-Original Message-
From: Rad Craig [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 06, 2003 9:22 AM
To: PHP Mailing List
Subject: [PHP] mail() not working on
.
Surely someone else has run into this and more than likely its just a
usage or configuration problem that relates to my lack of understanding.
Any help is greatly appreciated.
--
charlie collins
screaming-penguin.com
'source does matter'
--
PHP General Mailing List (http://www.php.net
yes, but that is a browser function not php
goto file - page setup - then remove the header and footer data
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Fax: (504) 248-3866
Email : [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
-Original
info2
Last Sunday in August display info3
Has anyone worked out this type of scinerio to find the dates?
Thanks
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Fax: (504) 248-3866
Email : [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
mailto:[EMAIL
sorry to do this but need to make sure my out of office response isint going
to spam you guys.
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Fax: (504) 248-3866
Email : [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
-Original Message-
From
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Fax: (504) 248-3866
Email : [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
-Original Message-
From: Collins, Robert [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 5:24 PM
To: [EMAIL
I have Apache and IIS coexisting on my intranet server and the way I set
them up was to put each on a different port. (Apache serves http://intranet
and IIS serves http://intranet:8080) this appears to work fine. Hope this
helps
Robert W. Collins II
Webmaster
New Orleans Regional Transit
Erik just got his own personal email filter strait to the deleted items
folder.
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Fax: (504) 248-3866
Email : [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
-Original Message-
From: Jeff Lewis
Matt,
I dont know if this helpped Brian but it just saved me a huge headache with
some of the presonal settings on my intranet
THANKS!
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Fax: (504) 248-3866
Email : [EMAIL PROTECTED] mailto:[EMAIL
this will do it:
?php
$username = $_GET['user'];
$password = $_GET['pass'];
echo $username;
echo $password;
?
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : [EMAIL PROTECTED]
-Original Message
. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : [EMAIL PROTECTED]
-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
Has anyone seen
to
hire you. If they did hire you why not pay you to write the code instead of
paying their people to go through the hassle of reverse engineering it.
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : [EMAIL PROTECTED]
-Original
exactly how the functions worked or
interacted with one another.
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Good point I hadn't thought about that, maybe its time for that second pot
of coffee ;)
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : [EMAIL PROTECTED]
-Original Message-
From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED
.
/SNIP
If they had the talent or the free time they would have programmed it
themselves because most of the time it takes longer to backwards engineer a
program than it does to write it from scratch.
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Does it have to be a booby-trap or will some little annoyance like a
shareware popup that would just aggravate the heck out of them do the trick?
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : [EMAIL PROTECTED]
-Original Message
you could do a stripslashes ()
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : [EMAIL PROTECTED]
-Original Message-
From: Anthony Ritter [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 3:06 PM
To: [EMAIL PROTECTED
Can anyone recommend a good commercial shopping cart written in php?
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Check the Note about 5 lines down on this page.
http://www.php.net/manual/en/features.remote-files.php
Note: You can't use remote files in include() and require() statements on
Windows.
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email
to me that a target might not be necessary since the link
should already be opening an application that is associated with that file
type.
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : [EMAIL PROTECTED]
-Original Message-
From
I am also trying to access data on an AS/400 have you gotten it to work, if
so can you send an example? Thanks in advance.
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : [EMAIL PROTECTED]
-Original Message-
From: Rance Hall
Thanks. Unfortunately this project is on a windows based platform, but this
may head me in the right direction.
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : [EMAIL PROTECTED]
-Original Message-
From: Matt Schroebel [mailto
why not use somthing like this then
include($DOCUMENT_ROOT./include/mysql_connect.inc);
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : [EMAIL PROTECTED]
-Original Message-
From: Tom Rogers [mailto:[EMAIL PROTECTED]]
Sent
Have you tried BETWEEN
$query = SELECT * FROM table where date BETWEEN '$month_1/$day_1/$year_1'
AND
'$month_2/$day_2/$year_2';
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : [EMAIL PROTECTED]
-Original Message-
From: Alex
If you know the file location, and the location doesn't change you could do
an fopen() and basically read and rewrite the file.
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : [EMAIL PROTECTED]
-Original Message-
From: Sam Rose
I had written one but CNN keeps changing their page format so it was too
hard to keep it up-to-date. That is probably why the one you have is
returning a blank page.
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : [EMAIL PROTECTED
)
|-/html (PHP will run here)
|-whatever (PHP will run here)
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : [EMAIL PROTECTED]
-Original Message-
From: J Smith [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 9
instead of 'and' use ''
if($line[1] == $bruker $line[2] == $passord){
echo hei $bruker.;
}else{
echo FEIL;
}
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : [EMAIL PROTECTED]
-Original Message-
From: R'twick
Try this
if($line[1] == '$bruker' $line[2] == '$passord'){
echo hei $bruker.;
}else{
echo FEIL;
}
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : [EMAIL PROTECTED]
-Original Message-
From: chris [mailto:[EMAIL
This works :
?php
$line = array('','bob','tpw');
$bruker = 'bob';
$passord = 'pw';
if($bruker == $line[1] $passord == $line[2]){
echo hei $bruker.;
}else{
echo FEIL;
}
?
Robert W. Collins II
Webmaster
New Orleans
Try it like this
$letter=a
$result =mysql_query(SELECT * FROM emply_info WHERE Lname LIKE'$letter%'
ORDER BY Lname, Fname DESC,$db);
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : [EMAIL PROTECTED]
-Original Message-
From: Chuck
I am trying to get a double data type to display the .00 in a hole dollar
amount (i.e. 432.00 not 432 or $432.00 not $432).
Can anyone tell me how to do this?
Thanks,
Robert J Collins
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Why not use ping like
?
$bob = exec(ping -c 1 php.net);
echo $bob;
?
-Original Message-
From: Arcadius A. [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 06, 2001 10:17 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Host OnLine ?
What if the host I'm checking is a simple workstation not
www.insight.com is a publicly traded fortune 1000 company. The site is 50%
php now and will be launching its new site this week that will move it up to
90% php. a demo will be available today.
-Original Message-
From: Maurice Rickard [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 26,
:[EMAIL PROTECTED]
250 ok
RCPT TO:[EMAIL PROTECTED]
250 ok
DATA
354 go ahead
From:"pete collins" [EMAIL PROTECTED]
To:"pete"[EMAIL PROTECTED]
Subject:Testing
This is a test man
.
250 ok 984146454 qp 16200
QUIT
221 mozdev.org
Connection cl
hi, you can use the sendmail wrapper as instructed in the qmail docs.
Done that. Thanks.
if you want to use qmail-inject try:
?php
system('echo "Subject: test\n\n\nTest" | /var/qmail/bin/qmail-inject
[EMAIL PROTECTED]');
?
Tired this as well. Nothing.
system('echo "Subject:
I am running this shell script from php using passthru.
#!/bin/sh
printf "Starting Shell script: brbr\n";
printf "command ls -l /var/qmail/bin/qmail-injectbr\n";
ls -l /var/qmail/bin/qmail-inject;
printf "brbr***br\n";
printf "Subject: TESTING FROM SHELL SCRIPT" |
I keep getting:
qmail-inject: fatal: read error
I've tried everything.
Sendmail is symlinked to /var/qmail/bin/sendmail wrapper
$ ls -l /usr/lib/sendmail
lrwxrwxrwx 1 root root 28 Aug 25 2000 /usr/lib/sendmail
- ../../var/qmail/bin/sendmail
$ ls -l /usr/sbin/sendmail
that sounds like a permissions error.
check the permissions for all of the directories and the file along your
path.
-Original Message-
From: Data Driven Design [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 26, 2001 1:04 PM
To: [EMAIL PROTECTED]
Subject: [PHP] File upload error
I
this is a function that I wrote to solve this problem, but it is almost
impossible to get a truly random number you can get somthing pretty close by
seeding with somthing like the time function, using the seconds since epoch
and this should be hard to duplicate.
?php
function
Try this:
?
$filename = "dat.txt";
if (file_exists($filename)){
echo "file exists";
} else {
echo "file does not exist";
}
?
Robert W. Collins
Web Developer II
Insight / TC Computers
www.insight.com
www.tccomputers.com
-Original Message-
F
Try this:
?
function authUser($username,$password,$realm,$message) {
if (isset($GLOBALS["PHP_AUTH_USER"]) (($GLOBALS["PHP_AUTH_USER"]
!= $username) || ($GLOBALS["PHP_AUTH_PW"] != $password))) {
header("WWW-Authenticate: Basic realm=\"$realm\"");
header("HTTP/1.0
Christopher,
try a regular expression somthing like this
?
$temp = "007170";
ereg ("([0-9]{2})([0-9]*)", $temp, $test);
$changed_to_deicmal_form = $test[1].".".$test[2];
echo "$changed_to_deicmal_form";
?
Robert
-Original Message-
From: Christopher Allen [mailto:[EMAIL PROTECTED]]
ho $match_result."BR";
}
?
Robert W. Collins
Web Developer II
Insight / TC Computers
www.insight.com
www.tccomputers.com
-Original Message-
From: Thomas Angst [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 15, 2001 5:47 AM
To: [EMAIL PROTECTED]
Subject: [PHP] REGEX for tag attribut
70 matches
Mail list logo