[PHP] self:: vs this

2007-05-11 Thread Mariano Guadagnini
to sort the same effects, although, when working with statics classes, self:: was the only way to access members. Well, that's all, any can put me some light on the matter? Thanks, -- Mariano Guadagnini UVCMS S.R.L www.uvcms.com

Re: [PHP] strip urls

2006-09-11 Thread Mariano Guadagnini
You may try using regular expressions for that. Something like preg_replace(http:\/\/.*\s,,$your_var). That's a simple example, but you can change to suit your needs, check the online help for more info about. HTH, Mariano. Merlin wrote: Hi there, I am trying to strip URL's out of a text.

[PHP] Php and Cygwin SVN

2006-08-31 Thread Mariano Guadagnini
Hello list, I'm developing an application that fetches some files from a local svn repository, and shows them on request (using svn cat, svn list and such). Originally, it was deployed in Linux (Apache, PHP5.0) and worked perfectly well. I tried to port it to Windows (specifically, WinXP Pro

Re: [PHP] Re: Php and Cygwin SVN

2006-08-31 Thread Mariano Guadagnini
shell pop ups always. There should be some way to execute something without the cmd windows opening again and again, i guess. Any ideas? Adam Zey wrote: Mariano Guadagnini wrote: Hello list, I'm developing an application that fetches some files from a local svn repository, and shows them

Re: [PHP] php/ajax..

2006-08-07 Thread Mariano Guadagnini
bruce wrote: hi.. will php allow a user to enter field on a form, and compute aresult based on the field, without having to reload the entire form, or will i need ajax... any good examples on how to accomplish this.. thanks PHP is executed on the server, so you cannot campute something

Re: [PHP] Re: Step by step code running

2006-07-24 Thread Mariano Guadagnini
Personally, i think the best one is Zend debugger. It's integrated on the Zend IDE, and let you debug remotely, from a server. The problem aside, is that is paid and closed source, neverthless is the best IMHO. You may give it a try: www.zend.com/products/zend_studio HTH, Mariano. weetat

Re: [PHP] Drag 'n Drop - File Upload

2006-07-03 Thread Mariano Guadagnini
I've seen some places using a java applet for this. A good example is the course uploading interface of Blackboard LMS. Martin Staiger wrote: Dear group, we would like to have the possibility to upload files not via HTML-form but via Drag 'n Drop of files. WebDav seem to offer potentials ...

Re: [PHP] xmldoc

2006-06-23 Thread Mariano Guadagnini
Brad Bonkoski wrote: weetat wrote: Hi all, I have simple code below : It run ok in one of my test server (Red Hat Enterprise) , PHP 4.3.2. However in the one of production server which have same OS and PHP version , the code did not display done parsing xml in log file. It just

Re: [PHP] Serving a graphic downloads it instead of displaying it

2006-06-16 Thread Mariano Guadagnini
Brian Dunning wrote: I'm trying to serve up a jpeg like this: header(Content-type: image/jpg); readfile('images/banner-ad.jpg'); It works on other browsers, but on Safari it downloads the graphic like a file, rather than displaying it. What's up with that --PHP General Mailing List

[PHP] declaring a class as stdClass?

2006-06-14 Thread Mariano Guadagnini
' or so class, and append members when needed on the fly, without the need for a formal class declaration, but i could't find any good source explaining that. Has somebody some info about? Thanks in advance. Mariano Guadagnini.- -- No virus found in this outgoing message. Checked by AVG Free

Re: [PHP] arrays

2006-06-09 Thread Mariano Guadagnini
I get in another variable a new array with the same elements into $a and $b. $new_array = array_merge( $a, $b); regards, Mariano Guadagnini. No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.8.3/359 - Release Date: 08/06/2006 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] cgi.fix_pathinfo and iis 5

2006-04-28 Thread Mariano Guadagnini
stated that this variable is available since PHP 4.3.0 . What can I do to have that setting enabled? Thanks in advance, Mariano Guadagnini. -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.5.1/326 - Release Date: 27/04/2006

Re: [PHP] cgi.fix_pathinfo and iis 5

2006-04-28 Thread Mariano Guadagnini
Mariano Guadagnini wrote: Hi people, I have the following issue: I´m using PHP 5 on IIS 5 and Windows XP Pro, and when trying to pass values through the path to my scripts, iis rejects them. After some googling, I found an advice to set AllowPathInfoForScriptMappings variable in iis

[PHP] parsing malformed xml documents

2006-04-04 Thread Mariano Guadagnini
, and they´re created by an external source away from my control. Thanks in advance, Mariano Guadagnini -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.3.5/300 - Release Date: 03/04/2006 -- PHP General Mailing List (http

[PHP] PHP 5 XML Dom, set doctype and system

2005-12-07 Thread Mariano Guadagnini
Hello, I need to set the doctype and the system dtd of a document created directly with the xml DOM. I couldn´t find any function or property to set this, i saw some examples that directly wrote onto the file manually, but i´m pretty sure thare must be a way to do this with the dom (i

[PHP] Manage directory security on iis

2005-12-01 Thread Mariano Guadagnini
Hi guys, I wonder if it would be able to manage access to some directories using php, on a website using iis 6.0. To be more clear, the application i'm working on has a database with users, accounts and an administrator. So, i need to grant access to specific directories in the site to the

Re: [PHP] Manage directory security on iis

2005-12-01 Thread Mariano Guadagnini
Well, the htaccess on iis seems to be the best solution for us, thanks people! Cheers, Mariano -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.10/189 - Release Date: 30/11/2005 -- PHP General Mailing List

[PHP] Re: Server Client Architecture, best parctice

2005-11-17 Thread Mariano Guadagnini
Reading this, a question arose me: is it possible to read a shared memory area with php, supposing than both programs are in the same machine? does php support ipc? that would be greatly useful. Mariano. James Benson wrote: Each has its own benefits, if on a shared server then a database

Re: [PHP] Catch warnings

2005-11-16 Thread Mariano Guadagnini
Curt Zirzow wrote: On Tue, Nov 15, 2005 at 04:39:05PM -0300, Mariano Guadagnini wrote: Hi, i�m writting a php program that parses and saves some xml files on a server. The problem is that i want to catch warnings so as to be able to store them in a variable, but not to be put directly

[PHP] Catch warnings

2005-11-15 Thread Mariano Guadagnini
, even when there are errors. Any ideas? Thanks in advance, Mariano Guadagnini -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.1/169 - Release Date: 15/11/2005 -- PHP General Mailing List (http://www.php.net/) To unsubscribe