Ron Piggott wrote:
I am wanting to change
echo " 'January', '2' => 'February', '3' => 'March', '4'
=> 'April', '5' => 'May', '6' => 'June', '7' => 'July', '8' => 'August',
'9' => 'September', '10' => 'October', '11' => 'November', '12' =>
'December');
$current_month = DATE("n");
echo
Jim Lucas wrote:
Ron Piggott wrote:
I am wanting to change
echo " 'January', '2' => 'February', '3' => 'March', '4'
=> 'April', '5' => 'May', '6' => 'June', '7' => 'July', '8' => 'August',
'9' => 'September', '10' => 'October', '11' => 'November', '12' =>
'December');
$current_month =
Rahul P wrote:
Ok I removed mysql using yum remove mysql. But is there a special way to
tell yum to install that version of mysql?
On Sun, May 11, 2008 at 12:44 AM, Rahul P <[EMAIL PROTECTED]> wrote:
On Sun, May 11, 2008 at 12:42 AM, Nathan Nobbe <[EMAIL PROTECTED]>
wrote:
On Sun, May 11, 2
2008/5/11 Chris W <[EMAIL PROTECTED]>:
> jo opp wrote:
>
> > Hello!
> >
> > $var1= 2155243640%31104000;
> > $var2= 2147309244%31104000;
> >
> > echo $var1 // Return -24651656
> > echo $var2 // Return 1133244
> >
> > $var2 return the correct result, but $var1 is wrong (the correct
> > result is 9067
You could try having apache run as the UID of the user. With a few
modifications to apache site config and you should be golden!
HTH,
Wolf
-Original Message-
From: admin <[EMAIL PROTECTED]>
Sent: Sunday, May 11, 2008 1:06 AM
To: php-general@lists.php.net
Subject: [PHP] Safe mode story
I am writing a shopping cart.
Products assigned in the following fashion:
$_SESSION['selection'][$product]=$quantity;
I am wanting to display the list of products in the shopping cart in a
list for the user to see as they continue shopping.
I put the SESSION variable into $cart
$cart = $_SESSIO
This script will create an xls file from the data that is sent to it
When I run this it only gets one recored and it is supposet to get all
the records that are past by the $_POST[selectedcontactlist]
I think I have a } in the wrong place but I can not figure it out
anybody have a suggestion
Hi,
You could always do this within mysql itself. You also have the wrong output
header and what seems to be some quite inefficient code, anyway take a look
at the following.
SELECT order_id,product_name,qty
FROM orders
INTO OUTFILE '/tmp/orders.csv'
FIELDS TERMINATED BY ','
I ended up using posix_access() which is what is_writeable() should be. is_writeable() is virtually
useless.
Al wrote:
I need to determine if a file is truly deletable by a php script,
Deleting permissions seem to be the same as writing, they probably have
the same criteria.
is_writable() s
Hi Ron,
This code should work:
$quantity)
{
echo "" . $product_name . " - " . $quantity .
"\r\n";
}
?>
Though I'm not sure about $cart[$product_id]. Where is that coming
from?. It makes no sense here. Perhaps you want to do a
tri-demensional array in $_session, so you will have a
> You've even had to resort to using classes and other strange stuff to
> program. Clearly signs of mental fatigue. :-)
:o. I think mental fatigue might be evident by one not using it. But
that's just me ;)
- Craige
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
I can't see PHP sessions slowing down your site by that amount. As
someone said, it should be no more than a split second. If you are
having that much of a problem with them, then I would say it is either
your implementation, or another determining factor.
I would not, personally, stray away from
On Sun, 2008-05-11 at 18:09 -0400, Al wrote:
> I ended up using posix_access() which is what is_writeable() should be.
> is_writeable() is virtually
> useless.
So you're saying is_writeable() shouldn't work on Windows systems? :p
Seems you want is_writeable() to sing AND dance... perhaps too m
jo opp wrote:
2008/5/11 Chris W <[EMAIL PROTECTED]>:
jo opp wrote:
Hello!
$var1= 2155243640%31104000;
$var2= 2147309244%31104000;
echo $var1 // Return -24651656
echo $var2 // Return 1133244
$var2 return the correct result, but $var1 is wrong (the correct
result is 9067640)
Probably becau
Al wrote:
I ended up using posix_access() which is what is_writeable() should be.
is_writeable() is virtually useless.
Al wrote:
I need to determine if a file is truly deletable by a php script,
Deleting permissions seem to be the same as writing, they probably
have the same criteria.
is_w
hi...
running into a problem that i can't seem to solve...
using mysql_pconnect() and i'm trying to figure out what parameters have to
be used in order to connect to a local mysql session, where mysql is
accessed using the defaults (ie, no user/passwd/hostIP)
i can connect via the cli, by doing
Hello. I am writing a script that scans some content for email addresses and
then encrypts them in a way to hide them from spam bots (For more
information, http://mailhide.recaptcha.net/ ). The Regular Expressions work
perfectly fine, I look for plain email addresses as well as hyperlink email
addr
Just to show how exhausted I am: I forgot to provide a link to the relevant
source code. Here it is: http://paste.blaenkdenum.com/351
On Sun, May 11, 2008 at 9:25 PM, Jorge Peña <[EMAIL PROTECTED]> wrote:
> Hello. I am writing a script that scans some content for email addresses
> and then encryp
bruce wrote:
> hi...
>
> running into a problem that i can't seem to solve...
>
> using mysql_pconnect() and i'm trying to figure out what parameters have to
> be used in order to connect to a local mysql session, where mysql is
> accessed using the defaults (ie, no user/passwd/hostIP)
Use 'loca
On Mon, May 12, 2008 at 12:27 PM, Chris <[EMAIL PROTECTED]> wrote:
> bruce wrote:
> > hi...
> >
> > running into a problem that i can't seem to solve...
> >
> > using mysql_pconnect() and i'm trying to figure out what parameters have to
> > be used in order to connect to a local mysql session
I didn't check out your source, but in terms of a regex that only matches
items not surrounded by some special tag, what about negative lookaheads and
lookbehinds, like:
(?http://www.regular-expressions.info/lookaround.html
Adam
-Original Message-
From: Jorge Peña <[EMAIL PROTECTED]> [ma
21 matches
Mail list logo