Re: [PHP] PHP CLI setting cooked terminal mode

2013-09-11 Thread Alain Williams
On Wed, Sep 11, 2013 at 05:45:45PM +0100, Stuart Dallas wrote: > On 11 Sep 2013, at 17:37, Alain Williams wrote: > Make sure output buffering is off by putting this at the top of your script: > > while(ob_end_clean()); Sorry, that does not fix the problem - but thanks for trying

[PHP] PHP CLI setting cooked terminal mode

2013-09-11 Thread Alain Williams
it really is PHP that is messing the tty modes): ./myScript > /dev/null | (sleep 10;less) However: PHP should not set the terminal to cooked mode in the first place Is there any way in which I can get PHP to not do this ? TIA I am running PHP 5.3.3 on CentOS 6. -- Alain Williams Linu

Re: [PHP] Trying to understand what I've broken to not allow mkdir() to work.

2013-05-16 Thread Alain Williams
> > Nothing LOOKS any different between the two repos, but I don't know how to > tell beyond comparing ls outputs. > > Any help would be good. Have you got SELinux switched on ? Try: ls -lZ getenforce -- Alain Williams Linux/GNU Consultant - Mail systems, Web sites, N

Re: [PHP] SPL Recursive Iterator Examples

2013-03-19 Thread Alain Williams
as examples, then it would be good if there were plentiful comments that said what they were supposed to do, why, how ... Regards -- Alain Williams Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 http://www.phcomp.co.uk/ Parliame

Re: [PHP] Customized Session Handler can not work for PHP 5.1.6 and CentOS 5.5

2012-04-15 Thread Alain Williams
path = "/tmp" > session.name = PHPSESSID Try changing the path to /var/lib/php/session Are you being caught by selinux - try setenforce off and see if that makes it work. -- Alain Williams Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer

Re: [PHP] CMS identification

2012-03-18 Thread Alain Roger
ok so here it is: http://i220.photobucket.com/albums/dd277/alainroger/cms-login.png On Sun, Mar 18, 2012 at 11:25 PM, Stuart Dallas wrote: > On 18 Mar 2012, at 22:20, Alain Roger wrote: > > > i have a customer who need to update his website but he was not able to > tell m

[PHP] CMS identification

2012-03-18 Thread Alain Roger
ched to my post this screenshot -- Alain --- Windows 7 x64 / Fedora 14 x64 PostgreSQL 8.3.5 / MySQL 5 Apache 2.2.16 PHP 5.3.1 C# 2005-2008 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Long Live GOTO

2012-02-06 Thread Alain Williams
On Mon, Feb 06, 2012 at 09:28:10AM -0700, Larry Martell wrote: > On Mon, Feb 6, 2012 at 9:23 AM, Alain Williams wrote: > > If I survey my code I find that I use one GOTO in about 4,000 lines of code > > - > > that I do not find excessive. > > > > There are, howe

Re: [PHP] Re: Long Live GOTO

2012-02-06 Thread Alain Williams
s communion with the devil. IMHO: not so - if used sparingly. -- Alain Williams Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 http://www.phcomp.co.uk/ Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.

Re: [PHP] Way to output HTML on professional websites

2011-12-27 Thread Alain Williams
ng a byte to screen, you've introduced too much complexity. > I just finished up five weeks at a company where they were calling > probably upwards of 100 files before printing anything on screen. Have a look at smarty: http://www.smarty.net/ I like it a lot ... helps with complicate

Re: [PHP] PHP script won't run in the background

2011-11-30 Thread Alain Williams
On Wed, Nov 30, 2011 at 01:01:48PM +0100, richard gray wrote: > >You need a bit more info, get a backtrace with 'where'. > Thanks for the response Alain - below is the output:- Ah, much more useful . > [rich@LeMans] (/Web/scripts)> gdb --pid=3294 > GNU gdb 6.3.50

Re: [PHP] PHP script won't run in the background

2011-11-30 Thread Alain Williams
e machine -- I cannot compile my own build of PHP > because of this problem -> https://bugs.php.net/bug.php?id=60268 -- so I > am completely stuck :( The point is that you need to completely disassociate the process from the tty. Install the daemonize program, then use it to run your PHP

Re: [PHP] PHP script won't run in the background

