[PHP] Double method access (Hi everyone! :))

2011-03-04 Thread Paola Alvarez
Hi there!, I have been reading this list before but this is my first post. Reading some code from Symfony I got this: $this-getTable()-getColumns() ...when you can use this double method access?, I used before the regular $this-getTable(), but two?. I mean I have been trying but I got an error* *

Re: [PHP] Double method access (Hi everyone! :))

2011-03-04 Thread Paola Alvarez
readable, very powerful code. (And if done stupidly can lead to a horrid mess, but that's true of any coding style.) --Larry Garfield On 3/4/11 1:25 PM, Paola Alvarez wrote: Hi there!, I have been reading this list before but this is my first post. Reading some code from Symfony I got

Re: [PHP] Text Editor for Windows?

2007-02-08 Thread Juan Felipe Alvarez Saldarriaga
Stephen wrote: I am finding that notepad is lacking when correcting syntax errors in my php code. No line numbers. What can people recommend for use under Windows? Thanks Stephen Hey, well, actually I use gVim on windows + WinSCP :)

[PHP] Calculate string width using some font.

2007-02-05 Thread Juan Felipe Alvarez Saldarriaga
Hey list! :) I've got a problem trying to calculate a string width using an X font with some Y font size to use in an svg-to-pdf conversion. This is what I try to do: 1. Create a dummy image. 2. Set the text there using font X and the font size Y (it seems that when I create the image it

Re: [PHP] Calculate string width using some font.

2007-02-05 Thread Juan Felipe Alvarez Saldarriaga
Jochem Maas wrote: Juan Felipe Alvarez Saldarriaga wrote: Hey list! :) my name's not list but what the heck: take a look at these function, they should light the way: http://php.net/manual/en/function.imageftbbox.php http://php.net/manual/en/function.imagepsbbox.php http://php.net

Re: [PHP] Calculate string width using some font.

2007-02-05 Thread Juan Felipe Alvarez Saldarriaga
setcookie wrote: pdf_stringwidth() may help you regards fra* Yea I saw that too but you know, pdflib is not free. Hey list! :) my name's not list but what the heck: take a look at these function, they should light the way: http://php.net/manual/en/function.imageftbbox.php

[PHP] Problem returning private member array variables

2005-10-20 Thread Fernando Alvarez
Hi to all, I was wondering if someone out there has had the same problem as I have; fetching from an object a private array variable through a get method. And instead of getting a copy of the array, you get access to the original array, being able to access the object's internal data! I have

[PHP] Problem returning private member array variables

2005-10-20 Thread Fernando Alvarez
Hi to all, I was wondering if someone out there has had the same problem as I have; fetching from an object a private array variable through a get method. And instead of getting a copy of the array, you get access to the original array, being able to access the object's internal data! I have

[PHP] wsdl cache?

2005-08-15 Thread Victor Alvarez
Hello, I am experiencing a lot of difficulties working with Apache 5.0.4 and wsdl. I can publish a wsdl and work with it, but as soon as I want to add a new method to the wsdl, I have to change the directory to be able to use it. In some way, Apache kept the information for the wsdl and I am

[PHP] how to install phpize and php-config?

2005-07-25 Thread Victor Alvarez
Hi, I'm afraid I'm not sure about how to install phpize and php-config. I used to install php using rpms, but this time I downloaded php5 from php.net and configure it with the following options: ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --enable-soap The

[PHP] php5 built-in soap - apache performance wsdl generation

2005-07-14 Thread Victor Alvarez
Hello, I'm successfully playing with php 5 and Its built-in soap but I still have a couple of questions. The most important one is regarding the performance. It is something I also found using php 4 and nusoap. Most of the time for a call is being spend on loading the code. Aprox 0.25

Re: [PHP] how to execute a remote command from php [done]

2004-09-28 Thread Victor Alvarez
- Original Message - From: Sethi, Samir (IDS DMDS) [EMAIL PROTECTED] To: Victor Alvarez [EMAIL PROTECTED] Sent: Monday, September 27, 2004 5:47 PM Subject: RE: [PHP] how to execute a remote command from php Exactly, I had to generate keys for nobody and now I am able to execute remote

