Re: [PHP] perl's Config::Ini File Module equivalent in PHP

2005-02-09 Thread Abdul-Wahid Paterson
Hi, http://uk2.php.net/function.parse-ini-file On Wed, 9 Feb 2005 14:57:33 +0530, Nikhil M [EMAIL PROTECTED] wrote: Hi All, I just wanted to know if there is an equivalent of Perl's Config::Ini = Module in PHP Thanks, Nikhil. -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Web shopping cart

2005-01-27 Thread Abdul-Wahid Paterson
I would agree with that. Is relatively easy to install and configure. Although the templating is not perfect...I have seen better ways of doing it. It works well though in doing what it is meant to do. regards, Abdul-Wahid On Thu, 27 Jan 2005 07:32:44 -0600, Afan Pasalic [EMAIL PROTECTED]

Re: [PHP] sorting associative array

2005-01-24 Thread Abdul-Wahid Paterson
Hi, How about this foreach ($data as $key = $row) { $scores[$key] = $row['scores']; } array_multisort($scores, SORT_ASC, $data); Abdul-Wahid On Mon, 24 Jan 2005 00:39:17 +1100, Jeffery Fernandez [EMAIL PROTECTED] wrote: I have the following multi-dimentional

Re: [PHP] how to redirect ?

2004-09-10 Thread Abdul-Wahid Paterson
What errors is it giving? It should work fine. However, remember that since it is part of the HTTP header information it has to come before any of the main output of the script. Do you have a code sample and the error message? Abdul-Wahid On Fri, 13 Aug 2004 16:03:29 -0700, CBharadwaj [EMAIL

Re: [PHP] Parsing HTML files

2004-09-10 Thread Abdul-Wahid Paterson
No easy way of doing it, regex somthing like: $id = preg_replace(/.*input.*name=\id\ value=\[0-9]+\ \//, $1, $string); where $string is a line from your input'd HTML page Abdul-Wahid On Fri, 10 Sep 2004 12:54:37 +0200, Nick Wilson [EMAIL PROTECTED] wrote: Hi all, I was wondering if any

[PHP] after postgres upgrade - ERROR: current transaction is aborted

2003-09-16 Thread Abdul-Wahid Paterson
was Postgres 7.1.3? Anyone have any suggestions on how I can fix this? Regards, -- Abdul-Wahid Paterson Lintrix Networking Comms. ltd. Web: http://www.lintrix.net/ Tel: +44 (0) 870 285 4703Mobile: +44 (0)7971 506177 Fax: 0870 133 0433 Email/Jabber: [EMAIL PROTECTED

[PHP] image button problem

2003-08-14 Thread Abdul-wahid Paterson
. (In Mozilla I get the result as expected). Is there are a better way of doing this? All I want is to know which button has been clicked on the form. (The form has to be method=POST) Regards, -- Abdul-Wahid Paterson Lintrix Networking Communications ltd. Web: http://www.lintrix.net/ Tel: +44 20

Re: [PHP] image button problem

2003-08-14 Thread Abdul-wahid Paterson
the whole page. It is therefore quite difficult for me to change it to something like a series of name=test1 and name=test2 for all the buttons as the form being POST'd to would have a hard job trying to work out which names were valid for the POSTing form. Regards, AW -- Abdul-Wahid Paterson

RE: [PHP] random letter/character?[Scanned]

2003-03-19 Thread Abdul-wahid Paterson
in advance! Bryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Abdul-Wahid Paterson Lintrix Networking Communications ltd. Web: http://www.lintrix.net/ Tel: +44 7801 070621 Email/Jabber: [EMAIL PROTECTED

RE: [PHP] random letter/character?[Scanned]

2003-03-19 Thread Abdul-wahid Paterson
:-( Peer review is the best way we can improve our programming. It is good to post code so that we can all get a better understanding of better techniques and tricks. Regards, AW -- Abdul-Wahid Paterson Lintrix Networking Communications ltd. Web: http://www.lintrix.net/ Tel: +44 7801 070621

Re: [PHP] register_globals per virtual host

2003-03-19 Thread Abdul-wahid Paterson
and allow users to change others you can force them with php_admin_value. -- Abdul-Wahid Paterson Lintrix Networking Communications ltd. Web: http://www.lintrix.net/ Tel: +44 7801 070621 Email/Jabber: [EMAIL PROTECTED] Web

Re: [PHP] Hmmm, and how to do THAT ? ;)

2003-03-19 Thread Abdul-wahid Paterson
. The cookie would have to be some sort of random identifier that you also stored on the web server somewhere so that you could validate the cookie was authentic. Regards, AW -- Abdul-Wahid Paterson Lintrix Networking Communications ltd. Web: http://www.lintrix.net/ Tel: +44 7801 070621 Email

Re: [PHP] Re: Encrypt data to base for authentication...

2003-03-18 Thread Abdul-wahid Paterson
both injected with a bit of salt. Different implementations use different amounts of salt etc. Anyway, the function you are looking for is probably crypt: http://uk.php.net/manual/en/function.crypt.php Regards, Abdul-Wahid -- Abdul-Wahid Paterson Lintrix Networking Communications ltd

Re: [PHP] How to define a path of download file in header?

2003-03-18 Thread Abdul-wahid Paterson
it straight through to the browser. Regards, AW -- Abdul-Wahid Paterson Lintrix Networking Communications ltd. Web: http://www.lintrix.net/ Tel: +44 7801 070621 Email/Jabber: [EMAIL PROTECTED] Web-Hosting | Development