';
$path = $file_dir./.$year./.$month./.$fname;
print $path;
?
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
dir which is much easier.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/en/function.sleep.php
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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://www.php.net
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.
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
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 all
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, visit
* 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
-uname.php
--
Thodoris
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 unsubscribe, visit: http
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
--
Thodoris
--
PHP General Mailing List (http
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
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 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
find the algorithm although I think I have done this before but
I can't remember how.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
table the extra row goes.
Cheers,
Rob.
--
Thodoris
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
display
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
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
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 have
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? or What
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 asked
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
will not need to worry for anything.
--
Thodoris
);
}
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 = strtotime($webdate
this.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
and display it. I'm using that on a time card application
right now and it's working great.
Is that more what you are looking for?
Actually this means that strtotime() was made with Americans *only* in
mind... :-) .
--
Thodoris
and $_REQUEST
arrays are not available.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
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 me
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 before
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
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
--
PHP
that helps to construct and retrieve a tree faster?
--
Thodoris
(/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
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's
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
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 slower
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 improving
to
windows as well...
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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) AS `date`
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
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
', '$description', '$mobile', '$fax', 'ghjhjhg',
'ghgjghjghkgk');
omitting the id field which will get the next available value.
You can define an auto_increment field while creating the table.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
, 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
...
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) fonctionne correctement
en
allant
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
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
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
that that my masochism side is coming on top. In that case I might
deleop something using Microsoft's magnificent OS.
I have actually saw what I've posted so forgive my poor english. I hope
that I will get better some day and stop torturing people that read what
I write.
--
Thodoris
--
PHP
a different configuration in say
php.ini that can cause such behavior.
Let me know what you think.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What do you mean with 'stops working'?
Also, have you created a test-script that only contains (what you think is)
the core-problem? If so, can you paste it here? And if not, i advise you to
make one, so you can exclude that other factors play a role here.
Thodoris wrote:
Hi list,
I
php besides where to find the modules
(with extension_dir) what modules you need to load so add this in php.ini:
extension=http.so
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
in bugs.php.net) or my distro's package is
compiled like...
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
http://devshed.excudo.net
Thanks anyway though for the suggestions.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
or
that there is a bug in that specific version of PHP.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
are upload and size.
HTH,
Todd Boyd
Web Programmer
You could also use the . operator instead and quote using the quote
method if you are using PDO.
But this is a personal style I guess.
--
Thodoris
. This of course
probably needs changes to ownership as well.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
if someone can help.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
but in any other
case try to see if it fits your needs.
http://gr2.php.net/manual/en/intro.ldap.php
--
Thodoris
the included files but if you *really* need to go
much deeper (although this is probably an overkill) you could try
tracing when the process opens a file using strace along with grep if
you are in unix.
--
Thodoris
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
this could be a bug?
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thodoris wrote:
I was wondering if anyone sees something I am bypassing:
I have this sample code that works in another server:
?php
function getClientFullName($dbh,$id){
// die(var_dump($dbh));
$sql = SELECT * FROM Clients WHERE Id=.$id;
// die(print $sql);
$sthr = $dbh-query
hi t!!
strace is something i would have used.. but unfortunately, strace (at least as
far as i can tell) doesn't work with web based apps...
thanks
-Original Message-
From: Thodoris [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 16, 2008 11:42 PM
To: Andrew Ballard
Cc: bruce; php
this is the proper
way) by right clicking in PHP explorer and choosing Import menu. Then
you should choose Existing project into Workspace under the General
tree.
I don't if there is a better way but I usually open the existing
projects this way.
--
Thodoris
.
The data in the mysql table are filtered for non-printable character
before the data import.
I have tried to filter the data before writing them into the sheet but
this behavior persists.
Any ideas in what might be wrong?
--
Thodoris
On Tue, 2009-01-13 at 15:51 +0200, Thodoris wrote:
Hi gang,
I am generating a spreadsheet using the contents of a mysql table. I
guess that there is something in the data that causes iconv used in the
module's script to generate this error:
*Notice*: iconv() [function.iconv
file
On Tue, 2009-01-13 at 16:07 +0200, Thodoris wrote:
On Tue, 2009-01-13 at 15:51 +0200, Thodoris wrote:
Hi gang,
I am generating a spreadsheet using the contents of a mysql table. I
guess that there is something in the data that causes iconv used in the
module's script
and
something like a special character or something that Excel doesn't think
is right a messing all up.
I am really stuck so any help could be very useful...
--
Thodoris
On Tue, 13 Jan 2009 15:51:01 +0200, Thodoris wrote:
Hi gang,
I am generating a spreadsheet using the contents of a mysql table. I
guess that there is something in the data that causes iconv used in the
module's script to generate this error:
*Notice*: iconv() [function.iconv
file
to the email server?
I am not sure what you mean by that...
gishaust
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
case a random MD5-compatible salt is generated.
http://gr2.php.net/manual/en/function.crypt.php
Perhaps your PHP compilation or the package are broken.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
character_set_serverlatin1
character_set_systemutf8
What's the character set of the column you get the data from?
The charset: latin1 and the collation: latin1_swedish_ci.
/Nisse
--
Thodoris
On Wed, 14 Jan 2009 13:19:31 +0200, Thodoris wrote:
Variable_name Value
character_set_clientutf8
character_set_connectionutf8
character_set_database latin1
character_set_filesystembinary
character_set_results utf8
character_set_serverlatin1
character_set_system
!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks man that did it :-) .
What exactly was the problem you've noticed (I am seeing a diff between
the two files bu t I am not sure I fully understand)?
--
Thodoris
will cache the query and
that is true. But I think that mysql uses the cache only if the query is
the exact same...
So it does no good in this case.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1 - 100 of 214 matches
Mail list logo