[PHP] ayuda mysql

2003-02-21 Thread Rot Alvarez
estoy tratando de programar un messenger en php y sale este mensaje y no se como arreglarlo...no lo entiendo Warning: MySQL Connection Failed: Unknown MySQL Server Host 'misitio.cl/' (2) in /../messengerphp/cabesera.php on line 87 Warning: Supplied argument is not a valid MySQL-Link resource in

[PHP] AYUDA..Actualizar txt

2003-02-06 Thread Rot Alvarez
Necesito saber como limpiar o actualizar txt . Resulta q he creado un chat en flash y php, pero almacena los user y los comentarios en txt, lo malo es que tengo q limpiarlos desde el server.q hago. _ Registra gratis tu cuenta email

[PHP] ayuda help

2003-01-28 Thread Rot Alvarez
Tengo este herros y no se de q esWarning: MySQL Connection Failed: Access denied for user: 'fullweb@localhost' (Using password: YES) in /home/sites/site22/web/45/connect_database.php on line 8 Error in connecting to MySQL. _

[PHP] ayuda...solo se ve el cdigo cuando ejecuto los script

2003-01-20 Thread Rot Alvarez
Subo los script y solo veo código...q puedo hacer ayuda _ Registra gratis tu cuenta email en http://www.exploraiquique.cl _ Select your own custom email address for FREE! Get

[PHP] problemas con php y pws..solo veo cdigo

2003-01-20 Thread Rot Alvarez
Gracias a los q me han respondido. Si cacho los ?...pero tambien el server me arroja esto con los forms y sigo biendo código en mi pc y el server The requested method POST is not allowed for the URL /chat/index.php. _ Registra

[PHP] sophisticated debugging idea. suggestions?

2001-10-03 Thread alvarez
); compute (); } . array () suffices but introduces to overhead when large chunks of data (e.g. pieces of code) are passed to it. Any suggestions on this? D. Alvarez Arribas [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] Parsing a CSV file

