[PHP] active directory and PHP

2006-08-17 Thread Alain Roger
Hi, I'm new to PHP, so sorry if my question looks like stupid. I have a web application which use authorization and authentication process to log-in. I would like to know if it exists a way to synchronize the authentication with our Active Directory domain ? Something like a single side-on. In

[PHP] bug in php 5.1.4

2006-06-30 Thread Alain Roger
Hi, I' ve discovered a bug in PHP 5.1.4. This version of PHP create a new session everytime you refresh the same php page or that you switch from 1 page to another page. I downgraded it to PHP 5.1.2 and it works correctly. It could be interesting to fix this bug. if you want moredetail, contact

[PHP] issue with Apache/PHP loadmodule

2006-06-26 Thread Alain Roger
Hi, I did this installation i do not know how many times...it worked till now. But it seems that today, i forget something and i'm lost :-( I have the following lines in my http.conf from apache 2.2 configuration file. # - for PHP LoadModule php5_module c:\PHP\php5apache2.dll AddType

[PHP] best solution for page acess right

2006-06-18 Thread Alain Roger
Hi, I have a web administration application which allow particular users to store into DB some information. Information will be later on displayed dynamically on the website. However, among these users, some should be able just to see information, some others just to write, and so on...

[PHP] detect if file exist

2006-05-21 Thread Alain Roger
Hi, i have 1 folder, in this folder sometime a file can be sometimes not... 1. i would like to detect if the folder contains a file or not. only 1 file can be in this folder but i do not know the name of this file, and the extension should be xls. when this file exists, i want to display the

[PHP] issue with MySQL procedure and a result set

2006-04-20 Thread Alain Roger
Hi, I'm trying to run a MySQL Procedure from one of my PHP page. 1. the procedure works perfectly under MySQL (it gives the correct results), so no issue from this side. 2.user is able to connect without any issue to MySQL RDBMS, so no issue from this side. Here is what i've as error message

[PHP] Re: [PHP-WIN] Re: php editors

2006-04-17 Thread Alain Roger
Hi, personally i use Zend studio for its variables on-live debugging possibility. However, i'm sad that for debugging you need to install the Zend debugging server features. Alain On 4/15/06, pfancy [EMAIL PROTECTED] wrote: Thanks for all the php editor idea. I have been going through them.

[PHP] refresh PHP page via onclick event

2006-04-15 Thread Alain Roger
Hi, Sorry to look like stupid for some of you, but i'm still not able to link to link (a /a) or to a button via onclick event) the refresh of my page. i've check META tag and also $PHP_SELF variable, but it does not work. here is what i would like to do. i have 1 PHP page on which i have 3

Re: [PHP] refresh PHP page via onclick event

2006-04-15 Thread Alain Roger
but i do not want to add some variable at the end of link... when user click on the flag, it should first store language into a $_SESSION variable and after redirect/refresh page. On 4/15/06, chris smith [EMAIL PROTECTED] wrote: On 4/15/06, Alain Roger [EMAIL PROTECTED] wrote: Hi, Sorry

[PHP] how to reload a PHP page via PHP code

2006-04-14 Thread Alain Roger
Hi, I would like to know if it exist a method to reload a PHP page via PHP code ? the topic behind is that i do not want to specify the PHP page to reload. It must reload the actual page only. for example, if use views the page : test.php and click on US flag image. PHP should reload this page

[PHP] user authentication

2006-04-11 Thread Alain Roger
Hi, i'm sure that it's a stupid question but i would like to have your feedback on it. i have MySQL with 2 users in the mysql database which are root and uimmense. i suppose that what i see in the password field is the sha1 crypted password. is it correct or not ? but lets continue... in

Fwd: [PHP] user authentication

2006-04-11 Thread Alain Roger
in fact no. i can i have 1 MySQL database system profile uimmense to connect to database. and after via a PHP script to check if my user is registered into MY database immense (checking profile and password). if it's ok, so query or stored procedure can be executed, if not, connect to DB is

[PHP] Session_id within URL

2006-04-11 Thread Alain Roger
Hi, I would like to understand the purpose of placing SESSION_ID within the URL. I suppose it is for security improving... However, how to do it ? i mean how can it be useful ? how can i use it ? thanks a lot, Alain

[PHP] internationalization of web site

2006-04-11 Thread Alain Roger
Hi, Sorry to send this email on both mailing lists but as i suppose that both are concerned by it, i did. i would like to make my web site tune to user language. for that i was thinking to create some XML files where all words can be found and based on the icon (country flag) that user clicked,

[PHP] open / check SSL activation

