[PHP] Strange comportment ...

2003-09-29 Thread alain
ste / $i); by $y = ($reste / $i); evrything is ok, so it appear that it's the casting that is transforming the 5 value in the 4 value. If anybody has an explication, Best regards, Alain Deseine. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP - MySQL special character -> mysql problem?

2001-03-19 Thread Alain
ists already in the db, it will just add that student even if the email exists already. And this "_" is allowed for email address... :( Anybody encounters that problem and could help me to solve it? Thanks, -Alain- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-ma

[PHP] assign values to variables, all taken from txt file

2001-05-15 Thread Alain
; = "$value"; } --// So it's that "$"\$variable" = "$value";" which is wrong and now I don't have any inspiration anymore... Could somebody help me plase?! thanks, -Alain- -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] assign values to variables, all taken from txt file

2001-05-15 Thread Alain
he echo at the end doesn't return any value... I'm still missing something there... :( -Alain- ""Tobias Talltorp"" <[EMAIL PROTECTED]> wrote in message 9dr0g8$cgs$[EMAIL PROTECTED]">news:9dr0g8$cgs$[EMAIL PROTECTED]... > From what I could see you

[PHP] mail with CC and BCC

2002-12-03 Thread Alain ROMERO
PHP server = Win 2000 SP2/php 4.1.2 SMTP server = Netscape Messenger 4.15 (declare on php.ini) Why CC and BCC never receive mail ? The header 'TO' is correct : see CC and BCC ! The header : "From : . CC: [EMAIL PROTECTED] BCC: [EMAIL PROTECTED]" I try severals classes I have found (PHP Class

[PHP] Call by reference to function arguments

2003-07-07 Thread Alain Williams
} } $a = '1'; $b = '2'; $c = '3'; foo($a, $b, $c); What I am doing is quite different than the above (and more complex), but I will be able to achieve what I want if I can get the above to work. -- Alain Williams #include -- PHP General Mailing List (h

Re: [PHP] Call by reference to function arguments

2003-07-07 Thread Alain Williams
_arg($i); > } > > $args = array_map (create_function ('$a','return($a+1);'), $args); > > return ($args); > } > > list ($a, $b, $c) = foo(1, 2, 3); > > echo ("$a, $b, $c"); No, the reason that I want to do it is for the same

[PHP] mssql.dll

2003-07-10 Thread Alain ROMERO
Where is mssql.dll (not include in packages 4.1.2 / 4.2.3 / 4.3.2 ? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Default mode -- Output buffering ??

2003-07-17 Thread Alain Williams
/configure option that I can set to get the original behaviour or a command line switch to specify 'html on' or something ? I have looked but cannot find anything. Thanks in advance. -- Alain Williams #include -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

[PHP] building php witk libiconv

2003-08-28 Thread Alain Bonnefoy
to do??? Thanks, Alain. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] building php witk libiconv

2003-08-29 Thread Alain Bonnefoy
iconv.so.2.2.0 Now, I still have the following message: gcc: /usr//lib/.libs/libiconv.so: No such file or directory I don't want to make links everywhere! Regards, Alain. Tom Rogers a écrit: Hi, Friday, August 29, 2003, 12:52:11 AM, you wrote: AB> Hi, AB> I don't know what to d

[PHP] database

2003-10-27 Thread alain dhaene
Hi, I'm very new with php, so perhaps it's a silly question. I want a connection with a mysql database. This works. I can open, retrieve data, and close the database. But this happens in the same page. Now I want one page that has a function who's opening and close the connect

Re: [PHP] database

2003-10-27 Thread alain dhaene
I have try but I get the following error: Warning: mysql_close(): supplied argument is not a valid MySQL-Link resource in /home/schoolre/public_html/Hitek/Online/connectie.php on line 16 Alain "Jordan S. Jones" <[EMAIL PROTECTED]> schreef in bericht news:[EMAIL PROTECTED] >

Re: [PHP] database

2003-10-27 Thread alain dhaene
It works, Thx "John Nichel" <[EMAIL PROTECTED]> schreef in bericht news:[EMAIL PROTECTED] > alain dhaene wrote: > > I have try > > but I get the following error: > > > > > > Warning: mysql_close(): supplied argument is not a valid MySQL-Link resour

[PHP] data from database