2001-10-03 Thread alvarez
sure. explode (',', $yourdata) is what you are looking for. use file () to read in the file and use foreach () to iterate over the lines. D. Alvarez Arribas [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: [PHP] File extension inc?

2001-10-03 Thread alvarez
Use the '.inc' extension only for files that are not directly accessible to the client. For example, database configuration files do not need to be php and you can mark them as '.inc' for increased code legibility. AFAIK a client's request to one of these files won't be served at all. D. Alvarez

Re: [PHP] Parsing a CSV file

2001-10-03 Thread alvarez
Re: [PHP] Parsing a CSV file there is no need to special-case here, for empty statements would also be handled by repeated calls to explode (). quoted expressions can be joined by preg_matches then. D. Alvarez Arribas [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net

[PHP] urgent. need posix-style regexp expert

2001-09-04 Thread alvarez
) D. Alvarez Arribas [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]

[PHP] potential preg_replace bug; unsure however

2001-09-01 Thread alvarez
install is 4.05. Any ideas? D. Alvarez Arribas [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]

[PHP] Re: bugroff licensed tree converter

2001-08-29 Thread alvarez
Correction to the code submitted s/example/xml_open (script, *language* *JavaScript*); I had snipped it from prior debugging code - sorry for that. D. Alvarez Arribas [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP] script preprocessor?

2001-08-29 Thread alvarez
Is there a macro preprocessor that can be used to substitute arbitrary sections of code with different code? define is documented as working for rvals only and my attempts to produce something more meaty lead to parse errors. Any advice? D. Alvarez Arribas [EMAIL PROTECTED] -- PHP

[PHP] strange linefeed effect

2001-08-29 Thread alvarez
How can I prevent PHP from outputting additional linefeeds when data are echoed from different files (eg. using require). This phenomenon is fucking up my document structures. Any advice? D. Alvarez Arribas [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net

Re: Re: [PHP] Sorry, i need HTML help

2001-08-29 Thread alvarez
Sorry to post here but i need to know this info fast! How do i make a scrolling marquee in HTML without using javascript You use the MARQUEEInsert scrolling text here/MARQUEE tags. Unsupported by several Navigator Releases. D. Alvarez Arribas [EMAIL PROTECTED] -- PHP General

[PHP] real optional parameters

2001-08-29 Thread alvarez
help is appreciated. thanks. D. Alvarez Arribas [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: Re: [PHP] script preprocessor?

2001-08-29 Thread alvarez
substitute script parts during a page request it'd be nice if you could pass me a source copy. Personally I've no idea how such a facility could be implemented if not being part of the PHP core. D. Alvarez Arribas [EMAIL PROTECTED] I've written one for my personal needs. Supports replacement

[PHP] cancellation cleanup handlers in PHP4?

2001-08-28 Thread alvarez
Is it possible to register functions to be executed at program termination as in unix's onexit() and pthread_cleanup_push facilities ? D. Alvarez Arribas [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

[PHP] haX0Ring exercise :)

2001-08-28 Thread alvarez
to array (array (a, b) array (c, d) How can I archieve this? D. Alvarez Arribas [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

[PHP] Re: Re: cancellation cleanup handler

2001-08-28 Thread alvarez
for my purposes. set_error_handler () is functionally appropriate, but I do not know of an error event being raised on regular program termination. D. Alvarez Arribas [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] javascript code beautification

2001-08-28 Thread alvarez
Does someone know of a PHP-function to reformat Sources of C-like langs? I need to generate syntactically uniform Javascripts independent of the specific user input. Thanks, D. Alvarez Arribas [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

[PHP] someone please explain weird getforeignkeys

2001-08-22 Thread alvarez
or provide one? Thanks, D. Alvarez Arribas [EMAIL PROTECTED] Btw, how are the inter-table relationships defined at all? I cannot think of a way to determine foreign keys without complete knowledge of all joins and subqueries potentially run against the database. -- PHP General Mailing List (http

[PHP] Export to Excel

2001-07-13 Thread Jorge Alvarez
One of my clients is requesting me to export some data from PHP-generated pages to MS Excel files. I have no clue on how to do such export with PHP. I'm using PHP/Apache/Linux Mandrake. What options do I have? Your help is very appreciated. Regards, Jorge Alvarez -- Let your screen saver

[PHP] php3 and php-4.0.5

2001-07-04 Thread Ramón Alvarez Rayo
Alvarez Rayo Contacto Tecnico - Telematix Telefono: (505) 2785523 Fax: (505) 2784012 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

[PHP] Controlling just size with regular expressions

2001-04-09 Thread Jorge Alvarez
Hi there, I need a regular expression that accepts *anything* without restrictions, only that the size of the string should be between (for instance) 0 and 9 characters. I know the {0,9} trick, but how do I accept *anything* in a form field? TIA, Jorge -- PHP General Mailing List

[PHP] Undefined Variable

2001-03-17 Thread Jorge Alvarez
? Many thanks in advance, Jorge Alvarez PHP4 new user -- 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]

[PHP] Change POST for GET

2001-03-16 Thread Jorge Alvarez
th methods equivalent? TIA, Jorge Alvarez -- 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]

[PHP] Parse all .htm files?

2001-03-14 Thread Jorge Alvarez
Hi there, I'm using PHP and Personal Web Server in a Windows 98 PC. What should I do to make PHP parse all .htm files and not only those with the .php extension? Many thanks in advance, Jorge Alvarez -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] Download PHP from Linux machine?

2001-02-23 Thread Jorge Alvarez
Hi there, I want to download PHP from my Linux server, but I can't just type "lynx http://www.php.net/do_download.php?download_file=php-4.0.4pl1.tar.gzsource_ site=www.php.net" This is the link in the PHP downloads page, but the shell gets confused by the character. What should I do? Best