[PHP] PHP CLI setting cooked terminal mode

2013-09-11 Thread Alain Williams
that 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 Linux/GNU

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 a...@phcomp.co.uk 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

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

2013-05-16 Thread Alain Williams
help would be good. Have you got SELinux switched on ? Try: ls -lZ getenforce -- 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

Re: [PHP] SPL Recursive Iterator Examples

2013-03-19 Thread Alain Williams
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/ Parliament Hill Computers Ltd. Registration

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

2012-04-16 Thread Alain Williams
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. +44 (0) 787 668 0256 http://www.phcomp.co.uk/ Parliament Hill Computers Ltd. Registration Information: http

[PHP] CMS identification

2012-03-18 Thread Alain Roger
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] 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 stu...@3ft9.com 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 me more about

Re: [PHP] Re: Long Live GOTO

2012-02-06 Thread Alain Williams
and returns failure. That is much clearer than extra variables. 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, however, people who consider any GOTO as communion with the devil. IMHO: not so - if used sparingly. -- Alain

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 a...@phcomp.co.uk 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, however, people who consider

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

2011-12-27 Thread Alain Williams
. 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 complicated web sites. -- Alain Williams Linux/GNU Consultant - Mail systems

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

2011-11-30 Thread Alain Williams
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 script. See: http://software.clapper.org/daemonize/ It claims to run under OSx (which is just BSD Unix). -- Alain Williams Linux/GNU

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-20050815 (Apple version gdb-1708

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

2011-11-23 Thread Alain Williams
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, Networking, Programmer, IT Lecturer. +44 (0) 787

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/apache2

Re: [PHP] Parsing the From field

2011-11-19 Thread Alain Williams
/... 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 Hill Computers Ltd

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 Chautarachau...@nerim.net wrote: Hello I am a newbie of this list. So

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

2011-11-11 Thread Alain Williams
-- 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://www.phcomp.co.uk/contact.php

Re: [PHP] Placing the masterpassword

2011-11-01 Thread Alain Williams
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. Registration Information: http://www.phcomp.co.uk/contact.php #include std_disclaimer.h

[PHP] Extending an instantiated class

2011-10-15 Thread Alain Williams
: $f2 = new $s Form(); or $f2 = $s-new Form(); -- 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.uk/contact.php

[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 properties

Re: [PHP] Running PHP5 in a PHP4 environment

2011-05-13 Thread Alain Williams
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 sites, Networking, Programmer

[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

Fwd: [PHP] improve speed of PHP answers

2011-02-09 Thread Alain Roger
-- Forwarded message -- From: Alain Roger raf.n...@gmail.com 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

Re: [PHP] improve speed of PHP answers

2011-02-09 Thread Alain Roger
... A. On Wed, Feb 9, 2011 at 6:47 PM, Alexis Antonakis ad...@antonakis.co.ukwrote: 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 and issues... i'm

[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 / Fedora 10

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

2008-12-28 Thread Alain Roger
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 --- Windows XP x64

[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] 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. -- Alain

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

2008-11-30 Thread Alain Roger
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] PHP attaching css and JS files to current page

2008-11-30 Thread Alain Roger
]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 which write a script/script code into current document

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 include those files,

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: Can you not just write all

[PHP] issue with php.ini

2008-11-23 Thread Alain Roger
:\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] 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 uncomment the following lines: extension

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]wrote: On Sun, 2008-11-23 at 17:33 +0100

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 on... -- Alain

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_sqlite.dll extension=php_pgsql.dll

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 extension=php_mysql.dll extension=php_pdo.dll extension=php_pdo_mysql.dll

Fwd: [PHP] issue with php.ini

