[PHP] crypt salt question

2007-08-30 Thread Andras Kende
Hello, I'm trying to move some app from postgresql to mysql but unable to find out how to authenticate against the current crypted passwords with php.. insert to database: $cset = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789./; $salt = substr($cset, time() 63, 1) .

RE: [PHP] crypt salt question

2007-08-30 Thread Andras Kende
['p'], $salt) == $cryptpass) { echo Password verified!; } ? Thanks, Andras -Original Message- From: Satyam [mailto:[EMAIL PROTECTED] Sent: Thursday, August 30, 2007 3:00 PM To: Andras Kende; php-general@lists.php.net Subject: Re: [PHP] crypt salt question No chance. Unless you

[PHP] mysql_fetch_array to associative array

2007-07-16 Thread Andras Kende
Hello, I use the following GetArray for returning an array from mysql results. But having a hard time modifying it for returning a simple associative array Like: $conn-GetAssoc('SELECT id, name from manufacturers') Array ( [2] = BMW [1] = MAZDA [9] = FORD ) function

RE: [PHP] mysql_fetch_array to associative array

2007-07-16 Thread Andras Kende
-Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: Monday, July 16, 2007 7:52 AM To: Andras Kende Cc: php-general@lists.php.net Subject: Re: [PHP] mysql_fetch_array to associative array On Mon, 2007-07-16 at 07:41 -0700, Andras Kende wrote: Hello, I use

RE: [PHP] mysql_fetch_array to associative array

2007-07-16 Thread Andras Kende
-Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: Monday, July 16, 2007 1:46 PM To: Andras Kende Cc: php-general@lists.php.net Subject: RE: [PHP] mysql_fetch_array to associative array On Mon, 2007-07-16 at 13:37 -0700, Andras Kende wrote: Hi Rob, Thanks

RE: [PHP] mysql_fetch_array to associative array

2007-07-16 Thread Andras Kende
-Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: Monday, July 16, 2007 6:12 PM To: Andras Kende Cc: php-general@lists.php.net Subject: RE: [PHP] mysql_fetch_array to associative array On Mon, 2007-07-16 at 13:37 -0700, Andras Kende wrote

[PHP] serving video files with php

2006-06-15 Thread Andras Kende
Hello, Is there any drawback servings video files through php downloader script on high load site? Or just straight link to the videos are more efficient? Thank you, Andras Kende http://www.kende.com

RE: [PHP] Add Multiple Items, Qty to Cart from html form

2006-05-18 Thread Andras Kende
-Original Message- From: Wolf [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 17, 2006 9:47 PM To: Andras Kende Cc: php-general@lists.php.net Subject: Re: [PHP] Add Multiple Items, Qty to Cart from html form Andras, input type=hidden name=item[] value=applesApples input type=text name

[PHP] Add Multiple Items, Qty to Cart from html form

2006-05-17 Thread Andras Kende
Hello, I trying to add multiple items to a shopping cart with selectable quantity and price form text field like.. apple : qty: [__] price: [__] orange : qty: [__] price: [__] Add Items to Cart I could add multiple items with checkboxes but without selecting quantity and price.. if

Re: [PHP] php session in ie

2005-11-11 Thread Andras Kende
-php-sessions-mysql Best regards, Andras Kende http://www.kende.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] imagestring to picture

2005-08-22 Thread Andras Kende
, $textcolor); imagejpeg($destimg); Best regards, Andras Kende http://www.kende.com -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.13/78 - Release Date: 8/19/2005 -- PHP General Mailing List (http://www.php.net

[PHP] build sql query struture and values from form fields

2005-08-20 Thread Andras Kende
,; $sqldata.=$value.\','\; } $query=insert into db ($sqlstruct) VALUES ($sqldata); Best regards, Andras Kende http://www.kende.com -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.13/78

[PHP] Large forms to Mysql table...

2005-08-13 Thread Andras Kende
? Just don’t want to do Mysql table with 70 fields… Thanks, Andras Kende http://www.kende.com -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 0.0.338 / Virus Database: 267.10.8/71 - Release Date: 8/12/2005

RE: [PHP] 404 Not Found - refresh to directory

2005-07-14 Thread Andras Kende
.. echo (Location: agent_profile.php?agent=.$agent); ? Best regards, Andras Kende http://www.kende.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mysql regexp select questions

