[PHP-DB] php mysql calendar

2009-08-04 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 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

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-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

[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)) { copy($dirfile,$dir

[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)); wit

[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 th

RE: [PHP-DB] Shrinking gifs.

2005-06-21 Thread nikos
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 gifs. > I use the following code but I got error (Call to unde

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

[PHP-DB] Shrinking gifs

2005-06-21 Thread nikos
tpd-2.0.40-21.11 PHP 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] Mass mail

2004-09-20 Thread nikos
mailing functions which Manuel Lemos has on his site. 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

RE: [PHP-DB] Re: Mass mail

2004-09-20 Thread nikos
Hello Ben, thank you for answering. I concern about the execution time of the script. If I do a while{} and there send a mail() for each of mail addresses it might take some minutes. -Original Message- From: Ben Galin [mailto:[EMAIL PROTECTED] Sent: Monday, September 20, 2004 5:55 PM T

[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 c

Re: [PHP-DB] Uploading files

2004-02-27 Thread nikos
ve to do it. Script execution will not start before all > >> posted files are uploaded. If your browser refuses a connection and > >> sends "Server not found" then check your form (especially action > >> attribute ). > >> > >> Sorry for my engl

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" <[EM

Re: [PHP-DB] Uploading files

2004-02-27 Thread nikos
ript execution will not start before all > posted files are uploaded. If your browser refuses a connection and > sends "Server not found" then check your form (especially action > attribute ). > > Sorry for my english. > > Pavel. > > > > > > > > &

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 m

[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: http://www.php.ne

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"

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, F

[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 ("...".mysql_err

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]

[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] 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 > > http://w

[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] {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, 2

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

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, > > Su

[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("]*)>(.+)", "\\3", $body); where $body is comming from a MySQL BLOB with text. All I want to do is to "replace" the " or " whith but it doesn't seems to work right. For example, in the same text replace the

[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 - 2108256722

[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 PROTECTED]

[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
;&agr;&tgr;&sgr;&eeacgr;&sfgr; &Ngr;&iacgr;&kgr;&ogr;&sfgr; - Gatsis Nikos Web developer tel.: 2108256721 - 2108256722 fax: 2108256712 email: [EMAIL PROTECTED] http://www.qbit.gr

[PHP-DB]

2003-02-12 Thread nikos
;&agr;&tgr;&sgr;&eeacgr;&sfgr; &Ngr;&iacgr;&kgr;&ogr;&sfgr; - Gatsis Nikos Web developer tel.: 2108256721 - 2108256722 fax: 2108256712 email: [EMAIL PROTECTED] http://www.qbit.gr

[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 &Ggr;&agr;&tgr;&sgr;&eeacgr;&sfgr; &Ngr;&iacgr;&kgr;&ogr;&sfgr; - Ga

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 > >

[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
k you anyway - Original Message - From: Steve Cayford To: Nikos Gatsis Cc: PHP-mailist Sent: Tuesday, December 31, 2002 1:07 AM Subject: Re: [PHP-DB] SHOW PICTURE FROM DATABASE Some suggestions... On Monday, December 30, 2002, at 03:55 PM, Nikos Gatsis

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-DB] SHOW PICTURE FROM DATABASE

2002-12-30 Thread Nikos Gatsis
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] to determine how much server space left on the web server?

2002-09-27 Thread nikos
exec command return only the last row of the result. Try backtrics (``) operators (not '' quots): e.g. $output = 'df -h'; echo "$output"; > > exec("df -h"); > > ?> > > On Tue, 17 Sep 2002, Bo wrote: > > > Any ideas of how to write a php script to determine the disk space left in > > my account

Re: [PHP-DB] Sessions and their function

2002-09-12 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 tag.. If you want to pass variables from a page to another, put them in the url: test.php?var=3&name=george (e.g.) Be sure that the page you refer is dynamic (.ph

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

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 "" > } > elseif ($checkbox=

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 Gri

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 Gri

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

2002-09-10 Thread nikos
D] http://www.qbit.gr - Original Message - From: "nikos" <[EMAIL PROTECTED]> To: "Chris Grigor" <[EMAIL PROTECTED]> Sent: Tuesday, September 10, 2002 2:46 PM Subject: Re: [PHP-DB] Conversion from access to mysql > You sh