On 9 May 2011 14:53, Vincent McGinley vmcgin...@re-thinkitinc.com wrote:
Can you remove the @.
Do you get an error?
Tried this and got same result (page loads up halfway and no error message).
Can you change the location to ./folder/$Product.php ?
Changed path and same result.
Does the
On 9 May 2011 15:59, Vincent McGinley vmcgin...@re-thinkitinc.com wrote:
Notice: Undefined variable: Product in
/Applications/MAMP/htdocs/Pages/Products/Bamboo_Zoo/index.php on line 181
And there's the issue.
In your old system, you probably had something called
register_globals enabled.
On Mon, 2010-05-17 at 15:26 +0300, Andre Polykanine wrote:
Hello everyone,
Just can't imagine what happens. There is the simplest function in the
world:
function LineBreaks ($str) {
$what=array(\r\n, \n, \r);
$with=array(br);
$str=str_replace($what, $with, $str);
return $str;
}
On 5/17/2010 8:53 AM, Andre Polykanine wrote:
Ash,
Magic quotes are disabled:
http://gviragon.org/study/php.php
Any ideas?
Thanks a lot!
Your code should work for something as simple as this, almost regardless of the
php setup.
Change your
$what=array(\r\n, \n, \r);
$with=array(br);
So after many days and many questions and the help of many many
people, I have finished my task scheduler!
I just wanted to say thank you to all who helped. Now I just need to
make it look pretty and add some comments so I know why I did what I
did. :)
Anyone interested in looking at
On 7/11/07, Jason Pruim [EMAIL PROTECTED] wrote:
So after many days and many questions and the help of many many
people, I have finished my task scheduler!
I just wanted to say thank you to all who helped. Now I just need to
make it look pretty and add some comments so I know why I did what I
On Jul 9, 2007, at 9:09 AM, Shafiq Rehman wrote:
Hi,
correct syntax for mktime is mktime( int hour, int minute, int
second, int
month, int day, int year)
When I did that I got this error:
[Tue Jul 10 09:33:12 2007] [error] PHP Parse error: syntax error,
unexpected T_LNUMBER in
On Jul 9, 2007, at 10:56 AM, Jim Lucas wrote:
Jason Pruim wrote:
Okay so given this section of code:
$taskTime=mktime(00,00,00,$_POST['txtReschedule']);
where are you getting the $_POST['txtReschedule'] var from?
in the html below, your var is $_POST['tasks'][#]['txtReschedule']
What does
On 7/10/07, Jason Pruim [EMAIL PROTECTED] wrote:
Currently that is the date I get when I try to submit any date
through the form. I'm sure I just have something messed up in my
mktime, or in the way I'm grabbing the variable
$taskTime=mktime(int 00,int 00,int 00, int $month, int $day,
On Jul 10, 2007, at 9:52 AM, David Giragosian wrote:
On 7/10/07, Jason Pruim [EMAIL PROTECTED] wrote:
Currently that is the date I get when I try to submit any date
through the form. I'm sure I just have something messed up in my
mktime, or in the way I'm grabbing the variable
On 7/10/07, Jason Pruim [EMAIL PROTECTED] wrote:
On Jul 10, 2007, at 9:52 AM, David Giragosian wrote:
On 7/10/07, Jason Pruim [EMAIL PROTECTED] wrote:
Currently that is the date I get when I try to submit any date
through the form. I'm sure I just have something messed up in my
mktime,
On 7/10/07, Jason Pruim [EMAIL PROTECTED] wrote:
While we are on the subject of certain dates, does this date mean
anything? :)
Tue, Nov-30-99 12:00:00?
November 30th, 1999 - In Seattle, Washington, United States, protests
against the WTO meeting by anti-globalization protesters catch police
On Jul 10, 2007, at 10:07 AM, Tijnema wrote:
On 7/10/07, Jason Pruim [EMAIL PROTECTED] wrote:
While we are on the subject of certain dates, does this date mean
anything? :)
Tue, Nov-30-99 12:00:00?
November 30th, 1999 - In Seattle, Washington, United States, protests
against the WTO
While we are on the subject of certain dates, does this date mean
anything? :)
Tue, Nov-30-99 12:00:00?
Currently that is the date I get when I try to submit any date
through the form. I'm sure I just have something messed up in my
mktime, or in the way I'm grabbing the variable.
Thanks
Jason Pruim wrote:
On Jul 9, 2007, at 10:56 AM, Jim Lucas wrote:
Jason Pruim wrote:
Okay so given this section of code:
$taskTime=mktime(00,00,00,$_POST['txtReschedule']);
where are you getting the $_POST['txtReschedule'] var from?
in the html below, your var is
On Jul 10, 2007, at 10:41 AM, Jim Lucas wrote:
Jason Pruim wrote:
On Jul 9, 2007, at 10:56 AM, Jim Lucas wrote:
Jason Pruim wrote:
Okay so given this section of code:
$taskTime=mktime(00,00,00,$_POST['txtReschedule']);
where are you getting the $_POST['txtReschedule'] var from?
in the
Jason Pruim wrote:
here is the print_r($_POST);
Array ( [tasks] = Array ( [31] = Array ( [txtReschedule] = 07/07/08
[chkDone] = 31 ) [39] = Array ( [txtReschedule] = 07/08/08 [chkDone]
= 39 ) [34] = Array ( [txtReschedule] = 07/09/09 [chkDone] = 34 )
[36] = Array ( [txtReschedule] = ) [35]
On Jul 10, 2007, at 11:08 AM, Jim Lucas wrote:
Jason Pruim wrote:
here is the print_r($_POST);
Array ( [tasks] = Array ( [31] = Array ( [txtReschedule] =
07/07/08 [chkDone] = 31 ) [39] = Array ( [txtReschedule] =
07/08/08 [chkDone] = 39 ) [34] = Array ( [txtReschedule] =
07/09/09
Jason Pruim wrote:
here is the print_r($_POST);
Array ( [tasks] = Array ( [31] = Array ( [txtReschedule] = 07/07/08
[chkDone] = 31 ) [39] = Array ( [txtReschedule] = 07/08/08 [chkDone]
= 39 ) [34] = Array ( [txtReschedule] = 07/09/09 [chkDone] = 34 )
[36] = Array ( [txtReschedule] = ) [35] =
On Jul 10, 2007, at 11:56 AM, Jim Lucas wrote:
Jason Pruim wrote:
here is the print_r($_POST);
Array ( [tasks] = Array ( [31] = Array ( [txtReschedule] =
07/07/08 [chkDone] = 31 ) [39] = Array ( [txtReschedule] =
07/08/08 [chkDone] = 39 ) [34] = Array ( [txtReschedule] =
07/09/09
Jason Pruim wrote:
On Jul 10, 2007, at 11:56 AM, Jim Lucas wrote:
Jason Pruim wrote:
here is the print_r($_POST);
Array ( [tasks] = Array ( [31] = Array ( [txtReschedule] =
07/07/08 [chkDone] = 31 ) [39] = Array ( [txtReschedule] =
07/08/08 [chkDone] = 39 ) [34] = Array ( [txtReschedule] =
On Jul 10, 2007, at 3:25 PM, Jim Lucas wrote:
Jason Pruim wrote:
On Jul 10, 2007, at 11:56 AM, Jim Lucas wrote:
Jason Pruim wrote:
here is the print_r($_POST);
Array ( [tasks] = Array ( [31] = Array ( [txtReschedule] =
07/07/08 [chkDone] = 31 ) [39] = Array ( [txtReschedule] =
07/08/08
Jason Pruim wrote:
Yes, the text box that is currently showing up under Day to Complete
is the one that will have the date entered as MM/DD/YY then that info
will be displayed in the Reschedule Date field. Once I can get it
storing the date correctly I want to make it show up if it's not been
Jason Pruim wrote:
Okay so given this section of code:
$taskTime=mktime(00,00,00,$_POST['txtReschedule']);
im not certain, but I dont think you can pass the date to mktime as 1
variable, the function requires the following
mktime($hour, $minute,$second, $month , $day ,$year);
so maybe
Hi,
correct syntax for mktime is mktime( int hour, int minute, int second, int
month, int day, int year)
--
Shafiq Rehman (ZCE)
http://www.phpgurru.com | http://shafiq.pk
Cell: +92 300 423 9385
On 7/9/07, Jason Pruim [EMAIL PROTECTED] wrote:
Okay so given this section of code:
On Jul 9, 2007, at 9:02 AM, clive wrote:
Jason Pruim wrote:
Okay so given this section of code:
$taskTime=mktime(00,00,00,$_POST['txtReschedule']);
im not certain, but I dont think you can pass the date to mktime as
1 variable, the function requires the following
mktime($hour,
Jason Pruim wrote:
Okay so given this section of code:
$taskTime=mktime(00,00,00,$_POST['txtReschedule']);
where are you getting the $_POST['txtReschedule'] var from?
in the html below, your var is $_POST['tasks'][#]['txtReschedule']
What does this var value look like?
try strtotime() on
On 7/9/07, Shafiq Rehman [EMAIL PROTECTED] wrote:
Hi,
correct syntax for mktime is mktime( int hour, int minute, int second, int
month, int day, int year)
--
Shafiq Rehman (ZCE)
http://www.phpgurru.com | http://shafiq.pk
Cell: +92 300 423 9385
On 7/9/07, Jason Pruim [EMAIL PROTECTED] wrote:
On 7/9/07, Daniel Brown [EMAIL PROTECTED] wrote:
On 7/9/07, Shafiq Rehman [EMAIL PROTECTED] wrote:
Hi,
correct syntax for mktime is mktime( int hour, int minute, int second, int
month, int day, int year)
--
Shafiq Rehman (ZCE)
http://www.phpgurru.com | http://shafiq.pk
Cell: +92 300
On 7/9/07, Tijnema [EMAIL PROTECTED] wrote:
On 7/9/07, Daniel Brown [EMAIL PROTECTED] wrote:
On 7/9/07, Shafiq Rehman [EMAIL PROTECTED] wrote:
Hi,
correct syntax for mktime is mktime( int hour, int minute, int second, int
month, int day, int year)
--
Shafiq Rehman (ZCE)
On 7/9/07, Daniel Brown [EMAIL PROTECTED] wrote:
On 7/9/07, Tijnema [EMAIL PROTECTED] wrote:
On 7/9/07, Daniel Brown [EMAIL PROTECTED] wrote:
On 7/9/07, Shafiq Rehman [EMAIL PROTECTED] wrote:
Hi,
correct syntax for mktime is mktime( int hour, int minute, int second,
int
month,
tray print the array this way:
echo 'pre';
print_r($array);
echo '/pre';
-afan
matt VanDeWalle wrote:
hello,
I have a simple question, not really a problem this time.
I know that the function print_r() will print an array but if that
array has sub-arrays it prints everything and if you
please provide code and an example output, and say how this is
different than you would like. what you describe is unclear.
Jordan
On Sep 13, 2005, at 4:04 PM, matt VanDeWalle wrote:
hello,
I have a simple question, not really a problem this time.
I know that the function print_r() will
matt VanDeWalle wrote:
hello,
I have a simple question, not really a problem this time.
I know that the function print_r() will print an array but if that array
has sub-arrays it prints everything and if you don't use more command or
a pipe of some kind that could be useless in some cases, but
If you want to print the keys for all the arrays in the main array then
use allkeys.
matt VanDeWalle wrote:
hello,
I have a simple question, not really a problem this time.
I know that the function print_r() will print an array but if that
array has sub-arrays it prints everything and if
Read this..
http://www.php.net/release_4_1_0.php
(Especially the part about global variables...)
- Original Message -
From: Chuck PUP Payne [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, November 13, 2004 9:02 PM
Subject: [PHP] A simple question
Hey,
I have just upgrade my box
If I was still on 4.1 I would understand, but I am on 4.3.4 now
I will read it but I think it will there is something that turn on in the
php.ini.
Payne
On 11/13/04 9:13 PM, Brad Bonkoski [EMAIL PROTECTED] wrote:
Read this..
http://www.php.net/release_4_1_0.php
(Especially the part
* Thus wrote Chuck PUP Payne:
Hey,
I have just upgrade my box and my forms are no longer passing information
into the database. I did a simple echo test and sure enough nothing. I was
using Apache 1.3 with php 4.1 I am now using Apache 2 with php 4.3.4, I
thinking there is something that
Ugh, from what I read now I have to re-write all my forms. No fun. Thanks
guys, I was hoping it was something simple.
I would like to ask one thing, here is a simple code that I was using can
someone explain to what need to be change to work with 4.3.4 so that I can
work on my other pages
?
At 17:58 08.03.2003, news.php.net said:
[snip]
I want to have the /php directory
one directory above the /web root
so it is not accessible from browser command line execution but
will execute from a click on an
html page. CGI-PHP is installed
but I need to
it doesn't matter beforebody or after body as I know
- Original Message -
From: Denis L. Menezes [EMAIL PROTECTED]
To: PHP general list [EMAIL PROTECTED]
Sent: Wednesday, January 22, 2003 11:21 PM
Subject: [PHP] A simple question please.
Hello friends.
I need to add a part of html (the
If the start of EVERY page is the same you could make your php include file
as follows;
?php
echo HTML;
echo TITLE;
echo /TITLE;
echo BODY;
?
Obviously padding it out a bit ;o)
Then at the top of every page put;
?php
require (header.php);
?
Similarly you coud do a footer for every page.
oh no, Iv'e gotten two answers...
stripslashes() and strip_slashes()
which one? which one?! G
Gaylen Fraley wrote:
strip_slashes()
--
Gaylen
[EMAIL PROTECTED]
Home http://www.gaylenandmargie.com
PHP KISGB v2.6 Guest Book http://www.gaylenandmargie.com/phpwebsite
Tom Ray [EMAIL PROTECTED]
Gaylen is prob right - I didn't check me syntax :(
-Original Message-
From: Tom Ray [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 13, 2001 3:11 PM
To: Gaylen Fraley
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Re: Simple Question
oh no, Iv'e gotten two answers...
stripslashes
stripslashes()
Rio :-)
- Original Message -
From: Tom Ray [EMAIL PROTECTED]
To: Gaylen Fraley [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, December 13, 2001 11:10 AM
Subject: Re: [PHP] Re: Simple Question
oh no, Iv'e gotten two answers...
stripslashes
is prob right - I didn't check me syntax :(
-Original Message-
From: Tom Ray [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 13, 2001 3:11 PM
To: Gaylen Fraley
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Re: Simple Question
oh no, Iv'e gotten two answers...
stripslashes() and strip
you look at the docs or did you do it the trail-and-error way?
-Original Message-
From: Gaylen Fraley [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 13, 2001 3:22 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Re: Simple Question
Nope. fatfingered :) stripslashes() is correct
PROTECTED]
Sent: Wednesday, December 12, 2001 10:56 PM
Subject: RE: [PHP] Re: Simple Question
you look at the docs or did you do it the trail-and-error way?
-Original Message-
From: Gaylen Fraley [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 13, 2001 3:22 PM
: Re: [PHP] Re: Simple Question
To be honest, the book PHP4 Developer's Guide by Blake Schwendiman has it
listed as strip_slashes(). I just happened to be reading it when I saw the
original message and copied it as it's listed in the index. So, rather than
blaming him, I took the blame :). I
hello,
I don't know how for I got your problem but, If you trying to
print a string like this
eg : print This is Tom's book;
In the above case you need not use a back slash to escape the single quote
coz' php accepts single quote's within a double quote.
Otherwise you
Use the mail() function.
http://www.php.net/mail
Matt Kaufman
- Original Message -
From: Kyle Smith [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 31, 2001 8:33 PM
Subject: [PHP] Another simple question (dont hurt me)
In php, oh wait well this is really 2 questions..
$variable = BLAH
''
BLAH;
On Wed, 18 Jul 2001, Hamed wrote:
Hi,
Can anyone tell me please what is the equivelant of this statement from
perl, in PHP?
$variable = qq~a value with any quotes which doesnt need \'\'s~;
i use it to get away with all the s\lashes behind quotes. can
You can only do one file in each box - get a yahoo mail account and see how
they
handle file uploading.
Ivan Porro wrote:
Hi,
anyone know a simple way to realize multiple-upload at once (something
like Msoft CTRL-multiple selection when browsing and uniqe Upload
button). I've found only a
53 matches
Mail list logo