Max Schwanekamp wrote:
Jay Paulson wrote:
> How would I go about getting the timestamp of a day of the week from
7 weeks
> ago?
$lastsunday = strtotime("last Sunday");
$sunday7weeks = $lastsunday - (86400 * 49); // 7 weeks = 49 days
Oops, that would be the sunday 7 weeks
piled PHP is strictly for the output. There is little
connection (or there shouldn't be anyway) between your application php
and the compiled php that Smarty produces when it parses a template file.
--
Max Schwanekamp
http://www.neptunewebworks.com/
--
PHP General Mailing List (http://www.ph
Is there any difference between using
move_uploaded_file(...
or
if(is_uploaded_file...
...
copy(
(security hazards etc.)?
WBR, Max 'AMiGo' Gashkov
[EMAIL PROTECTED] ]=[ http://diary.otaku.ru/amigo
Distributed.net participant [408228][RC5-72]
--
PHP General Mailing
;
it would throw an error saying that you have no variable named 'somevar' in
you class.
--
Best regards,
Max A. Derkachev mailto:[EMAIL PROTECTED]
Symbol-Plus Publishing Ltd.
phone: +7 (812) 324-53-53
http://www.Books.Ru -- All Books of Russia
--
PHP General Mailing List (http://
oes not appear to be true. With error reporting set to max, and the
sic> variables not defined in the class ( $somevar,$somevar2 and $somevar3 ),
sic> the following will echo out:
sic> Not set
sic> empty
sic> value of somevar2
sic> value of somevar3
sic> class a {
sic&
ndard. Moreover, it's a common
sense. Try to imagine what will say other developer which may use or
maintain your code looking at this mess.
--
Best regards,
Max A. Derkachev mailto:[EMAIL PROTECTED]
Symbol-Plus Publishing Ltd.
phone: +7 (812) 324-53-53
http://www.Books.Ru -- All Books of Rus
ething like killall -1 httpd to restore normal operations.
--
Best regards,
Max A. Derkachev mailto:[EMAIL PROTECTED]
Symbol-Plus Publishing Ltd.
phone: +7 (812) 324-53-53
http://www.Books.Ru -- All Books of Russia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAI
learned mind
reading yet :)
--
Best regards,
Max A. Derkachev mailto:[EMAIL PROTECTED]
Symbol-Plus Publishing Ltd.
phone: +7 (812) 324-53-53
http://www.Books.Ru -- All Books of Russia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Hello Chris,
Friday, January 26, 2001, 8:23:27 AM, you wrote:
C> is there anyway to post without clicking a submit button?
You can, e.g. using javascript event.
on="document.forms['formname'].submit()"
--
Best regards,
Max A. Derkachev mailto:[EMAIL PROTECTED]
Sym
ot;INSERT into problem
VALUES('$product','$pro_title','$description','$solution')");
$sybase_result=sybase_query($sybase_query);
--
TURPIN Jean Max
STUDENT
College of Reunion's Island
--
PHP General Mailing List (http://www.php.n
[$j]))
> {
> $flag = 1;
> $errorNo = $j + 1;
> }
>$j++;
>}
--
TURPIN Jean Max
STUDENT
College of Reunion's Island
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
sion_register($funky_session_var) gives your nothing (if
not an error). You should session_register('funky_session_var')
instead (the NAME of the variable, not the variable itself).
--
Best regards,
Max A. Derkachev mailto:[EMAIL PROTECTED]
Symbol-Plus Publishing Ltd.
phone: +7 (812)
lines
NS> $func=&urlencode;
It won't work. You can not reference a function. But you can call a
variable with the function name value.
$func = 'urlencode'
$func($str) here will do the same as urlencode($str).
--
Best regards,
Max A. Derkachev mailto:[EMAIL PROTECTED]
Sy
ript. I figure this must
df> be possible, but I'm new at using phplib, so I'm not all that clear
df> on it...
Set the links as template variables and then substitute them with
values using Template's set_var().
--
Best regards,
Max A. Derkachev mailto:[EMAIL PROTECTED]
S
Hello derek,
Tuesday, February 06, 2001, 7:58:25 PM, you wrote:
df> Hi Max,
df> Thanks for the reply. Unfortunately, the solution you suggest means
df> that I would have to do a set_var on all hyperlinks (i.e., define all
df> hyperlinks everywhere on the site), which is a hu
101 - 115 of 115 matches
Mail list logo