[PHP] Bad table iso-8859-1

2002-07-09 Thread Philippe
'master values' I canno't change the value in php.ini because on MacOS X, there wans't a file php.ini So I've made a personal function to change code on fly but it isn&#x

[PHP] problem with fsockopen and lenght of fputs

2002-05-07 Thread Philippe
t;.chr(13).chr(10); $message.="Content-Transfert-Encoding: 8bit".chr(13).chr(10); $message.=chr(13).chr(10); $message.=$msg.chr(13).chr(10); $message.=".".chr(13).chr(10); $message.="QUIT".chr(13).chr(10); $fd=fsockopen($ip_serveur,25); fputs($fd,$message,strlen($message)

[PHP] Session with or not cookies

2002-04-05 Thread Philippe
acOs X.1.3 with PHP 4.1.2. Thanks for your answer. Best regards, Philippe B. http://www.allovac.com France -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Session with or not cookies

2002-04-05 Thread Philippe
t;It is a change in this new version ? Do I make a change in my program ? > >I'm working on MacOs X.1.3 with PHP 4.1.2. Philippe B. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP/CGI problem: #!/path/php at top of CGI script appears in output

2001-10-19 Thread Philippe
Hi, My file end in .cgi, it's in 777 It isn't handled by Apache because it don't work if I don't put #!/usr/local/bin/php It's in cgi-bin directory, and yes others cgi languages work well (I've already tested perl) Philippe Curt A. Gilman writes: > Phili

[PHP] Re: PHP/CGI problem: #!/path/php at top of CGI script appears in output

2001-10-19 Thread Philippe
Hi, A small update, the file is in 755 (otherwise Suexec don't let the script work) Philippe Philippe writes: > Hi, > My file end in .cgi, it's in 777 > It isn't handled by Apache because it don't work if I don't put > #!/usr/local/bin/php > It&#x

[PHP] PHP/CGI problem: #!/path/php at top of CGI script appears in output

2001-10-20 Thread Philippe
-- #!/usr/local/bin/php Hello World Does someone know the problem and the solution ? Have I forgotten something ? I think that's a misconfiguration in PHP Thanks for your help Philippe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

[PHP] Re: PHP/CGI problem: #!/path/php at top of CGI script appears in output

2001-10-21 Thread Philippe
ee these lines [Sun Oct 21 17:30:10 2001] [error] (8)Exec format error: exec of /home/webbourse/cgi-bin/php.cphp failed [Sun Oct 21 17:30:10 2001] [error] [client 212.103.7.98] Premature end of script headers: /home/webbourse/cgi-bin/php.cphp Someone has an idea Thanks Philippe Stef

[PHP] Re: AW: PHP/CGI problem: #!/path/php at top of CGI script appears in output

2001-10-22 Thread Philippe
Hi, Yes I have used --enable-discard-path, the script work with #!/usr/local/bin/php I'll give the full configuration later Philippe Stefan Siefert writes: > Hi, > > well I do understand your needing. > > First a question. What are your compile options, e.g.

[PHP] Re: PHP/CGI problem: #!/path/php at top of CGI script appears in output

2001-10-22 Thread Philippe
Hi, You're right Dave But nobody had already used PHP with CGI and with Apache ??? I searched on the net, but I've found no documentation on this problem Bye Philippe Dave Goodrich writes: > Nope it fails when he removes the line. It fails on me as well, I tried > it.

[PHP] Re: offline application

2002-12-19 Thread Philippe Saladin
(like PHP, Perl, Python, or other script parser) with a file parameter, showing the result in a HTML viewer. The Zip file has PHP4 enclosed. " Regards, Philippe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: offline application

2002-12-19 Thread Philippe Saladin
nderstood your problem. Hope it will help you ! Regards, Philippe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: offline application

2002-12-19 Thread Philippe Saladin
ncerning your first question (burning a php application on a cd), you would also look at http://www.webmasterworld.com/forum13/1760.htm Philippe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Can you insert into $_POST manually?

2003-01-09 Thread Philippe Saladin
"); fputs($fp, "Content-length: ".strlen($data_to_send)."\n"); fputs($fp, "Connection: close\n\n"); fputs($fp, $data_to_send); while(!feof($fp)) { echo fgets($fp, 128); } fclose($fp); } with $data_to_send = "formfield1=myfieldvalue1&formfield2=my

[PHP] Re: undefined variable notice - how to furn of

2003-01-10 Thread Philippe Saladin
ing(E_NONE) (or a file log) on the production one. Best regards, Philippe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Header information ...

2003-01-10 Thread Philippe Saladin
e a look at http://www.php.net/manual/en/function.header.php. >From online help : "Remember that header() must be called before any actual output is sent, either by normal HTML tags, blank lines in a file, or from PHP" So you would test your variable $i BEFORE the tag. Regards, Phil

[PHP] Re: Security in included PHP files

2003-01-16 Thread Philippe Saladin
27;m safe. Am I wrong or do you think it could be ok? Regards, Philippe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Security in included PHP files

2003-01-17 Thread Philippe Saladin
"Jacob Copsey" <[EMAIL PROTECTED]> a écrit dans le message news: [EMAIL PROTECTED] > This should work as long as you are only including your include files from > scripts named index.php. Yes, of course. I have only one *real* page beginning with and ending with , called index.php, and depending

[PHP] Re: Powerpoint presentations?!?

2003-02-07 Thread Philippe Saladin
> I've been asked to write code that will dynamically generate Microsoft > Powerpoint presentations. It has to assemble collections of pages, and > possibly substitute a word or phrase here and there (mailmerge style). > > There doesn't seem to be a published document describing Powerpoint file >

Re: [PHP] Oracle to MySQL

2003-02-20 Thread Philippe Saladin
, etc. See http://www.php.net/manual/en/ref.oci8.php) --with-oracle is older, and only for oracle 7. this is for php ora* functions (ora_logon, etc.). IMHO, you can forget them. Regards, Philippe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: adodb + oracle 8i

2003-03-17 Thread Philippe Saladin
you have to use the 'oci8' extension, to let adodb use the php ocilogon functions and friends. So, try : $conn =& ADONewConnection('oci8'); note : you would also have to compile php with --oci, and the oracle client is also needed. Regards, Philippe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] help on sessions

2003-03-24 Thread Philippe Lemmerling
If I understood correctly, the first time start_session is used, the server will send both a cookie AND rewrite the links in the page with the sessionid appended to it. This seems logical since at the first call for a session the server can not know whether the browser will accept cookies or not. H

[PHP] Re: sessions nightmare

2002-09-11 Thread Philippe Saladin
ot; will be automatically registered when you write $_SESSION["Item"] = $retrived_itemno; And, be careful for the typo : it is $_SESSION["Item"] and not $SESSION[Item] (notice the _ and the ""). Regards, Philippe A tip : display what is in your session with this code : e

[PHP] Re: PHP with Oracle

2002-10-02 Thread Philippe Saladin
> Warning: Unable to load dynamic library 'C:\PHP\extensions/php_oci8.dll' - there are slashes and backslashes in the string 'C:\PHP\extensions/php_oci8.dll'. it looks odd. May be you would have a look to include_path and extension_dir in php.ini ? Regards, Philippe

[PHP] Re: Connect to oracle on another host

2002-10-02 Thread Philippe Saladin
> I've been writing PHP scripts for a long time but never needed to get data > from an Oracle database. Till now. - First, you need php compile with --oci - Then, you have to install the "oracle client". Note : you can't find the "oracle client" alone. you need to download the entire oracle (500M

Re: [PHP] How to send POST info without a form?

2002-10-02 Thread Philippe Saladin
); } with $data_to_send = "formfield1=myfieldvalue1&formfield2=myfieldvalue2"; Regards, Philippe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: ORACLE!!!

