I figured out finally:)
Actually the random salt is always the first 2 character of the encryoted
password,
so this works fine now :
Thanks,
Andras
-Original Message-
From: Satyam [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 30, 2007 3:00 PM
To: Andras Kende; php-general
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)
-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
-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:
>
>
-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,
>
>
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 GetAr
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,
Apples
Will get you where you need to go on the HTML side of things
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: [__]
I could add multiple items with checkboxes but without selecting quantity
and price..
if (isset($_POST['item
used this article for sessions with success
http://www.sitepoint.com/article/users-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
text", $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.ph
ct.=$variable",";
$sqldata.=$value."\"','\"";
}
$query="insert into db ($sqlstruct) VALUES ($sqldata)";
Best regards,
Andras Kende
http://www.kende.com
--
No virus found in this outgoing messag
?
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
w.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.htaccess:
RewriteEngine on
RewriteRule ^([\w-]+)$ index.php/$1
index.php:
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 General Mailing List (http://www.php.net
nti-Virus.
> Version: 7.0.308 / Virus Database: 266.8.0 - Release Date: 3/21/2005
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Hello Ryan,
Im using the code below and works fine ...
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
^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
o 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
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 General Mailing List (http://www.php.net/)
To unsubsc
=> someting
2 => Array (11)
Name => MARY
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
this??
Thanks,
Andras Kende
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
m' '--with-ttf' '--enable-mbstring'
'--enable-mbstr-enc-trans' '--enable-track-vars' '--enable-wddx=shared'
'--enable-mm=shared' '--enable-xml' '--enable-ftp' '--disable-debug'
'--with-libdir=/usr
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
$metakeywords));
$metakeywords=str_replace("4",'',strtolower($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
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
[Sun Apr 14 22:23:32 2002] [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
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
I looking for some 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-ma
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
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 cont
Hello,
I was successfully created search engine friendly php from a tutorial on
zend site.. like:
salescomps.php?city=Canada&month=feb&year=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 withou
Hello,
I have a mysql query with addresses , trying to insert a link to a map
line 51
echo "http://www.expedia.com/pub/agent.dll?qscr=mcst&strt1=$amyrow["address";]
&city1=$amyrow["city"]&stnm1=CA&zipc1=&cnty1=4>Map";
echo "";
Error Message:
Parse error: parse error, expecting `T_STRING' or `T
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]>
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 the
|tofd|150|
total should be : 100+250+150
Query:
{$aresult=mysql_query("select * from testdb ,$db);}
while($amyrow = mysql_fetch_array($aresult))
{
echo "";
{echo $amyrow["text1"];}
echo "";
{echo $amyrow["text2"];}
echo "";
}
echo ""
Can I set this to check any of the cells ??
if ($amyrow["any cell"] == "-00-00 00:00:00") {
echo "no date";
- Original Message -
From: "Jon Haworth" <[EMAIL PROTECTED]>
To: "'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
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..
ht
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
(
46 matches
Mail list logo