On Tuesday, April 24, 2007 6:02 PM Richard Lynch mailto:[EMAIL PROTECTED]
said:
I do not have any problems, but I'm not using Outlook, and never will.
Okay...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Monday, April 09, 2007 4:24 PM Jochem Maas
mailto:[EMAIL PROTECTED] said:
Ok. I see what you're saying. If I populate all that data during the
constructor why would I ever call the function again right?
you could refresh the data if needed - but basically the idea is
to cut down the user
Hello,
I'm working on a project now and I'd like to get some feedback on how to
implement a proper class (or two).
This is an application that records an employee's used vacation time.
There are two tables: (1) events, (2) users.
Users:
id (int)
name (varchar)
email (varchar)
balance
On Monday, April 09, 2007 3:51 PM Jochem Maas
mailto:[EMAIL PROTECTED] said:
Thanks for the response Jochem.
Chris W. Parker wrote:
[snip]
you probably only want one DB call to
populate the User object with all the relevant
user data at the point where the object is created.
[snip]
Ok. I
Hello,
I have a form page and a processing page. After submitting the form the
processing page does whatever it needs to do (insert a record, send back
validation errors, etc.) After determing what to do it always redirects
somewhere with header('Location: URL');
But sometimes when I'm back at
On Tuesday, April 03, 2007 11:44 AM Tijnema ! mailto:[EMAIL PROTECTED]
said:
This is the only behavior i know of, a refresh action does the same
action he did for loading the current page again. If you submit data
to that page, it will resubmit the data. If you're using the
Location:URL
On Tuesday, April 03, 2007 12:35 PM Chris Shiflett
mailto:[EMAIL PROTECTED] said:
But sometimes when I'm back at the form page (after the redirect)
and I refresh the page it does the previous page's actions again.
Can you provide a raw HTTP dump of the complete scenario?
Two things:
1. How
Hi.
Currently I'm building a small application for internal office use but
I'd like to get some feedback on a certain aspect of it.
When someone tries to access a page they do not have access to they are
redirected to the login page with the URL they tried to access in the
querystring. This URL
On Friday, March 16, 2007 4:04 PM Robert Cummings
mailto:[EMAIL PROTECTED] said:
Update:
Now that I've corrected my mistake in php.ini and set the level of error
reporting that I want I can see *most* errors.
But shouldn't the following produce a visible error?
?php
error_reporting(E_ALL);
On Monday, March 19, 2007 11:28 AM Brad Fuller
mailto:[EMAIL PROTECTED] said:
Syntax errors like that will cause a startup error, which means your
code
can't be evaluated. So those 2 lines of code that turn the error
reporting
on never get executed.
Oooohh it's a startup error. Didn't
On Monday, March 19, 2007 10:24 AM Leonard Burton
mailto:[EMAIL PROTECTED] said:
For instance, McDonald needs to remain that way even if it comes in as
MCDONALD, or mcdonald.
[snip]
Yeah, nothing is a perfect solution but anything is better than
nothing.
That's probably true when you're
Hello,
Using CentOS 4 and I can't get errors to display on the page AT ALL or
log errors consistently. Some errors get logged (forgetting to us
$this- in a class for example) but most don't.
I've tried:
* using .htaccess to set the error reporting.
* checking and double checking my
On Friday, March 16, 2007 12:37 PM Robert Cummings
mailto:[EMAIL PROTECTED] said:
Is there a custom error handler in place?
Try grepping for set_error_handler.
Not in this project. Being used in another project wouldn't count
towards this one would it?
Thanks.
--
PHP General Mailing List
On Friday, March 16, 2007 12:49 PM Robert Cummings
mailto:[EMAIL PROTECTED] said:
If either project overrides the error handler than a custom error
handler is in place. All depends on whether the code that sets it gets
run.
(Was at lunch.)
I see. In that case how do I override it in this
Hello,
This is now my 3rd attempt at writing this email. :) The first two were
pretty long...
I'm currently working on trying to find a solution that is both simple
and flexible for storing the data of a complicated set of dynamic
options for some of our products. My current thinking is that I
On Thursday, January 18, 2007 3:51 PM Chris mailto:[EMAIL PROTECTED]
said:
Hey Chris,
If you have to write a 6 page document to explain what's going on,
that's probably bad.. because in 6 months time if you need to revisit
it, you're going to have issues.
hehe I wouldn't say that my other
On Thursday, January 18, 2007 5:09 PM Paul Novitski
mailto:[EMAIL PROTECTED] said:
Are you considering keeping all the levels of your data tree in a
single table because you can't predict how many levels there will
be? If you CAN predict its depth, wouldn't it be simpler and easier
to
Hello,
This is off topic but I wanted to get the list member's opinions on the
subject as it will probably benefit someone else.
Currently I don't use version control at all. What I do instead is have
one directory that contains my development website and one directory
that contains the live
Hey everyone,
Is there any work being done in the database world for data validation
at the db level?
It would be cool to just define a field as being an email address (of
length nn) instead of saying a TEXT field (of length nn) and validating
it in the application layer. Same goes for other
Jay Blanchard mailto:[EMAIL PROTECTED]
on Thursday, September 07, 2006 5:16 PM said:
There are all sorts of ways to validate data at the DB level and this
is a PHP question how?
Just because!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Kevin Murphy mailto:[EMAIL PROTECTED]
on Tuesday, September 05, 2006 3:27 PM said:
The passwords are called in the application by:
$_SERVER['PHP_AUTH_PW']
Is there any way to tell how these passwords were encrypted?
Have you tried searching the entire codebase for that string? Might
Richard Lynch mailto:[EMAIL PROTECTED]
on Tuesday, August 22, 2006 10:30 AM said:
Guys, don't take this wrong but...
How do you think all the other PHP shopping carts got started?...
Pretty much the same way.
So you really need to spend the next couple months figuring out what
they
Everyone,
Been out of the office for a few days...
As nearly everyone has pointed out, the downside(s) to visual/audial
authentication methods are greater than the benefits
Thanks!
Chris.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Richard Lynch mailto:[EMAIL PROTECTED]
on Friday, August 18, 2006 9:47 AM said:
Active Directory is a bastardized LDAP with goofy idiosyncracies to
drive you crazy.
And you're speaking from experience?
Never use AD myself.
Oh wait, I guess not... :/
Chris.
p.s. I'm just having
Hello,
Last night I was reading Chris Shiflett's PHP Security book from
O'Reilly and got to thinking about ways to authenticate a user other
than using a password.
Ideas:
1. Use flash to allow the user to draw an image. If the original image
created during signup is within an acceptable range
tedd mailto:[EMAIL PROTECTED]
on Thursday, August 17, 2006 8:29 AM said:
And then stripping out the index.php, and using the remainder for
both the URL and the database lookup.
Why not just place all your pages inside folders with the names you
want and then link to the folders?
Daevid Vincent mailto:[EMAIL PROTECTED]
on Thursday, August 17, 2006 12:58 PM said:
B/c I'm too busy (and lazy) to hand type it all in, wondering if
someone has an array of state abbreviations to names like so...
$states = array(
...
'NY' = 'New York',
'WA' = 'Washington',
Hello,
While experimenting with some object stuff I stumbled upon something new
(although not object related).
Normally I would do this:
?php
function do_something($input)
{
if($input == 'hello')
{
return $input;
}
else
{
return false;
}
}
$result = do_something('hello');
Hello,
Is it a better practice to set flags to determine the action of your
code or is it perfectly acceptable to have your code determine what it
should do based on the existence (or lack thereof) of data?
For example:
?php
if($value == 1)
{
$flag = true;
}
if($flag === true)
{
Brad Bonkoski mailto:[EMAIL PROTECTED]
on Tuesday, August 15, 2006 10:04 AM said:
Pros: potentially more readable code.
Cons: Wasted energy typing unnecessary lines of code.
Really I would say it comes down to coder preference.
(and why would you avoid the latter all together? Testing
Hello,
After some intense searching of Google I found one example at
http://us2.php.net/language.variables on how to get the name of a
variable. But it looks pretty expensive.
?php
function vname($var, $scope=false, $prefix='unique', $suffix='value')
{
if($scope) $vals = $scope;
else
tedd mailto:[EMAIL PROTECTED]
on Thursday, August 10, 2006 7:59 PM said:
Not a php solution, but send them all a buck via PayPal. For $90
you'll learn if their email addresses are correct.
That should be cheaper than writing a program to figure it out for
you, if it can be done.
Here's
Hello,
I have about 90 customers who have created accounts but not yet
activated them in the past 11 months. That's less than one every 3.6
days but compared to our total number of customers, it's right at the
edge of being a significant number.
I'm curious to find a way to determine if the mail
Richard Lynch mailto:[EMAIL PROTECTED]
on Thursday, August 10, 2006 1:14 PM said:
Keep in mind that for many mere mortals, the process of dealing with
your email confirmation goes like this:
1. surf to site, put in email
2. check email, find nothing.
3. go back to site, use
Hello,
Generally (well, actually 100%) I just use whatever version of PHP is
included with a certain distro (Redhat pre-Fedora, Fedora Core, CentOS).
None of the versions I've used have come with PHP5 and I'd really like
to get with the times and use PHP5.
I know that Fedora Core 5 offers PHP
Jochem Maas mailto:[EMAIL PROTECTED]
on Wednesday, August 09, 2006 11:05 AM said:
[snip useful stuff]
1. you can skip 'make test'
2. if in doubt do 'make clean' before 'make'
3. rinse and repeat 'configure', 'make', 'make install' as required
4. do './configure --help' to see all the
Jack Gates mailto:[EMAIL PROTECTED]
on Wednesday, August 09, 2006 10:16 AM said:
On Wednesday 09 August 2006 12:02, Chris W. Parker wrote:
I know that Fedora Core 5 offers PHP 5.1.2 but I've heard some
negative things about it in general (FC5).
What sort of negative things have you
Jonathan Duncan mailto:[EMAIL PROTECTED]
on Wednesday, August 09, 2006 3:55 PM said:
If you want to really learn Linux, try Gentoo. If you just want a
very good and easy to use Linux, go with SuSE.
To keep this related to the question I asked...
Do either of the latest builds of these
Larry Garfield mailto:[EMAIL PROTECTED]
on Thursday, July 20, 2006 6:36 PM said:
On Thursday 20 July 2006 11:30, Chris W. Parker wrote:
Drupal has its own ecommerce suite that is reasonably robust all on
its own.
Yeah I saw that module. I think today I am going to try to set them both
Hello,
So we're getting ready to redo our website once again to integrate some
modern changes and a shift in branding. I'm currently looking at all my
options as far as software goes. The question I have to answer is Do I
write everything by myself from scratch and spend 3-6 months doing it?
Or
Brady Mitchell mailto:[EMAIL PROTECTED]
on Thursday, July 20, 2006 12:25 PM said:
The answer to this question depends heavily on your needs. What kind
of functionality do you need to get out of your website? If you are
looking for a website that is similar to others in function, than I
Skip Evans mailto:[EMAIL PROTECTED]
on Friday, July 14, 2006 4:33 PM said:
My apologies to all. I assumed that JS questions
would be entertained as the application is within
a PHP app.
No need to apologize. My off-list email wasn't meant to berate but
merely let you know what the purpose
Chris W. Parker
on Monday, July 17, 2006 10:23 AM said:
motherboards. Or how about this one? My can't keeps walking on my
keyboard while I'm trying to write a PHP page. What should I do?
Okay that should be CAT, not can't.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
Ryan A mailto:[EMAIL PROTECTED]
on Wednesday, June 21, 2006 10:51 AM said:
@K. Bear - Thanks for the link, I'll check it out as
soon as i get a little time.
Read that article. I personally like the Nested Set (also called
Modified Preorder Tree Traversal) method. It may at first be a
tedd mailto:[EMAIL PROTECTED]
on Friday, May 12, 2006 12:23 PM said:
That's as it should be -- and technically, Next did appear so the
page wasn't blank.
Splitting hairs aside, a user, civilian or not, would not expect they
need to click Next from a blank page to get to the content they
tedd mailto:[EMAIL PROTECTED]
on Friday, May 12, 2006 11:01 AM said:
At 6:03 PM +0100 5/12/06, Porpoise wrote:
tedd [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Try this:
http://xn--ovg.com/ajax_page1
Eerrrm... Blank Page!?!
It shouldn't be blank.
Wolf mailto:[EMAIL PROTECTED]
on Thursday, May 11, 2006 8:01 AM said:
If any of you guys want to know when I get another shell caught on my
site, email me off-list and I'll set you up as a mailing list
personally.
This new one is the r57shell and is picked up by Symantec
What is a
Richard Lynch mailto:[EMAIL PROTECTED]
on Thursday, May 04, 2006 2:06 AM said:
Contact the bank with which you already HAVE a merchant account for
your point-of-sale credit card swiper thingies.
Already have the info in front of me. :)
If you're re-doing it anyway, you might as well do
Ryan A mailto:[EMAIL PROTECTED]
on Thursday, May 04, 2006 10:38 AM said:
- Anything else you wish to add pertaining to the
above.
You could try sending an insanely long value to a script on your page
and see how much of the actual data it received before being truncated
or causing an
Jay Blanchard mailto:[EMAIL PROTECTED]
on Thursday, May 04, 2006 10:42 AM said:
[snip]
- Anything else you wish to add pertaining to the
above.
[/snip]
People who use GET requests are lazy.
What does...
a href=edit_user.php?uid=241241Edit User #241241/a
...have to do with being
Ryan A mailto:[EMAIL PROTECTED]
on Thursday, May 04, 2006 1:18 PM said:
Thanks for replying, thats an idea, but was hoping
people from this list could reply with their
experiences because my local server might be different
from production servers that you guys access everyday
(as the
Ryan A mailto:[EMAIL PROTECTED]
on Thursday, May 04, 2006 1:36 PM said:
(Basically, I am checking to see how many characters
we can have in a URL that the server will accept and
process, the script checks 200-1000 chars.. add more
if you want to)
Without any tweaking of the server mine
Ryan A mailto:[EMAIL PROTECTED]
on Thursday, May 04, 2006 4:08 PM said:
Are you sure you searched on this subject?
maximum url length in Google turns up a number of
resources saying 2083 due to IE's limit.
Yes, I mentioned that in my original post...
Yes I know, that's why I said,
Ezra Nugroho mailto:[EMAIL PROTECTED]
on Wednesday, May 03, 2006 10:51 AM said:
Well,
Reservoir,
I envision a tool that would audit your php code, and tell you if your
code is good or not, if it has scaling issues, etc, etc. Basically it
tells if your php code is sane or not.
Is this
Steve mailto:[EMAIL PROTECTED]
on Friday, April 21, 2006 5:58 PM said:
So everyone's aware, I have NO intention of storing credit card #'s. I
don't see why anyone needs to.. especially after reading Richard's
past posts in the archive.
Perhaps if you don't use a merchant account and
Edward Vermillion mailto:[EMAIL PROTECTED]
on Wednesday, May 03, 2006 4:15 PM said:
Ahh!! *thud*
Count me in the heart attack group. So would it be a reasonable risk
if it was *your* cc # that was stolen? And do your customers *know*
that you're handling their sensitive info in
Yes definitely. I totally agree. Please send me more on the product/service
you're giving away/trying to sell to me/us. I'd really like to
see/hear/experience more.
Thanks/Regards/Sincerely!
Chris.
-Original Message-
From: abzgjisf5 [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 02,
Yeah it's Chinese. I can see the characters fine. The subject is just ? marks,
though I'm not sure why.
-Original Message-
From: Rory Browne [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 02, 2006 4:45 PM
To: Chris W. Parker
Cc: php-general
Richard Lynch mailto:[EMAIL PROTECTED]
on Saturday, April 29, 2006 12:12 AM said:
Okay, but let's do keep this fairly serious, and let's NOT let it
devolve into the usual religious flame-war this topic gets to...
Yeah I should have asked off list as I'm not interested in debating,
just
Richard Lynch mailto:[EMAIL PROTECTED]
on Monday, April 24, 2006 11:50 PM said:
So no matter what was actually typed, *I* would see:
function foo ($x) {
//body
}
but some heretic who doesn't know any better would see:
function foo($x)
{
//body
}
Now *THAT* would be a
Jochem Maas mailto:[EMAIL PROTECTED]
on Friday, October 28, 2005 1:33 AM said:
James Benson wrote:
Not sure about the numbers but soundex could be useful
http://php.net/soundex
right and maybe its easier to just index thing like '5.11' as
'511' - ie just stripping off everything not
Hello,
On my site right now if someone searches for 511 (a misspelling of the
manufacturer 5.11) they are not presented with the right products
because 511 is not found anywhere in the database.
I've got a few ideas on how to solve this but I want to find one that
requires as little
Jordan Miller mailto:[EMAIL PROTECTED]
on Friday, October 21, 2005 1:32 PM said:
I agree with John. It looks like you either need a hammer or the
rooftop of a 5-story building...
zooom!How is he supposed to smash a computer with the rooftop of a
5-story building? It's too big!!/zooom!
--
I know I know I know. I don't like test message either but since I
started the upgrade I haven't received any new PHP mailings. Could be
just because of low traffic, but I need to make sure.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
twistednetadmin mailto:[EMAIL PROTECTED]
on Friday, October 14, 2005 12:39 PM said:
Here are all the scripts original. It still won't work. I can't see
what's wrong with it???
It's from the tutorial PHP5 and Mysql for dummies.
What exactly is the problem? It still won't work is not
twistednetadmin mailto:[EMAIL PROTECTED]
on Friday, October 14, 2005 5:15 PM said:
All: Sorry. I forgot to write what's wrongstupid me...
No problem. You'll get used to it. (I don't mean you'll get used to
being stupid! I mean you'll get used to including all the relevant
info!)
Jay Blanchard mailto:[EMAIL PROTECTED]
on Monday, October 03, 2005 5:30 AM said:
A basic flowchart could have helped you to answer your question and
broken down the processes into their componenet parts. Heck, you
don't even need fancy flowcharting software...just write down the
steps.
Jay Blanchard mailto:[EMAIL PROTECTED]
on Thursday, September 29, 2005 11:03 AM said:
I have a situation where I have to fix an app interface that was
constructed with hundreds of lines of VBScript. The quickest way for
me to do this would be to replace the offending VBScipt with PHP.
Jay Blanchard mailto:[EMAIL PROTECTED]
on Thursday, September 29, 2005 1:34 PM said:
Darn right 'wow'!
I can keep the ASP seperate from the PHP by use of the proper tags
for this instance. So...
% stuff here gets executed by ASP %
?php stuff here gets executed by PHP ?
Wow. I didn't
Silvio Porcellana mailto:[EMAIL PROTECTED]
on Wednesday, September 28, 2005 9:37 AM said:
In addiction, I would (SQL)escape the values joined: supposing you are
using MySQL, I'd do:
$values = join(', ', array_map('mysql_real_escape_string', $array));
Now that's a Freudian slip if I ever
Gustav Wiberg mailto:[EMAIL PROTECTED]
on Saturday, September 24, 2005 9:48 PM said:
Thanx!
Ok so I had to look up and down that message 3 or 4 times before I found
this insignificant one line response. TRIM YOUR POSTS!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
on Monday, September 26, 2005 9:18 AM said:
So i ask what this output?
$a = 4;
$b = 3;
echo $a $b;
echo $a $b;
You just spent 3-5 minutes writing an email and now almost 10 minutes
waiting for a reply to something that would have taken
bruce mailto:[EMAIL PROTECTED]
on Monday, September 26, 2005 11:13 AM said:
i'm concerned that i can't seem to craft/create a basic sql cmd
within mysql to get a value (other than NOW()) to work...
[snip]
my question is why???
MySQL timestamps are different from UNIX timestamps.
Chris.
John Nichel mailto:[EMAIL PROTECTED]
on Monday, September 26, 2005 12:43 PM said:
I don't convert it. I store the UNIX timestamp in an INT(11) column.
This is going to be a basic question I'm sure but why INT and not
VARCHAR? Is it simply because a timestamp is a number?
Chris.
--
PHP
Philip Thompson mailto:[EMAIL PROTECTED]
on Friday, September 23, 2005 9:12 AM said:
I'm needing to find the number of days between two dates without
using an database functions (DATE_SUB, etc)... only PHP. Is there an
easy way to accomplish this? I have searched the PHP site, but have
bruce mailto:[EMAIL PROTECTED]
on Friday, September 23, 2005 10:46 AM said:
which is why it's critical/important to really lay out (architect)
your app and to think about how the app should be handling various
data types. this also goes to thiking about how you name variables in
your app.
bruce mailto:[EMAIL PROTECTED]
on Thursday, September 22, 2005 4:19 PM said:
the articles i've seen imply that if you addslashes, you also need to
stripslashes on the backend...
That's probably because gpc_magic_quotes (I think that's what it's
called) is turned on and doing addslashes
bruce mailto:[EMAIL PROTECTED]
on Thursday, September 22, 2005 11:05 AM said:
if the app allows the user to enter the input (call it 'foo') and then
submits the form via a POST, where the data is then written to the
db, what kind of validation should occur?
Depends on what kind of a form
bruce mailto:[EMAIL PROTECTED]
on Thursday, September 22, 2005 11:58 AM said:
hey chris...
Hi.
so you're sayng that if data is outside of a-zA-Z0-9 ' then it
should probably fail the regex anyway.. and it should error out..
(Where did that apostrophe come from? That wasn't in my list on
Gustav Wiberg mailto:[EMAIL PROTECTED]
on Thursday, September 22, 2005 1:21 PM said:
Hi there!
Hi.
I'm just beginning to test if there is some interest in an
opensource-webshop...
Do you mean a shopping cart?
The admin-part is not opensource..
Hmm... why not? And do I have to pay for
bruce mailto:[EMAIL PROTECTED]
on Thursday, September 22, 2005 3:33 PM said:
further investigation seems to imply that 'strings' that are to be
inserted into the mysql db should be 'backslashed' for the chars
\x00, \n, \r, \,', and \x1a.
That's what escaping is.
the
bruce mailto:[EMAIL PROTECTED]
on Wednesday, September 21, 2005 5:10 PM said:
but in all honesty
thanks for being honest.
, if you're going to write an app, and you're going
to do something with the data, it makes sense to me that you
'know'/ensure that you're dealing with the correct
bruce mailto:[EMAIL PROTECTED]
on Wednesday, September 21, 2005 6:03 PM said:
since i
assume the '%x' chars traslate into something other than straight
text, i assume that the html function you mention strips out these
chars, or it returns a true/false if the data is valid.
Those
Jochem Maas mailto:[EMAIL PROTECTED]
on Tuesday, September 20, 2005 2:37 AM said:
this 'fairly recent' class of attack is already quite well documented,
google around for more info.
Actually I did do some googling on it before posting and was relatively
confident that the attempt to
Sorry I've been so quiet on this topic since I started it but I've
basically been overwhelmed with information! :) I was hoping the
answer(s) would be a lot more plain and simple than it(they) has been so
I could get to implementing some things right away. But I'm afraid it's
going to take me
Murray @ PlanetThoughtful mailto:[EMAIL PROTECTED]
on Tuesday, September 20, 2005 8:15 AM said:
And it's also worth mentioning at this point that it might present
more of a challenge to the original poster to implement and make use
of a complex data abstraction package [1] than to learn a
Hello,
Every time I write some classes I always come across the same
fundamental problem that I haven't figured out how to solve/approach
yet. I'm not exactly sure how to put it into words simply but here
goes...
Let's take for example a class called 'Customer' that (obviously)
manipulates
Jay Blanchard mailto:[EMAIL PROTECTED]
on Monday, September 19, 2005 10:40 AM said:
[snip]
Where I get tripped up is when I realize I'll need to at some point
get more than one customer at a time and thus I want to add a method
called 'get_customers()'.
[/snip]
Why, at any point, would
Jay Blanchard mailto:[EMAIL PROTECTED]
on Monday, September 19, 2005 10:53 AM said:
I think that it should be a stand alone class. The Customers class
could instantiate the needed number of Customer objects and the
methods of the Customers class could affect each Customer object.
I'm
Michael Sims mailto:[EMAIL PROTECTED]
on Monday, September 19, 2005 12:04 PM said:
Basically you're implementing DAO's (Data Access Objects), similar to
what an ORM (Object Relational Mapper) tool would do for you.
[snip]
Thanks for the info, and I'll check out the Propel site a little
Hello,
About a few weeks ago I started seeing three emails that all come at the
same time (within the same minute) that seem to be trying to exploit a
feedback form I have on our website. Everytime someone submits a
feedback form I am sent the information they entered. The To and From
address are
Matthew Weier O'Phinney mailto:[EMAIL PROTECTED]
on Monday, September 12, 2005 6:55 AM said:
Mails are then queued to an MTA -- in our case, Postfix.
This is the part I don't know how to do. Can you explain/show some code?
Thanks,
Chris.
--
PHP General Mailing List (http://www.php.net/)
Manuel Lemos mailto:[EMAIL PROTECTED]
on Monday, September 12, 2005 1:36 PM said:
If he is running postfix on the same machine that postfix is running,
it does not make much sense to send the message via SMTP because it
is a much slower way to do the same thing.
I'm not. I was hoping to
Manuel Lemos mailto:[EMAIL PROTECTED]
on Monday, September 12, 2005 2:41 PM said:
If you use
the mail() function, it uses whatever is installed in your machine
because by default it calls the sendmail program.
I am aware of that but the problem I'm having is inconsistent mailings.
For
D A GERM mailto:[EMAIL PROTECTED]
on Monday, September 12, 2005 1:01 PM said:
[CODE]
for ($myLoop = 0; $myLoop 100; $myLoop= $myLoop + 5)
{
print Pmy loop: $myLoop;
}
[/CODE]
Where's the code?
Oh there it is!
Manuel Lemos mailto:[EMAIL PROTECTED]
on Monday, September 12, 2005 3:15 PM said:
If you use PHP mail() function it just calls the sendmail wrapper. If
you loose messages, you should check the logs of the installed MTA.
Your problem seems to be misconfiguration like you are not setting a
Todd Cary mailto:[EMAIL PROTECTED]
on Wednesday, September 07, 2005 3:39 PM said:
/* Is date good */
function is_date_good($date) {
if (strtotime($date) == -1) {
$retval = 0;
} else {
if (strpos($date, /) 0) {
$parts = explode(/, $date);
Rick Emery mailto:[EMAIL PROTECTED]
on Friday, August 05, 2005 4:20 PM said:
Can anybody recommend a good JavaScript mailing list?
If by anybody you mean Google, then yes anybody can recommend a good
JavaScript mailing list.
Hope this helps!
Chris.
--
PHP General Mailing List
Rick Emery mailto:[EMAIL PROTECTED]
on Friday, August 05, 2005 4:54 PM said:
Well, as I found out when I Google'd before I posted, it *lists*
plenty of JavaScript mailing lists. But it can hardly recommend a
good one, which is what I asked for, can it? I was soliciting
opinions.
Yes I
Hi everyone,
As you will read below I've got a strange problem happening with some
files after being rsync'd from one machine (FC3) to another (RH9).
Someone in the RedHat mailing list suggested that maybe the difference
was in the configuration files for PHP. I didn't find anything in
php.ini
1 - 100 of 945 matches
Mail list logo