2003-10-28 Thread alain dhaene
tch_array(): supplied argument is not a valid MySQL result resource in /home/schoolre/public_html/Hitek/Online/Registratie/showPerson.php on line 8 What is wrong? Alain -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] data from database

2003-10-29 Thread alain dhaene
it works, thanks, Alain "John Nichel" <[EMAIL PROTECTED]> schreef in bericht news:[EMAIL PROTECTED] > alain dhaene wrote: > > Hi, > > > > I will write a function that returns the result of a recordset. > > I tried this: > > > > Function

[PHP] redirect

2003-10-29 Thread alain dhaene
html"); But I guess it's wrong because header information is already send. Alain -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] redirect

2003-10-29 Thread alain dhaene
registratieData there is a include file to registratieFuncties.php. And in the file registratieFuncties.php there is a include file to Connecties.inc for the connectiestring to the database Alain "Gregory Kornblum" <[EMAIL PROTECTED]> schreef in bericht news:[EMAIL PROTECTED] ing.

Re: [PHP] redirect

2003-10-29 Thread alain dhaene
I have check my code. I haven't use a echo in my code. It's very strange. I will search more on the manule. thx "Pablo Zorzoli" <[EMAIL PROTECTED]> schreef in bericht news:[EMAIL PROTECTED] > On Wed, 2003-10-29 at 16:17, alain dhaene wrote: > > But I get the

Re: [PHP] redirect

2003-10-30 Thread alain dhaene
it works, thx "Chris W. Parker" <[EMAIL PROTECTED]> schreef in bericht news:[EMAIL PROTECTED] Pablo Zorzoli on Wednesday, October 29, 2003 11:20 AM said: > You cannot do any echo ""; before header("location:.."); maybe that's > the problem. The solution would be to

[PHP] include_path

2003-12-22 Thread Alain Williams
ction/test 'require' gets the production/test version of a file. Please CC me on any reply since I don't subscribe to this list. Thanks -- Alain Williams #include FATHERS-4-JUSTICE - Campaigning for equal rights for parents and the best interests of our children. See http://

[PHP] Removing/unsetting session variables.

2003-12-24 Thread Alain Williams
of which have any effect. What should I do ? Thanks Merry Christmas. -- Alain Williams #include FATHERS-4-JUSTICE - Campaigning for equal rights for parents and the best interests of our children. See http://www.fathers-4-justice.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Dreamwever for PHP?

2001-01-10 Thread Alain Fontaine
I suppose he was rather referring to a development IDE. Anyway, you could very loosely consider HTML to be a programming language, too, and Dreamweaver is an IDE for HTML. And, graphical frontends are -by far- not only used for the GUI part. Take a look at VC++, Delphi, etc. You could even consid

Re: [PHP] Good and working documentation generator

2001-01-11 Thread Alain Fontaine
gt; > -- > Alex Black, Head Monkey > [EMAIL PROTECTED] > > The Turing Studio, Inc. > http://www.turingstudio.com > > vox+510.666.0074 > fax+510.666.0093 > > Saul Zaentz Film Center > 2600 Tenth St Suite 433 > Berkeley, CA 94710-2522 > > > > > > From: [EMAIL PROTECT

[PHP] Re: [PHP-WIN] Attaching to a PostgreSQL database on a Linux box from a VB app on NT4

2001-01-10 Thread alain samoun
See WDDX Alain "Brinkman, Theodore" wrote: > > I think the subject pretty much says it all. I need help setting up things > on both ends to let a VB app (on Windows, obviously) connect to a PostgreSQL > database on a Linux box. > > Any help appreciated. > &g

Re: [PHP] SMs

2001-01-14 Thread Alain Fontaine
Hi, This "special server" is usually called an SMSC - SMS Center, run by your mobile operator. These SMSC's are pretty powerful in the way that you can access them through TCP (VPN for sure, and sometimes even HTTP), or through a direct link connexion. You'd need to talk to your mobile operator t

Re: [PHP] Anything similar to phpmyedit?

2001-01-17 Thread Alain Fontaine
Hi, Speaking of dbtools, I don't know what is so awesome about it. It doesn't properly support mySQL's ENUM type, and if you happen to have an error in your table creation, it just errors out and you have to start all over again. "Maxim Maletsky" <[EMAIL PROTECTED]> a écrit dans le message new

Re: [PHP] Unique Session Question

