[PHP-DB] php mysql calendar

2009-08-05 Thread nikos
Hello list Can someone suggest me a php mysql calender, easy configurable for special needs? I found some googling but the most of them query records form a specific table and its impossible to change the sql query. Thank you in advance Nikos

RE: [PHP-DB] Bad picture colors

2006-04-28 Thread nikos
Martin you really save my ass!! imagecopyresampled() is what I need. It is 3 times slower but how cares, I run it in a local server. Thank you vary much! _ Γατσής Νίκος - Gatsis Nikos Web developer tel.: 2108256721 - 2108256722 fax: 2108256712 email: [EMAIL PROTECTED] http

RE: [PHP-DB] Bad picture colors

2006-04-28 Thread nikos gatsis
Martin you really save my ass!! imagecopyresampled() is what I need. It is 3 times slower but how cares, I run it in a local server. Thank you vary much! _ Γατσής Νίκος - Gatsis Nikos Web developer tel.: 2108256721 - 2108256722 fax: 2108256712 email: [EMAIL PROTECTED] http

[PHP-DB] Bad picture colors

2006-04-27 Thread nikos
Hello list I use the following code to shrink some photos. $directory='/var/www/html/offroads/tmp/'; $dir=opendir($directory); while($file=readdir($dir)) { $dirfile=$directory.$file; if(is_file($dirfile)) {

RE: [PHP-DB] Bad picture colors

2006-04-27 Thread nikos
Im not sure if browsers can play pngs Dwight Thnak you _ Γατσής Νίκος - Gatsis Nikos Web developer tel.: 2108256721 - 2108256722 fax: 2108256712 email: [EMAIL PROTECTED] http://www.qbit.gr -Original Message- From: Dwight Altman [mailto:[EMAIL PROTECTED] Sent: Thursday, April

[PHP-DB] striping \n or \r

2006-02-15 Thread nikos gatsis
Hello list Does anybody knows how to strip new lines (\n) or \r from a string? I try $lead=str_replace('(0x0D)',' ',str_replace('(0x0A)',' ',$lead)); or $lead=str_replace('\n',' ',str_replace('\r',' ',$lead)); with no results Thank you Nikos -- PHP Database Mailing List (http://www.php.net

[PHP-DB] mysql_client_encoding in greek

2006-02-12 Thread nikos gatsis
Hello list. I install mysql 4.1.7 and php 5.1.2 on win2000. I use apache 2.0.45 My problem is that the result from dbs are like ??. Its obvious that is a character set problem. The dbs are set as Greek, as the default-character-set. In php.ini is set default_charset = iso-8859-7 which is the

RE: [PHP-DB] Shrinking gifs.

2005-06-22 Thread nikos
-Type: {$img_type}); echo $img; ? -Original Message- From: Martin Norland [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 21, 2005 4:31 PM To: PHP-mailist (PHP-mailist) Subject: Re: [PHP-DB] Shrinking gifs. . nikos wrote: Hello list I'd like to make a thumbnaile list using some

[PHP-DB] Shrinking gifs

2005-06-21 Thread nikos
Version 4.3.11 gd-1.8.4-11 Thanks Nikos -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DB] Shrinking gifs

2005-06-21 Thread nikos
I'm afraid I dont know such command -Original Message- From: Darryl Steyn [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 21, 2005 2:50 PM To: nikos Subject: Re: [PHP-DB] Shrinking gifs afaik, you need to use imagemagik to resize a gif

RE: [PHP-DB] Mass mail

2004-09-21 Thread nikos
. HTH - Miles Thompson At 10:18 AM 9/20/2004, nikos wrote: Hello list A client of mine sends thousands of mails as newsletters and wants as to make an Interface to admin this list. Its easy to put this mail list in a MySQL table and make the interface on PHP language and with mail() function

[PHP-DB] Mass mail

2004-09-20 Thread nikos
Hello list A client of mine sends thousands of mails as newsletters and wants as to make an Interface to admin this list. Its easy to put this mail list in a MySQL table and make the interface on PHP language and with mail() function to send a newsletter. The question is that if this function

[PHP-DB] Uploading files

2004-02-27 Thread nikos
Hello list Allthough I set my PHP.in upload_max_file=4M my system refused to upload files bigger than 1M and the browser send an server not found error. Does anybody know anything about that? Thank you -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP-DB] Uploading files

2004-02-27 Thread nikos
It is allready 8M - Original Message - From: Adam Voigt [EMAIL PROTECTED] To: nikos [EMAIL PROTECTED] Cc: PHP-mailist [EMAIL PROTECTED] Sent: Friday, February 27, 2004 5:13 PM Subject: Re: [PHP-DB] Uploading files Your max post size needs to be upped to, try making it 6M and see

Re: [PHP-DB] Uploading files

2004-02-27 Thread nikos
not found then check your form (especially action attribute ). Sorry for my english. Pavel. On Fri, 2004-02-27 at 10:29, nikos wrote: It is allready 8M - Original Message - From: Adam Voigt [EMAIL PROTECTED] To: nikos [EMAIL PROTECTED] Cc: PHP-mailist [EMAIL

Re: [PHP-DB] Uploading files

2004-02-27 Thread nikos
Adam, everything happens rapidly. I dont think that the connection is the problem. I work in a local lan. Thank you - Original Message - From: Adam Voigt [EMAIL PROTECTED] To: nikos [EMAIL PROTECTED] Cc: PHP-mailist [EMAIL PROTECTED] Sent: Friday, February 27, 2004 5:38 PM Subject: Re

Re: [PHP-DB] Uploading files

2004-02-27 Thread nikos
refuses a connection and sends Server not found then check your form (especially action attribute ). Sorry for my english. Pavel. On Fri, 2004-02-27 at 10:29, nikos wrote: It is allready 8M - Original Message - From: Adam Voigt [EMAIL PROTECTED] To: nikos

[PHP-DB] - Resizeing Images stored in mysql db

2004-02-16 Thread Nikos Gatsis
Hello list I store images in a mysql table and use then in a web site. Is possible to change the size of these images; Following the code I'm allredy use. $query=SELECT photoxl FROM books WHERE books_id = '$books_id'; $result=mysql_db_query($database, $query, $conn) or Die

Re: [PHP-DB] - Resizeing Images stored in mysql db

2004-02-16 Thread Nikos Gatsis
Thanx but, first I dont know the real size of the stored pictures and second I dont think that is a good idea to shrink a 50k photo. - Original Message - From: Frisley Velasquez [EMAIL PROTECTED] To: Nikos Gatsis [EMAIL PROTECTED] Sent: Monday, February 16, 2004 4:16 PM Subject: Re: [PHP

Re: [PHP-DB] - Resizeing Images stored in mysql db

2004-02-16 Thread Nikos Gatsis
Thank you Recardo Is possible to know the dimensions (x, y) of the stored image? I try ImageCreateFromJPEG($mystoredpict) and ImagesX($mystoredpict) but dosen't work - Original Message - From: Ricardo Lopes [EMAIL PROTECTED] To: Nikos Gatsis [EMAIL PROTECTED] Cc: PHP DB [EMAIL PROTECTED

[PHP-DB] Something ease... I guess

2003-12-16 Thread Nikos Gatsis
Hello list I have 4 variables, $check1, $check2, $check3, $check4 How can i use a for loop to echo each one. (lets say echo $check($i)...) Thanx -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Something ease... I guess

2003-12-16 Thread Nikos Gatsis
Thanx everybody It was easy indeed! - Original Message - From: Martin Marques [EMAIL PROTECTED] To: Nikos Gatsis [EMAIL PROTECTED]; PHP-mailist [EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 3:55 PM Subject: Re: [PHP-DB] Something ease... I guess El Mar 16 Dic 2003 10:44, Nikos

Re: [PHP-DB] password generator

2003-12-11 Thread Nikos Gatsis
Thanx you all guys, great tools indeed! - Original Message - From: Roger Spears [EMAIL PROTECTED] To: php database [EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 6:33 PM Subject: Re: [PHP-DB] password generator Here's one I've used recently with success

[PHP-DB] {PHP-DB} password generator

2003-12-10 Thread Nikos Gatsis
Hello list Is there any PHP script that generate password with digits from [a-zA-Z0-9] to suggest me? Thanx

[PHP-DB] Re: Transfering large mysql database

2003-12-09 Thread Nikos Gatsis
Why dont you gzip the files of database and write them in a CD? Its safe and (maybe) faster if the tables are large files. Nikos - Original Message - From: J.Veenhuijsen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 09, 2003 1:13 PM Subject: [PHP-DB] Re

Re: [PHP-DB] character problem with mssql

2003-12-06 Thread Nikos Gatsis
If problem is in your database use htmlentities(). It while translate all characters to HTML entities (check PHP manual). Else you should check web page's character code. Nikos Hi; I use php and mssql. I have got a character problem. I must use turkish chracters. When I select datas from

Re: [PHP-DB] eregi sentence

2003-12-01 Thread Nikos Gatsis
Ivan hello Yoy really help me a lot! Thanx - Original Message - From: Ivan Fomichev [EMAIL PROTECTED] To: Nikos Gatsis [EMAIL PROTECTED] Sent: Sunday, November 30, 2003 6:56 PM Subject: Re: [PHP-DB] eregi sentence Hello Nikos, Sunday, November 30, 2003, 10:29:19 AM, you wrote: NG

[PHP-DB] eregi sentence

2003-11-30 Thread Nikos Gatsis
Hello list. Can somebody tell me what is wrong with the following? $body=eregi_replace(a href=\(.+)\([^]*)(.+)/a, a href=\\\1\ target=\_blank\ class=\down_txt\strong\\3/strong/a, $body); where $body is comming from a MySQL BLOB with text. All I want to do is to replace the a href=blabla

[PHP-DB]

2003-04-02 Thread nikos
Title: Glacier Is there a way to transfer mysql data to xml files? I have to use database contents from a static contition, lets say, presentating a site from cd-rom If is an other way I'll like to deal with Thanx Qbit - Gatsis NikosWeb developertel.: 2108256721 - 2108256722fax:

[PHP-DB]

2003-04-01 Thread nikos
Title: Glacier Hello everyone. This is a litle of topic but I need your help. Is there any toutorial or a good documentation for mailman? www.list.org doesn't help me much Thanx Qbit - Gatsis NikosWeb developertel.: 2108256721 - 2108256722fax: 2108256712email: [EMAIL

[PHP-DB]

2003-02-18 Thread nikos
GlacierHi List I run mysql 3,23.. in a RH 7.2 Linux web server.=20 Sudenly mysql crash and non of my db's runnig. Mysqld (re) starts [OK].=20 The message in my browser is that mysql.sock file is missing Does knows why? What is this file? Thanx

[PHP-DB]

2003-02-12 Thread nikos
Hi List! I'm trying to Drop a Table and aI get an error as follows: Error on delete of './horceng/oikology.MYI' (Errcode: 13) Does anybody know what is the error 13? Thanks Qbit - Gatsis Nikos Web developer tel

[PHP-DB]

2003-02-12 Thread nikos
Hi List! I'm trying to Drop a Table and aI get an error as follows: Error on delete of './horceng/oikology.MYI' (Errcode: 13) Does anybody know what is the error 13? Thanks Qbit - Gatsis Nikos Web developer tel

[PHP-DB] Ordering...

2003-02-10 Thread nikos
Hi list! How can I Order By in MySQL a column asceding and an other column desceding? Qbit - Gatsis Nikos Web developer tel.: 2108256721 - 2108256722 fax: 2108256712 email: [EMAIL PROTECTED] http://www.qbit.gr

Re: [PHP-DB] page splitting

2003-02-02 Thread Nikos Gatsis
Or try the attached code Nikos - Original Message - From: Maxim Maletsky [EMAIL PROTECTED] To: Shahar Tal [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, February 02, 2003 7:30 PM Subject: Re: [PHP-DB] page splitting you should get a class that does that. PHP Classes

[PHP-DB] - Update help

2003-01-30 Thread nikos
Hello list I've download some patches for PHP 4.0.6. and I dont know how to use it. For example rfc1867.c.diff-4.0.6 file how can I run it and do the update? I have PH 7,2 Linux and Apache 1,32 Thank you

[PHP-DB] Find and replace in a string

2003-01-26 Thread Nikos Gatsis
Hi list! I have a sting that contains some occurances of {...} sub-strings, where is some text. Which is the way to find and replace the {...} with an other of my own. This sub-strings start with { and end with }. Thanks

[PHP-DB] - mail() with atachment

2003-01-12 Thread Nikos Gatsis
Hello list! Does anybody knows how to send a mail through a php page using mail() function including an attachment file? Thanx Nikos

Re: [PHP-DB] SHOW PICTURE FROM DATABASE

2002-12-31 Thread nikos
I've done it allredy! It brings up a line of unknown characters - Original Message - From: John W. Holmes To: 'Nikos Gatsis' ; 'PHP-mailist' Sent: Tuesday, December 31, 2002 1:08 AM Subject: RE: [PHP-DB] SHOW PICTURE FROM DATABASE I have a php script that call binary

[PHP-DB] SHOW PICTURE FROM DATABASE

2002-12-30 Thread Nikos Gatsis
: $query=SELECT pict FROM pict WHERE pro_id= '$pro_id; $result=mysql_db_query($database, $query, $conn) or Die (mysql_error()); list($photo)=mysql_fetch_row($result); $type = $photo_type; if (!empty($photo)) { header(Content-Type: {$type}); echo $photo; } THANX Nikos

[PHP-DB] PDFlib

2002-11-25 Thread nikos
Hello everybody Does evrybody know if there is a free version of PDFlib Thanx Nikos

[PHP-DB] Array question

2002-11-08 Thread nikos
Does anybody know how to remove an item from an array? Let's say $array('banna', 'apple','cherry') foreach ($array as $value) { if ($value=='chery') DELETE $value FROM $array ... Thanks

[PHP-DB] default-character-set problem

2002-11-06 Thread nikos
Hello there... I have a problem with sort order. I use greek and english characters. The manual says to put the following lines to my.cnf: [client] character-sets-dir=/usr/local/mysql/share/mysql/charsets default-character-set=greek i restart the demon but the problem still exist. I have 3.23.49

Re: [PHP-DB] Sessions and their function

2002-09-13 Thread nikos
You sould register sessions first, and if have been registered, are passing with session_start() in each page at the top, before the html tag.. If you want to pass variables from a page to another, put them in the url: test.php?var=3name=george (e.g.) Be sure that the page you refer is dynamic

Fw: [PHP-DB] Conversion from access to mysql

2002-09-10 Thread nikos
Untitled Document --- - Qbit Web developer tel.: 0108256721 - 0108256722 fax: 0108256712 email: [EMAIL PROTECTED] http://www.qbit.gr - Original Message - From: nikos [EMAIL PROTECTED] To: Chris Grigor [EMAIL

Fw: [PHP-DB] Conversion from access to mysql

2002-09-10 Thread nikos
You should install MyQDBC. Then use it to export the Access tables in MySQL Nikos -- -- -- - Original Message - From: Chris Grigor [EMAIL PROTECTED] To: [EMAIL PROTECTED

Fw: [PHP-DB] Conversion from access to mysql

2002-09-10 Thread nikos
You should install MyQDBC. Then use it to export the Access tables in MySQL Nikos -- -- -- - Original Message - From: Chris Grigor [EMAIL PROTECTED] To: [EMAIL PROTECTED

Fw: [PHP-DB] php - checkboxes - mysql

2002-09-10 Thread nikos
You should first check if checkbox value stored in the databese is 1 or 0. After use an if clause: if ($checkbox==1) { echo input type=\checkbox\ name=\checkbox\ value=\1\ checked } elseif ($checkbox==0) { input type=\checkbox\ name=\checkbox\ value=\0\ } Nikos

Fw: [PHP-DB] whats wrong with my sql insert statement?

2002-09-10 Thread nikos
Try remove (;) at the end of the expresion, before quote (): VALUES ('$first_name','$location','$phone', '$blabla')...(;)... - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 10, 2002 4:38 AM Subject: Re: [PHP-DB] whats wrong with my sql