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
Hi, i have a customer who need to update his website but he was not able to tell me more about it. he just told me it's a CMS and sent me a screenshot. To understand what is it i need first to test it on my local server but i don't know what is it as CMS. could you help me ? i attached to my post

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

[PHP] CSV file

2009-06-24 Thread Alain Roger
Hi, i would like to import the content of a CSV file into my database. but in order to show a progress bar to user (to let him know that process is still working on) i would like to determine before to start, how many records / lines are in the CSV file. is there a way to do that ? thanks a lot.

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

[PHP] retrieve result of a query

2008-12-28 Thread Alain Roger
Hi, basically i have a php file with several parameter received in GET or POST. this PHP page execute a db query and should return a specific amount of records and columns. however i do not want to display those records like that... i have a web page with javascript and the javascript should read

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

2008-12-28 Thread Alain Roger
Hi, i'm currently working on some project which needs in several pages, a table to display query results...till now nothing special. however, in order to not create several time the table and features i've decided to create my own templates including PHP classes, CSS and javascript. this "table"

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

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
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 code into current document. in this javascript, i used to have a createElement function to attache C\other CSS or JS file

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

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

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
Hi, i've reinstalled PHP 5.2.6 on my windows XP x64 and as usual i uncomment the following lines: 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 extension=php_sqlite.dll extension=php_dbg.dl

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
Hi, i'm on PHP training and our lector is telling us that to avoid counting an array item amout thanks count($my_array), he tells we can do: while($my_array) { ... do something } but from experience this is an infinity loop... it should be always something like $count = count($my_array); while($

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

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
Hi, i would like to know if it exists a way to create component (maybe using python, perl, or something else) to save it as DLL and to use this component on PHP pages ? i mean by component something like a graphical representation of a table. this "dll" should be able to be dynamically loaded by