2005-04-07 Thread Andras Kende
... Thanks!! Andras Kende -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] fpassthru(); corrupts files on win 5.0.4 ??

2005-04-02 Thread Andras Kende
Hello, windows 2003 server iis6 with php 5.0.4 isapi... The following code was working perfectly on 5.0.3 since 5.0.4 upgrade dowloaded files gets corrupted.. Any hint where the problem could be? Thanks, Andras Kende http://www.kende.com/ ?php $file = $_REQUEST['file']; $company

Re: [PHP] GIF instead of JPG..

2005-03-22 Thread Andras Kende
, Andras Kende http://www.kende.com // ?php function resample($src, $srcdir, $destdir, $width = '', $height = '') { if( is_file( $destdir . $src ) ) { $src = $src; return; } $size = GetImageSize($srcdir . $src); if (!$size[0] || !$size[1]) return

RE: [PHP] Apache 2.0.52 / PHP 4.3.10 Integration Question...

2004-12-31 Thread Andras Kende
^list-(.*) list.php RewriteRule ^design-(.*) design.php http://www.juhaszdesign.com/list-barstools.html http://www.juhaszdesign.com/design-hastings-barstool.html Andras Kende http://www.kende.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] newbie web services

2004-11-28 Thread Andras Kende
?php: select * from users where id = $ID ? Please give any info for an easy implementation.. It will hosted on IIS6 PHP5. Thanks, Andras Kende [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP Session Variables Not Being Set For Certain Browsers

2003-12-27 Thread Andras Kende
in is done. Any help that could be supplied would be greatly appreciated. Thank you. Regards, Andy - Andy, Not sure, but maybe AOL users on proxy and their ip address can change. Andras Kende http://www.kende.com

[PHP] Insert into array...

2003-12-26 Thread Andras Kende
Order = 12590 Newitem = something I can do one at the time like: $orders[1]['Newitem'] = something; But not for the whole array Thanks, Andras Kende -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] beginner: cut text after

2003-08-28 Thread Andras Kende
Hello All, I have a very simple question: Want to remove the string after the first whitespace like: here is a text what i have to: here Thanks !! Andras Kende -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] beginner: remove the string after the first whitespace

2003-08-28 Thread Andras Kende
Hello All, I have a very simple question: Want to remove the string after the first whitespace like: here is a text what i have to: here Thanks !! Andras Kende -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Maximum execution time exceeded when using dial up

2003-03-06 Thread Andras Kende
with this?? Thanks, Andras Kende -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP 4.3 JPG Support. Whats needed?

2002-12-30 Thread Andras Kende
=shared' '--enable-xml' '--enable-ftp' '--disable-debug' '--with-libdir=/usr/lib' '--with-ldap' '--with-imap-ssl' '--with-pdflib=shared' Can you tell me what's required for JPG Support? ./configure ?? Thanks :) Andras Kende -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] php zip/store locator code.....

2002-05-03 Thread Andras Kende
Hello All, I looking for a zip / store locator based with php/mysql I find this 2 similar but no luck yet. http://px.sklar.com/author.html?author_id=296 http://www.sanisoft.com/ziploc/ Any where should I look around... Thank, Andras Kende -- PHP General Mailing List (http

[PHP] ZIP/STORE LOCATOR

2002-04-25 Thread Andras Kende
Hello All, I looking for a php ZIP/STORE LOCATOR for website.. Anyone knows where to look?? Thanks, Andras Kende -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Got an error reading communication packets

2002-04-15 Thread Andras Kende
] [notice] child pid 29360 exit signal Segmentation fault (11) Cobalt Raq4i Apache version 1.3.20 PHP 4.1.2 MySQL 3.23.37 Where is the problem ?? Is the apache, php or mysql settings are misconfigured?? Any idea what would be the best way to fix it?? Best regards, Andras Kende -- PHP General

[PHP] meta tags from mysql

2002-04-15 Thread Andras Kende
Hello All, I looking to to generate different meta tags from mysql for each page on a dynamic site which has about 400 pages from mysql database . Searched around but didnt find anything which will give me some hint whats the best way doing it Any help appreciated :) Thanks, Andras

[PHP] str_replace question