2002-06-18 Thread Philippe Saladin
(Host = 21.1.1.45) (Port = 1526) ) ) (CONNECT_DATA = (SID = ORCL) ) ) ... then your $tns argument will be "sa_tcp32". If you don't set several variables with putenv, you may encounter some problems with this third argument. Then you can replace its

Re: [PHP] Cookies - good or bad???

2002-07-18 Thread Philippe Saladin
ful. But I agree that other uses of javascript, in most of the cases, can be avoided. Regards, Philippe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] upload security

2003-10-01 Thread Philippe Lemmerling
I have a question concerning security of my file upload script. I'm using the php upload routines (move_uploaded_file,...) and variables ($_FILES) to upload images to a webdirectory. Everything works fine, meaning that I can upload images BUT only if I change the permission of the directory to whic

[PHP] Re: PHP/ Oracle 'undefined function'

2002-01-18 Thread Philippe Saladin
PHP has to be compiled with the oci8 support (built-in module). The oracle extension is the "old one", the newest is oci8. Regards, Philippe "Gkin" <[EMAIL PROTECTED]> a écrit dans le message news: [EMAIL PROTECTED] > I get "undefined function" when I u

Re: [PHP] Re: DreamWeaver/PHP ability?

2002-02-07 Thread Philippe Saladin
now, I also use UltraEdit and HTMLKit (php code is more readable). Now, I use Ultradev to see the html design of a php page, which can't be done with these others editors. Regards, Philippe "Dr. Shim" <[EMAIL PROTECTED]> a écrit dans le message news: [EMAIL PROTECTED] > Wou