[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
Hi, I'm trying to create a class that has as public members some other class object. for that i use almost the same syntax as under C# or C++. header class: > class CARMainHeader > { > // title of the main table header > private $mTitle = null; > > // holds the height of the table h

[PHP] table and class

2008-10-21 Thread Alain Roger
Hi, in my web application (as quite all web applications) i have a lot of tables. I mean by table the tag with for sure some data displayed in it from SQL requests. To not have to write the whole code every time i was thinking to make a class that : - will manage the whole design (color, images,

[PHP] paging at which level

2008-10-18 Thread Alain Roger
Hi, i would like to know what is the best approach for paging ? usually i use PEAR and page thanks their table library, but to avoid high transfer of data from DB to PHP page it is better to do the paging at database level. I would like to know what is your point of view on this topic and what do

[PHP] pdo and dabase schema

2008-10-14 Thread Alain Roger
Hi, is there a way with PDO class to not have: - to execute a simple SET search_path TO myschema; - and after to fletch another SQL request, like select to be sure that the SQL statement will be perform on this schema ? (basically i want to do it in 1 step) because i tried to specify the schema i

[PHP] PDO

2008-10-14 Thread Alain Roger
Hi, i'm currently using PDO as it seems better than any other pg_connect and so on... however, i experience issue testing it. for example the following code returns me the correct records (count and records themselve) > $sql ="SELECT * FROM sewe.languages;"; > > $result = DatabaseHandler::Pre

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
Hi, to have access to my web application, user needs to log in. Before to send login/password over the net, user is directly redirected to HTTPS version of my web application in case he did not write HTTPS:// at the address bar. once he types login/password, everything is checked with DB data and

Re: [PHP] AJAX and PHP

2008-10-06 Thread Alain Roger
And AFAIK it does not work on linux platform On Mon, Oct 6, 2008 at 3:36 PM, Wolf <[EMAIL PROTECTED]> wrote: > > > yes, flex is "flash for developers"; the main language is AS3 and it > > outputs swf's; flex is basically a program which allows you to use mix > > of pre-made ui elements & classes

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 i

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
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 i want to display a page (basically 50 % of this new page is DB result/grid. As usual i have 2 divs, one

[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
Hi, i used in the past a former version of Pear package to create table with pagination and sorting. i would like to know if there are some other solution (free) to do something like this one : http://s220.photobucket.com/albums/dd277/alainroger/development/?action=view¤t=example-table.gif"; targe

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
Hi, i have a 2 dim array defined as following: class CBreadcrumb > { > // array holding the complete Breadcrumb > var $crumb = array(); > > /* > * Constructor > */ > function CBreadcrumb() > { > > } > > /* > * Add new stage > */ > function Add($

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
Hi, a lot of web sites propose a locationbar (something like dynamic map site) to end user when they are browsing the website. usually i looks like that: Home > Products > Software > Operating System > Windows XP User can come back to a previous parent node by just clicking on the name, for exam

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
Hi, i try to understand the error_reporting statement and to avoid all warning or error messages. for example i stop the postgresql service and i try to connect to it. when error_reporting is set to E_ALL, i get the following warning : *Warning*: pg_connect() [function.pg-connect

[PHP] event feeder

2008-09-27 Thread Alain Roger
Hi, i would like to display on my web application, the latest 3 events added to my web DB. something like latest 3 event which happen to company. what is the best way knowing that each event is translated in several languages and stored into DB ? should i directly read latest 3 events from DB usi

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
Hi, i tried to configure Thunderbird to read and post news on PHP.net forums. I'm able to read messages but not to post some. Does anyone already succeed in it ? Do to security reasons at work, personal email usage is strictly forbidden now so i'm not able to use gmail, yahoo or hotmail anymore.

[PHP] php.ini and pgsql extension issue

2008-08-03 Thread Alain Roger
Hi, i found and solved an interesting issue under PHP 5.2.6. when i use the standard installation file under windows XP (php-5.2.6-win32-installer.msi), i get several error message in apache error.log file, something like : PHP Warning: PHP Startup: Unable to load dynamic library 'D:\\webserver\

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
Hi, i reinstalled on my computer (Win XP) PHP 5.2.4 (but the same happens with 5.2.6). when i run an index.php page or any other php page which works well before, now i get a blank page result on my browser without any error message. even if only HTML code is inside the PHP page nothing is display

[PHP] E-Shop system

2008-08-02 Thread Alain Roger
Hi, i'm currently analyzing an e-shop system. i understand how to display products and so on, however i still have some question marks on the following topics: 1. what is the best way for showing product image ? - to store them in DB or onto filesystem as simple image files ? - each product shoul

[PHP] first e-shop

2008-07-05 Thread Alain Roger
Hi, I need to create an e-shop in PHP. this is for me the first time that i need to do that and i think the way how to approach such topic is different that creating a simple corporate web site. Here are the standard features that i need to implement: - home page including latest "article/news",

[PHP] php, ajax and international application

2008-04-21 Thread Alain Roger
Hi, Till now, i'm used to have a php file (for each language) to store all text labels for my international application. i tried with Ajax to improve it but it seems not so flexible at it promised. my purpose was to limit the transfer data and especially to not load too much the server with not im

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
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 can choose the interface language. here is my problem : when the log-in form runs, it is in English. user ca

[PHP] module access rights

2008-04-19 Thread Alain Roger
Hi, i'm very surprised... i did not get any answer to my previous post. is it because it is good way to do it or because nobody knows ? thx. Al. --- Hi, i face now a little issue regarding how end user can access to some modules of my web portal. Let imagine we

[PHP] module access rights

2008-04-17 Thread Alain Roger
Hi, i face now a little issue regarding how end user can access to some modules of my web portal. Let imagine we have several modules (let say: mod1, mod 2, mod3) and 2 users (usr1, usr2). i would like to use a simple way how to established access rights for each user to grant/forbidden access to

[PHP] standard format for Web portal administration side

2008-04-12 Thread Alain Roger
Hi, I've seen several web portal and their dedicated administration side. some of those administration (portal) are according to w3c standard (1024 px large), but most of them use the full screen width. therefore i would like to know if there is a standard size (width / height) for web portal adm

[PHP] newsletter administration

2008-04-10 Thread Alain Roger
Hi, I need to do a little CMS for managing Newsletter for 1 of my customers. as i never worked on such thing in the past, i would be glad to have your feedback. basically, web site users are registered into DB. my customer would like to send them a newsletter to promote new products and services.

[PHP] auto generated PDF

2008-03-30 Thread Alain Roger
Hi, i want to implement on my web portal electronic invoicing system. basically data will be stored into PostgreSQL DB. I would like to know if someone already have experiences with such feature or where could i find some tutorials or help about this topic. Concretly, user will buy some products

[PHP] page content duration

2008-03-29 Thread Alain Roger
Hi, i have a strange behavior on my web page. i have a form where users can enter their email address to subscribe to newsletter. if user already exists the page inform him and allow him to go back thanks a button. clicking on this button, load another page (initial page with the form for newslet

Re: [PHP] convert a string to integer

2008-03-28 Thread Alain Roger
thx a lot... i completly skipped this one...i don't know why :-( now it works On Fri, Mar 28, 2008 at 8:55 AM, Simon Welsh <[EMAIL PROTECTED]> wrote: > > On 28/03/2008, at 8:48, Alain Roger wrote: > > Hi, > > > > i know this topic is obvious but i have a s

[PHP] convert a string to integer

2008-03-28 Thread Alain Roger
Hi, i know this topic is obvious but i have a strange behavior and i'm getting crazy. my stored procedure returns me a string. string can be an email or a message error => '-1', '-2', '-3' when i check if the string contains only digit, i use ctype_digit(mystring) but any way it returns me false

[PHP] optimilize web page loading

2008-03-26 Thread Alain Roger
Hi, i would like to know if there is a way to know how long does a web page need to be loaded into browser ? this is interesting fact for me, as i will optimilize my PHP code in order to reduce this time to minimum. i was thinking to use some timestamp but as it will be in PHP, it mean that it sh

Re: [PHP] mail function and headers

2008-03-13 Thread Alain Roger
t;[EMAIL PROTECTED]> wrote: > Alain Roger wrote: > > Hi Chris, > > > > interesting thing, but i get the following error message : > > *Warning*: mail() [function.mail > > <http://test4.rogtek.com/common/function.mail>]: SAFE MODE Restriction > > in

Re: [PHP] mail function and headers

2008-03-12 Thread Alain Roger
Hi Chris, interesting thing, but i get the following error message : *Warning*: mail() [function.mail]: SAFE MODE Restriction in effect. The fifth parameter is disabled in SAFE MODE. in */test4/common/sendmail.php* on line *119* how can i solve this b

Re: [PHP] mail function and headers

2008-03-12 Thread Alain Roger
ok, so this is what i got and it is still remaining... :-( Received: from serdev ([127.0.0.1]) by home.com with MailEnable ESMTP; Wed, > 12 Mar 2008 16:40:18 +0100 > Date: Wed, 12 Mar 2008 16:40:18 +0100 > Subject: subject 3 > To: [EMAIL PROTECTED] > From: raf, news <[EMAIL PROTECTED]> > Reply-To:

Fwd: [PHP] mail function and headers

2008-03-12 Thread Alain Roger
ok i will try... what about UTF-8 to ensure unicode ? my website and especially the form which will send this email, will be filled in by several nationalities... spanish, english, french, slovak, german,,... so isn't it easier to set up utf-8 ? A. On Wed, Mar 12, 2008 at 4:11 PM, spacemarc <[EM

Re: [PHP] mail function and headers

2008-03-12 Thread Alain Roger
ok i will try... what about UTF-8 to ensure unicode ? my website and especially the form which will send this email, will be filled in by several nationalities... spanish, english, french, slovak, german,,... so isn't it easier to set up utf-8 ? A. On Wed, Mar 12, 2008 at 4:11 PM, spacemarc <[EMA

[PHP] mail function and headers

2008-03-12 Thread Alain Roger
Hi, i'm playing a little bit with the mail function from PHP 5.2.4 and email headers. here is a snippet of my code: > $headers = 'From: '.$email."< ".$fromname." > >\r\n".'Reply-To:'.$email."\r\n".'X-Mailer: PHP/' . phpversion(); if (mail($to, $subject, $body,$headers)) { > ... > } > where: $f

Re: [PHP] SMTP

2008-03-10 Thread Alain Roger
Ok, thanks for info, i've downloaded the MailEnable SW for free and i was able to check that my PHP mail function really send correctly emails :-) thanks a lot, A. On Mon, Mar 10, 2008 at 3:33 PM, Daniel Brown <[EMAIL PROTECTED]> wrote: > On Sun, Mar 9, 2008 at 4:38 PM, Alain

Re: [PHP] SMTP

2008-03-10 Thread Alain Roger
Hi Ray, we tested it with telnet and it seems that it works... but my mail client does not receive it. :-( php mail function just tells me that email can not be delivered. here is the function: > if (mail($to, $subject, $body)) > { > echo("Message successfully sent!"); > } > e

Re: [PHP] SMTP

2008-03-10 Thread Alain Roger
authentication). A. On Sun, Mar 9, 2008 at 10:16 PM, Ray Hauge <[EMAIL PROTECTED]> wrote: > Alain Roger wrote: > > Hi, > > > > i know that this is not necessary the best forum for that, but i need to > get > > a real feedback and i guess you already faced the same issue a

[PHP] SMTP

2008-03-09 Thread Alain Roger
Hi, i know that this is not necessary the best forum for that, but i need to get a real feedback and i guess you already faced the same issue as mine. basically, i develop php web application on windows XP platform. So i have apache 2.24 installed and PHP 5.2.4. now i would like to test if my app

[PHP] send form by email with image spam controler

2008-03-08 Thread Alain Roger
Hi, i would like to allow web site users to fill a form when they request information. the purpose is to have something standardized and later on to archive all those request into database. to avoid spammer, i was thinking to use a code image which change to each page refresh in order to be sure t

[PHP] string effect

2008-02-29 Thread Alain Roger
Hi, since a long time now, i see that some paragraphs of text are cut off and the additional text is replaced by 3 dots. e.g: "this is the original long text but without any sense and also stupid" effect desired : "this is the original long text..." this is usually used for title articles or so

Re: [PHP] Flash menu

2008-02-23 Thread Alain Roger
Sorry to tell you that but i've tested my flash menu on Linux Mandriva and Redhat without any problem... :-) On Sat, Feb 23, 2008 at 10:14 AM, Børge Holen <[EMAIL PROTECTED]> wrote: > On Saturday 23 February 2008 09:46:24 Alain Roger wrote: > > Hi, > > > > i hav

Re: [PHP] flash with PHP

2008-02-03 Thread Alain Roger
this is right under actionscript 2.0... i'm working under actionscript 3.0 :-) On Feb 3, 2008 7:28 PM, Casey <[EMAIL PROTECTED]> wrote: > On Feb 3, 2008, at 12:23 AM, "Alain Roger" <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > i would like to

[PHP] flash with PHP

2008-02-03 Thread Alain Roger
Hi, i would like to have a flash menu in my PHP website. this is no problem. My problem is how to exchange data between PHP andFlash (in both direction). i found a lot of posts on this theme, but nothing with really works under ActionScript 3 and PHP. does anyone already solved such topic ? thx

Re: [PHP] avoid server folder reading

2008-01-20 Thread Alain Roger
this is what i already did before asking :-) On Jan 19, 2008 7:53 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > On Jan 19, 2008 1:46 PM, Alain Roger <[EMAIL PROTECTED]> wrote: > > > Sorry if my post was not clear... > > in fact i would like to hide the contant o

Re: [PHP] avoid server folder reading

2008-01-19 Thread Alain Roger
ch <[EMAIL PROTECTED]> wrote: > On Sat, January 19, 2008 11:57 am, Alain Roger wrote: > > I would like to know how to avoid (using PHP code) any user to read > > the > > content of my website folder ? > > as my website is hosted by and external company, i do

Re: [PHP] avoid server folder reading

2008-01-19 Thread Alain Roger
I should be able to setup a .htaccess file. On Jan 19, 2008 7:17 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: > Alain Roger schreef: > > Hi, > > > > I would like to know how to avoid (using PHP code) any user to read the > > content of my website folder ? > &g

[PHP] avoid server folder reading

2008-01-19 Thread Alain Roger
Hi, I would like to know how to avoid (using PHP code) any user to read the content of my website folder ? as my website is hosted by and external company, i do not have access to apache conf file. thanks a lot, -- Alain Windows XP SP2 PostgreSQL 8.2.4 / MS

[PHP] website tree

2008-01-05 Thread Alain Roger
Hi, let's imaging we have the following thing : www.mywebsite.com/company/index.php www.mywebsite.com/company/profile.php www.mywebsite.com/services/index.php how can i detect in which address am i ? for example how to retrieve www.mywebsite.com/services or www.mywebsite.com/company -- Alain

Re: [PHP] menu andfolder question

2008-01-05 Thread Alain Roger
this is how i solved my issue :-) On Jan 5, 2008 4:28 PM, jeffry s <[EMAIL PROTECTED]> wrote: > > > On Jan 5, 2008 7:36 PM, Alain Roger <[EMAIL PROTECTED]> wrote: > > > ok, maybe i did not write my question well. > > i already used it because i s

  1   2   3   >