and so on, because you may need to take into account daylight
savings times and such otherwise your calculations may be off.
Vlad
Keith Spiller wrote:
Hi,
RE: Previous and Next Month and Year
This is my code:
$next_month = date('F Y', time()+$month);
$prev_month = date('F Y', time()-$month
to be missing
regardless of browser / site / etc.
Firebug on Firefox shows the http request containing the accept_encoding
header being sent to the server and it looks like it gets lost on the
way. Is it a config issue in PHP, or in Apache? Can anybody help?
Thanks a lot,
Vlad
My platform
. is the concatenation operator, usually applies only to strings
try:
$days[] = array($this_day=array(#,today-day));
or actually:
$days[$this_day] = array(#,today-day);
since it looks like you're indexing based on the day
Keith Spiller wrote:
Hi Folks,
RE: Appending to an Array
Here is
i have the code below
**
*if ($dir = @opendir(dir2open))
{
while($file = readdir($dir)) {
//if (($file!='.') ($file!='..') ($file!='.htaccess') ($file!='
index.php')) {
// if (is_dir($file)) { // print just . ..
// if (is_file($file)) { // works fine
if
i want to make a reminder application which sends emails at certain hour
in php. is this posibile ? if not, what else can I use ?
how can i send a webpage by mail ?
i'v tryed something like that
$fd = fopen ($url, r);
$contents = fread($fd, 102400);
print $contents;
fclose ($fd);
mail($adr,$url,$contents);
but the message is blank :(
what's the problem ?
Hi All!
are here any people who have tried to develop php application using CVS?
What programms have you used for it? CVS should be located on the internet.
Thanks in advance,
Vlad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
!
-TG
-Original Message-
From: vlad georgescu [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 10, 2004 7:13 AM
To: php-general
Subject: [PHP] link in ModalDialog
i'm working at some kind of HTLM editor for a web-page,
and have in page, some js code which
i'm working at some kind of HTLM editor for a web-page,
and have in page, some js code which showModalDialog('upload_img.php')
and read the window return values and paste-it in page (text area).
the upload_img.php uploads img and returns the value to pe paste in
page (remote location of uploaded
how can test if var $int is integer ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hya,
Can someone give me a hand on how to determine if the client (the visitor)
is java java enabled and the os he's using in php?
thank you,
Alexandru
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Kris,
Idi na phpbeginner.com tam est 'tutorials' dlya tebya.
Vlad
-Original Message-
From: Kris Vose
Sent: 3 êâ³òíÿ 2002 ð. 12:42
To: [EMAIL PROTECTED]
Subject: [PHP] register session
I am trying to register a session after verification of username and password.
It looks like
Phpinfo(); works all the time, unless you went ahead and reprogrammed php yourself :)
Hello to AFRIKA from SOVIETS! CCCP rules!
-Original Message-
From: vins [mailto:[EMAIL PROTECTED]]
Sent: 1 êâ³òíÿ 2002 ð. 15:43
To: [EMAIL PROTECTED]
Subject: [PHP] Hi to you anti-spammers HAHA
for
this?
Thanks,
Vlad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
use session here
except this step. Can anyone suggest anything?
Thanks,
Vlad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
with the script that tries to create a
session.
Anyway, this certainly makes it clearer - thank you guys.
Vlad
-Original Message-
From: Miguel Cruz [mailto:[EMAIL PROTECTED]]
Sent: 26 ÂÅÒÅÚÎÑ 2002 Ò. 20:41
To: Vlad Kulchitski
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP]
On Tue, 26 Mar 2002, Vlad
to the next page for
FINAL submission to mysql. (all is done in one php script though)
But anyway, the problem is that when I see the final data in the
database, there's only 1 word from the sentence the used has typed
in, i.e if I submit Hello my name is Vlad, the only word that will
end up in the database
?lang=engpage=talkroom_submit
If anyone knows how to overcome the problem, please help.
Thanks,
Vlad
-Original Message-
From: S [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 24, 2002 2:34 PM
To: Vlad Kulchitski; [EMAIL PROTECTED]
Subject: RE: [PHP] forms and inputs
Your input tag should
.
And if I click 'a' I only get records with name starting with A. Is this
possible?
I am not necessarily asking for a complete code to reuse, just the
logic, how it would work.
Thanks in advance,
Vlad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
4.xx
versions.
Please help,
Thanks,
Vlad
http://kulchitski.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
STILL DOESN'T WORK :(
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 20 ÂÅÒÅÚÎÑ 2002 Ò. 13:29
To: [EMAIL PROTECTED]
Subject: Re: [PHP] HTMLnetscape issue
At 20.03.2002 13:11, you wrote:
Hi,
Sorry for repeating myself, but am lost and still can't find a
The problem is it doesn't show the picture background, even if I type text in that
cell...
-Original Message-
From: Nathan Cassano [mailto:[EMAIL PROTECTED]]
Sent: 20 ÂÅÒÅÚÎÑ 2002 Ò. 14:43
To: [EMAIL PROTECTED]; Vlad Kulchitski
Subject: RE: [PHP] HTMLnetscape issue
Yes here
I agree, but there are sites like heavy GRAPHICS sites that look fine
everywhere you know what I am saying... the only solution I see is to
add more cells, like even 1 pix cells and 100 pix wide if I want a line
of graphic etc... that is the only solution I see
-Original Message-
Hi everyone!
I am so happy tonight because it worked!
All I had to do is to convert the image to JPEG and it worked!
I think it would be useful to know it in the future.
Have a good one,
Vlad
Kulchitski.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Hi,
Can any1 send a small script of how to valiade a username using eregi().
I want username to consist only a-zA-Z1-0, _, and -
I can't get it to work correctly
Vlad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
value=about_eng half of the data gets lost, only first
word from the submitted previously remains...
Hope this was descriptive and hope someone can suggest something.
Thanks,
Vlad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Also another question, my fileupload works everywhere (IE, Netscape) but
Opera. Does Opera support it at all?
My fileupload is very simple. It checks is the file is JPEG/GIF/BMP and
then
saves it, if not, gives an error message.
Vlad
--
PHP General Mailing List (http://www.php.net
Of course it's legal, absolutely.
You have to make sure though that you
don't use double quotes in php portion,
and if you do, you have to escape them
for instance:
echo font color=\red\;
if you paste the code that's causing the
problem, we can take a look.
Vlad
-Original Message
The message I get is that the file is invalid format...
I tested on Netscape 4.xx and Netscape 6.xx
tested on IE 4 through 5. Works fine.
I can paste the code I am using if you want to take a look.
Vlad
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: 14 ÂÅÒÅÚÎÑ
;
case bmp: $filename=talkroom_gallery_photographs/$username.bmp;
copy($userfile, $filename);
echo file copied OK!;
echo img src=$filename;
break;
default: echo invalid picture format;
}
Vlad
-Original Message
If I have magic quotes on, will stripslashes() / addslashes() work? Doesn't seem to
work for me...
-Original Message-
From: Vlad Kulchitski
Sent: 14 ÂÅÒÅÚÎÑ 2002 Ò. 11:10
To: [EMAIL PROTECTED]
Subject: [PHP] Opera broswer file upload / MY CODE
This is the code I am using
, but it doesn't seem to work.
Thanks,
Vlad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
my favourite to
be honest (page.php?a=432b=$this)
The question is how reliable the session is? In other words
I understand session works based on cookies right? So if the client
browser has cookies disabled the session is not going to work
right?
Vlad
--
PHP General Mailing List (http
:\\Documents and
Settings\\vlad\\Desktop\\satellite\\florida.jpg' for reading: No such
file or directory in /var/www/kulchitski/btl/_talkroom_submit.php on
line 15
Can anyone suggest anything?
Thanks in advance guys
Vlad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
is not what it is supposed to be.
If anyone can give me suggestion about where to look for some hints
online
that would be appreciated.
Thanks,
Vlad
' but will not select anything from the table
Do I have to have this 'clark' user on my linux machine also?
Vlad
' in
/var/www/kulchitski/btl/templatephp on line 40
Can I fix this somehow?
Vlad
--
PHP General Mailing List (http://wwwphpnet/)
To unsubscribe, visit: http://wwwphpnet/unsubphp
looking for mysql on your filesystem and give you results at the end
Hope this was helpful
Vlad
ps I think the commands Andrey pointed out work also
--
PHP General Mailing List (http://wwwphpnet/)
To unsubscribe, visit: http://wwwphpnet/unsubphp
to
But I am just curious if there's another way around
Thanks a lot in advance,
Vlad
http://vladiktripodcom
--
PHP General Mailing List (http://wwwphpnet/)
To unsubscribe, visit: http://wwwphpnet/unsubphp
to the second file is the server just
opens the file forever never showing the content, and ends up giving me
an error message
Can anyone suggest what I do wrong?
Thanks,
Vlad
--
PHP General Mailing List (http://wwwphpnet/)
To unsubscribe, visit: http://wwwphpnet/unsubphp
://www.qmail.org/.
Now, crossposting is a *really* bad idea, and is not looked well
upon by the developers. You posted to 15(!) different groups
while only one (php-general) is somewhat proper for that question.
This significantly reduces your chances to get an answer to your
question at all.
Vlad
to /* */ comments, just take your hex editor, look at your source file
in hex (pay attention to newlines) and replace them with proper
newlines. That should fix that.
Take care,
Vlad
P.S. Crossposting is a bad idea, so please select which list you really
think his should be posted to. I think
and everything will work like a charm, or wait tilll 4.0.6 and
hope it works:)
Vlad
Maxim Maletsky wrote:
Hello everyone.
in short: I had upgraded PHP from 4.0.1pl2 to 4.0.5.
and this is what happened:
The pages started breaking on
'//'
(YES, ON COMMENTS!)
If there's
Hi all
Is any way to open socet connections using proxy servers from php script?
Thanks
--
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]
Hi all
How can I enclose files into my letter send it from the php script (using
for example mail() function)
Thanks, Vlad
--
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
Hi all
script example:
function smth(){
$result = '1234 - the number';
return $result;
}
...
$res = smth();
...
After this $res takes value of 1234 not the actual string.
Is any soolution here?
Thanks, Vlad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
vladMon Feb 5 10:15:32 2001 EDT
Modified files:
/php4/ext/pspellpspell.c
Log:
now when pspell/pspell.h is included, it will recognize
that it has to work in compatibility mode. (The previous fix
had the right idea, but was too far down in the source
vladMon Feb 5 11:18:04 2001 EDT
Modified files:
/php4/ext/pspellCREDITS
Log:
Added myself to CREDITS (vlad)
Index: php4/ext/pspell/CREDITS
diff -u php4/ext/pspell/CREDITS:1.1 php4/ext/pspell/CREDITS:1.2
--- php4/ext/pspell/CREDITS:1.1 Mon Nov 20 02
Hi all!
How can I check (in PHP code) if the target browser supports image
displaying or not?
Thanks, Vlad.
--
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
49 matches
Mail list logo