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) .
['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
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
-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
-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
-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
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
-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
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
-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
, $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
,;
$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
?
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
..
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
...
Thanks!!
Andras Kende
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
,
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
^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: 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
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
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
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
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
with this??
Thanks,
Andras Kende
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
=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
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
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
] [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
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
($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
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
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]
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:
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
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
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
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
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:
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
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:
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
,
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]
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)
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..
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)
45 matches
Mail list logo