Yeah, just spelling mistake :-)
And yes, it should be:
$query = "DELETE FROM `__table_name__` WHERE `__date__` <= NOW() - INTERVAL
3 MONTH"
Cheers ;-)
On Fri, Aug 2, 2013 at 2:35 PM, Simon Schick wrote:
> On Fri, Aug 2, 2013 at 2:02 PM, Karl-Arne Gjersøyen
> wrote:
>
$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 wrote:
> Hello again, folks!
> I wish to delete records in my database that is older than 3 months.
>
> $todays_date = date('Y-m-d');
> $old_re
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 wrote
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ć :
> Hi,
>
> Here are headers:
>
&
d Quadling :
> 2010/7/27 Dušan Novaković :
>> 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
>> <> /Parent 1 0 R
>> /Resources 2 0 R
>
]);
header('Content-Transfer-Encoding: binary');
readfile(base64_decode($row['file']));
And here I should get PDF file, but instead I get the same symbols on
the top of page :-(
Any suggestion? Some different header or ... ?
2010/7/27 Richard Quadling :
> 2010/7/27 Du
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 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 this editor
> http:
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 :
> 2010/7/27 Dušan Novaković :
>> Hello,
>>
>> s
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,
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 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 ab
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 Eclipse(
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 like
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 something
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 Linu
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}$/',
On Sat, Feb 7, 2009 at 12:29 PM, Alpár Török wrote:
>
>
> 2009/2/7 Dušan Novaković
>>
>> 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
>&g
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 something to http.config file or ? I
tried to execute that php file under Windows and it's working just
fine (I've copied whol
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
apache :-)
2009/1/21 Kyle Terry :
> 2009/1/21 Kyle Terry :
>> On Wed, Jan 21, 2009 at 10:12 AM, Dušan Novaković wrote:
>>> Hi,
>>>
>>> Is there some elegant solution how to redirect if someone try to open
>>> some non existing page (e.g www.dom
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: http://www.ph
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 this
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
>
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 spe
26 matches
Mail list logo