2001-01-20 Thread Alain Fontaine
Hi, How about this: Save the "last action time" as a session variable. Whenever the user hits a page, check that session variable against the current time. If the "last action time" is more than 5 minutes older than the current time, log them out/unset session variables. Should work I guess. ""

[PHP] Form data is not "remembered"

2001-01-24 Thread Alain Fontaine
Hi, I have a page with a couple of form fields that are being POSTed to a processing PHP script. The page that contains these form fields is itself a PHP page that uses sessions and so on. I have to make "server-side data validation" on the fields because of their complexity. When the user hits

Re: [PHP] last_insert_id function

2001-01-24 Thread Alain Fontaine
Hi, Anyway, as far as I know, mysql_insert_id() is just a PHP implementation calling the exact same code as mySQL's internal last_insert_id() function; except for the drawback with the BIGINT thing, the functionality should be exactly the same for both. "Maxim Maletsky" <[EMAIL PROTECTED]> a écr

Re: [PHP] last_insert_id function: I did already

2001-01-24 Thread Alain Fontaine
Hi, To use mySQL's internal function, try something like this: mysql_query("insert into mytable values(1,2,3)"); $rs = mysql_query("select LAST_INSERT_ID() from mytable"); $theLastInsertedID = mysql_result($rs,0,0); ""Jacky@lilst"" <[EMAIL PROTECTED]> a écrit dans le message news: 05f701c0865b$

Re: [PHP] Form data is not "remembered"

2001-01-24 Thread Alain Fontaine
Hi, Thanks for the hint, but using GET method doesn't change anything, unfortunately. "Klepto" <[EMAIL PROTECTED]> a écrit dans le message news: 001401c085f2$3c8801a0$[EMAIL PROTECTED] > Try the "GET" method in the form. > > Jaks > - Original M

[PHP] Conditional include based on virtual host ?

2001-01-26 Thread Alain Fontaine
Hello, I have developed a large web application the contents of which (language and data) depends on the URL the site is accessed from, e.g. en.site.com would display the "english" site, and "fr.site.com" would display the french site, and so on. The whole thing is "parameterized" through a set

[PHP] Re: [PHP-WIN] Re: [PHP] Revised [PHP] COM and PHP

2001-02-28 Thread Alain Samoun
Among other articles, look at the COM functions in PHP4 article: http://www.phpbuilder.com/columns/ Alain On Wed, Feb 28, 2001 at 11:35:15AM +0100, Daniel Tryba wrote: > On Mon, Feb 05, 2001 at 03:05:24PM -0500, Conover, Ryan wrote: > > I have been trying the following example fro

[PHP] ldap

