$query = DELECT FROM `__table_name__` WHERE `__date__` BETWEEN NOW() -
INTERVAL 3 MONTH AND NOW()
On Fri, Aug 2, 2013 at 12:58 PM, Karl-Arne Gjersøyen karlar...@gmail.comwrote:
Hello again, folks!
I wish to delete records in my database that is older than 3 months.
$todays_date =
...@gmail.com
wrote:
2013/8/2 Dušan Novaković ndu...@gmail.com
$query = DELECT FROM `__table_name__` WHERE `__date__` BETWEEN NOW() -
INTERVAL 3 MONTH AND NOW()
This delete everything from now and 3months backwards. I want to store 3
months from now and delete OLDER than 3 months old
Hello there,
I have to make chat for website that has around 10 000 users (small
social network). So before I start, I would like to hear different
opinions. Important thing is to have in mind that in one moment you
can have over 1 000 users using chat.
So, if you have time fill free to write you
True :-) But, in my opinion if you plan to get really serious, then
you should consider using Eclipse or NetBeans :-) There you have
everything you'll ever need (but of course you have to say goodbye to
Designer mode from Dreamweaver :-) )
Dusan
On Sun, Aug 1, 2010 at 6:32 AM, David Robley
rquadl...@gmail.com:
2010/7/27 Dušan Novaković ndu...@gmail.com:
I don't think that it will help :-( I've tried to set different
headers but still I end up with some strange response, like:
%PDF-1.3
3 0 obj
/Type /Page
/Parent 1 0 R
/Resources 2 0 R
/Contents 4 0 R
endobj
4 0 obj
/Filter
Ok,
I found the problem :-) There was nothing wrong with storing or
sending files, it's just that I tried to load file with jQuery on
wrong way :-(
Sorry once more to everyone :-(
Dusan
2010/7/28 Dušan Novaković ndu...@gmail.com:
Hi,
Here are headers:
Response Headers
hello,
I have some problems with storing files in db and retriving them, so
probably I'm doing something wrong :-)
Here is the case:
I have on one of the pages request to generate some PDF files and
store them in database. So, I use FPDF to create files, and that's
working perfect. Then my system
Hello,
so when I'm sending the array to model it's like this:
$fp = fopen(INVOICE_PATH.date('Y-m-d').DS.$pdfName, r);
$pdfContent = array(
'file' = base64_encode(fread($fp,
filesize(INVOICE_PATH.date('Y-m-d').DS.$pdfName))),
Hello Peter,
I can't use files from filesystem. Let's say that they are not on the
some mashine where is application that has to show files :-) So it has
to be in exact order as I wrote :-(
2010/7/27 Peter Lind peter.e.l...@gmail.com:
2010/7/27 Dušan Novaković ndu...@gmail.com:
Hello,
so
You can use TinyMCE. It's really easy to integrate in system. Check on
official website.
Dusan
On Tue, Jul 27, 2010 at 12:10 PM, Jordan Jovanov jovanovj...@gmail.com wrote:
Hello All
I need me to add form for comment to one web site, but i want to use some
taxt edtior. Simething similar of
suggestion? Some different header or ... ?
2010/7/27 Richard Quadling rquadl...@gmail.com:
2010/7/27 Dušan Novaković ndu...@gmail.com:
hello,
I have some problems with storing files in db and retriving them, so
probably I'm doing something wrong :-)
Here is the case:
I have on one of the pages
Hello all,
I have problem with protecting files inside of folder. So, I have one
folder with files inside and the idea is to be able to see those files
(format is not important) only when you are logged in system.
I can't use solutions like to set some wierd name so that actually
user is hardly
Hi, I've been using NetBeans for some time and I found that there are
some issues like for Web applications if you write html tag
incorrectlly, you wont be informed about that, for stand alone
applications in Java there were also some stupid errors, etc. So, I
strongly suggest to check out
Hi,
I've been programing for some time, but I never tried to write code
for two different application in same way. How when I work with more
programmers it's even worse. Everyone is forcing it's way of writing
functions inside classes or writing variables, etc. My idea is to code
according to the
Hello,
I have few questions about validation XHTML and repairing if it's
broken. The problem is that I have some, for example HTML code (simple
web page) and want to load that page to DOMDocument and than make
something of it. That part works perfect, but if there is unclosed tag
or something
Hi,
Does anyone has any idea how to create notification system with
combination of php, mysql and javascript. It should be something
similar to facebook notification system (when someone make some action
it should be automatically reported to other people on system through
pop-up menu or
Hi,
Is there a possibility that if there is no font installed on client
side somehow browser finds it and redirect that font form server to
client machine. For example: I have site that use Microsoft font and
that font is not available on Linux distributions. So when u open page
in FF on some
Hi guys,
Does anyone know how to write validation for data witch contains
letters such as šđčćž (those are Serbian letters)?
Here is part of my code where it does validation:
$admins_validation = array('name'=
'/^[[:alnum:][:punct:][:space:]]{1,50}$/',
Hi,
I'm having problem with function move_uploaded_file() under Linux
(Slackware 12.2). It simply want execute only that function in php
file. So maybe I should add something to http.config file or ? I
tried to execute that php file under Windows and it's working just
fine (I've copied
whole project to xampp's htdocs folder and run it
normally).
And also I have question, does anyone knows how to configure apache
(also under same Linux) so that in future I wouldn't have to write
?php but only ? every time I start php code?
Thnx, Dusan
On Sat, Feb 7, 2009 at 11:53 AM, Dušan
On Sat, Feb 7, 2009 at 12:29 PM, Alpár Török torokal...@gmail.com wrote:
2009/2/7 Dušan Novaković ndu...@gmail.com
Hi,
I'm having problem with function move_uploaded_file() under Linux
(Slackware 12.2). It simply won't execute only that function in php
file. So maybe I should add
Hi,
Is there some elegant solution how to redirect if someone try to open
some non existing page (e.g www.domain.com/nonexistingpage.php) to
main page www.domain.com on website?
thnx, Dusan
--
made by Dusan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
apache :-)
2009/1/21 Kyle Terry k...@kyleterry.com:
2009/1/21 Kyle Terry k...@kyleterry.com:
On Wed, Jan 21, 2009 at 10:12 AM, Dušan Novaković ndu...@gmail.com wrote:
Hi,
Is there some elegant solution how to redirect if someone try to open
some non existing page (e.g www.domain.com
I have some request to sent text to matrix printer to print ticket for
theater. Is it possible to do that whit some php functions? Main point
is how to control length of paper that will be drawn inside and to
print text on a specific place. It would be nice if somebody can write
the code about
Does no one have some solution or suggestion?
Dušan
On 9/29/07, Dušan Novaković [EMAIL PROTECTED] wrote:
Hm..
I don't know that. I have also another application on the same server,
and I haven't encountered problems of the same kind. I don't know
whether these problems don't happend at all
Hi,
I have two problems with sessions.
Firstly, even though session limit is set on default value on server,
which is about 5 hours, if I don't take any action for about 15 mins I
am thrown out and I have to log in again. Are there any addition
functions which I can use in order to explicitly
26 matches
Mail list logo