I am sure that someone more experienced than me will reply when the time
is right.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
of the $fi object
fails for some reason.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
o use quotes in all fields and there are several other
reasons that I want to avoid quoting the values. In addition to that PHP
5.3 (which fixes this) is not stable yet and thus I can't install it in
a production machine.
So does anybody know any workarounds??
--
Thodoris
--
PHP General Ma
lose();
?>
Hope it helps. I think that by doing something like this:
$format_bold->setLocked();
while creating the format could do the trick but it is not tested.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ient=firefox-a
besides the first hit which is tizag there others you could look into
for info.
I know I've stated the *obvious* but I think you should try it nonetheless.
--
Thodoris
Why not just compile it yourself?
Why not let the ports system compile it for you and then have the choice
to remove it as package whenever you like...
You get it compiled and packaged the same time...
:-)
I guess BSD is the way to make your life easier...
--
Thodoris
--
PHP
P for starters?
http://www.wampserver.com/en/
It gives you all you need in one package.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thodoris wrote:
I've used it for some time but never needed to lock a cell. Here is a
piece of code that shows how to apply a format to a cell:
> Hope it helps. I think that by doing something like this:
$format_bold->setLocked();
while creating the format could do the trick bu
.0 installed in any of my systems to test it and
the function/method is not well documented yet. So I will have to write
a workaround this.
Has anybody tried this?
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
2009/7/28 Thodoris :
Hi gang,
I've been looking for a str_to_date (mysql) equivalent in PHP. I've
noticed that these are matching the description:
http://www.php.net/manual/en/datetime.createfromformat.php
http://www.php.net/manual/en/function.date-create-from-format.php
b
On Tue, 2009-07-28 at 20:10 +0300, Thodoris wrote:
> 2009/7/28 Thodoris mailto:t...@kinetix.gr>>:
>
>> Hi gang,
>> I've been looking for a str_to_date (mysql) equivalent in PHP. I've
>> noticed that these are matching the descrip
Thodoris wrote:
2009/7/28 Thodoris :
Hi gang,
I've been looking for a str_to_date (mysql) equivalent in PHP. I've
noticed that these are matching the description:
http://www.php.net/manual/en/datetime.createfromformat.php
http://www.php.net/manual/en/function.date-c
P 5.3.0 to test it)?
http://www.php.net/manual/en/function.date-create-from-format.php
--
Thodoris
ot;\n";
print_r($matches);
to test preg_match's behavior and when the above string has Latin
characters the pattern matches when it's in greek. Can someone explain
this? Is there a workaround?
PS all are in UTF-8.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
setting the date.timezone setting in your php.ini and see what
happens (don't forget to restart the web server to make changes take
effect) or use the ini_set().
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ary and then configure and
compile the source again running 'make clean' before.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thodoris wrote:
Was, by any chance, PHP installed as binary before you install it
from source?
If this is the case try uninstalling the binary and then configure
and compile the source again running 'make clean' before.
PHP was not installed at all on this machine. I grabbed
the whole thread as you will all understand.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thodoris wrote:
Is there a good reason for needing this pear package?
http://pear.php.net/package/DB
It is old and it has been replaced with MDB2 some time ago. Why don't
you use it instead of trying to install DB.
The issue here isn't what package is being installed. The issu
wnloading PEAR-1.9.0.tgz ...
Starting to download PEAR-1.9.0.tgz (291,634 bytes)
..done: 291,634 bytes
Segmentation fault
Manually is the best solution as far as I can tell:
http://pear.php.net/manual/en/installation.getting.php
Eddie is right. Give it a try.
-
;t and that is vital to me.
I wasn't able to print greek for example with some other classes I 've
tried. I am not sure if ezpdf does that.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
oduce a warning or an error.
--
Thodoris
http://php.net/manual/en/language.operators.errorcontrol.php ?
A better idea would be suppressing the error messages in a production site:
ini_set('display_errors',0);
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the braces for
everything, but nobody has ever accused me of making too much sense
before!
Thanks,
Ash
http://www.ashleysheridan.co.uk
This will also work (shell like style):
print "Test: ${var[0]}";
but this won't based on the same principle you mention above:
print "Test: ${var[0][0]}";
--
Thodoris
hey are not meant to go around. You can use them this way as well.
--
Thodoris
oing to be made into the string. So you can put them anywhere as
long as it is meaningful.
See some examples:
http://php.net/manual/en/language.types.string.php
in the complex (curly) syntax section.
--
Thodoris
Using the same type way as before in this thread.
This was supposed to come out as "using the same way of thinking".
But the English->Nerdish dictionary came out...
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
f thinking and it is my style as
well.
But I though that the point of the thread was to present ways of putting
vars inside strings...
--
Thodoris
ctory
that sores the image and everything is in order. For e.g.
If the date you got from the database is 2008-01-23 and the image name
is image01.jpg then the path would be:
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
r hand you may just simply change the ownership
recursively like "chmod -R apache:apache " which is much easier.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
p.net/manual/en/function.sleep.php
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ove to vim since nothing seems more powerful but
yet so nerdish.
It was nice talking for this all boring, again-and-again issue because I
got some very good ideas and I will totally try eclipse.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://w
O/H Jochem Maas έγραψε:
Robert Cummings schreef:
On Sun, 2008-08-24 at 13:35 +0100, Ashley Sheridan wrote:
On Sat, 2008-08-23 at 22:17 -0400, Robert Cummings wrote:
On Sun, 2008-08-24 at 01:32 +0200, Jochem Maas wrote:
Ólafur Waage schreef:
You can read about the header function.
http://i
1982
Thank you guys it is a late reply but you really make me feel so young
and cunning.
--
Thodoris
O/H Robert Cummings ??:
On Wed, 2008-08-27 at 14:44 -0400, tedd wrote:
At 1:24 PM -0400 8/27/08, Robert Cummings wrote:
On Wed, 2008-08-27 at 13:17 -0400, tedd wrote:
>
r
as I can tell then data objects is more suited to your style.
--
Thodoris
as a simple web tool.
So what do you think is the best way to use crypt, mcrypt, hash or
perhaps md5 and what are really the differences because I am not sure if
I get it right.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
Thodoris wrote:
So what do you think is the best way to use crypt, mcrypt, hash or
perhaps md5 and what are really the differences because I am not sure
if I get it right.
We use md5 for that sort of thing.
/Per Jessen, Zürich
I've noticed that crypt uses al
ly makes a
difference.
--
Thodoris
I use SHA-256 (use hash - php.net/manual/en/function.hash.php),
because its a little bit more secure then md5 or SHA-1.
BTW: Don't forget the salts..
Thanks for the feedback guys it was quite helpful.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
ese are the *obvious* options but by far not the only.
These two for e.g. are extra options you have:
http://www.php.net/manual/en/intro.msession.php
http://www.php.net/manual/en/intro.memcache.php
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/en/function.php-uname.php
--
Thodoris
, show me an example where sessions is the
answer and my include method won't work.
Cheers,
tedd
I guess every technique has its advantages and disadvantages. It is
better for something and bad for something else...
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To
for storing things like credit card details; just don't - the
major payment gateways will do this for you so all you need to store
is the transaction id's and auth codes.
The major payment gateways probably use encryption as one measure of
protection.
regards
nathan
--
Thod
the servers document root to the file itself.
Any ideas why is this happening?
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, 2008-09-24 at 14:28 +0300, Thodoris wrote:
Hi guys. I am having a problem with opening xls files from a link
generated from php script. Let me analyze this:
I have two linux servers with apache (php,mysql etc) that are running
the same project. There is a part in this project
On Wed, 2008-09-24 at 14:59 +0300, Thodoris wrote:
On Wed, 2008-09-24 at 14:28 +0300, Thodoris wrote:
Hi guys. I am having a problem with opening xls files from a link
generated from php script. Let me analyze this:
I have two linux servers with apache (php,mysql etc) that are
Thodoris schreef:
On Wed, 2008-09-24 at 14:59 +0300, Thodoris wrote:
On Wed, 2008-09-24 at 14:28 +0300, Thodoris wrote:
Hi guys. I am having a problem with opening xls files from a link
generated from php script. Let me analyze this:
I have two linux servers with apache (php
are identical to all dirs
from the document root to all containing folders and I doubled checked
that. Plus the rights are also the same.
grr!!
I think I may reconsider to change my career and start training
elephants in a zoo or something.
--
Thodoris
O/H Jim Lucas έγραψε:
Thodoris wrote:
Hi guys. I am having a problem with opening xls files from a link
generated from php script. Let me analyze this:
I have two linux servers with apache (php,mysql etc) that are running
the same project. There is a part in this project that reads all the
x27;t have to include the whole API every
time but only the files I really need. A good thing was to put these
files into a separate dir which I named include.
Same thing applies to classes I guess which is probably the next step.
Thodoris
"";
foreach ($columnNames as $col_name){
$table .= "".$col_name."";
}
$table .= "\n";
}
}
$table .= '';
$table .= "\n";
print $table;
}
But I really need to tell the function i
werpoint-to-flash-converter.aspxmay
be of interest
Why can't a linux user do all these cool stuff :-P ?
Perhaps we should let the ice melt and drown everyone. Then we can
rebuild a world where a *nix user can handle everything without COM.
PS Yeah right like you could be superman or a Jedi
--
Thodoris
a version of gd that
you replaced (meaning installed in the exact same location) I think it
might work by I wouldn't count on this.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thodoris wrote:
Hello everybody,
I have a mysql result set that I want to print out in an html
table. But some times it gets so big that I will probably need to
separate it in to multiple ones. I wrote a function that separates
the result set into three ones like this:
...
But I
't care in what table the extra row goes.
Cheers,
Rob.
--
Thodoris
t.
So the answer is simple: Whether you have or not Json depends on the
distro/OS/system package defaults.
Why don't you tell us what is the system and how you have installed PHP?
Someone could be more knowledgeable of your system specifics.
--
Thodoris
On Fri, Sep 26, 2008 at 2:41 PM, Robert Cummings <[EMAIL PROTECTED]> wrote:
On Fri, 2008-09-26 at 21:23 +0300, Thodoris wrote:
On Fri, 2008-09-26 at 13:50 -0400, [EMAIL PROTECTED] wrote:
Might I suggest you count the fields and divide it by the cols you want to
d
O/H Robert Cummings ??:
On Fri, 2008-09-26 at 14:41 -0400, Robert Cummings wrote:
On Fri, 2008-09-26 at 21:23 +0300, Thodoris wrote:
On Fri, 2008-09-26 at 13:50 -0400, [EMAIL PROTECTED] wrote:
Might I suggest you count the fields and divide it by the cols you want to
O/H Waynn Lue ??:
This is something that I've noticed for awhile, but last post to this
mailing list reminded me that someone probably already knows how to work
around this! I have a cron job that looks something like
12 6 * * * php /home/foo/temp.php
But even if temp.php doesn't output an
that you may check the space before
you write something).
As for the CPU I think there are OS specific techniques to control
resource usage in general but it depends on what *nix system you use
(FreeBSD, Linux etc).
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
O/H Thodoris έγραψε:
Hello all,
Is there a way to limit the memory consumption and / or the CPU
consumption of processes launched by the php functions system,
exec, passthru, proc_open and shell_exec?
We use mod_php with an apache (mpm-prefork) on Linux.
The following settings don't
and again
without any success. The table is started before in the header.phtml but
I will have to put and tags some way.
Any suggestions will be much of a help or even some good book
recommendations for the framework.
Thank you for taking the time reading this.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thodoris wrote:
Since I am also new to Zend Framework and I am having the same
difficulties with Zend_Form I am asking you to suggest the proper
mail list.
The php-general mailing list is a general purpose mailing list and
should be used for general purpose "How do I do this in PHP
(Unfortunately only for apache 1.3)
Thanks for all your answers.
Kind regards
valli
Let us know if you try this.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 8:32 PM +0300 9/26/08, Thodoris wrote:
Yes it will but I will make this better along with other things as
long as I find the needed algorithm.
--
Thodoris
http://webbytedd.com/bbb/paging/
The code is there.
Cheers,
tedd
Thanks Tedd this does the paging but it wasn't what I
O/H Robert Cummings ??:
On Tue, 2008-09-30 at 14:17 -0400, Wolf wrote:
Daniel Brown <[EMAIL PROTECTED]> wrote:
All:
What was pointed as a passing mention in one thread I thought was
worth note in a thread of its own. As quoted by Rob:
BTW, while we're off top
foreach could do the work better ?
Since it is not necessary to store the object in the session at least
AFAIK I wonder why don't you just store a simple array.
You will not need to worry for anything.
--
Thodoris
$timestamp);
}
print dateWebToMysql('01/03/2008');
Where 01/03/2008 is in dd/mm/ format (not the American format). What is the
best way of doing this?
Any ideas?
--
Thodoris
On Oct 8, 2008, at 7:08 AM, Thodoris wrote:
I know that *strtotime*() only recognises the formats mm/dd/,
-mm-dd and mmdd
for numeric months but I need do something like that:
function dateWebToMysql($webdate){
$format = 'Y-m-d';
$timestamp = strtotim
It does work for me now but I was wondering if there was a way to avoid
this.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
that strtotime() was made with Americans *only* in
mind... :-) .
--
Thodoris
ou don't make a request the $_SERVER and $_REQUEST
arrays are not available.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Has this really happened? =-O
I might consider send them a cake too :-) .
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to choose carefully the indexes but since you are searching for text
this might be hard to implement (perhaps by using search tags for every
entry but you will have to create them).
You can also post this to php-db list. You might get better answers...
--
Thodoris
Can I use mbstring as an alternative ?
Please make any suggestions you might think because I am stuck.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 22 Oct 2008 at 14:39, Thodoris wrote:
Hi guys,
I am developing a project and I wrote an interface to import contracts
in it. The problem is that when the user uploads the file I don't know
what is the encoding it has. So I decided that a good idea is to make
the user tell m
Thodoris wrote:
Hi guys,
I am developing a project and I wrote an interface to import
contracts in it. The problem is that when the user uploads the file I
don't know what is the encoding it has. So I decided that a good idea
is to make the user tell me the encoding from a drop down b
e it is there maybe not.
Could be that it is a tab and not a space. Could even be multiple tabs or
spaces.
There it goes again.
Every time someone asks a simple question (like the kind it's solved
with a simple trim, ltrim or rtrim) the discussion about which is the
best regular expression for this problem, makes a thread get "elephant"
sized :-) .
I love this list!!
--
Thodoris
Richard Heyes a écrit :
users who browse without Javascript enabled,
Heretics!
No, paranoid :D
Do these people really exist? I though that their extinction happened
the same with the dinosaurs.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
ing respect.
So, the writing is on the wall -- compliance should be considered by
everyone.
Cheers,
tedd
Thank you oh mighty and good God that I don't live in America!!
How do you manage all these strange things you guys ?
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Command unkown. Make sure you typed it right.
Do you think that this cryptic number 648-67-61 has to do with the
answer of all things? Like 42 for e.g.?
My russian (or whatever this is) suck more then my English. That's a
new experience, never felt it before.
--
Thodoris
-
chema that helps to construct and retrieve a tree faster?
--
Thodoris
o open it as a
dba file as the manual suggests:
|$id = dba_open("/tmp/test.db", "n", "gdbm");
if (!$id) {
echo "dba_open failed\n";
exit;
}
|||
and if it fails then you will know that it is not really a dba file.
In case you didn't get this it is because of my poor english or because
you asked the wrong question.
--
Thodoris
Thodoris wrote:
Boyd, Todd M. wrote:
-Original Message-
From: Ashley Sheridan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 04, 2008 1:40 PM
To: Adam Williams
Cc: PHP General list
Subject: Re: [PHP] removing text from a string
On Tue, 2008-11-04 at 08:04 -0600, Adam
e perl and pcre but it is pointless here.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, 2008-11-05 at 19:13 +0200, Thodoris wrote:
Command unkown. Make sure you typed it right.
Do you think that this cryptic number 648-67-61 has to do with the
answer of all things? Like 42 for e.g.?
My russian (or whatever this is) suck more then my English. That
On Wed, 2008-11-05 at 18:48 +0200, Thodoris wrote:
Richard Heyes a écrit :
users who browse without Javascript enabled,
Heretics!
No, paranoid :D
Do these people really exist? I though that their extinction happened
the same with the dinosaurs
Thodoris wrote:
Thodoris wrote:
Boyd, Todd M. wrote:
-Original Message-
From: Ashley Sheridan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 04, 2008 1:40 PM
To: Adam Williams
Cc: PHP General list
Subject: Re: [PHP] removing text from a string
On
Thodoris wrote:
Ashley Sheridan a écrit :
Thats a lot of code when a couple of lines and a regex will do ;)
Maybe because the use of the regex is pointless here. A bazooka to
kill the fly ? :)
I couldn't agree more. Not to mention that they are probably s
At 6:53 PM +0200 11/5/08, Thodoris wrote:
Thank you oh mighty and good God that I don't live in America!!
How do you manage all these strange things you guys ?
Nothing strange about it -- it's just the evolution of technology.
Evolution?? Really ? Disabling js?
Things are imp
the
directory's permissions but I don't remember if this applies to
windows as well...
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ty;
echo '';
}
$all->close();
}
First of all check if the sql works using a client directly. Did you
meant to query this:
date(release_date) AS date
instead of this:
date(release_date) date
??
Sorry I was lame enough to forget the backticks
date($test)
echo '';
}
$all->close();
}
First of all check if the sql works using a client directly. Did you
meant to query this:
date(release_date) AS date
instead of this:
date(release_date) date
??
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
auto increased by the sql server then try this:
$sql = "INSERT INTO `server account_database name`.`table name` (
`first`, `description`, `mobile`, `fax`, `email`, `web`) VALUES (
'first', '$description', '$mobile', '$fax', 'ghjhjhg',
'gh
I'll translate
In PHP4, strtotime works fine
Define "works fine".
in PHP5 strtotime gives a result of 19700101 when the data entered was
strtotime("20080950")
Linux
PHP version 5.1.6
Apache 2
This strtotime("20080950") returns nothing.
---
Thodoris
ta if that is the
way that suits you better in order to make things more secure...
Thodoris
O/H gilles έγραψε:
"Thodoris" <[EMAIL PROTECTED]> a ιcrit dans le message de news:
[EMAIL PROTECTED]
O/H Bastien Koert ??:
2008/11/8 Maciek Sokolewicz <[EMAIL PROTECTED]>
gilles wrote:
Avec la version 4 de php, strtotime("20080950&qu
finishes
choosing the items you can give him the option to change any of the
categories you have.
In that time you can allow him to edit and go back to the final step. If
of course it is possible to group the items and make a logical division.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The error message could be clearer :)
Thanks Stut!
Although I don't develop under windows and I should say that this OS
has been "developing" my allergies I would suggest to use WAMP. Which is
Windows-Apache-MySQL-PHP enviroment that you might find very useful and
it might make things easier for you.
--
Thodoris
ill stick to my LAMP server for the moment until I start feeling
that that my masochism side is coming on top. In that case I might
deleop something using Microsoft's magnificent OS.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
101 - 200 of 214 matches
Mail list logo