2001-03-07 Thread Alain ROMERO
PHP 4.0.2 on Win32 or PHP 3 on Win32 extension=php_ldap.dll is on in the php.ini file I get 'Unable to load php_ldap.dll' (PHP4) when I call a php file ? I get 'Call to an unsupported function ldap_connect()' (PHP3) ? Help please ? -- PHP General Mailing List (http://www.php.net/) To unsu

[PHP] Error with ldap

2001-03-07 Thread Alain ROMERO
PHP 4.0.2 on Win32 or PHP 3 on Win32 extension=php_ldap.dll is on in the php.ini file I get 'Unable to load php_ldap.dll' (PHP4) when I call a php file ? I get 'Call to an unsupported function ldap_connect()' (PHP3) ? Help please ? -- PHP General Mailing List (http://www.php.net/) To uns

Re: [PHP] Error with ldap

2001-03-07 Thread Alain ROMERO
I copy 'msvcrtd.dll' in winnt\system32 and php3 works fine, but not php4 HELP !!!!! Alain ROMERO a écrit : > PHP 4.0.2 on Win32 > or PHP 3 on Win32 > extension=php_ldap.dll is on in the php.ini file > > I get 'Unable to load php_ldap.dll' (PHP4) when I ca

[PHP] Problem with ereg*_replace and backreference

2001-03-15 Thread Alain FORCIOLI
Hello, This is a sample php code that doesn't work on my workstation. The ouptut is "A\1Cbc" instead of "AbC". Debian Gnu/Linux 2.2 Apache 1.3.14 php 3.0.18 (apache module) Thanks for your help. -- Alain FORCIOLI Risc Technology mailto:[EMAIL PROTEC

[PHP] Windows 2000, PHP, mySQL: multiple users and security

2001-03-15 Thread Alain Fontaine
Hello, My former school has invited me to teach a small course (32 hours) about web development, and I will of course teach PHP and mySQL. The question I now have is the following: How shall I best go about installing PHP and mySQL on a Windows 2000 computer (no Linux, sorry) so that each of the

[PHP] Authorizer V1.0

2001-05-02 Thread Alain ROMERO
http://apollo.spaceports.com/~refcentr/index_auth.html This script work with Unix, not with WinNT. Is there something to do with cookie on WinNT ? Help Please -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] Help please

2001-05-04 Thread Alain ROMERO
This code works fine on Win NT/IIS with Netscape but not with IE4 : cookie is not set ? "; print "var expdate=new Date ();"; print "expdate.setTime(expdate.getTime()+(24*60*60*1000*31));"; print "document.cookie='MYCOOKIE='+escape('".$username.":".md5($username.$userpass)."') +';e

[PHP] Need help cookie

2001-05-04 Thread Alain ROMERO
This code works fine on Win NT/IIS with Netscape but not with IE4 : cookie is not set ? "; print "var expdate=new Date ();"; print "expdate.setTime(expdate.getTime()+(24*60*60*1000*31));"; print "document.cookie='MYCOOKIE='+escape('".$username.":".md5($username.$userpass)."') +';

[PHP] RE: [PHP-DEV] Re: strtok bug

2002-01-13 Thread alain samoun
Manuel: What is broken with strtok() since php4.06? So far my code that use it seems to work ok with PHP4.10...??? I'd Like to know ;) A+ Alain -Original Message- From: Manuel Lemos [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 13, 2002 2:44 PM To: [EMAIL PROTECTED]; [EMAIL PROT

[PHP] converting html entities outside of tags

2002-03-15 Thread Alain Dresse
not This is a <a href="http://www.domain.com">string with "quotes" and other < signs </a> Can anybody help ? Thanks, Alain Dresse [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] storing PDF in a database

2002-03-24 Thread Alain DESEINE
bits) box. The application server is a linux server with apache and PHP. Any feedback about doing somethin like this will be valuable ... Many thanks for responses. Best regards, Alain DESEINE. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] overloading variables in child classes

2001-10-27 Thread Alain Dresse
ild $shared in base : base instead I have $shared in child : child $shared in base : child Is there something I don't understand ? Regards, Alain Dresse [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] RE: overloading variables in child classes

2001-10-28 Thread Alain Dresse
them. It seems to me that this hinders the reuse of classes, which I believe is one of the main objectives of OOP. Regards, Alain "Andrew Kirilenko" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > Hello! > > > Is there something I don'

[PHP] Enabling magic quotes and sybase quotes for just one domain on a virtual server

2001-11-29 Thread Alain DESEINE
ll be perharps possible in some messages, but don't find how to do this ... If somebody know how to do this ... Many thanks for responses. Best regards, Alain DESEINE. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Re: [PHP] Enabling magic quotes and sybase quotes for just one domain on a virtual server

2001-11-29 Thread Alain DESEINE
Faeton wrote: > Hello Alain, > > In httpd.conf (or .htaccess) you can make: > > php_value magic_quotes_gpc On > php_value magic_quotes_sybase On > > Yeah, just like that :) > I just do that in the httpd.conf, restart apache and then invoke the php function

Re: [PHP] Enabling magic quotes and sybase quotes for just one domain on a virtual server

2001-11-29 Thread Alain DESEINE
Ok i've found it ! I hould use "php_flag" instead of "php_value" and now it work fine !! Many thanks ... Alain DESEINE. Alain Deseine wrote: > > > Faeton wrote: > >> Hello Alain, >> >> In httpd.conf (or .htaccess) you can

[PHP] PHP to EJB (Sybase EP, Jaguar engine)

2001-08-19 Thread Alain Fontaine
Hello, I'm looking for ressources, links, articles, or contacts regarding the above subject, namely interfacing PHP to an EJB, particularly Sybase Enterprise Portal (formerly known as Jaguar). Thanks for any input, I appreciate it. -- PHP General Mailing List (http://www.php.net/) To unsubsc

[PHP] ldap

2001-09-07 Thread Alain ROMERO
Version php 4.0.6 Win32 I get : Unable to load './extensions/php_ldap.dll'. Witch dlls must be copied in /winnt/system32 (dlls are all in /php/dlls ?). -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