2011-11-23 Thread Alain Williams
cally used to set it into single character at a time mode (remove stty's icanon). It could have decided that since it is a tty then that should be set. You need a bit more info, get a backtrace with 'where'. -- Alain Williams Linux/GNU Consultant - Mail systems, Web sites, Networkin

Re: [PHP] Impossibility of reading php.ini

2011-11-20 Thread Alain Chautar
A look at the Apache log would have avoid opening this thread. - a syntax error in php.ini : an uncommented comment line !! - an older version of the ZendDebugger Now everything is fine. It's work !! Le 19/11/2011 20:55, Alain Chautar a écrit : Yes I change the right one : /etc/php5/ap

Re: [PHP] Impossibility of reading php.ini

2011-11-19 Thread Alain Chautar
Yes I change the right one : /etc/php5/apache2/php.ini .It fit with "Loaded Configuration File" in phpinfo(). This the reason I get confused. Le 19/11/2011 20:26, Matijn Woudt a écrit : On Sat, Nov 19, 2011 at 7:23 PM, Alain Chautar wrote: Hello I am a newbie of this list. So if

Re: [PHP] Parsing the From field

2011-11-19 Thread Alain Williams
mpanies/... do it in different ways. If you really want to have fun look at the different 'norms' from different countries. -- Alain Williams Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 http://www.phcomp.co.uk/ Parliament H

Re: [PHP] Up to date book on PHP security?

2011-11-11 Thread Alain Williams
date? It is a good book -- easy to read, 1/2 day, and gives you a big picture. -- Alain Williams Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 http://www.phcomp.co.uk/ Parliament Hill Computers Ltd. Registration Information: http

Re: [PHP] Placing the masterpassword

2011-11-01 Thread Alain Williams
t in the code ... you then end up with the password stored in several places & then difficult to change. -- Alain Williams Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 http://www.phcomp.co.uk/ Parliament Hill Computers Ltd. Regist

[PHP] Re: Extending an instantiated class

2011-10-15 Thread Alain Williams
On Sat, Oct 15, 2011 at 03:01:44PM +0100, Alain Williams wrote: > Well, that is what I think that I need. Please let me explain what I am > trying to do > and tell me how to do it or a better way of doing it. > .. I have solved it. The problem is basically one of ensuring that pr

[PHP] Extending an instantiated class

2011-10-15 Thread Alain Williams
Form -- but that makes things slower. Any help gratefully received. I think that to do what I want PHP would need a syntax like: $f2 = new $s Form(); or $f2 = $s->new Form(); -- Alain Williams Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (

Re: [PHP] Running PHP5 in a PHP4 environment

2011-05-13 Thread Alain Williams
gt; can squeeze some identifiable error code out of PHP 4 to indicate it's > hit PHP 5 code it doesn't understand? Would your time not be better spent getting the system upgraded to PHP5 ? PHP 4 was depricated some time ago. -- Alain Williams Linux/GNU Consultant - Mail systems, Web s

Re: [PHP] improve speed of PHP answers

2011-02-09 Thread Alain Roger
. On Wed, Feb 9, 2011 at 6:47 PM, Alexis Antonakis wrote: > But what is the webpage trying to do? > Is it straight html? Are you accessing data from a database? What exactly? > > > On 09/02/11 10:45, Alain Roger wrote: > >> yes i understand however even Linux has bugs a

Fwd: [PHP] improve speed of PHP answers

2011-02-09 Thread Alain Roger
-- Forwarded message -- From: Alain Roger Date: Wed, Feb 9, 2011 at 6:45 PM Subject: Re: [PHP] improve speed of PHP answers To: ad...@antonakis.co.uk yes i understand however even Linux has bugs and issues... i'm currently installing Fedora 14 as web server and joomla ha

[PHP] improve speed of PHP answers

2011-02-09 Thread Alain Roger
Hi, i have apache/PHP server installed on Windows 7. my computer is a quad-core CPU with 6 GB RAM and i would like to speed up PHP answer to requests. how can i do that ? which parameter should i tune ? thx. -- Alain --- Windows 7 x64

[PHP] CSV file

2009-06-24 Thread Alain Roger
. -- Alain --- Windows XP x64 SP2 / Fedora 10 KDE 4.2 PostgreSQL 8.3.5 / MS SQL server 2005 Apache 2.2.10 PHP 5.2.6 C# 2005-2008

[PHP] best solution to ecommerce web pages

2009-06-07 Thread Alain Roger
Hi, i'm currently investigating what would be the best solution to develop an e-commerce web site. should i use some PHP template engine like smarty or CMS like Joomla, Drupal ? thanks a lot, -- Alain --- Windows XP x64 SP2 / Fedo

[PHP] retrieve result of a query

2008-12-28 Thread Alain Roger
read those records/quesry result and display them. how can javascript read those result ? i do not want php file to create a temporary file on server, i would like to read those data on fly. so how can i do that ? i mean how or what should i do from php side ? thx. -- Alain

[PHP] table mixing PHP, javascript, ajax and CSS

2008-12-28 Thread Alain Roger
table_class.php helping_classes.php ... /js_and_ajax function.js the user will have only to run a js function which will include the frame.php file into his own webpage with the template given as parameter. thx for any suggestion. -- Alain --

[PHP] filter function vs regular expression

2008-12-20 Thread Alain Roger
Hi, i'm reading a book about PHP and i was wondering why regular expressions are so often used to check format of variables or emails while the function filter exists since version 5.2. What are the plus of regular expression while checking variable format ? thx. --

Re: [PHP] PHP attaching css and JS files to current page

2008-11-30 Thread Alain Roger
you're right if you want to write them directly in the index.php. but in my case i want the class to do it by itself. On Sun, Nov 30, 2008 at 3:49 PM, Ashley Sheridan <[EMAIL PROTECTED]>wrote: > On Sun, 2008-11-30 at 15:08 +0100, Alain Roger wrote: > > > > > > &g

Re: [PHP] PHP attaching css and JS files to current page

2008-11-30 Thread Alain Roger
> > > > > Can you not just write all of the CSS/Javascript that you need > > right > > from the get-go in the same place you're writing out your > > Javascript > > now? > > > > > I'm not sure I follow you then. You say you want your class to be able > to incl

Re: [PHP] PHP attaching css and JS files to current page

2008-11-30 Thread Alain Roger
TED]>wrote: > On Sun, 2008-11-30 at 14:23 +0100, Alain Roger wrote: > > Hi, > > > > is there a way how a PHP class can attach JS (javascript) and CSS > documents > > to current web page in which the class is instanced ? > > till now i used an "echo&q

[PHP] PHP attaching css and JS files to current page

2008-11-30 Thread Alain Roger
he C\other CSS or JS file. it's not so clean and maybe a better possibility exists. Thanks to let me know. -- Alain --- Windows XP x64 SP2 PostgreSQL 8.3.5 / MS SQL server 2005 Apache 2.2.10 PHP 5.2.6 C# 2005-2008

Re: [PHP] issue with php.ini

2008-11-23 Thread Alain Roger
Alain Roger wrote: > >> it seems that it's a known problem. can someone comment it ? >> http://www.wampserver.com/phorum/read.php?2,40270,40311 >> >> > "you have to install PostgreSQL since enable extension only is not enough" > > makes sence! &g

Fwd: [PHP] issue with php.ini

2008-11-23 Thread Alain Roger
:\\webserver\\PHP\\ext\\php_pdo_pgsql.dll' - The specified module could > not be found.\r\n in Unknown on line 0 > PHP Warning: PHP Startup: Unable to load dynamic library > 'D:\\webserver\\PHP\\ext\\php_pgsql.dll' - The specified module could not be > found.\r\n in Unknown on line 0 > > any idea ? > > it seems that it's a known problem. can someone comment it ? http://www.wampserver.com/phorum/read.php?2,40270,40311 so i've downloaded PHP 5.2.5 winzip package and replace 5.2.6 files by 5.2.5 for the following files: php_pdo_pgsql.dll php_pgsql.dll and it works perfectly. so this is clear that something is wronf with those 2 files in the 5.2.6 version. Alain

Re: [PHP] issue with php.ini

2008-11-23 Thread Alain Roger
On Sun, Nov 23, 2008 at 7:27 PM, Alain Roger <[EMAIL PROTECTED]> wrote: > > > On Sun, Nov 23, 2008 at 6:57 PM, Nathan Rixham <[EMAIL PROTECTED]> wrote: > >> i've reinstalled PHP 5.2.6 on my windows XP x64 and as usual i >>>>>>>

Re: [PHP] issue with php.ini

2008-11-23 Thread Alain Roger
On Sun, Nov 23, 2008 at 6:57 PM, Nathan Rixham <[EMAIL PROTECTED]> wrote: > i've reinstalled PHP 5.2.6 on my windows XP x64 and as usual i >>> extension=php_mysql.dll >>> extension=php_pdo.dll >>> extension=php_pdo_mysql.dll >>> extension=php_pdo_pgsql.dll >>> extension=php_pdo

Re: [PHP] issue with php.ini

2008-11-23 Thread Alain Roger
Well if you check my 2nd email you will see my signature :-) but it does not matter... i did several little changes but i'm scared that only modules link to php.exe at the "make" command status have been loaded. :-( my changes where about modules loading, extension folder, and so o