[PHP] Re: OCILogin error message

2002-02-28 Thread Philippe Saladin
Have you stop / start your server ? or may be there are some dependencies needed? try to if a DLL is missing, using http://www.dependencywalker.com/ Regards, Philippe "Dharmesh Goradia" <[EMAIL PROTECTED]> a écrit dans le message news: [EMAIL PROTECTED] > Hi, >I

[PHP] Re: Does anybody use UltraDev?

2002-03-24 Thread Philippe Saladin
UltraEdit for the php code. Regards, Philippe "::: Rober2 :::" <[EMAIL PROTECTED]> a écrit dans le message news: [EMAIL PROTECTED] > Hey! > > Does anybody use UltraDev for PHP? > Any comments about it? > > (Personally I go for Visual PHP Studio) > &g

[PHP] Re: DATES in DIFFERENT LANGUAGES

2002-04-15 Thread Philippe Saladin
You would have a look to setlocale and strftime. Example, to have a French date : setlocale (LC_TIME, "fr"); echo strftime("%e %B"); // gives 15 avril Regards, Philippe "Declan Kenny" <[EMAIL PROTECTED]> a écrit dans le message news: [EMAIL PROTECTED]

Re: Re[2]: [PHP] working with XML

2001-10-17 Thread Philippe Saladin
You would copy php_domxml.dll (found in php\extensions) to win\system32, or modify extension_dir in php.ini, AND uncomment the line extension=php_domxml.dll in php.ini. Regards, Philippe "Olexandr Vynnychenko" <[EMAIL PROTECTED]> a écrit dans le message news: [EMAIL PROTECTED]

Re: [PHP] generating charts/graphics

2001-10-21 Thread Philippe Saladin
Phil Davis has developed HTML_graphs : it draws various html base charts. See his website at http://www.webguys.com/pdavis/programs/html_graphs/ Philippe "Mirek Novak" <[EMAIL PROTECTED]> a écrit dans le message news: [EMAIL PROTECTED] > Try this http://www.aditus.

[PHP] problem with pdf_set_font

2001-12-07 Thread Philippe Allart
so this error this the value 4. Once again, it worked very welle before. What is the problem? Thanks for helping! Philippe Allart. -- 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

[PHP] Re: Sessions Variables and refresh pages

2001-10-02 Thread Philippe Saladin
is your web server a Microsoft one (IIS, PWS, ...) ? I'm not sure, but I think there is a known problem with them if you set a session variable and do a redirect in the same page. Can anyone confirm this ? Philippe "Karina Gómez Salgado" <[EMAIL PROTECTED]> a écrit dans le

[PHP] When are headers sent? (headers_sent function)

2007-02-09 Thread Philippe Piernot
I understand that the headers_sent() function will tell me whether headers have been sent or not. What I do not understand is what triggers the headers to be sent to the browser in the first place. Does this happen as soon as the first output occurs?

[PHP] Re: What should I name my base class?