[PHP] Crazy problem with PDFLIB 4.0.1 and PHP 4.0.6

2001-10-01 Thread Alain DESEINE
username" field. There is no problem with the SYBASE record because the script print $row["username"] in the html returned page too. It seems to me like a memory allocation problem ... Does anybody experience the same problem ? If anybody have an idea ... Many thanks for help. Al

[PHP] Crazy problem with PDFLIB 4.0.1 and PHP 4.0.6

2001-10-01 Thread Alain DESEINE
username" field. There is no problem with the SYBASE record because the script print $row["username"] in the html returned page too. It seems to me like a memory allocation problem ... Does anybody experience the same problem ? If anybody have an idea ... Many thanks for he

[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] $_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] 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] 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.

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

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

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

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

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

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

[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] 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] 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] 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] Store and retrieve photo from PostgreSQL

2007-02-25 Thread Alain Roger
Hi, I would like to store and retrieve photo from my DB (PostgreSQL). However, i do not know how to do it. Where can i find some example ? thanks a lot, -- Alain Windows XP SP2 PostgreSQL 8.1.4 Apache 2.0.58 PHP 5

[PHP] how to display images stored in DB

2007-02-25 Thread Alain Roger
Hi, i stored all my pictures in my PostgreSQL DB as bytea type. Now i would like to know how can i display them in my PHP pages ? where can i find some example ? thanks a lot, -- Alain Windows XP SP2 PostgreSQL 8.1.4 Apache 2.0.58 PHP 5

[PHP] how to retrieve pictures from postgreSQL DB

2007-02-25 Thread Alain Roger
the PHP page ? My code : -- Alain Windows XP SP2 PostgreSQL 8.1.4 Apache 2.0.58 PHP 5

[PHP] pictures stored in PostgreSQL DB

2007-03-03 Thread Alain Roger
like a thumbnail... thanks a lot, -- Alain Windows XP SP2 PostgreSQL 8.1.4 Apache 2.0.58 PHP 5

Re: [PHP] pictures stored in PostgreSQL DB

2007-03-03 Thread Alain Roger
you, I would make a page that does nothing but returns an image. Something like getimage.php?image= and call it with . Hope that helps. - Original Message From: Alain Roger <[EMAIL PROTECTED]> To: PHP General List Sent: Saturday, March 3, 2007 3:18:25 AM Subject: [PHP] pictur

Re: [PHP] pictures stored in PostgreSQL DB

2007-03-03 Thread Alain Roger
Hi Rob, thanks for information. As you told me i use 2 files to do what i need. 1 for displaying th thumbnail and the other just to display the picture. That's works great. However, how can i resize the picture (in my thumbnail) if my pictures are stored to DB ? i mean that my picture is stored

[PHP] Pager_Wrapper_MDB2 and PHP

2007-03-03 Thread Alain Roger
Hi, How to get the number of items stored in the Pager_Wrapper_MDB2 object ? thx. -- Alain Windows XP SP2 PostgreSQL 8.1.4 Apache 2.0.58 PHP 5

[PHP] file open dialog box

2007-03-04 Thread Alain Roger
Hi, I would like to have an Open file dialog box in my PHP page like it exist on Microsoft Windows. This dialog box should allow user to select a file from his computer. Is there something like that in PHP ? thx. -- Alain Windows XP SP2 PostgreSQL 8.1.4

[PHP] upload file

2007-03-04 Thread Alain Roger
Hi, I would like in fact to make more precise my previous post. I would like in fact to restrict the file extension (and therefore the user possibility). My user should be able only to upload files with extension JPEG, BMP, GIF. How can i set those parameter ? thx. -- Alain

[PHP] TabPage like in Java or Windows

2007-03-04 Thread Alain Roger
Hi, I would like to know if it exist a class with allow to have a windowed form tabbed like under Firefox (each web page is included into a tabbed page control) I attached a screenshot to this post in order to illustrate what i'm looking for. thanks a lot for your comment. --

[PHP] module and access rights

2007-03-04 Thread Alain Roger
store them in cookies or in sessions data... both can be hacked... So what is the best solution ? i will use those stored data to check if logged user can have access to a particular part of the web application. What is your point of view in such domain ? thanks a lot. --

Re: [PHP] module and access rights