2006-04-05 Thread Alain Roger
Hi, I would like to ebsure that my user has SSL activated. for that i would like to do something like that : 1. after lo-in button click, application will check if SSL is already activated. 1.a if no, php code should activate SSL 1.b if yes, php code should control login and password

[PHP] problem using mysql_connect function under windows XP

2006-04-05 Thread Alain Roger
Hi, i wrote a simple testing page. it should test if it can connect to MySQL db. however, i have an error message as followed : *Fatal error*: Call to undefined function mysql_connect() in *F:\Mes documents\Development\Website\Immense\checklogin.php* on line *23 *on line 23, i have the

Re: [PHP] problem using mysql_connect function under windows XP

2006-04-05 Thread Alain Roger
i've seen that non of extension are activated...neither mysql.dll nor mysqli.dll after uncommenting them and restarting Apache, it still does not work :-( On 4/5/06, Jochem Maas [EMAIL PROTECTED] wrote: Alain Roger wrote: Hi, i wrote a simple testing page. it should test if it can

Re: [PHP] problem using mysql_connect function under windows XP

2006-04-05 Thread Alain Roger
provide no info regarding MySQL what should i do ? On 4/5/06, Brad Bonkoski [EMAIL PROTECTED] wrote: Create a page like this: ?php phpinfo(); ? and see what the output tells you about mysql...might shed some light on it. -B Alain Roger wrote: i've seen that non of extension

Re: [PHP] problem using mysql_connect function under windows XP

2006-04-05 Thread Alain Roger
if they output any errors when you restart the web server. -B Alain Roger wrote: nothing about MySQL...only what is in my path variable :-( 1. i stopped apache server 2. i uncomment -- extension=php_mysql.dll and extension=php_mysqli.dll in my php.ini file 3. i updated my extension_dir like

Re: [PHP] Best authentication method for user

2006-04-03 Thread Alain Roger
ok, but how to make a non-logged user executes some stored procedures or Queries ? MySQL will need some login and password for that. so, that's why i've asked such question...how and where to store this non-logged user's info (login, password) to not make physical user type them ? (this must be

Re: [PHP] Best authentication method for user

2006-04-03 Thread Alain Roger
I suppose that this config file should be included in all PHP file via include command. is it true ? On 4/3/06, chris smith [EMAIL PROTECTED] wrote: On 4/3/06, Alain Roger [EMAIL PROTECTED] wrote: ok, but how to make a non-logged user executes some stored procedures or Queries ? MySQL

[PHP] Best authentication method for user

2006-04-02 Thread Alain Roger
Hi, I would like to use a secure way how my user is authenticated. For that i was thinking to use session and register his login and password as session variable. Like that, when he will need to execute a query he will not have to type again everything but application will do it alone. What do

Re: [PHP] Best authentication method for user

2006-04-02 Thread Alain Roger
to secure it enough but login and password should come from somewhere. the application : a simple MySQL-PHP website for cosmetics services. (so prices, info, appointment reservation,..) does it help you ? Alain On 4/3/06, Chris [EMAIL PROTECTED] wrote: Alain Roger wrote: Hi, I would

[PHP] Onclick event and PHP function

2006-02-15 Thread Alain Roger
Hi, I have some link on which if user click, should do the following things: - open a particular page - setup to sessions some particular variable value however, PHP function should be declared before HTML headers. so i was thinking about something like that ?php function vardef($lg) {

[PHP] PHP function called by onclick

2006-02-12 Thread Alain Roger
Hi, I have a link in my web page and when user click on this link, i would like to execute a PHP function with a parameter. how can i do it ? ex : ?php function lang($language) { $lg = $language; } ? ... A href=?php lang(eng);?test/A but this does not work :-( thanks for help. Alain

[PHP] issue with newsgroups server

2006-01-23 Thread Alain Roger
Hi, I have a very long timeout when i try to use the news.php.net server. moreover, my posted messages are not displayed. Could someone help me please ? thanks a lot, Alain

[PHP] secure logon php page

2006-01-23 Thread Alain Roger
Hi, I would like to write a secured logon page but i do not have any idea where to start... i've alreay setup my Apache server for using SSL, but what about the PHP code ? with or without cookie ? crypted or not ? please, could you give me some good tutorial or web page where i can find such

[PHP] secured logon page

2006-01-23 Thread Alain Roger
Hi, I would like to write a secured logon page but i do not have any idea where to start... i've alreay setup my Apache server for using SSL, but what about the PHP code ? with or without cookie ? crypted or not ? please, could you give me some good tutorial or web page where i can find such

<    1   2   3