2004-11-18 Thread Philippe Jadin
, because then you can easily plug in new base functionality. Is it standard OO practice or PHP specific ? (lack of multiple inheritance for instance (pun intended somewhat)) Thanks Philippe (new to this group) Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] problem with IE and php

2005-06-08 Thread Philippe Reynolds
Hi all, I running two php web page...therefore the page name has the ".php" on the end. The first page contains a form with a submit button at the botton. That submit button actions the second ".php" page. When I use my firefox browser everything works fine. When I use Internet Explorer, the

[PHP] problem between IE and PHP

2005-06-08 Thread Philippe Reynolds
Hi all, I'm having a little problem with the interaction between php and IE. I have two ".php" pages. The first contains a form with the standard submit button. However when I come to push the button, I get a "ding" sound (standard error sound) and it seems like the button is deactivated. H

Re: [PHP] problem with IE and php

2005-06-08 Thread Philippe Reynolds
Hey, yeah I do have form tags. They are the following: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] problem with IE and php

2005-06-08 Thread Philippe Reynolds
Acutally, I have just resolved my problem. I was using method="get" in my form (which contains at least a hundred values to be passed back). This overloaded the address length and therefore could not and would not action the second page. I switch to method="post" in my form (which does not p

[PHP] LAN IP address

2005-08-29 Thread Philippe Reynolds
Hi all, I would like to find a way to get my computers LAN IP address through PHP. I tried using the gethostbyname("HOSTNAME") function, however I only got back the 127.0.0.1 address. Any help is always appreciated Cheers Phil -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] LAN IP address

2005-08-29 Thread Philippe Reynolds
Yes, I would hard code my IP address but when the computer crashs the server assigns it a different IP address, so I have to make my code a tad more dynamic... I havn't touched Java in a while, would you know the function for that? Thanks again I think you want to get the internal IP adress w

[PHP] Socket functions

2005-08-29 Thread Philippe Reynolds
Greetings, When I do an ifconfig in unix, I see the the IP address for the my ethernet. It follows something called inet. Would anyone know who to manipulate the socket functions to be able to extract the inet IP address fromt the eth0 section?? Cheers Phil -- PHP General Mailing List (ht

Re: [PHP] Socket functions

2005-08-30 Thread Philippe Reynolds
WOW...so much simpler..thank you very much!! Cheers Phil style='FONT-SIZE:11px;FONT-FAMILY:tahoma,sans-serif'>size=1> From: Burhan Khalid <[EMAIL PROTECTED]>To: Philippe Reynolds <[EMAIL PROTECTED]>CC: php-general@lists.php.netSubject: Re: [PHP] Socket functio

[PHP] date parsing

2005-09-13 Thread Philippe Reynolds
Greetings all, I am trying to find a function or a way to parse a date that has the following format 2005124 or 20051204. When I have a date that has a single digit (ie month, day) all the date/time function seem to go bizarre. When it is a full 8 digit string everything is fine. When ther

Re: [PHP] date parsing

2005-09-13 Thread Philippe Reynolds
Much appreciated all, I was kindda hopping that I missed something, some mysterious function... My solution to this is: if a value like 2005416 to ignore it and only look for 2005/4/16 or 20050416. Cheers Phil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

[PHP] html forms in php

2005-09-15 Thread Philippe Reynolds
Good day all, I have a problem for you all.. I have a form that has has the ability to delete a lot of information from my MySQL database. I would like to create a bit of security, in case the user hits the button by accident. I would like to create an additionnal window that would appear th

[PHP] html forms and php

2006-01-31 Thread Philippe Reynolds
Greetings all, Currently I have a form that has two lists that contain . I use javacript to dynamically move options from one select list to another. All this works fine... this is the : LT680 LT685 LT690 LT695 LT700 LT705 Now I wish to "post" all the options from one list to anothe

Re: [PHP] html forms and php

2006-01-31 Thread Philippe Reynolds
Awesome...that solved it!! Thanks a bunch to everyone who contributed!! Cheers Phil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] SSO (Single Sign On) for multiple PHP apps