2007-03-04 Thread Alain Roger
Hi, do not worry, i will not store a password in a cookie. it is stored encrypted into database. Al. On 3/4/07, Stut <[EMAIL PROTECTED]> wrote: Alain Roger wrote: > I would like to implement a module access rights in my web application. > Basically after authentication and a

Re: [PHP] module and access rights

2007-03-04 Thread Alain Roger
data should be stored ? because i can store in DB the sessionID, and check it to every DB request user does...but a sessionID can be easily fake. So what should I do ? Al. On 3/4/07, Tijnema ! <[EMAIL PROTECTED]> wrote: On 3/4/07, Stut <[EMAIL PROTECTED]> wrote: > > Alain Roger

Re: [PHP] file open dialog box

2007-03-05 Thread Alain Roger
Thanks for your answer Chris, but i already used this example yesterday as base for my request. Alain On 3/5/07, Chris <[EMAIL PROTECTED]> wrote: Alain Roger wrote: > Hi, > > I would like to have an Open file dialog box in my PHP page like it > exist on > Microsoft Windo

Re: [PHP] module and access rights

2007-03-05 Thread Alain Roger
But where do you store the $server_unique_key ? in DB ? if yes, it should be different for each user logged-in to system. Moreover, the $chec_string algorithm should not written in cookie as it is a weakness from my point of view. Alain On 3/4/07, Tijnema ! <[EMAIL PROTECTED]> wrote:

Re: [PHP] module and access rights

2007-03-05 Thread Alain Roger
other request. In short, this issue has been discussed to death, not only by the PHP community but also by the web community at large. If you're really paranoid, use SSL to secure all data transferred, but just accept that it's possible that a session may be hijacked. However, unless yo

[PHP] session question

2007-03-05 Thread Alain Roger
? moreover, if i use a print "Session ID : ".session_id(); after those lines, session_id() is empty (which is logical) as no session_start(); command has been used before. So, how is it possible that $_SESSION['..'] works ? Do i have a session created or not ? -- Alain

Re: [PHP] session question

2007-03-05 Thread Alain Roger
dex.php" page, there are some $_SESSION['...']; > variables > stored. > How is it possible that $_SESSION['...']; works even if no session has > been > created before ? > If the page is redirected to from some other place? - Ólafur W -- Alain Windows XP SP2 PostgreSQL 8.1.4 Apache 2.0.58 PHP 5

[PHP] change Style Sheet by programming

2007-03-06 Thread Alain Roger
eme (CSS file) to use to render my object. However, how can i tell to my class to render or update his render with new CSS file theme ? can it be possible to provoke something like a refresh ? Or it is only a CSS or JS topic ? thanks a lot, -- Alain Window

[PHP] namespace equivalent in PHP

2007-03-07 Thread Alain Roger
? thanks a lot, -- Alain Windows XP SP2 PostgreSQL 8.1.4 Apache 2.0.58 PHP 5

[PHP] Class and subclass

2007-03-07 Thread Alain Roger
lic function test() { $this->myotherclass->Render(); } } however, i'm not able to access to ->Render() of class B from Class A property. Where could be the problem ? -- Alain Windows XP SP2 PostgreSQL 8.1.4 Apache 2.0.58 PHP 5

Re: [PHP] Class and subclass

2007-03-07 Thread Alain Roger
A() or B() mean constructors of th class A and B respectively. Al. On 3/7/07, Robert Cummings <[EMAIL PROTECTED]> wrote: On Wed, 2007-03-07 at 14:23 +0100, Alain Roger wrote: > Hi, > > i have a class A with some properties. > i have a class B with several public funct

Re: [PHP] Class and subclass

2007-03-07 Thread Alain Roger
Yes, for sure. On 3/7/07, Tijnema ! <[EMAIL PROTECTED]> wrote: On 3/7/07, Alain Roger <[EMAIL PROTECTED]> wrote: > > A() or B() mean constructors of th class A and B respectively. > > Al. Yes but they are functions. On 3/7/07, Robert Cummings <[EMAIL PROTEC

[PHP] Javascript and PHP interaction

2007-03-08 Thread Alain Roger
tyle:width) is not define DIRECTLY to HTML code (but only in CSS file), the javascript is not able to return the value (but only 'undefined'). So i would like to know if PHP could help me in this way ? thanks a lot, -- Alain Windows XP SP2 PostgreSQL 8.1.4 Apache 2.0.58 PHP 5

  1   2   3   4   >