php-general Digest 12 Apr 2009 13:33:02 - Issue 6063
Topics (messages 291372 through 291383):
$_GET
291372 by: Ron Piggott
291376 by: Mark Kelly
Re: Additional support for your family!
291373 by: 9el
291374 by: Daniel Brown
Re: Escape Data In/Out of db
php-general Digest 13 Apr 2009 02:12:14 - Issue 6064
Topics (messages 291384 through 291406):
$_GET verses $_POST
291384 by: Ron Piggott
291385 by: Phpster
291387 by: abdulazeez alugo
291388 by: 9el
291392 by: Ron Piggott
291398 by: Phpster
I can confirm the presence of the same issue on my installation, 5.2.9-2 on
Windows XP. Very annoying bug.
--
This message was sent on behalf of henrikol...@gmail.com at openSubscriber.com
http://www.opensubscriber.com/message/php-general@lists.php.net/11719414.html
--
PHP General Mailing List
On Apr 11, 2009, at 21:38, Michael A. Peters mpet...@mac.com wrote:
I've run into a small issue with mdb2.
I have a mysql database with a field set to longtext not null.
inserting into that field works just dandy when using the mysql_
functions.
However, when using mdb2 - it converts
How do I know when to use $_GET verses $_POST?
Is there a pre defined variable that does both?
Ron
Hello,
After talking with Michael about how to generate XHTML code using the DOM I
came up with this little function that I'm thinking of using to generate XHTML
code that's HTML compatible:
function saveXHTML($dom) {
$html = $dom-saveXML(null,LIBXML_NOEMPTYTAG);
$html =
From: ron@actsministries.org
To: php-general@lists.php.net
Date: Sun, 12 Apr 2009 10:23:01 -0400
Subject: [PHP] $_GET verses $_POST
How do I know when to use $_GET verses $_POST?
Is there a pre defined variable that does both?
Ron
Hi Ron,
One thing you should know is
$_GET when the form uses get or parameters are passed via the
querystring
$_POST when the form method is post
$_REQUEST does both
Bastien
Sent from my iPod
On Apr 12, 2009, at 10:23, Ron Piggott ron@actsministries.org
wrote:
How do I know when to use $_GET verses $_POST?
Is there
One thing you should know is that when you use $_GET, you'll be sending a
little information about the particular page to the browser and therefore it
would be displayed in the address bar so for example if you're using get on
a login page, you'll be showing user id and passwrod in the address
On Sun, Apr 12, 2009 at 8:07 AM, Raymond Irving xwis...@yahoo.com wrote:
Hello,
After talking with Michael about how to generate XHTML code using the DOM I
came up with this little function that I'm thinking of using to generate
XHTML code that's HTML compatible:
function saveXHTML($dom)
Hi Michael,
--- On Sun, 4/12/09, Michael Shadle mike...@gmail.com wrote:
If this will maintain utf-8 I might be able to use it :)
which
according to the last thread, saveHTML munges utf-8 stuff
due to
libxml...
Hopefully this week I can give it a go.
I think it should work just fine as
It appears that the email system stripped out the #13; from this line:
$html = str_replace('#13;','',$html);
Best regards,
__
Raymond Irving
--- On Sun, 4/12/09, Raymond Irving xwis...@yahoo.com wrote:
From: Raymond Irving xwis...@yahoo.com
Subject: [PHP] Generate XHTML (HTML compatible)
Thanks. I got my script updated. Ron
On Sun, 2009-04-12 at 22:33 +0600, 9el wrote:
One thing you should know is that when you use $_GET, you'll
be sending a little information about the particular page to
the browser and therefore it would be
Hello,
to test a new setup I have setup DynDNS.org and it works, but...
http://vserver1.tamay-dogan.homelinuxnet/
the copied config of my working website is failing here to include ANY
files... I do not find the difference between the configs.
Please can you tell me where I must looking
Am 2009-04-12 20:05:31, schrieb Michelle Konzack:
http://vserver1.tamay-dogan.homelinuxnet/
Oops... I mean http://vserver1.tamay-dogan.homelinux.net/
Thanks, Greetings and nice Day/Evening
Michelle Konzack
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
foreach does not allow for different formatting for output...
What could be used as a workaround?
example:
echo $some_result, br; // will print all results in 1 column
echo $some_result, ,; // will print all results comma-separated in 1 row
But how do you get result1, result2 result3 // with br
Phpster wrote:
On Apr 11, 2009, at 21:38, Michael A. Peters mpet...@mac.com wrote:
I've run into a small issue with mdb2.
I have a mysql database with a field set to longtext not null.
inserting into that field works just dandy when using the mysql_
functions.
However, when using mdb2
PJ wrote:
foreach does a nice job if you want the results identical each time.
What can you use to change the formatting of the results dependent on
the number of results.
Here's an example:
foreach ( $authors[$bookID] AS $authorID = $authorData ) {
# Display the
There are no real security issues with the $_REQUEST object. What
needs to be taken into consideration is that the order that the PHP
engine gathers data from the system ( GPCS ) and the potential issues
having cookies or session data named the same as the actual data you
are trying to
On Apr 12, 2009, at 1:48 PM, Ron Piggott wrote:
Thanks. I got my script updated. Ron
There are a few other thing's that I didn't see mentioned...
The best description of when to use what, is this.. Use POST when you
are submitting a form for storing info, using GET when you are
This is a .htaccess for a MU blog
the index file is kept at : public_html/
And main blog is kept at: public_html/blog
It is causing severe cache issue. SuperCache plugin is not working.
The blog is running out of memory most of times and consuming huge CPU. Any
suggestions?
# BEGIN
Jason Pruim wrote:
On Apr 12, 2009, at 1:48 PM, Ron Piggott wrote:
Thanks. I got my script updated. Ron
There are a few other thing's that I didn't see mentioned...
The best description of when to use what, is this.. Use POST when you
are submitting a form for storing info, using GET
Ron Piggott wrote:
How do I know when to use $_GET verses $_POST?
Is there a pre defined variable that does both?
Ron
One of the things usually left out of this discussion is the actual
intended use for each of these. I submit the following 2 reference links:
On Sun, 2009-04-12 at 13:56 -0500, PJ wrote:
foreach does not allow for different formatting for output...
What could be used as a workaround?
example:
echo $some_result, br; // will print all results in 1 column
echo $some_result, ,; // will print all results comma-separated in 1 row
But
On Sat, 2009-04-11 at 16:11 -0500, PJ wrote:
foreach does a nice job if you want the results identical each time.
What can you use to change the formatting of the results dependent on
the number of results.
Here's an example:
foreach ( $authors[$bookID] AS $authorID = $authorData ) {
Micah Gersten wrote:
Ron Piggott wrote:
How do I know when to use $_GET verses $_POST?
Is there a pre defined variable that does both?
Ron
One of the things usually left out of this discussion is the actual
intended use for each of these. I submit the following 2 reference links:
I'm trying to write a [simple] function, such that:
function earlier_unix_timestamp () {
$now = mktime();
[...]
return $then; // e.g., 1238983107
}
Anyone have something already made? There seem to be many ways to skin
this cat, with date() arithmetic,
Michael A. Peters wrote:
Phpster wrote:
On Apr 11, 2009, at 21:38, Michael A. Peters mpet...@mac.com wrote:
I've run into a small issue with mdb2.
I have a mysql database with a field set to longtext not null.
inserting into that field works just dandy when using the mysql_
functions.
You may try something basic like:
$b = 1;
foreach ($my_array as $a)
{
echo $a ;
//Send new line to browser
if ($b++ == 3) { echo br; $b = 1; }
}
Or there are some different ways to approach this also like:
for ($a = current($my_array); $a; $a = next($my_array))
{
//Format 1
I know this isn't exactly what you were probably looking for but...
If you have a Windows machine available I would recommend taking a
look at the ODBTP project at http://odbtp.sourceforge.net. ODBTP
stands for Open DataBase Transport Protocol. The short version is that
you add a client module to
30 matches
Mail list logo