[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] html forms and php

2006-01-31 Thread Philippe Reynolds
Greetings all, Currently I have a form that has two lists that contain options. I use javacript to dynamically move options from one select list to another. All this works fine... this is the select: select name=trucklist size=12 style=width: 150px multiple option value=LT680LT680/option

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

[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

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:

Re: [PHP] Socket functions

2005-08-30 Thread Philippe Reynolds
;/ibrTo: iPhilippe Reynolds lt;[EMAIL PROTECTED]gt;/ibrCC: iphp-general@lists.php.net/ibrSubject: iRe: [PHP] Socket functions/ibrDate: iTue, 30 Aug 2005 09:49:22 +0300/ibrgt;Philippe Reynolds wrote:brgt;gt;Greetings,brgt;gt;brgt;gt;When I do an ifconfig in unix, I see the the IP address

[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

[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

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

Re: [PHP] problem with IE and php

2005-06-08 Thread Philippe Reynolds
Hey, yeah I do have form tags. They are the following: form name=NAME method=GET action=Secondpage.php input... /form -- 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 pass

[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] 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_ (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- De : Marek Kilimajer [mailto

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

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 BENARD Consultant STERIA

[PHP] const in PHP

2003-10-16 Thread BENARD Jean-philippe
; } function is_set() { if ($this-set === true) return true; else return false; } } (o_ BENARD Jean-Philippe - Consultant STERIA Infogérance (o_ (o_ //\ RENAULT DTSI/ODPS/[EMAIL

[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

[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. (o_ BENARD Jean-Philippe

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

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

2003-09-23 Thread BENARD Jean-philippe
); 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] Start php-script with exec()? Is it possible? I have a file

[PHP] PHP class and extends

2003-09-23 Thread BENARD Jean-philippe
= [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 PROTECTED] * ALO * API : MLB 02C 1 14 (/)_ (\)_ V_/_ 2 Av du vieil étang * 78181

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

2003-09-22 Thread BENARD Jean-philippe
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 use? well, i like to use

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

2003-09-18 Thread BENARD Jean-philippe
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 STERIA Infogérance (o_ (o_

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

[PHP] Re: adodb + oracle 8i

2003-03-17 Thread Philippe Saladin
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

Re: [PHP] Oracle to MySQL

2003-02-20 Thread Philippe Saladin
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: 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

[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 html and ending with /html, called index.php, and

[PHP] Re: Security in included PHP files

2003-01-16 Thread Philippe Saladin
be ok? Regards, Philippe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2003-01-10 Thread Philippe Saladin
) 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
/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 html tag. Regards, Philippe -- PHP General Mailing List (http

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

2003-01-09 Thread Philippe Saladin
'] Regards, Philippe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: offline application

2002-12-19 Thread Philippe Saladin
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
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
(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] How to send POST info without a form?

2002-10-03 Thread Philippe Saladin
; Regards, Philippe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

[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 (500Mb !!)

[PHP] Re: sessions nightmare

2002-09-11 Thread Philippe Saladin
$_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 : echo 'pre'; print_r($_SESSION); echo '/pre'; Chris [EMAIL PROTECTED] a écrit dans le

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

2002-07-19 Thread Philippe Saladin
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] Bad table iso-8859-1

2002-07-09 Thread Philippe
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't speed. Any suggestions ?? best regards. Philippe BARRIELLE Sce Informatique

[PHP] Re: ORACLE!!!

2002-06-18 Thread Philippe Saladin
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 name by its entire definition. Hope it will help you ! Regards, Philippe -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] problem with fsockopen and lenght of fputs

2002-05-07 Thread Philippe
,strlen($message)); fclose($fd); Thanks for your response, Best regards. Philippe BARRIELLE Sce Informatique --- * S.A. Editions et Publicites - ABRITEL * 109, La Canebière

[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] Hi all, Is it possible to get dates

[PHP] Session with or not cookies

2002-04-05 Thread Philippe
. 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
? 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: Does anybody use UltraDev?

2002-03-24 Thread Philippe Saladin
or 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) -- PHP General Mailing List (http://www.php.net

[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'm having trouble

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

2002-02-07 Thread Philippe Saladin
. But 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] Would this happen to be the one

[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 use PHP/Oracle-functions like ociconnect

[PHP] problem with pdf_set_font

2001-12-07 Thread Philippe Allart
. 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 administrators, e-mail: [EMAIL

Re: [PHP] generating charts/graphics

2001-10-22 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.nu/jpgraph/ M.N

[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. your configure call? Do you

[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. Also note I did say

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

2001-10-21 Thread Philippe
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 Stefan Siefert writes: Hi

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

2001-10-20 Thread Philippe
/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] For additional

[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: Philippe, Does the file name end

[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's in cgi-bin directory, and yes others cgi

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

[PHP] Re: Sessions Variables and refresh pages

2001-10-03 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 message news: [EMAIL