Re: [PHP] issue with php.ini

2008-11-23 Thread Alain Roger
On Sun, Nov 23, 2008 at 6:41 PM, Ashley Sheridan <[EMAIL PROTECTED]>wrote: > On Sun, 2008-11-23 at 18:32 +0100, Alain Roger wrote: > > Yes, i do it in that way but nothing changed > > > > On Sun, Nov 23, 2008 at 6:34 PM, Ashley Sheridan > > <[EMAIL PROTECTED]

Re: [PHP] issue with php.ini

2008-11-23 Thread Alain Roger
Yes, i do it in that way but nothing changed On Sun, Nov 23, 2008 at 6:34 PM, Ashley Sheridan <[EMAIL PROTECTED]>wrote: > On Sun, 2008-11-23 at 17:33 +0100, Alain Roger wrote: > > Hi, > > > > i've reinstalled PHP 5.2.6 on my windows XP x64 and as usual i unc

[PHP] issue with php.ini

2008-11-23 Thread Alain Roger
the D:\webserver\php folder. so where could be the problem ? thx. -- Alain Windows XP x64 SP2 PostgreSQL 8.3.5 / MS SQL server 2005 Apache 2.2.10 PHP 5.2.6 C# 2005-2008

Re: [PHP] store class zithin session

2008-11-21 Thread Alain Roger
Hi Stut, On Thu, Nov 20, 2008 at 12:25 PM, Stut <[EMAIL PROTECTED]> wrote: > On 20 Nov 2008, at 11:01, Alain Roger wrote: > >> i have a class and i would like to store it zithin session. >> i was thinking to use serialize/unserialize but it does not work. >