2008-11-23 Thread Alain Roger
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
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! -- PHP General Mailing List (http://www.php.net/) To unsubscribe

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. any idea how to do it ? Alain, you've been

[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

[PHP] while question

2008-11-17 Thread Alain Roger
($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

Re: [PHP] DLL

2008-10-23 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 python, perl, or something else) to save

[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] 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 {

[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 i correct ? -- Alain

[PHP] DLL

2008-10-22 Thread Alain Roger
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] table and class

2008-10-21 Thread Alain Roger
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] class and inheritance

2008-10-21 Thread Alain Roger
; echo td class=''; echo /td; echo /table; } } ? in the CARTable, i'm not able in the Render function to write $this-mTableHeader-GetTitle(); why ? -- Alain Windows XP SP3 PostgreSQL 8.2.4 / MS SQL server 2005 Apache 2.2.4 PHP 5.2.4

[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 has as public members some other class object

[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

2008-10-14 Thread Alain Roger
request returns me the same result as the previous SQL selct * from... so where could be the issue when PDO uses stored procedures/functions ? 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

Re: [PHP] template usage

2008-10-12 Thread Alain Roger
/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 know if you are a lot to use PHP templates for your web

[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
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
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 AJAX is you're only solution. But as it has been said

Re: [PHP] AJAX and PHP

2008-10-06 Thread Alain Roger
, 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 Windows XP SP3 PostgreSQL 8.2.4 / MS SQL server 2005 Apache 2.2.4 PHP 5.2.4

[PHP] AJAX and PHP

2008-10-04 Thread Alain Roger
. -- 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-04 Thread Alain Roger
care for the traffic those images cost - it would be better to use AJAX. But generally - they both okay, I personally would use reload of the whole page just because of the time it would take me to develop it with ajax ;) HTH, Nitsan On Sat, Oct 4, 2008 at 12:10 PM, Alain Roger

Re: [PHP] AJAX and PHP

2008-10-04 Thread Alain Roger
, 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. basically like all application i have a menu and based on selected item menu

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 view it's to reduce the network traffic by limiting what

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

2008-10-01 Thread Alain Roger
/; } 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] 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: $bci = array($_SESSION['bc']); array_push($bci,$_SESSION['bc']); foreach

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 br/; } how can i get the 'name' value for each row in

[PHP] table with paging and sorting

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

[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 php-general

[PHP] navigation / location bar

2008-09-30 Thread Alain Roger
: 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 Windows XP SP3 PostgreSQL 8.2.4

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 (something like dynamic map site

[PHP] error warning while connecting to posgreSQL

2008-09-28 Thread Alain Roger
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

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 all warning or error messages

[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

[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

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

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

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

[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

Re: [PHP] multiple question form creation

2008-08-26 Thread Alain 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 dropdown list

[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

[PHP] News reader

2008-08-10 Thread Alain Roger
. 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

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 Thunderbird to read and post news on PHP.net forums. I'm able

Re: [PHP] Re: News reader

2008-08-10 Thread Alain Roger
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 at 8:33 PM, Al [EMAIL PROTECTED] wrote: Alain Roger wrote: Hi, i tried to configure Thunderbird

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 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 email

[PHP] PHP page completly blank

2008-08-03 Thread Alain Roger
is 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. -- Alain

[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

Re: [PHP] PHP page completly blank

2008-08-03 Thread Alain Roger
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 under command line i run php -v i get a lot of error messages, like

[PHP] php.ini and pgsql extension issue

2008-08-03 Thread Alain Roger
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

[PHP] E-Shop system

2008-08-02 Thread Alain Roger
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. -- Alain

[PHP] first e-shop

2008-07-05 Thread Alain Roger
.. 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] AJAX and PHP

2008-04-21 Thread Alain Roger
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 PostgreSQL 8.2.4 / MS

Re: [PHP] AJAX and PHP

2008-04-21 Thread Alain Roger
, 2008 at 9:55 AM, Thijs Lensselink [EMAIL PROTECTED] wrote: Quoting Alain Roger [EMAIL PROTECTED]: Hi, i'm playing around with AJAX and PHP to create something like a small desktop application. basically the first step is to log in the system. for that i have a log-in form where users

Re: [PHP] AJAX and PHP

2008-04-21 Thread Alain Roger
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 my layout : div#0 div#1Lanague (label) : img flag img arrow

[PHP] php, ajax and international application

2008-04-21 Thread Alain Roger
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

[PHP] module access rights

2008-04-19 Thread Alain Roger
? 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   >