If you want to do it in PHP you can always do :
$Tomorrow = date( "Y-m-d", strtotime ("1 day" ) ) ;
Or more general : http://www.weberdev.com/get_example-292.html
Sincerely
berber
Visit the Weber Sites Today,
To see where PHP might take you tomorrow.
SEO Data Monitor http://seo.weberdev.
Chris wrote:
Paul Goepfert wrote:
Hi all,
I have developed a php functilon that is to return the date +1 from a
Mysql database. My sql statement is as follows
SELECT dayNum FROM Days Where dayNum >= day(curdate())+1;
The function works great on the intended webserver but when placed on
a d
Paul Goepfert wrote:
Hi all,
I have developed a php functilon that is to return the date +1 from a
Mysql database. My sql statement is as follows
SELECT dayNum FROM Days Where dayNum >= day(curdate())+1;
The function works great on the intended webserver but when placed on
a different mysql s
To be more specific:
Based on error message you posted:
#Start from server root:
include($_SERVER['DOCUMENT_ROOT'].'/inc/siteconfig.php');
Hth,
gl, M
On Feb 25, 2006, at 7:31 PM, Michael Hulse wrote:
Try changing all includes that look like this:
include('/folder/file.php');
... to this:
On Feb 25, 2006, at 2:22 PM, Schalk wrote:
*Warning*: main(): open_basedir restriction in effect.
File(../inc/siteconfig.php) is not within the allowed path(s):
(/home/httpd/vhosts/sealbeachprofessionals.com/httpdocs:/tmp) in
/home/httpd/vhosts/sealbeachprofessionals.com/httpdocs/home.php on
li
Find your php.ini and read it.
Actually, find your httpd.conf and read it, because you can change
JUST DocumentRoot in httpd.conf, and not move any files around.
'Course, you'll have to put the files back, but you won't have to
change any of the paths embedded in the PHP web application.
On Sat,
> Where is Open_basedir set? In a global php setting or can it be done
> site by site? And if so, what is the most logical place to put the file
> that controls this?
It's set by apache and unless you have root access you don't have any
control over it.
Re-read the error message, php tells you al
chris smith wrote:
On 2/26/06, Schalk <[EMAIL PROTECTED]> wrote:
Greetings All,
I am pretty new to PHP and are tasked to move a clients site from:
www.domain.com/somedirectory/home.php to www.home.php
If you're moving a clients site wouldn't your work be a better place
to ask? They w
On 2/26/06, Schalk <[EMAIL PROTECTED]> wrote:
> Greetings All,
>
> I am pretty new to PHP and are tasked to move a clients site from:
>
> www.domain.com/somedirectory/home.php to www.home.php
If you're moving a clients site wouldn't your work be a better place
to ask? They will have processes etc
On 2/25/06, Schalk <[EMAIL PROTECTED]> wrote:
>
> Greetings All,
>
> I am pretty new to PHP and are tasked to move a clients site from:
>
> www.domain.com/somedirectory/home.php to www.home.php
Is there a .php tld?
Sounds simple at first but, when I moved the files to the root of the
> httpdocs
Edward Vermillion wrote:
Bruce Gilbert wrote:
Hello,
I have a form on my site
http://www.inspired-evolution.com/Contact.php
produces this error on submission
Parse error: parse error, unexpected T_STRING in
/hsphere/local/home/bruceg/inspired-evolution.com/Thankyou.php on line
35
Well.. i
Bruce Gilbert wrote:
Hello,
I have a form on my site
http://www.inspired-evolution.com/Contact.php
produces this error on submission
Parse error: parse error, unexpected T_STRING in
/hsphere/local/home/bruceg/inspired-evolution.com/Thankyou.php on line
35
Well.. it says it's found a strin
I recommend PSPad
2005/7/16, Bruce Gilbert <[EMAIL PROTECTED]>:
>
> Hello,
>
> I have a form on my site
>
> http://www.inspired-evolution.com/Contact.php
>
> produces this error on submission
>
> Parse error: parse error, unexpected T_STRING in
> /hsphere/local/home/bruceg/inspired-evolution
Brent Clark wrote:
Hi all
I have the following php code:
echo" \n";
I now have the following javascript code:
Select all
Invert selection
use and
document.frm.elements['frow[]'][i].checked. And you will get javascript
error if you refer to document.frm.frow as both array and object, use
typ
On 14 May 2004 09:59, Brent Clark wrote:
> Hi all
>
> I have the following php code:
>
> echo" value=\"$var\">\n";
>
> I now have the following javascript code:
>
>
> Select all
> Invert
> selection
>
> the problem I have is that if I change the
>
> echo" value=\"$var\">\n"; to
> echo"
Thanks Kelly.
That works just like I wanted, only starting the regex engine
once. Guess I'll have to figure out lookahead.
-Craig
> -Original Message-
> From: Kelly Hallman [mailto:[EMAIL PROTECTED]
> Sent: January 9, 2004 11:24 AM
> To: craig
> Cc: Php
> Subject:
On Fri, 9 Jan 2004, craig wrote:
> (4536,'golf tournament management',430,0,0),
> (1434,'Premium golf balls',,,0),
>
> I have to replace the blank entries (,,) with NULLs, using this regex:
> $query = preg_replace('/,\s*,/',',NULL,', $query, -1);
> after this line, only ONE of the ,, sets is repla
Actually it does have to do with php.One of my main questions was also
about whether it was best to use the script from the command-line or
from the web server itself. The network question had to do with php as
well. Whether it would be best to use samba or another source. VNC is a
poor idea. After
I agreee that it sounds like you're running into concurrency issues with
mySQL.
I would just adopt a statistical approach, and pick a banner at random each
time...if the random number generator works properly, then you'll get an
even distribution over the universe of available banners.
If you ne
19 matches
Mail list logo