[PHP] store class zithin session

2008-11-20 Thread Alain Roger
Hi, i have a class and i would like to store it zithin session. i was thinking to use serialize/unserialize but it does not work. any idea how to do it ? thx. F.

[PHP] mysql_fetch_object and modulo %

2008-11-19 Thread Alain Roger
Hi, how can i do to test if the row number (record number) sent by mysql_fetch_object is odd or even ? i mean that: while ($row = mysql_fetch_object($result)) { if($row%2 == 1) { ... } } the $row doesn't return a value... like 1, 2 or 6 for example... thx. F

[PHP] $_POST in header

2008-11-18 Thread Alain Roger
Hi, i have a PHP page with a form. when user click on submit button, it sends form data to itself (so it sends data $_POST to itself). i would like to access to header itself to reset those $_POST data to avoid (in case of F5 under windows system) to resend the same data serveral time. therefore h

[PHP] while question

2008-11-17 Thread Alain Roger
while($i <= $count) { ... do something ... $i++; } has someone already use such syntax ? i mean as the first one. thx. -- Alain Windows XP SP3 PostgreSQL 8.2.4 / MS SQL server 2005 Apache 2.2.4 PHP 5.2.4 C# 2005-2008

[PHP] Inheritance of class methods

2008-10-23 Thread Alain Roger
Hi, i have the following classes: class A { public function EchoMe($txt) { echo $txt; } } class B extends A { ... } in theory i can write something like that: $b = new B(); $b->EchoMe("test"); and i should get echo "test" on screen. am

Re: [PHP] class constructor overloading