2002-04-15 Thread Andras Kende
($metakeywords)); $metakeywords=str_replace(5,'',strtolower($metakeywords)); $metakeywords=str_replace(6,'',strtolower($metakeywords)); .. Thanks :) Andras Kende -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PDF creation with PDF-LIB samples?

2002-02-28 Thread Andras Kende
some hint where to start? Thanks, Andras Kende -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Mysql Curdate problem

2002-01-01 Thread Andras Kende
advice hos to modify my query or the php code.. Thanks Andras Kende -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] substr trim functions..

2001-12-14 Thread Andras Kende
I trying to convert some full names to last names only like: -get the subtext from the end until the space joe blue - blue bill western - western Looked around at php.net docs but im not sure... Thanks Andras -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[PHP] string conversion

2001-09-20 Thread Andras Kende
Hi, I trying to cut the last 4 char of a string but sometimes its cut 3 sometime 4 char $pic1=$amyrow[picture]; $pic2 = substr($pic1, 0, -4); Actually I have some pictures where I need to cut off the extensions... amamm.jpg 33.jpg 321.gif to amamm 33 321 Is any other way than substr to

[PHP] insert space to a string (newbie)

2001-09-08 Thread Andras Kende
Hi, I have a simple question... How can a space inserted to a string after the 3rd char ?? washington - was hington Thanks :) Andras -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP] search engine friendly php + form

2001-08-24 Thread Andras Kende
Hello, I was successfully created search engine friendly php from a tutorial on zend site.. like: salescomps.php?city=Canadamonth=febyear=2000 to salescomps.php/cityCanada/month/feb/year/2001 Is there any way to modify a submit form to result a page with search engine friendly format without

[PHP] insert hyperlink to mysql query result

2001-08-22 Thread Andras Kende
Hello, I have a mysql query with addresses , trying to insert a link to a map line 51 echo /tdtdfont face=verdana size=1pa href=http://www.expedia.com/pub/agent.dll?qscr=mcststrt1=$amyrow[address;] city1=$amyrow[city]stnm1=CAzipc1=cnty1=4Map/p; echo /td; Error Message: Parse error: parse

[PHP] begginer how to make integer ?

2001-08-21 Thread Andras Kende
Hello, I have a query but it not creating integer result: $saleprice=$amyrow[saleprice]+$saleprice; $squarefeet=$amyrow[squarefeet]+$squarefeet; $dom=$amyrow[dom]+$dom; result: Total listings: 18 -- Average Price: $339166.6667 Average Square Foot: 1596.61 Average DOM:

[PHP] php authentication system

2001-08-10 Thread Andras Kende
Hello, I need to password protect some webpages right now its passwords everywhere Probably need some cookie based php authentication system where users login once Where can I find a simple but good script?? Thanks :) Andras -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Alternative to phpMyAdmin

2001-07-11 Thread Andras Kende
Steph, This one is cgi based and works well too.. http://www.gossamer-threads.com/scripts/mysqlman/index.htm Why phpMyAdmin doesn't work on the new server? maybe you need newer development versions? Andras - Original Message - From: Steph [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

[PHP] Question about /tmp/php* files

2001-07-08 Thread Andras Kende
Hello, I noticed there are a lot of php temp files (session files) under /tmp Whats the best way to dealing with this... Thanks Andras -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

[PHP] totals from a mysql query

2001-06-22 Thread Andras Kende
, Andras Kende -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] PHP Mysql query data conversion newbie

2001-05-09 Thread Andras Kende
Hello, I pull some data from mysql with the php code below. On the date field if there is no date on mysql it displays : -00-00 00:00:00 I would like to change this -00-00 00:00:00 to no date for example.. Or if the cel is empty to (because otherwise the tableborders are messed up)

[PHP] if else and or ?

2001-05-07 Thread Andras Kende
Hello, I started to do a php page with mysql connection.. My problem is: I do query from a mysql, I try to setup usernames + passwords to protect the database They would need to use specific user+password+cities to be able to connect. Bad passwd would just print an access denied messsage..

[PHP] passing variables + if case

2001-05-04 Thread Andras Kende
Hi All, I new to php trying to do a php page which gets a variables from an html form Somehow this if case not working 100% Is this is a correct format ??? Thanks :) Andrew if ( (($name==1) and ($passwd==1) and ($city==HOU)) or (($name==2) and ($passwd==2) and ($city==LAX)) or (($name==3)