Re: [PHP] adding code and beginning and end without includes

2006-03-16 Thread Claudio Corlatti
search in google php +prepend +htaccess http://www.codingforums.com/showthread.php?t=78287 bye bye Claudio blackwater dev wrote: Is there a way to intercept and add code at the beginning and end of every http request - WITHOUT having to put an include at the top and bottom of every page

Re: [PHP] Parse Error

2006-02-21 Thread Claudio Corlatti
Hi, you need to finish every line with ; $host=localhost ; $user=ray ; $password=* ; Bye Ray Cantwell wrote: Hi all, I am a noob and super confused right now. I have some really simple code and i am getting an error that reads: *Parse error*: syntax error, unexpected T_VARIABLE in

[PHP] LDAP Paged Search

2005-10-31 Thread Claudio
resolve it, PHP does not provide a solution. So I decided to subscribe this list, maybe someone here knows how to resolve this problem? Thanks in advance! Claudio -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] include file to global scope

2005-10-12 Thread Claudio
? Thanks, Claudio -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] include file to global scope

2005-10-12 Thread Claudio
. The file1.php5 represents a newer application. File2 will not work, because $abc is not a global var. Ok, I could search for all declared vars and add a global to it. Thats not realy a nice solution. Do anyone have a better Idea? Claudio file1.php5: - ?php class testInc { public static function

[PHP] pear.php.net

2005-10-12 Thread Claudio
is http://pear.php.net offline? snip Warning: Invalid argument supplied for foreach() in /usr/local/www/pearweb/include/pear-format-html.php on line 360 Warning: Invalid argument supplied for foreach() in /usr/local/www/pearweb/include/pear-format-html.php on line 360 Warning: Invalid

Re: [PHP] include file to global scope

2005-10-12 Thread Claudio
Is it possible to process the file in second php instance? An only get its output? Claudio -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] DOMDocument and html doctype

2005-05-14 Thread Claudio
... Thanks, Claudio -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] buffering headers before send

2005-05-07 Thread Claudio
Hi, is there a way to buffering headers before sending like ob_start() ? Thanks, Claudio -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: buffering headers before send

2005-05-07 Thread Claudio
M. Sokolewicz [EMAIL PROTECTED] schrieb im Newsbeitrag ob_start buffers both `normal` output AND headers. Humm, now it works... Is there something else that must be set, so that ob_start() works or not? Something like an php.ini entry? Here is the listing of ob_start.php5 ?php ob_start(); echo

Re: [PHP] SimpleXML add a node

2005-03-13 Thread Claudio
@richard I dunno about that whole try/catch thing, but if you're not going to USE it to catch the errors, then you might as well be old school and check the return values of all these functions. that sounds good, but , so far I know, if the API says that a function _can_ throw an exception, I

[PHP] SimpleXML add a node

2005-03-11 Thread Claudio
Hi, I probably have a stupid question... how can I add a node into an existing simplexml object. I create the object by $xml = simplexml_load_file('test.xml'); the xml file shows like this: ?xml version='1.0'? config /config Thanks for help... -- PHP General Mailing List

Re: [PHP] SimpleXML add a node

2005-03-11 Thread Claudio
php.net/dom ?? Like this? --- try { $dom = new DOMDocument(); $config = $dom-appendChild($dom-importNode(dom_import_simplexml($this-configXML),true)); $config-appendChild( $dom-createElement(($mode? 'softactive':'active')) ); $this-configXML = simplexml_import_dom($config); }

[PHP] CLI CGI

2005-02-04 Thread Claudio
Can I use the CGI executable at the command-line? In other words, what is the diference between the CLI and CGI Version? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Premature end of script headers: php

2005-02-03 Thread Claudio
Hi, Im trying to use PHP4 and PHP5 at the same time. PHP4 as CGI and PHP5 as module. PHP5 ist actually not present and not installed PHP4 runs find as module, when I try to use it as CGI I receive the error message: Premature end of script headers: php Can someone help me? Here my used

Re: [PHP] Premature end of script headers: php

2005-02-03 Thread Claudio
Maybe... What is the diference? In /usr/local/php-4.3.10/ I have 5 files after make install (pear php php-config phpextdist phpsize) What should I do? How can I make the cgi-executable? Marek Kilimajer wrote: My guess cli binary is executed instead of cgi. Claudio wrote: Hi, Im trying

Re: [PHP] Premature end of script headers: php

2005-02-03 Thread Claudio
4.3.10 (cgi) (built: Feb 3 2005 22:59:02) Copyright (c) 1997-2004 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies now it runs... PHP4 as CGI and PHP5 as module Thanks!! Marek Kilimajer [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] Claudio wrote

[PHP] Installation de PHP 4.2.1 with Apache and extension Frontpage 2002

2002-07-03 Thread Claudio Valgoi
Hello, I've recently installed Mandrake v 8.1 on my computer and then successfully compiled and installed PostgreSQL and Apache 1.3.24 and PHP 4.2.1... All that works well... When I installed Frontpage 2002 extensions on the same computer, PhP didn't work any more. I then tried to compile again

[PHP] Installation de PHP 4.2.1 avec Apache et extension frontpage 2002

2002-07-02 Thread Claudio Valgoi
Bonjour, Sur mon poste qui tourne avec une distribution Mandrake 8.1 j'ai compiler et installé PostgreSQL ainsi que apache 1.3.24 et php 4.2.1 tous ça fonctionne très bien. Lorsque j'ai installé les extension FrontPage 2002 sur mon serveur Apache, PHP ne tourne plus. j'ai essaier de recompiler

[PHP] uploading files problem

2002-03-29 Thread Claudio Fedel
hi there, I'm trying to upload a file using php on an apache server running on linux. The code of the form I'm using is as follow: form enctype=\multipart/form-data\ method=POST action=$PHP_SELF?action=doupload pFile to upload:br input type=file name=file size=30 input type=text name=zio