2008-10-23 Thread Alain Roger
thanks a lot, this is exactly what i needed. if the construct of based class A accept arguments, i guess that construct of class B must have the sames. moreover, i guess that something like that must be written: class A { function __construct($nameA) { ... } } class B extends A { funct

[PHP] class constructor overloading

2008-10-23 Thread Alain Roger
Hi, is it possible to overload the class construct(or) ? if yes, how ? thx. -- Alain Windows XP SP3 PostgreSQL 8.2.4 / MS SQL server 2005 Apache 2.2.4 PHP 5.2.4 C# 2005-2008

Re: [PHP] DLL

2008-10-22 Thread Alain Roger
thx a lot for the links. i'm gonna check them but it seems promising. On Wed, Oct 22, 2008 at 8:26 PM, Stut <[EMAIL PROTECTED]> wrote: > On 22 Oct 2008, at 19:21, Alain Roger wrote: > >> i would like to know if it exists a way to create component (maybe using >> py

[PHP] DLL

2008-10-22 Thread Alain Roger
loaded by PHP script, not by server. thx. -- Alain Windows XP SP3 PostgreSQL 8.2.4 / MS SQL server 2005 Apache 2.2.4 PHP 5.2.4 C# 2005-2008

[PHP] Re: class and inheritance

2008-10-21 Thread Alain Roger
basically i did this but Zend studio for eclipse does not show me the data or methods members after one -> :-( On Tue, Oct 21, 2008 at 9:11 PM, Maciek Sokolewicz <[EMAIL PROTECTED]>wrote: > Alain Roger wrote: > >> Hi, >> >> I'm trying to create a class that

[PHP] class and inheritance

2008-10-21 Thread Alain Roger
__construct() > { > $this->mTableHeader = new CARMainHeader(); > } > > // rendering of table > public function Render() > { > echo ""; > echo ""; > echo "".$this->mTableHeader-&g

[PHP] table and class

2008-10-21 Thread Alain Roger
ot;classes" and PHP classes ? thx. -- Alain Windows XP SP3 PostgreSQL 8.2.4 / MS SQL server 2005 Apache 2.2.4 PHP 5.2.4 C# 2005-2008

[PHP] paging at which level

2008-10-18 Thread Alain Roger
you use to do ? thx. -- Alain Windows XP SP3 PostgreSQL 8.2.4 / MS SQL server 2005 Apache 2.2.4 PHP 5.2.4 C# 2005-2008

[PHP] pdo and dabase schema

2008-10-14 Thread Alain Roger
into my sql statement but in this case PDO returns me 0 record. thanks a lot, -- Alain Windows XP SP3 PostgreSQL 8.2.4 / MS SQL server 2005 Apache 2.2.4 PHP 5.2.4 C# 2005-2008

[PHP] PDO

2008-10-14 Thread Alain Roger
e like that : > $sql = 'select * from get_languages_list("*");'; it does not work...in fact it returns me 0 as count of record, whereas under postgreSQL pgAdmin interface the same syntax of SQL request returns me the same result as the previous SQL " selct * from..."

Re: [PHP] template usage

2008-10-12 Thread Alain Roger
y let's say for data/information presentation to end user...what is the best lib (pear, smarty) ? On Sun, Oct 12, 2008 at 11:32 AM, Ashley Sheridan <[EMAIL PROTECTED]>wrote: > On Sun, 2008-10-12 at 11:09 +0200, Alain Roger wrote: > > Hi, > > > > i would like to

[PHP] template usage

2008-10-12 Thread Alain Roger
Hi, i would like to know if you are a lot to use PHP templates for your web application or web sites ? if yes, which one do you use (smarty, pear, yapter, phplib,...) ? and for which reason ? what is/are the advantages over the others ? thanks a lot, -- Alain

[PHP] security and database

2008-10-11 Thread Alain Roger
login and password (stored into session)... but does it make really sense ? thx. -- Alain Windows XP SP3 PostgreSQL 8.2.4 / MS SQL server 2005 Apache 2.2.4 PHP 5.2.4 C# 2005-2008

Re: [PHP] AJAX and PHP

2008-10-06 Thread Alain Roger
use mix > > of pre-made ui elements & classes, css and AS3 to quickly make great > RIA's. > > Yup, but you have to have flash enabled. But some of us don't except for > specific sites due to ads being swfs as well. > > Wolf > -- Alain -

Re: [PHP] AJAX and PHP

2008-10-06 Thread Alain Roger
> > Alain: >> >> The only difference the user experiences between having AJAX, or not, is >> refreshing the page. If page refresh is not a problem, then don't complicate >> your life. On the other hand, if page refresh is annoying, or not wanted, >> then A

Re: [PHP] AJAX and PHP

2008-10-04 Thread Alain Roger
at 7:12 PM, Per Jessen <[EMAIL PROTECTED]> wrote: > Alain Roger wrote: > > > Thanks tedd. > > basically page refreshin is not a problem for me as it in intranet > > application. > > however, AJAX offers some really nice thing and 1 from my point of > >

Re: [PHP] AJAX and PHP

2008-10-04 Thread Alain Roger
n Sat, Oct 4, 2008 at 3:52 PM, tedd <[EMAIL PROTECTED]> wrote: > At 12:10 PM +0200 10/4/08, Alain Roger wrote: > >> HI, >> >> i'm currently working on some web application and i would like to know >> what >> is the best way to do what i want. >>

Re: [PHP] AJAX and PHP

2008-10-04 Thread Alain Roger
p it with ajax ;) > > > > HTH, > > Nitsan > > > > On Sat, Oct 4, 2008 at 12:10 PM, Alain Roger <[EMAIL PROTECTED]> wrote: > > > > > HI, > > > > > > i'm currently working on some web application and i would like to know > wh

[PHP] AJAX and PHP

2008-10-04 Thread Alain Roger
hing ? thx. -- Alain Windows XP SP3 PostgreSQL 8.2.4 / MS SQL server 2005 Apache 2.2.4 PHP 5.2.4 C# 2005-2008

[PHP] table with paging and sorting

2008-10-01 Thread Alain Roger
sorry here is the link http://i220.photobucket.com/albums/dd277/alainroger/development/example-table.gif -- Forwarded message -- From: Alain Roger <[EMAIL PROTECTED]> Date: Wed, Oct 1, 2008 at 7:34 PM Subject: table with paging and sorting To: PHP General List Hi, i u

[PHP] table with paging and sorting

2008-10-01 Thread Alain Roger
"; target="_blank">http://i220.photobucket.com/albums/dd277/alainroger/development/example-table.gif"; border="0" alt="web table with pagination and sorting"> ? thx. -- Alain Windows XP SP3 PostgreSQL 8.2.4 / MS SQL server 2005 Apache 2.2.4 PHP 5.2.4 C# 2005-2008

Re: [PHP] store array into session variable and get it back later

2008-10-01 Thread Alain Roger
> > >> later on i try to use the content of this array, bt without success. >>> Here is what i do: >>> >>> $bci = array($_SESSION['bc']); >>> array_push($bci,$_SESSION['bc']); foreach($bci as $key=>$value) { echo "bci : ".$bci[$key]['name']; echo ""; } >>>

Re: [PHP] store array into session variable and get it back later

2008-10-01 Thread Alain Roger
On Wed, Oct 1, 2008 at 2:43 PM, Frank Arensmeier <[EMAIL PROTECTED]> wrote: > 1 okt 2008 kl. 12.31 skrev Alain Roger: > > ... > >> >>> > later on i try to use the content of this array, bt without success. >> Here is what i do: >> >>

[PHP] store array into session variable and get it back later

2008-10-01 Thread Alain Roger
later on i try to use the content of this array, bt without success. Here is what i do: $bci = array($_SESSION['bc']); > array_push($bci,$_SESSION['bc']); > > foreach($bci as $key=>$value) > { > echo "bci : ".$bci[$key]['name']; > echo ""; > } > how can i get the 'name' value for each row in this session stored array ? thx. -- Alain Windows XP SP3 PostgreSQL 8.2.4 / MS SQL server 2005 Apache 2.2.4 PHP 5.2.4 C# 2005-2008

Re: [PHP] navigation / location bar

2008-09-30 Thread Alain Roger
Interesting but how to make this hierarchy ? this i do not know in PHP :-( where can i find code examples ? On Tue, Sep 30, 2008 at 5:27 PM, Stut <[EMAIL PROTECTED]> wrote: > On 30 Sep 2008, at 16:04, Alain Roger wrote: > >> a lot of web sites propose a locationbar (somethin

[PHP] navigation / location bar

2008-09-30 Thread Alain Roger
he name, for example : Software. so: 1. what is the best method to use to create such "location bar" ? (array stored in session variable ?) 2. how to populate this bar ? (each time that user visit a page, the array is updated. if yes, how ?) -- Alain Win

Re: [PHP] error warning while connecting to posgreSQL

2008-09-28 Thread Alain Roger
i only set it via php code like error_reporting(0); On Sun, Sep 28, 2008 at 11:11 AM, Ashley Sheridan <[EMAIL PROTECTED]>wrote: > On Sun, 2008-09-28 at 11:00 +0200, Alain Roger wrote: > > Hi, > > > > i try to understand the error_reporting statement and to avoid

[PHP] error warning while connecting to posgreSQL

2008-09-28 Thread Alain Roger
n't connect" ? in fact to have the same behavior as error_reporting set to 0. thx. -- Alain Windows XP SP3 PostgreSQL 8.2.4 / MS SQL server 2005 Apache 2.2.4 PHP 5.2.4 C# 2005-2008

[PHP] event feeder

2008-09-27 Thread Alain Roger
using PHP ? should i firstly query DB for each language, store the result into a txt file (for example) and after using AJAX or PHP read this file ? what do you use usally ? thx. -- Alain Windows XP SP3 PostgreSQL 8.2.4 / MS SQL server 2005 Apache 2.2.4 PHP

Re: [PHP] localization folder for web site

2008-09-14 Thread Alain R.
Jochem Maas wrote: Alain R. schreef: Hi, mostly (90%) websites are designed to include localization (made in php) folder like following: www.mywebsite.com/en/ www.mywebsite.com/de/ www.mywebsite.com/fr/ why do they not use only 1 folder and use dynamically PHP to change localization of

Re: [PHP] localization folder for web site

2008-09-13 Thread Alain R.
Maciek Sokolewicz wrote: 2. google "apache mod_rewrite", that way you can rewrite urls of the form www.example.org/de/whatever to www.example.org/whatever?lang=de or even stick the de part into an environment variable $_ENV['lang'] = 'de' - Tul the mod_rewrite is possible only if i own/ma

Re: [PHP] localization folder for web site

2008-09-13 Thread Alain R.
how can i do the same ? Jochem Maas wrote: Alain R. schreef: Hi, mostly (90%) websites are designed to include localization (made in php) folder like following: www.mywebsite.com/en/ www.mywebsite.com/de/ www.mywebsite.com/fr/ why do they not use only 1 folder and use dynamically PHP to

Re: [PHP] localization folder for web site

2008-09-13 Thread Alain R.
so how can i do the same ? i mean to have 1 single PHP page and to localize, but to have the URI with /en, or /fr or /de ? i know how to localize the complete website i already done it, but what you told ? > One would hope that unless it's a pretty small static site those "folders" actually

[PHP] localization folder for web site

2008-09-13 Thread Alain R.
Hi, mostly (90%) websites are designed to include localization (made in php) folder like following: www.mywebsite.com/en/ www.mywebsite.com/de/ www.mywebsite.com/fr/ why do they not use only 1 folder and use dynamically PHP to change localization of website ? has this something to do with se

Re: [PHP] multiple question form creation

2008-08-26 Thread Alain R.
r for this question" ? i really would appreciate some help as it is not so hard to do it but to do it nice and well (userfriendly in fact) it is a little more complex. thanks a lot for your help. Alain, I would make everything on a single page. A text input for the Question Title A dropdo

[PHP] multiple question form creation

2008-08-26 Thread Alain R.
Hi, i have a web application in which some people should be able to create form adding questions and possible answers. basically user should: 1. type the question (which will be displayed to customer) 2. select type of answers (closed, open, list, multiple answer, and so on...) 3. add possibl

[PHP] import XLS sheet into DB

2008-08-15 Thread Alain R.
Hi, I would like to import content of an XLS sheet into a PostgreSQL DB (table). How can i do that ? thanks a lot, A. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: News reader

2008-08-10 Thread Alain R.
it seems that news.php.net server is checking if address is real or a fake... at least it is checking if user's address is registered into their mailing list or if there are some keywords from filter like: fake, noemail, nospam,... now it works :-) Alain R. wrote: if i use a real

Re: [PHP] Re: News reader

2008-08-10 Thread Alain R.
if i use a real email address and SMTP from my real server, it works. but not with email address [EMAIL PROTECTED] :-( Alain Roger wrote: yes on port 119. i do not want to use my professional email address (or SMTP settings) to send message on newsgroups. for MS, Borland, eclipse and other

Re: [PHP] Re: News reader

2008-08-10 Thread Alain Roger
g with the Thunderbird forum for this problem. > It's not a php problem. > > > Alain Roger wrote: > >> this is what i've done even at home but sending message fails everytime. >> even if my SMTP server is well configured :-( >> >> On Sun, Aug 10, 2008 a

Re: [PHP] Re: News reader

2008-08-10 Thread Alain Roger
this is what i've done even at home but sending message fails everytime. even if my SMTP server is well configured :-( On Sun, Aug 10, 2008 at 8:33 PM, Al <[EMAIL PROTECTED]> wrote: > > > Alain Roger wrote: > >> Hi, >> >> i tried to configure Thunderbir

[PHP] News reader

2008-08-10 Thread Alain Roger
il anymore. thanks a lot -- Alain Windows XP SP2 PostgreSQL 8.2.4 / MS SQL server 2005 Apache 2.2.4 PHP 5.2.4 C# 2005-2008

[PHP] php.ini and pgsql extension issue

2008-08-03 Thread Alain Roger
ers of PHP take an eye on it. -- Alain Windows XP SP2 PostgreSQL 8.2.4 / MS SQL server 2005 Apache 2.2.4 PHP 5.2.4 C# 2005-2008

Re: [PHP] PHP page completly blank

2008-08-03 Thread Alain Roger
ne, you get an error that the file libpq.dll is not available (whereas it is)... plus some other librairies (dll) files. On 8/3/08, Daniel Brown <[EMAIL PROTECTED]> wrote: > > On Sun, Aug 3, 2008 at 3:54 AM, Alain Roger <[EMAIL PROTECTED]> wrote: > > > > when un

[PHP] dynamic extension

2008-08-03 Thread Alain Roger
Hi, i do not see anymore the dynamic extension part in php.ini file, under PHP 5.2.6. is it normal ? thx -- Alain Windows XP SP2 PostgreSQL 8.2.4 / MS SQL server 2005 Apache 2.2.4 PHP 5.2.4 C# 2005-2008

[PHP] PHP page completly blank

2008-08-03 Thread Alain Roger
displayed. it's enough that page as *.php extension to reproduce such issue. when under command line i run php -v i get a lot of error messages, like those 2 as attached files. what can it be ? i've checked those files and they exist. :-( thanks a lot for your help.

[PHP] E-Shop system

2008-08-02 Thread Alain Roger
Bank transfer: how can i control it ? - Credit card payment: how can i be sure that when user give me his credit card number, my application will secure it enough ? how can i get back information that it's true...user paid the good and i can send him the product ? thanks a lot for all your feedback.

[PHP] first e-shop

2008-07-05 Thread Alain Roger
) exist on internet.. and for sure,, you are experienced in such topics, so to what should i pay attention ? thanks a lot, -- Alain Windows XP SP2 PostgreSQL 8.2.4 / MS SQL server 2005 Apache 2.2.4 PHP 5.2.4 C# 2005-2008

[PHP] php, ajax and international application

2008-04-21 Thread Alain Roger
wrote above. 3. you use another method I would be glad to here from you the pros and cons of your experiences. thx. -- Alain Windows XP SP2 PostgreSQL 8.2.4 / MS SQL server 2005 Apache 2.2.4 PHP 5.2.4 C# 2005-2008

Re: [PHP] AJAX and PHP

2008-04-21 Thread Alain Roger
is it clearer now ? On Mon, Apr 21, 2008 at 11:40 AM, Thijs Lensselink <[EMAIL PROTECTED]> wrote: > Quoting Alain Roger <[EMAIL PROTECTED]>: > > you understood right. > > > > basically my problem is that the layout avoid it. > > here is "something like&quo

Re: [PHP] AJAX and PHP

2008-04-21 Thread Alain Roger
og+pwd are correct ? - how to redirect to another PHP page, when user click on submit button ? the redirection will happen only in the content div, so only in div#0 and not into the browser :-( Al. On Mon, Apr 21, 2008 at 9:55 AM, Thijs Lensselink <[EMAIL PROTECTED]> wrote: > Quoting

[PHP] AJAX and PHP

2008-04-20 Thread Alain Roger
kes sense for a complete form but not for a simple text line or label. So how can i do that without refreshing page. using AJAX and PHP only ? i guess you already faced such situation so i would really appreciate your help. thanks a lot, -- Alain Windows XP SP2 P

[PHP] module access rights

2008-04-19 Thread Alain Roger
etter ? thanks a lot, -- Alain Windows XP SP2 PostgreSQL 8.2.4 / MS SQL server 2005 Apache 2.2.4 PHP 5.2.4 C# 2005-2008 -- Alain Windows XP SP2 PostgreSQL 8.2.4 / MS SQL server 2005 Apache 2.2.4 PHP 5.2.4 C# 2005-2008

  1   2   3   4   >