2003-09-18 Thread BENARD Jean-philippe
es which are in the same workgroup for political reason (We can't imagine making them in PHP ...). If the first solution exist (making a SSO for all PHP apps), is a second solution for PHP/JAVA SSO could be imagined? Many thanks in advance. (o_ BENARD Jean-Philippe - Consultant

[PHP] RE : [PHP] PHP Editor - which to use?

2003-09-22 Thread BENARD Jean-philippe
a good choice for a professional use. Cordialement, Jean-Philippe BENARD Consultant STERIA Infogérance ([EMAIL PROTECTED]) -Message d'origine- De : Ruessel, Jan [mailto:[EMAIL PROTECTED] Envoyé : lundi 22 septembre 2003 11:00 À : [EMAIL PROTECTED] Objet : RE: [PHP] PHP Editor - which to u

[PHP] RE : [PHP] Start php-script with exec()?

2003-09-23 Thread BENARD Jean-philippe
hp/bin/php /tmp/toto.php >/dev/null &"); Cordialement, Jean-Philippe BENARD Consultant STERIA Infogérance ([EMAIL PROTECTED]) -Message d'origine- De : Victor Spång Arthursson [mailto:[EMAIL PROTECTED] Envoyé : lundi 22 septembre 2003 14:16 À : [EMAIL PROTECTED] Objet : [PHP] Star

[PHP] PHP class and extends

2003-09-23 Thread BENARD Jean-philippe
: (xxx_cl_app.php) function ExecuteQuery(x,y) { $tmpResult = [herited_class]->ExecuteQuery(x,y); return array($tmpResult[1], $tmpResult[0]); } Thanks in advance ! (o_ BENARD Jean-Philippe - Consultant STERIA Infogérance (o_ (o_ //\ RENAULT DTSI/ODPS/[EMAIL

[PHP] PHP & Rading excel files

2003-09-29 Thread BENARD Jean-philippe
Hi ! It's possible to export data to excel (csv, xml, PEAR excel file writing, ...) but is it possible to import data from excel ? (i.e.: I want to get the data which is in Cell "A1" of sheet "Toto" in the posted .xls file). Thanks in advance. (

[PHP] RE : [PHP] PHP & Rading excel files

2003-09-29 Thread BENARD Jean-philippe
I know exporting xls file to csv (or other tagged export) is not very difficult but in order to make a « all-users » application we must accept xls files. Cordialement, Jean-Philippe BENARD Consultant STERIA Infogérance ([EMAIL PROTECTED]) -Message d'origine- De : Kevin Bruce [m

[PHP] "const" in PHP

2003-10-16 Thread BENARD Jean-philippe
function setDefaultAttributes() { $this->set = true; $this->attributes = ArcaAttributes::ATT_DEFAULT_PERSON_ATTRIBUTES; } function is_set() { if ($this->set === true) return true; else

RE: [PHP] DB's on seperate server

2003-10-20 Thread BENARD Jean-philippe
Hi, With Oracle I'm sure the answer is "YES". Once compiled, PHP needs Oracle libs in order to use OCI. I don't know exactly which libs but I think there's somewhere a list of all needed libs which you could copy on your web server. Cordialement, Jean-Philippe

[PHP] PHP 4.3.3 On Netscape WebServer

2003-10-24 Thread BENARD Jean-philippe
Hi, I don't find anything about PHP module/integration for netscape webserver. Does somebody has done it or know where I can found interesting articles? (how to compile PHP, how to make a module, ...). Many thanks in advance. (o_ BENARD Jean-Philippe - Consultant S

[PHP] Reading and using GIF files

2003-10-30 Thread BENARD Jean-philippe
Hi, Now GD doesn't support GIF file format, how can I use imageXXX functions in order to resize/transform/... GIF files? Are there any tools transforming GIF to JPG/PNG/..? Thks in advance. (o_ BENARD Jean-Philippe - Consultant STERIA Infogérance (o_

RE: [PHP] Reading and using GIF files

2003-10-30 Thread BENARD Jean-philippe
>>> Fatal error: Call to undefined function: imagecreatefromgif() in ... New GD version doen't include "imagecreatefromgif" api because of gif patent ... Cordialement, Jean-Philippe BENARD Consultant STERIA Infogérance ([EMAIL PROTECTED]) -Message d'origine-