PJ wrote:
Per Jessen wrote:
PJ wrote:
forgot to add:
What's the difference between back ticks or quotes and regular single
quotes?
text in back ticks is executed via a shell, text in single quotes isn't.
Ok, but how does this relate to a command passed from a php Web page?
I
Concluding, and one idea...I think I received satisfying advices on everything
but first question (Detection of typos and other simple mistakes). And we were
talking also about being able to catch them at compile time, then if php at all
has compile time etc. Today one thing crossed my mind --
Would this work?
$contents = file_get_contents('
http://localhost/path_to_ruby_installation/rubyfile');
then print out the contents wherever you want to?
or something similar, basically, we get the html output of the ruby file
over http, since this will run your ruby/rails installation the
..not an internals question me thinks ... redirecting to generals mailing list
mike schreef:
I am trying to figure out a strategy for multiple output formats on a
site, and it seems like I can have functions defined by default, but
have them defined -after- I've included the targetted format
On Tue, 2009-03-03 at 21:18 -0600, Shawn McKenzie wrote:
Matthew Croud wrote:
Hello,
First post here, I'm in the process of learning PHP , I'm digesting a
few books as we speak.
I'm working on a content heavy website that provides a lot of
information, a template system would be
On Wed, Mar 4, 2009 at 2:10 AM, Paul Scott psc...@uwc.ac.za wrote:
On Wed, 2009-03-04 at 10:09 +0530, Chetan Rane wrote:
I am using ob_start() in my application. However I am getting this error
about headers already sent.
_Any_ output will set that error off. Check for Notices, Warnings,
Peter Ford wrote:
PJ wrote:
Per Jessen wrote:
PJ wrote:
forgot to add:
What's the difference between back ticks or quotes and regular single
quotes?
text in back ticks is executed via a shell, text in single quotes isn't.
Ok, but how does this relate to a command passed from a
google is your friend (and with friends like that who needs enemies):
try what's mentioned here:
http://www.linuxquestions.org/questions/linux-software-2/compiling-php-on-rhel-5-64-bit-685606/
otherwise:
http://www.google.com/search?q=compile+php+64+bit+libs
Merlin Morgenstern schreef:
Hi
Hello people.
I have some trouble with an upload script. It was working until the last 2
weeks.
Whenever I tried to upload a file to a remote server, the $_FILES array is
empty. I print global at start of the script there's nothing.
Here's the form
form
-Original Message-
From: PJ [mailto:af.gour...@videotron.ca]
Sent: Tuesday, March 03, 2009 5:56 PM
To: Boyd, Todd M.
Cc: php-general@lists.php.net
Subject: Re: [PHP] whoami explanation
Boyd, Todd M. wrote:
-Original Message-
From: Ashley Sheridan
Hello JOchem,
thank you for your help. That worked out.
Regards, Merlin
Jochem Maas wrote:
google is your friend (and with friends like that who needs enemies):
try what's mentioned here:
http://www.linuxquestions.org/questions/linux-software-2/compiling-php-on-rhel-5-64-bit-685606/
[Inhales]
On Wed, Mar 4, 2009 at 01:01, PJ af.gour...@videotron.ca wrote:
Ok. You asked for it... I have to rant a bit get this off my chest as it
has been bugging me for a while and this is not directed at anyone in
particular.
I'm noting for a while here
I do not
Daniel Brown wrote:
[Inhales]
On Wed, Mar 4, 2009 at 01:01, PJ af.gour...@videotron.ca wrote:
Ok. You asked for it... I have to rant a bit get this off my chest as it
has been bugging me for a while and this is not directed at anyone in
particular.
I'm noting for a
Robert Cummings schreef:
On Tue, 2009-03-03 at 11:27 -0500, PJ wrote:
Shawn McKenzie wrote:
PJ wrote:
This really needs some explanation
I found this on the web:
?php echo `whoami`; ?
with it there was the comment the direction of those single-quotes
matters
(WHY ?)
and it works
On Wed, Mar 4, 2009 at 10:42, PJ af.gour...@videotron.ca wrote:
Right on. Good comments.
No offense taken and none intended.
I am enoying the list and will continue to participate, if i may.
I have learned a great deal already and really do appreciate the help.
So you mentioned your
Daniel Brown wrote:
The way I see it, life is little more than a game played in a
dream; win or lose, it's still going to end, so enjoy it while it
lasts.
Speak for yourself
THERE CAN BE ONLY ONE!!!
*chops off Dan's head*
*runs away while lightning bolts strike him over and
On Wed, Mar 4, 2009 at 10:52, Robert Cummings rob...@interjinn.com wrote:
*runs away while lightning bolts strike him over and over*
Would the sound to accompany this mental image be one of a Daffy
Duck or Woody Woodpecker nature?
--
/Daniel P. Brown
daniel.br...@parasane.net ||
You got it all wrong. As explained, php dont have real compile time like
other languages. And if you want to learn a language, you have to start the
way it acts. the E_STRICT setting will tell you most of the errors possible
from a php script.
At production level programmers keep the errors away
-Original Message-
From: paras...@gmail.com [mailto:paras...@gmail.com] On Behalf Of
Daniel Brown
Sent: Wednesday, March 04, 2009 10:16 AM
To: Robert Cummings
Cc: PJ; Boyd, Todd M.; php-general@lists.php.net
Subject: Re: [PHP] whoami explanation
On Wed, Mar 4, 2009 at 10:52,
On Wed, 2009-03-04 at 11:15 -0500, Daniel Brown wrote:
On Wed, Mar 4, 2009 at 10:52, Robert Cummings rob...@interjinn.com wrote:
*runs away while lightning bolts strike him over and over*
Would the sound to accompany this mental image be one of a Daffy
Duck or Woody Woodpecker nature?
On Wed, Mar 4, 2009 at 11:20, Boyd, Todd M. tmbo...@ccis.edu wrote:
I think it's a Queen song, actually...
Mama-mia.
--
/Daniel P. Brown
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use
Cracking response Dan, and I agree fully with most of it. A while back I was
a far more active contributor to the PHP lists than I am now (promotion ==
more responsibility == less spare time) and the reason I do it is because it
never seems like work - it's fun!!
But I feel I must correct you on
On Wed, Mar 4, 2009 at 11:31, Stuart stut...@gmail.com wrote:
The results returned by Google are not constant. They vary based on your
location, which domain you're using, which index instance you hit and a
number of other things, most of which are not public. It is more than
possible that PJ
Robert Cummings wrote:
On Tue, 2009-03-03 at 21:18 -0600, Shawn McKenzie wrote:
Matthew Croud wrote:
Hello,
First post here, I'm in the process of learning PHP , I'm digesting a
few books as we speak.
I'm working on a content heavy website that provides a lot of
information, a template
2009/3/4 Daniel Brown danbr...@php.net
On Wed, Mar 4, 2009 at 11:31, Stuart stut...@gmail.com wrote:
The results returned by Google are not constant. They vary based on your
location, which domain you're using, which index instance you hit and a
number of other things, most of which are
On Wed, Mar 4, 2009 at 12:28, Stuart stut...@gmail.com wrote:
As I understand it, and like you I certainly don't claim to know for sure,
clusters within the Google infrastructure sometimes fall behind with their
copy of the the index which can mean different results even between page
reloads.
On Wed, 2009-03-04 at 10:55 -0600, Shawn McKenzie wrote:
Robert Cummings wrote:
On Tue, 2009-03-03 at 21:18 -0600, Shawn McKenzie wrote:
Matthew Croud wrote:
Hello,
First post here, I'm in the process of learning PHP , I'm digesting a
few books as we speak.
I'm working on a content
This really needs some explanation
I found this on the web:
?php echo `whoami`; ?
with it there was the comment the direction of those single-quotes matters
(WHY ?)
and it works
But this (_*FROM THE PHP MANUAL***_ * - exec()* executes the given
/command/ ) does not,
COPIED AND PASTED:
Daniel Brown wrote:
On Wed, Mar 4, 2009 at 10:42, PJ af.gour...@videotron.ca wrote:
Right on. Good comments.
No offense taken and none intended.
I am enoying the list and will continue to participate, if i may.
I have learned a great deal already and really do appreciate the help.
Stuart wrote:
Cracking response Dan, and I agree fully with most of it. A while back
I was a far more active contributor to the PHP lists than I am now
(promotion == more responsibility == less spare time) and the reason I
do it is because it never seems like work - it's fun!!
But I feel I
I am trying to submit a request to an HTTP server with
multipart/form-data encoded data. I'm using PECL's HttpRequest
(although I'm open to alternatives). I am using PHP5.
I noticed that if you call addPostFile to add a file, PECL will send
the file, and all other post parameters, with
PJ wrote:
Daniel Brown wrote:
On Wed, Mar 4, 2009 at 10:42, PJ af.gour...@videotron.ca wrote:
Right on. Good comments.
No offense taken and none intended.
I am enoying the list and will continue to participate, if i may.
I have learned a great deal already and really do appreciate the
On Wed, Mar 4, 2009 at 13:31, PJ af.gour...@videotron.ca wrote:
am I vindicated ;-)
Eh.
Whether or not it is true in practice, in theory it certainly
sounds plausible to have varying results. However, your argument,
verbatim, wasn't entirely with merit. ;-P
All in all, sure. At
Thodoris wrote:
Didn't have the time to read the whole thread. Sorry for being so lame.
Obviously, or you would have known that this thread has very little if
anything to do with whoami! :-)
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To
Robert Cummings wrote:
On Wed, 2009-03-04 at 10:55 -0600, Shawn McKenzie wrote:
Robert Cummings wrote:
On Tue, 2009-03-03 at 21:18 -0600, Shawn McKenzie wrote:
Matthew Croud wrote:
Hello,
First post here, I'm in the process of learning PHP , I'm digesting a
few books as we speak.
I'm
On Wed, 2009-03-04 at 12:46 -0600, Shawn McKenzie wrote:
Robert Cummings wrote:
On Wed, 2009-03-04 at 10:55 -0600, Shawn McKenzie wrote:
Robert Cummings wrote:
On Tue, 2009-03-03 at 21:18 -0600, Shawn McKenzie wrote:
Matthew Croud wrote:
Hello,
First post here, I'm in the process of
2009/3/4 PJ af.gour...@videotron.ca
Stuart wrote:
Cracking response Dan, and I agree fully with most of it. A while back
I was a far more active contributor to the PHP lists than I am now
(promotion == more responsibility == less spare time) and the reason I
do it is because it never
Jason Cipriani wrote:
I am trying to submit a request to an HTTP server with
multipart/form-data encoded data. I'm using PECL's HttpRequest
(although I'm open to alternatives). I am using PHP5.
I noticed that if you call addPostFile to add a file, PECL will send
the file, and all other post
On Wed, Mar 4, 2009 at 11:51 AM, Robert Cummings rob...@interjinn.comwrote:
On Wed, 2009-03-04 at 12:46 -0600, Shawn McKenzie wrote:
Robert Cummings wrote:
On Wed, 2009-03-04 at 10:55 -0600, Shawn McKenzie wrote:
Robert Cummings wrote:
On Tue, 2009-03-03 at 21:18 -0600, Shawn McKenzie
Thodoris wrote:
Didn't have the time to read the whole thread. Sorry for being so lame.
Obviously, or you would have known that this thread has very little if
anything to do with whoami! :-)
Indeed nonetheless it will be something useful for the archives (at
least I think
On Wed, 2009-03-04 at 12:15 -0700, Nathan Nobbe wrote:
On Wed, Mar 4, 2009 at 11:51 AM, Robert Cummings rob...@interjinn.comwrote:
On Wed, 2009-03-04 at 12:46 -0600, Shawn McKenzie wrote:
Robert Cummings wrote:
On Wed, 2009-03-04 at 10:55 -0600, Shawn McKenzie wrote:
Robert
On Wed, Mar 4, 2009 at 4:01 AM, Jochem Maas joc...@iamjochem.com wrote:
..not an internals question me thinks ... redirecting to generals mailing list
Actually, I do think it is somewhat internals related.
I want to know from the internals/experts angle if this is a good
function to be relying
On Wed, 2009-03-04 at 08:02 -0500, Bastien Koert wrote:
On Wed, Mar 4, 2009 at 2:10 AM, Paul Scott psc...@uwc.ac.za wrote:
On Wed, 2009-03-04 at 10:09 +0530, Chetan Rane wrote:
I am using ob_start() in my application. However I am getting this error
about headers already sent.
On Wed, 2009-03-04 at 11:45 -0800, mike wrote:
On Wed, Mar 4, 2009 at 4:01 AM, Jochem Maas joc...@iamjochem.com wrote:
..not an internals question me thinks ... redirecting to generals mailing
list
Actually, I do think it is somewhat internals related.
I want to know from the
On Wed, 2009-03-04 at 10:23 -0500, Daniel Brown wrote:
Secondly, if you are getting a different response from Google,
Sally, then you didn't use the same input
I'd beg to differ. It's well known that Google gives out different
results based on geographical location and previous search history.
On Wed, Mar 4, 2009 at 15:03, Ashley Sheridan a...@ashleysheridan.co.uk wrote:
On Wed, 2009-03-04 at 10:23 -0500, Daniel Brown wrote:
Secondly, if you are getting a different response from Google,
Sally, then you didn't use the same input
I'd beg to differ. It's well known that Google gives
On Wed, 2009-03-04 at 15:02 -0500, Daniel Brown wrote:
On Wed, Mar 4, 2009 at 15:03, Ashley Sheridan a...@ashleysheridan.co.uk
wrote:
On Wed, 2009-03-04 at 10:23 -0500, Daniel Brown wrote:
Secondly, if you are getting a different response from Google,
Sally, then you didn't use the same
Hi,
I am working on a series of long files that contain 4 or 5 MB each, each of
them is encoded in UTF-8 saved as .dat format.
However, I have noticed that when I do insert statements, the file only reads
up to around 1MB and then would stop. If I split the file into 3 or 4 files,
that
On Wed, 2009-03-04 at 09:02 -0500, Karl St-Jacques wrote:
Hello people.
I have some trouble with an upload script. It was working until the last 2
weeks.
Whenever I tried to upload a file to a remote server, the $_FILES array is
empty. I print global at start of the script there's
On Wed, Mar 4, 2009 at 15:07, Ashley Sheridan a...@ashleysheridan.co.uk wrote:
Yeah, been crazily busy with both my regular job and freelance stuff. I
think I'm booked up to Armageddon now :-/
Good for you. It means you're definitely doing something right.
--
/Daniel P. Brown
On Wed, 2009-03-04 at 15:05 -0500, Alice Wei wrote:
Hi,
I am working on a series of long files that contain 4 or 5 MB each, each of
them is encoded in UTF-8 saved as .dat format.
However, I have noticed that when I do insert statements, the file only
reads up to around 1MB and then
On Wed, Mar 4, 2009 at 15:26, Robert Cummings rob...@interjinn.com wrote:
See this setting in your php.ini:
memory_limit = ???M
Also let us know what you're using for the database and how you're
doing it. You mention that the .dat files are 4-5MB, but don't say if
that's the database
Subject: Re: [PHP] How Much Data Can Be Written to a Database In One
Instance?
From: rob...@interjinn.com
To: aj...@alumni.iu.edu
CC: php-general@lists.php.net
Date: Wed, 4 Mar 2009 15:26:38 -0500
On Wed, 2009-03-04 at 15:05 -0500, Alice Wei wrote:
Hi,
I am working on a
Subject: Re: [PHP] How Much Data Can Be Written to a Database In One
Instance?
From: rob...@interjinn.com
To: aj...@alumni.iu.edu
CC: php-general@lists.php.net
Date: Wed, 4 Mar 2009 15:26:38 -0500
On Wed, 2009-03-04 at 15:05 -0500, Alice Wei wrote:
Hi,
I am working on a
_
Use Messenger to talk to your IM friends, even those on Yahoo!
http://ideas.live.com/programpage.aspx?versionId=7adb59de-a857-45ba-81cc-685ee3e858fe
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Thanks for reply, I completely understood your answer even in previous thread,
but you should understand few very simple things1. I am not working alone, so I
can't make other people use tools I use (eclipse + PDT at the moment)
2. even if somehow I manage to do number 1 we also have some legacy
mike schreef:
On Wed, Mar 4, 2009 at 4:01 AM, Jochem Maas joc...@iamjochem.com wrote:
..not an internals question me thinks ... redirecting to generals mailing
list
Actually, I do think it is somewhat internals related.
internals is about engine development. always ask on the generals list
Shawn McKenzie wrote:
PJ wrote:
Daniel Brown wrote:
On Wed, Mar 4, 2009 at 10:42, PJ af.gour...@videotron.ca wrote:
Right on. Good comments.
No offense taken and none intended.
I am enoying the list and will continue to participate, if i may.
I have learned a great
On Wed, 2009-03-04 at 16:16 -0500, PJ wrote:
Shawn McKenzie wrote:
PJ wrote:
Daniel Brown wrote:
On Wed, Mar 4, 2009 at 10:42, PJ af.gour...@videotron.ca wrote:
Right on. Good comments.
No offense taken and none intended.
I am enoying the list and will
for FILE in $LIST
do
cp $FILE $FILE.bak
done
which works as long as you can guarantee that none your file names
contain spaces ... ;)
Which he already said:
Note that in both of these examples, filenames with spaces in them will
blow the whole thing up :(
;)
--
Postgresql php
PJ wrote:
Shawn McKenzie wrote:
PJ wrote:
Daniel Brown wrote:
On Wed, Mar 4, 2009 at 10:42, PJ af.gour...@videotron.ca wrote:
Right on. Good comments.
No offense taken and none intended.
I am enoying the list and will continue to participate, if i may.
I have learned
On Wed, 2009-03-04 at 15:48 -0600, Shawn McKenzie wrote:
PJ wrote:
Shawn McKenzie wrote:
PJ wrote:
Daniel Brown wrote:
On Wed, Mar 4, 2009 at 10:42, PJ af.gour...@videotron.ca wrote:
Right on. Good comments.
No offense taken and none intended.
I am enoying
On Wed, Mar 04, 2009 at 04:16:40PM -0500, PJ wrote:
Shawn McKenzie wrote:
PJ wrote:
Daniel Brown wrote:
On Wed, Mar 4, 2009 at 10:42, PJ af.gour...@videotron.ca wrote:
snip
Ooooh, boy now this is really serious... :o
I think your ignorance will be forgiven, maybe! And this is
Robert Cummings wrote:
On Wed, 2009-03-04 at 16:16 -0500, PJ wrote:
Shawn McKenzie wrote:
PJ wrote:
Daniel Brown wrote:
On Wed, Mar 4, 2009 at 10:42, PJ af.gour...@videotron.ca wrote:
Right on. Good comments.
No offense taken
Shawn McKenzie wrote:
PJ wrote:
Shawn McKenzie wrote:
PJ wrote:
Daniel Brown wrote:
On Wed, Mar 4, 2009 at 10:42, PJ af.gour...@videotron.ca wrote:
Right on. Good comments.
No offense taken and none intended.
I am enoying the
On Wed, 2009-03-04 at 15:48 -0600, Shawn McKenzie wrote:
Whatever you do, please, please, please, for the love of all that is
holy, please, do not vilify potatoes! ...or the Irish :-)
Potatoes are best served sliced into sticks, pan-fried, covered in
cheese curds, and then finally doused in
Ashley Sheridan wrote:
On Wed, 2009-03-04 at 15:48 -0600, Shawn McKenzie wrote:
PJ wrote:
Shawn McKenzie wrote:
PJ wrote:
Daniel Brown wrote:
On Wed, Mar 4, 2009 at 10:42, PJ af.gour...@videotron.ca wrote:
Right on.
Hans Schultz schreef:
Thanks for reply, I completely understood your answer even in previous
thread, but you should understand few very simple things1. I am not working
alone, so I can't make other people use tools I use (eclipse + PDT at the
moment)
2. even if somehow I manage to do
Paul M Foster wrote:
On Wed, Mar 04, 2009 at 04:16:40PM -0500, PJ wrote:
Shawn McKenzie wrote:
PJ wrote:
Daniel Brown wrote:
On Wed, Mar 4, 2009 at 10:42, PJ af.gour...@videotron.ca wrote:
snip
Ooooh, boy now this is really serious... :o
Robert Cummings wrote:
On Wed, 2009-03-04 at 15:48 -0600, Shawn McKenzie wrote:
Whatever you do, please, please, please, for the love of all that is
holy, please, do not vilify potatoes! ...or the Irish :-)
Potatoes are best served sliced into sticks, pan-fried, covered in
cheese
Hello,
on 03/04/2009 03:33 PM Jason Cipriani said the following:
I am trying to submit a request to an HTTP server with
multipart/form-data encoded data. I'm using PECL's HttpRequest
(although I'm open to alternatives). I am using PHP5.
I noticed that if you call addPostFile to add a file,
On Wed, 2009-03-04 at 17:43 -0500, PJ wrote:
Robert Cummings wrote:
On Wed, 2009-03-04 at 15:48 -0600, Shawn McKenzie wrote:
Whatever you do, please, please, please, for the love of all that is
holy, please, do not vilify potatoes! ...or the Irish :-)
Potatoes are best
On Wed, 2009-03-04 at 21:55 +, Ashley Sheridan wrote:
Whilst we're on the subject, what about cows, pigs and sheep, which are
the biggest contributors to global warming through their, erm, gases?
Global warming is a huge problem, so I call upon all vegetarians to eat
as much meat as
This is probably a mysql question, but their list is rather dull - I
think they don't appreciate my humor. Beside this list is fun ... and
informative.
Anyway, I can't figure this out. I am trying to verify inputs on a form
and even if I have all the required fields right, I still get the error
Robert Cummings wrote:
On Wed, 2009-03-04 at 17:43 -0500, PJ wrote:
Robert Cummings wrote:
On Wed, 2009-03-04 at 15:48 -0600, Shawn McKenzie wrote:
Whatever you do, please, please, please, for the love of all that is
holy, please, do not vilify potatoes! ...or the Irish
On Wed, Mar 4, 2009 at 17:51, PJ af.gour...@videotron.ca wrote:
elseif ($obligatoryFieldNotPresent = 1) {
$obligatoryFieldNotPresent = 0;
}
Are you certain you only wanted a single equal operator in the
last elseif() condition? Further, are you sure it should even be an
On Wed, 2009-03-04 at 17:46 -0500, Robert Cummings wrote:
On Wed, 2009-03-04 at 21:55 +, Ashley Sheridan wrote:
Whilst we're on the subject, what about cows, pigs and sheep, which are
the biggest contributors to global warming through their, erm, gases?
Global warming is a huge
On Wed, 2009-03-04 at 17:40 -0500, PJ wrote:
Paul M Foster wrote:
On Wed, Mar 04, 2009 at 04:16:40PM -0500, PJ wrote:
Shawn McKenzie wrote:
PJ wrote:
Daniel Brown wrote:
On Wed, Mar 4, 2009 at 10:42, PJ af.gour...@videotron.ca wrote:
Robert Cummings wrote:
To punt what is repeated over and over during runtime to a single
compilation phase when building the template target. To simplify the use
of parameters so that they can be used in arbitrary order with default
values. To allow for the encapsulation of complex content in
On Wed, 2009-03-04 at 23:02 +, Ashley Sheridan wrote:
On Wed, 2009-03-04 at 17:40 -0500, PJ wrote:
Yuck. But then there are people who are more resistant to crap than
cockroaches. But we will not outlast them!
You might try to get informed...
Unfortunately, Americans are a sad and
On Wed, 2009-03-04 at 18:16 -0500, PJ wrote:
Ashley Sheridan wrote:
On Wed, 2009-03-04 at 17:40 -0500, PJ wrote:
Paul M Foster wrote:
On Wed, Mar 04, 2009 at 04:16:40PM -0500, PJ wrote:
Shawn McKenzie wrote:
PJ wrote:
On Wed, 2009-03-04 at 18:14 -0500, PJ wrote:
Ashley Sheridan wrote:
On Wed, 2009-03-04 at 17:46 -0500, Robert Cummings wrote:
On Wed, 2009-03-04 at 21:55 +, Ashley Sheridan wrote:
Whilst we're on the subject, what about cows, pigs and sheep, which are
the biggest
On Wed, Mar 4, 2009 at 2:10 PM, Shawn McKenzie nos...@mckenzies.net wrote:
Jason Cipriani wrote:
Is there a way to force PECL to use multipart/form-data encoding for
all post fields added with addPostFields, even when you are not
calling addPostFile to add a file?
Try: setContentType()
Jason Cipriani wrote:
On Wed, Mar 4, 2009 at 2:10 PM, Shawn McKenzie nos...@mckenzies.net wrote:
Jason Cipriani wrote:
Is there a way to force PECL to use multipart/form-data encoding for
all post fields added with addPostFields, even when you are not
calling addPostFile to add a file?
Try:
Ashley Sheridan wrote:
On Wed, 2009-03-04 at 17:46 -0500, Robert Cummings wrote:
On Wed, 2009-03-04 at 21:55 +, Ashley Sheridan wrote:
Whilst we're on the subject, what about cows, pigs and sheep, which are
the biggest contributors to global warming through their, erm, gases?
Daniel Brown wrote:
On Wed, Mar 4, 2009 at 17:51, PJ af.gour...@videotron.ca wrote:
elseif ($obligatoryFieldNotPresent = 1) {
$obligatoryFieldNotPresent = 0;
}
Are you certain you only wanted a single equal operator in the
last elseif() condition? Further,
Ashley Sheridan wrote:
On Wed, 2009-03-04 at 17:40 -0500, PJ wrote:
Paul M Foster wrote:
On Wed, Mar 04, 2009 at 04:16:40PM -0500, PJ wrote:
Shawn McKenzie wrote:
PJ wrote:
Daniel Brown wrote:
On Wed, Mar
PJ wrote:
Daniel Brown wrote:
On Wed, Mar 4, 2009 at 17:51, PJ af.gour...@videotron.ca wrote:
elseif ($obligatoryFieldNotPresent = 1) {
$obligatoryFieldNotPresent = 0;
}
Are you certain you only wanted a single equal operator in the
last elseif() condition?
Chris wrote:
PJ wrote:
Daniel Brown wrote:
On Wed, Mar 4, 2009 at 17:51, PJ af.gour...@videotron.ca wrote:
elseif ($obligatoryFieldNotPresent = 1) {
$obligatoryFieldNotPresent = 0;
}
Are you certain you only wanted a single equal operator in the
last elseif()
PJ wrote:
Daniel Brown wrote:
On Wed, Mar 4, 2009 at 17:51, PJ af.gour...@videotron.ca wrote:
elseif ($obligatoryFieldNotPresent = 1) {
$obligatoryFieldNotPresent = 0;
}
Are you certain you only wanted a single equal operator in the
last
Robert Cummings wrote:
On Wed, 2009-03-04 at 15:48 -0600, Shawn McKenzie wrote:
Whatever you do, please, please, please, for the love of all that is
holy, please, do not vilify potatoes! ...or the Irish :-)
Potatoes are best served sliced into sticks, pan-fried, covered in
cheese curds,
On Wed, 2009-03-04 at 23:21 +, Ashley Sheridan wrote:
On Wed, 2009-03-04 at 18:14 -0500, PJ wrote:
Ashley Sheridan wrote:
On Wed, 2009-03-04 at 17:46 -0500, Robert Cummings wrote:
On Wed, 2009-03-04 at 21:55 +, Ashley Sheridan wrote:
Whilst we're on the subject,
Shawn McKenzie wrote:
Chris wrote:
PJ wrote:
Daniel Brown wrote:
On Wed, Mar 4, 2009 at 17:51, PJ af.gour...@videotron.ca wrote:
elseif ($obligatoryFieldNotPresent = 1) {
$obligatoryFieldNotPresent = 0;
}
Are you certain you only wanted a single equal operator in
PJ wrote:
PJ wrote:
Daniel Brown wrote:
On Wed, Mar 4, 2009 at 17:51, PJ af.gour...@videotron.ca wrote:
elseif ($obligatoryFieldNotPresent = 1) {
$obligatoryFieldNotPresent = 0; }
Are you certain you only wanted a single equal operator in the
last elseif() condition? Further,
Sorry, but I have been waylaid by other posts... :'(
and have not had the opportunity to finish my quest and I posted to
mysql but they are not very helpful
I see I was not very clear below and will annotate below.
But the problem is still there, I cannot figure out how to sanitize with
Shawn McKenzie wrote:
Robert Cummings wrote:
On Wed, 2009-03-04 at 15:48 -0600, Shawn McKenzie wrote:
Whatever you do, please, please, please, for the love of all that is
holy, please, do not vilify potatoes! ...or the Irish :-)
Potatoes are best served sliced into sticks,
PJ wrote:
PJ wrote:
Daniel Brown wrote:
On Wed, Mar 4, 2009 at 17:51, PJ af.gour...@videotron.ca wrote:
elseif ($obligatoryFieldNotPresent = 1) {
$obligatoryFieldNotPresent = 0;
}
Are you certain you only wanted a single equal operator in the
On Wed, Mar 4, 2009 at 8:04 PM, PJ af.gour...@videotron.ca wrote some stuff...
You should do a little reading on some of the keywords that have been presented.
Specifically you don't sanitize a value into your db. You escape it.
Prepared statements are a way of doing this that makes it a bit
finally found the problem... wrong names for string and this is what now
verifies correctly
if (strlen($_POST[titleIN]) == 0 ) {
$obligatoryFieldNotPresent = 1;
}
elseif (strlen($_POST[first_nameIN]) == 0 ) {
$obligatoryFieldNotPresent = 1;
}
elseif
PJ wrote:
Sorry, but I have been waylaid by other posts... :'(
and have not had the opportunity to finish my quest and I posted to
mysql but they are not very helpful
I see I was not very clear below and will annotate below.
But the problem is still there, I cannot figure out how to sanitize
1 - 100 of 123 matches
Mail list logo