[PHP] weird behavior: Apache mod rewrite

2010-02-26 Thread Alberto Lepe
Hello everyone, this is my first time in this mailing list. Using: PHP Version 5.2.10-2ubuntu6.4, Apache/2.2.12 I'm redirecting all the request into one file with ( .htaccess ): RewriteEngine On RewriteRule .* index.php My index code is: ?php echo $_SERVER[REDIRECT_URL]; ? In the same

[PHP] eAccelerator Loader can't load code. Incorrect Zend Engine

2010-01-30 Thread Alberto García Gómez
is requesting??? Saludos Fraternales _ Atte. Alberto García Gómez M:.M:. Administrador de Redes/Webmaster IPI Carlos Marx, Matanzas. Cuba. 0145-2887(30-33) ext 124 __ Información de ESET NOD32 Antivirus, versión de la base de firmas de virus 4821 (20100130

[PHP] XAMPP PHP 4/5

2010-01-25 Thread Alberto García Gómez
There's a think that I don't understand and I really really need to know. Can XAMPP run PHP4 and PHP5 at th same time? How? Saludos Fraternales _ Atte. Alberto García Gómez M:.M:. Administrador de Redes/Webmaster IPI Carlos Marx, Matanzas. Cuba. 0145-2887(30-33) ext

[PHP] PHPCoder Help

2010-01-20 Thread Alberto García Gómez
I have a couple of php script coded with PHPCoder, which (I don't know why) isn't working. I need someone who can decode those scripts for me and send me the codes decrypted or teach me how do it...thanks a lot Saludos Fraternales _ Atte. Alberto García Gómez M:.M

[PHP] Upgrading to PHP5.2.x

2009-08-11 Thread Alberto García Gómez
_ Atte. Alberto García Gómez M:.M:. Administrador de Redes/Webmaster IPI Carlos Marx, Matanzas. Cuba.

[PHP] EXEC and SYSTEM delay

2009-07-08 Thread Alberto García Gómez
_ Atte. Alberto García Gómez M:.M:. Administrador de Redes/Webmaster IPI Carlos Marx, Matanzas. Cuba.

[PHP] Regular Expression by Exception

2008-08-04 Thread Alberto García Gómez
Fellows: If I use ereg_replace($params, $string) I can replace the char that match with $params in the $string. BUT, how I can replace ALL chars EXCEPT the chars in $params. Something like !$params, I think -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] About HTML CSS

2008-06-10 Thread Alberto García Gómez
Hi Fellow: I wonder if there some list about HTML/CSS/JavaScript and Genereal Web Design. Thanks

[PHP] FROM httpd.conf TO .htaccess

2008-04-17 Thread Alberto García Gómez
Fellows, I need to change this configuration from my httpd.conf file to an .htacces file so my scripts can work in any apache without having access (or change) the server httpd.conf file Here's the piece of the httpd.conf RewriteEngine On RewriteLogLevel 9 RewriteLog

[PHP] Sending Mails

2007-11-09 Thread Alberto García Gómez
I want to use the mail() function but doesn't work so I have some questions: 1. Is necessary that sendmail must be installed in the server to use this function? 2. Is necessary that sendmail must be running to use this function? 3. Is necessary that sendmail must be proper configure to use this

Re: [PHP] Re: Sending Mails

2007-11-09 Thread Alberto García Gómez
: Sending Mails All true. sendmail or a sendmail shell must be running. The sendmail command to use can be customized in the sendmail_path directive in the php.ini configuration file. If you can't manually use sendmail to send an email, php can't either. John Gunther Alberto García Gómez

[PHP] php-pecl-session_mysql

2007-11-06 Thread Alberto García Gómez
I install php-pecl-session_mysql and I config my php.ini in this way session.save_handler = mysql but this error appear: Warning: session_start() [function.session-start]: Cannot find save handler mysql in /var/www/mysite/core/users.php on line 45 I just folow the instructions in the

[PHP] Regular Expressions

2007-11-06 Thread Alberto García Gómez
I'm a mess in regular expressions and I make this code: $link = ereg_replace('ntilde;','n',$link); $link = ereg_replace('aacute;','a',$link); $link = ereg_replace('eacute;','e',$link); $link = ereg_replace('iacute;','i',$link); $link = ereg_replace('oacute;','o',$link); $link =

[PHP] Allowed path in VHosts

2007-11-06 Thread Alberto García Gómez
Is there some directive that configure a vistual host to only see inside a path eg.: /var/www/users/user1 Este correo ha sido enviado desde el Polit�cnico de Inform�tica Carlos Marx de Matanzas. La gran batalla se librar� en el campo de las ideas -- PHP General Mailing List

[PHP] Disabling Functions And Clasess

2007-11-06 Thread Alberto García Gómez
Can I use -dissable_classes- and -dissable_functions- directives inside Apache virtual host configuration using php_value directive. Este correo ha sido enviado desde el Politécnico de Informática Carlos Marx de Matanzas. La gran batalla se librará en el campo de las ideas

[PHP] Mail function doesn't work

2007-11-05 Thread Alberto García Gómez
What could happen that my mail function isn't working. I check twice my php.ini conf and it's fine. I test sendmail manually and it's OK. I also try to send mails with sendmail stoped and started and nothing happen Este correo ha sido enviado desde el Politécnico de Informática Carlos Marx de

[PHP] Including GD inside HTML code

2007-11-01 Thread Alberto García Gómez
I trying to include some image generate for a function that use GD. eg.: function myfunct(){ [MY_CODE] } but when I call the function it generate me a lot of symbols, letters and numbers but no image. WHAT CAN I DO? PS.: I actually usgin a iframe to create the iomage in another .php page

[PHP] APACHE MOD_REWRITE

2007-10-31 Thread Alberto García Gómez
I have this URL http://www.myserver.com/dir1/dir2/page.html and I wish to rewrite the url using mod_rewrite to add a ~ after the first dir always, eg.: http://www.myserver.com/~dir1/dir2/page.html Please it's very important to make this ASAP best regards Este correo ha sido enviado

[PHP] PHP5 under IIS6

2007-10-08 Thread Alberto García Gómez
Hi fellows: I'm trying to mount PHP5 ( the last stable version from php.net) under a IIS6 (win2k3 SP2), and when I run the .msi and it finish it said that is not possible the configure httpd.conf, which is a very big mistake 'cause I'm specify that I use IIS6. After that I try making a

[PHP] Sessions vs MySQL

2007-09-28 Thread Alberto García Gómez
I'm seeking for some class to work with sessions against a mysql DB, please examples are welcome. Este correo ha sido enviado desde el Politécnico de Informática Carlos Marx de Matanzas. La gran batalla se librará en el campo de las ideas -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Installing php and mysql on linux

2007-03-12 Thread Alberto Ferrer
I gonna suggest something very cool: Apache Friends. http://www.apachefriends.org/en/xampp-linux.html Its the best option on lamp packs. Regards. 2007/3/12, Jonathan Kahan [EMAIL PROTECTED]: http://www.die.net/doc/linux/man/man8/yum.8.html I checked the above page on 'Yum and see no up2date

Re: [PHP] template engine/template class

2007-03-05 Thread Alberto Ferrer
http://www.eframework.org/index.php has one, better than Smarty :P Check docs http://www.eframework.org/doc/ http://www.eframework.org/template-syntax/ 2007/3/5, Ross [EMAIL PROTECTED]: I am looking for a template class that will take a basic 2 column template I have made and let the user

[PHP] Teste - Sorry

2007-01-31 Thread Alberto Ferreira
Teste -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Running AMP from CD

2006-11-27 Thread Alberto Ferrer
www.apachefriends.org have a Lamp on CD project. 2006/11/27, Ryan A [EMAIL PROTECTED]: Hello, A little while back there was a discussion on running Apache,MySql and PHP from a CD... I can't seem to find that thread and i cant seem to find the links i had from that thread, so Can anybody

Re: [PHP] Copy of image - smaller

2006-05-15 Thread Alberto Ferrer
For that i recomend detect the MIME, my 2 cents: function image_get_info($image) { $details = array(); $data = @getimagesize($image); if (is_array($data)){ $types = array( '1' = 'GIF', '2' = 'JPEG', '3' = 'PNG', '4' = 'SWF', '5' = 'PSD', '6' = 'BMP', '7' = 'TIFF',

[PHP] Searching for Duplicated records..

2006-04-03 Thread Alberto Ferrer
Hello all, how i search duplicates records on a TXT file ? Thanks in Advance. -- bet0x -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problems with SSI, Apache PHP!

2006-03-16 Thread Alberto Ferrer
=/usr' '--enable-gd-native-ttf' '--enable-versioning' '--with-xmlrpc' '--with-zlib' here is my phpinfo: http://ns1.tutorhost.com/test.php Thanks in advance for the help. 2006/3/16, Chris [EMAIL PROTECTED]: Alberto Ferrer wrote: i get segmentation fault with apache 1.3.34 , like this bug

[PHP] Problems with SSI, Apache PHP!

2006-03-15 Thread Alberto Ferrer
i get segmentation fault with apache 1.3.34 , like this bug: http://bugs.php.net/bug.php?id=35029 , only change the apache version. The error is: [Thu Mar 16 03:33:07 2006] [notice] child pid 2121 exit signal Segmentation fault (11) [Thu Mar 16 03:33:08 2006] [notice] child pid 2120 exit signal

[PHP] Lost variables

2004-11-24 Thread Alberto Brea
Perhaps. I always use the same phrase to open up an array. foreach($myarray as $var=$val) { $$var= $val; } You can also nest it into another foreach statement to extract from an associative array. Alberto __ Renovamos el Correo Yahoo

[PHP] Help with parsing result code

2004-10-15 Thread Carlos Alberto Bazan-Canabal
Hi. I'm setting up a credit card payment app. When I send the information through the form I get a result similar to this: NOT CAPTURED:00:428930479495:NA:1015:9755676331042890:1:1 This is the only data in the result page. I have never done parsing, and I have no idea of how to get

Re: [PHP] Help with parsing result code

2004-10-15 Thread Carlos Alberto Bazan-Canabal
Thank you Matt and Ed. I have solved the issue and started looking into parsing and regular expressions. Thx Carlos. On Fri, 15 Oct 2004 10:57:02 -0500, Matt M. [EMAIL PROTECTED] wrote: http://us2.php.net/manual/en/function.preg-split.php should do it also

[PHP] Getting info off an HTTPS page

2004-10-15 Thread Carlos Alberto Bazan-Canabal
Hi, I am working on setting up a VPOS system, and I need to read the results of sending the CC information to the bank. When sending the form I am doing it with HTTPS port 443 with POST method in my form and application/www-form-urlencoded When I get the results of my submission I get another

[PHP] error when running commands via exec() in CLI-mode

2004-06-04 Thread Alberto Mucignat
in the standard output even if I suppress them with @. anyone knows a workaround? is this a bug? bye, alberto. -- Imagination is more important than knowledge -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] SESSIONS SESSIONS SESSIONS

2004-03-12 Thread Alberto García Gómez
Friends: I need a good example to create a session and navigate an entire site with this sessions. Also I need that sessions handle a three variables. __ Atte. Alberto García Gómez Administrador Nodo Atenas http://www.mtz.sld.cu/ Tel: 53-45-282212

[PHP] debugger listener

2003-12-22 Thread Alberto M.
, may I need to build a tcp listener? Any hint about how to do it? Bye, Alberto. -- Imagination is more important than knowledge -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] debugger listener

2003-12-22 Thread Alberto M.
Alberto M. wrote: php 4.3.0 + apache + linux suse 8.2 I tried to install xdebug (http://www.xdebug.org/install.php) as an precompiled module, but it seems not running when I did reload apache. I mean, I can't see it in the module list in phpinfo() page. Also, I don't know how to catch up events

[PHP] disable_functions problems

2003-12-16 Thread Alberto Ferrer
Hello, im testing the php_admin_value disable_functions froma Vhost in my Apache, and not works, is are set from Master (php.ini) works, but set via Apache vhost not works, any are using from apache php_admin_value disable_functions bla,bla,bla ? -- -- Alberto

[PHP] Stop neurotic posting

2003-08-14 Thread Alberto Brea
of the main guidelines such as trying to put meaningful titles in the Subject, doing research before posting, reminding of the php.net manual and the url of the archives, and the like. I hope this helps Respectfully Alberto Brea http://estudiobrea.com -- PHP General Mailing List (http

[PHP] Re: Refreshing

2003-06-30 Thread Alberto Ferrer
use pconnect? -- -- Alberto Ferrer [EMAIL PROTECTED] http://www.barrahome.org -- Syntax Error in KITCHEN.H: COFFEE not found. Stephen [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL

[PHP] suscripcion

2003-06-27 Thread Raúl Alberto Córdoba
- Internet GRATIS es Yahoo! Conexión. Usuario: yahoo; contraseña: yahoo Desde Buenos Aires: 4004-1010 Más ciudades: clic aquí.

[PHP] MSWord attachment with mail()

2003-06-24 Thread Alberto Brea
Dear list, What header must I use to send a MSWord attachment with mail()? I have looked it up in the manual and on php.net but cannot find it. Thanks anyone, Alberto Brea http://estudiobrea.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] MSWord attachment with mail()

2003-06-24 Thread Alberto Brea
Thanks Chris, Dorgon and Esteban for putting me back on the track. - Original Message - From: Chris Hayes [EMAIL PROTECTED] To: Alberto Brea [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 4:34 PM Subject: Re: [PHP] MSWord attachment with mail() At 22:57 24-6-2003

Re: [PHP] exec() and passthru()

2003-06-19 Thread Alberto Ferrer
not is more easy use system ? $output = system('/path/to/a.out'); -- -- Alberto Ferrer [EMAIL PROTECTED] http://www.barrahome.org -- Syntax Error in KITCHEN.H: COFFEE not found. Jason Wong

Re: [PHP] Re: php editor?

2003-06-18 Thread Alberto Ferrer
im use PHPcoder too, and the best :) http://devphp.sourceforge.net/ , and in Linux Zend Studio :) -- -- Alberto Ferrer [EMAIL PROTECTED] http://www.barrahome.org -- Syntax Error in KITCHEN.H

[PHP] Compile 4.3.2 Errors.

2003-06-01 Thread Alberto Ferrer
' -- -- Alberto Ferrer [EMAIL PROTECTED] http://www.barrahome.org -- Syntax Error in KITCHEN.H: COFFEE not found. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: problem with pop3 check

2003-06-01 Thread Alberto Ferrer
($mbox); And you can look the manual, but this code is from the manual, have a loot of examples ;) --Alberto Ferrer [EMAIL PROTECTED] http://www.barrahome.org--Syntax Error in KITCHEN.H: COFFEE

[PHP] Self-filling login form

2003-04-03 Thread Alberto Brea
enter your ID the password automatically fills in, giving free access to the unauthorized user. Does anybody know why this happens? Something in the php.ini or httpd.conf files perhaps? Thanks for any comment Alberto Brea -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] chill out

2003-04-03 Thread Alberto Brea
contributions very generous indeed, and I'm here to meet a group of programmers, not diplomats. Cheers Alberto Brea -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Creating graphs with PHP?

2003-03-20 Thread Alberto Brea
the day, month or whatever corresponding to the relevant gif You can make it horizontal too. If you want a line graph, you make a second transparent gif, make this the variable-height image, and put the visible gif at the top, so you make the line. Hope this helps Alberto Brea http://estudiobrea.com

[PHP] Spaces collapsed in database

2003-02-28 Thread Alberto Brea
retrieve this the spaces remain collapsed. Can anybody tell me what I did wrong, or what can I do to prevent this from happening? Please find the code below Thank you, Alberto // QUERY 1: INSERT RECORDS INTO TABLE contacts // DEFINE VARIABLES FOR QUERY 1 $sex=$info[1]; $lang=$info[2

[PHP] Passing emails to database

2003-02-19 Thread Alberto Brea
the emails? (the e-mail is received by Outlook Express, and via browser from a Yahoo account). Thanks for any help Alberto

[PHP] Redirecting to PHP

2003-02-05 Thread Alberto Brea
Dear list, My home page is index.html, that doesn't run PHP. I also have index.php which shows the same content with PHP. Can I do to automatically redirect a visitor from index.html to index.php? TIA Alberto

[PHP] Tutorial needed

2003-01-29 Thread Alberto Brea
Does anybody know of an online tutorial explaining how to access ODBC databases with PHP? Thanks Alberto

[PHP] fwrite() debugging

2002-12-31 Thread Alberto Brea
:\archivos de programa\apache group\apache\htdocs\visitrep\report_options.inc on line 111 Thanks a lot in advance and happy new year! Alberto Brea http://estudiobrea.com

[PHP] Unable to set permissions

2002-12-26 Thread Alberto Brea
the screen just refuses to save the new settings. Could anybody tell me why is this? Thanks in advance and merry Xmas and new year to everyone. Alberto Brea

[PHP] mail() problem

2002-12-11 Thread Carlos Alberto Pinto Hurtado
at ica.gov.co eg. [EMAIL PROTECTED] function mail dont'n response. can help me? Carlos Alberto Pinto Hurtado IT ICA (57 1) 2322181 (57 1) 2324698 Movil.(57 3) 310 6184251 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] fwrite()ing predefined variables

2002-12-10 Thread Alberto Brea
']; $f= xxx; $g= yyy; fwrite($fd, $a#$b#$c#$d#$e#$f#$g\n); fclose($fd); And the output I get in the target file is this: 200212101552localhost#xxx#yyy Thanks a lot in advance Alberto

Re: [PHP] fwrite()ing predefined variables

2002-12-10 Thread Alberto Brea
All these variables show on the browser quite well from a regular .php file, so they are still pre-defined, but I can't fprint() them to a text file.

[PHP] redirect URL

2002-12-06 Thread Carlos Alberto Pinto Hurtado
I don't can redirect my page to new url please help me Carlos Alberto Pinto Hurtado IT ICA (57 1) 2322181 (57 1) 2324698 Movil.(57 3) 310 6184251 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problems with header

2002-12-06 Thread Carlos Alberto Pinto Hurtado
I'm use header(Location: http://www.ica.gov.co/contratacion/RObs_borradores?control=1;); but the answer is Warning Cannont add header information - headers already send by (output started at G:\Intranet\common\mail.php:36) in G:\Intranet\common\mail.php on line 37 Carlos Alberto Pinto

RE: [PHP] Problem with functions

2002-12-05 Thread Carlos Alberto Pinto Hurtado
? $username = victor; function test() { echo $GLOBALS[$username]; ? Carlos Alberto Pinto Hurtado IT ICA (57 1) 2322181 (57 1) 2324698 Movil.(57 3) 310 6184251 -Mensaje original- De: Victor Halla [mailto:[EMAIL PROTECTED]] Enviado el: Wednesday, December 04, 2002 6:16 PM Para

[PHP] Get-type links won't complete querystring values

2002-12-04 Thread Alberto Brea
=navsectit=$mch=$lsec=$r); print($textos[$h]); print(/a - ); elseif($k==2): print($textos[$h]br); endif; endif; endforeach; ? Could anybody help? Thanks in advance Alberto Brea http://estudiobrea.com

[PHP] Keywords in includes

2002-11-22 Thread Alberto Brea
is still all-html, because I'm dreaming that the host's PHP might fail or something. I imagine this is sheer paranoia, but could somebody please confirm if there is any security benefit in doing so? Thanks Alberto http://estudiobrea.com

[PHP] php/mysql not mutually connected

2002-11-12 Thread Alberto Brea
I have php (as an apache module) and mysql up and running on Windows in the same computer, but they seem to be unconnected. How do I configure php.ini, my.ini, etc for a php script to find and query a database in the mysql server? Thanks for any help Alberto Brea

[PHP] Please, help with Sourceforge's PHP command-line not working at all

2002-09-03 Thread Alberto
at the PHP site for some news about 'command-line (CLI) binary'. I feel that this is the starting of one of those famous troubleshooting quests :-( . TIA :-) -- Alberto Adrián Schiano [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Get your FREE e-Book of Life at: http://bol.sourceforge.net/on-line

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

2002-07-18 Thread Alberto Serra
ðÒÉ×ÅÔ! PHPCoder wrote: application useless unless I code a plan B into my code; meaning I can just as well NOT use cookies from the start... catch 22 dejavu... What are the general feeling out there amongst developers about the use of cookies? --snip-- I gather that the alternative

[PHP] spawning scripts to different graphical targets

2002-07-18 Thread Alberto Serra
ðÒÉ×ÅÔ! Is there a way I can decide where to target my output from server side? suppose my page has two iframes +---++---+ ! A !! b ! +---++---+ while executing a script that is called by A can I spawn another script that will output to b? And no, I cant' use any Jscript, but I do know from

Re: [PHP] spawning scripts to different graphical targets

2002-07-18 Thread Alberto Serra
menu) I need something that will clear and reload both iframes at the same time with one single click (and no Jscript). ÐÏËÁ áÌØÂÅÒÔÏ ëÉÅ× Alberto Serra [EMAIL PROTECTED] 07/18/02 03:12PM ??! Is there a way I can decide where to target my output from server side? suppose my page has

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

2002-07-18 Thread Alberto Serra
ðÒÉ×ÅÔ! Analysis Solutions wrote: What increased cost? If someone does the right thing in the first place, there's no cost. The developers are either gettting paid to develop something that works right in the first place or they're getting paid to develop something that doesn't. LOL, we

Re: [PHP] Loading a File into Variable - How??

2002-07-18 Thread Alberto Serra
ðÒÉ×ÅÔ! Monty wrote: But it returns nothing. If I use readfile() the file contents is displayed, but, what I really want to do is store it in a string variable, not output it directly. How can I do this? Look 4 implode() in the function list ÐÏËÁ áÌØÂÅÒÔÏ ëÉÅ×

Re: [PHP] Crazy idea about detecting visitor's connection speed

2002-07-16 Thread Alberto Serra
ðÒÉ×ÅÔ! [EMAIL PROTECTED] wrote: I feel the idea is not accurate. My ip address (a static one from my isp) would remain the same if I went to ADSL from my current dial-up access. HTH Chris Yes. And how about all corporate networks? If I'm accessing your site from our office I would get

Re: [PHP] I can't echo object variables

2002-07-16 Thread Alberto Serra
ðÒÉ×ÅÔ! Michael Zornek wrote: We all know this works: echo p$someVar; However this does not: echo p$db-field('name_long'); I know this slight variation will make it work: echo p . $db-field('name_long'); But it's cumbersome .. Anyway to get the first way to work? ~ Mike In

Re: [PHP] Classes vs. Functions

2002-07-16 Thread Alberto Serra
ðÒÉ×ÅÔ! Martin Clifford wrote: Could someone please explain the difference between classes and functions and how to use a class. Well, that's a 1 billion $$ question. I don't think one can fully grasp that difference by reading an email. I strongly suggest you to buy yourself a book about

Re: [PHP] Does not work

2002-07-15 Thread Alberto Serra
ðÒÉ×ÅÔ! Saci wrote: Who cares about privacy on my own company Intranet ? Anyone not willing to show where they has been surfing on the net to any unexperienced bycomer. Youu may read the history, but you just have *no* warranty that it will not be cleared at runtime. Since you have control

[PHP] Tales of brave Ulysses?

2002-07-15 Thread Alberto Serra
ðÒÉ×ÅÔ! I just got this. Not sure whether it's the stupidest commercial I ever seen or a new virus (as you see in the headers it stepped thru the check with no warnings), or just a joke. I'd say it's a joke, as nobody would add anything clearly stating itself as decrypt-password.exe, but I

Re: [PHP] Does not work

2002-07-14 Thread Alberto Serra
ðÒÉ×ÅÔ! Saci wrote: // HTTP_REFERER as a feature. In short, it cannot really be trusted. Anybody know how to do that using JAva history with PHP together , or any other methode that works and can be trusted. Thank god no method can be trusted :) History even less the the referrer. Just

Re: [PHP] (Exact) Difference between - and ::

2002-07-14 Thread Alberto Serra
ðÒÉ×ÅÔ! Micha wrote: Hi, I would like to know the exact difference between - and ::. I know that I can use as class directcly by using :: but I still don't know the exact meaning So why do they use in Example 8 on http://www.php.net/source.php?url=/zend2_example.phps $this-id =

Re: [PHP] hello the list

2002-07-13 Thread Alberto Serra
ðÒÉ×ÅÔ! Nicolas GUILLOU wrote: You may either write: echo td bgcolor='$bgcolor'font face=Verdana size=1b$cd_id/b/font/td; or echo td bgcolor=.$bgcolor.font face=Verdana size=1b$cd_compositeur/b/font/td; ðÏËÁ áÌØÂÅÒÔÏ ëÉÅ× -_=}{=_-@-_=}{=_--_=}{=_-@-_=}{=_--_=}{=_-@-_=}{=_--_=}{=_-

Re: [PHP] objects in an array

2002-07-13 Thread Alberto Serra
ðÒÉ×ÅÔ! Alexander Ross wrote: I have an array filled with objects. Each object has a method called display. I have $var = $arr[0]; $var-display(); but I keep getting an error. What am I doing wrong? (I do a print_r of the array immediately before this code and there is an object

Re: [PHP] Newbie question

2002-07-13 Thread Alberto Serra
ðÒÉ×ÅÔ! Cal Evans wrote: ++ is an incrementor. He may also consider the position of the inc/decrementor. Example (note that the first element of an array has index 0): $a = Array(1,2,3,4,5); $i = 1; executing echo $a[++$i] will output 3 2 echo $a[$i++] will output 2 2 In both cases $i

Re: [PHP] how to know upload progress status

2002-07-12 Thread Alberto Serra
ðÒÉ×ÅÔ! John Holmes wrote: Not possible with HTTP, as far as I know. The file is simply sent, there's no communication back and forth. ---John Holmes... That's from within a single script. But it becvomes possible if you have a page like this +---+ ! +---+ ! ! main

Re: [PHP] mysql question

2002-07-12 Thread Alberto Serra
ðÒÉ×ÅÔ! John Holmes wrote: Gesundheit *if* that was on Oracle *and* the table was big you'd notice that your performance goes down. Don't ask me why. And I never checked it on MySql. But watch out for betweens. Check them. Yes, good point. I don't know if it matters in MySQL either, but

[PHP] Weird :: behaviour

2002-07-12 Thread Alberto Serra
ðÒÉ×ÅÔ! ?php class a { function test() { return 1; } } class b { function test() { return 2; } } $myclass = 'a'; echo $myclass::test(); ? This will not work. It will produce in instead a: parse error, unexpected T_PAAMAYIM_NEKUDOTAYIM, expecting ',' or ';' Funnily

Re: [PHP] Emulating Java Exceptions

2002-07-12 Thread Alberto Serra
ðÒÉ×ÅÔ! Garland Foster wrote: Hi All, I'm porting Java Code to PHP, my question is: What is the best approach to emulate Java exceptions in PHP4? (I know ZE2 adds exceptions but I can't wait). If the exceptions you have to manage are code generated at runtime you actually may simply

Re: [PHP] Final Year Computer Science Project involving PHP

2002-07-12 Thread Alberto Serra
ðÒÉ×ÅÔ! Martin Clifford wrote: If completely developing a fully functional and optimized E-commerce site isn't good enough, I don't know what is. I can understand how it may not necessarily be innovative (though it could have innovative features), but designing such a site would prove to

Re: [PHP] Emulating Java Exceptions

2002-07-12 Thread Alberto Serra
ðÒÉ×ÅÔ! Garland Foster wrote: Alberto, I might have expressed the problem wrongly, if you have lets suposse you have: $obj = new foo(); $obj-some(); And some might return an exception object. The problem is that some may call a lot of other methods from foo and I don't want

Re: [PHP] PHP and ORACLE

2002-07-12 Thread Alberto Serra
ðÒÉ×ÅÔ! I hope you are not really living in the early 70's, are you? Ricardo Fitzgerald wrote: Hi, I started with PHP and MYSQL a while ago and now I've been involved in a huge database project with ORACLE. Have the Oracle box do most of it. Make sure that: 1) there is a well defined

Re: [PHP] problem with cookies and some browsers

2002-07-12 Thread Alberto Serra
ðÒÉ×ÅÔ! Andy wrote: I am wondering if there is a possiblity that some browsers like IE 5.1 do not accespt cookies by default. No, it's that they do not accept standards by default :) Try this and have M$ go to hell: // send/refresh cookie $time = mktime()+ $lifeInDays*86400;

Re: [PHP] Advice needed

2002-07-12 Thread Alberto Serra
ðÒÉ×ÅÔ! Mike Tuller wrote: The hardwareID is created in MySql when the information entered for the hardware is submitted, which hasn't been done yet. You don't need it immediately. Just have a progressive key (like 1,2,3,4...) stored in a hidden field along with the new info you are

[PHP] Librep (yes it's definitely OT)

2002-07-12 Thread Alberto Serra
ðÒÉ×ÅÔ! Sorry, got no time to surf around for a Linux list, so please answer privately since this is totally OT. I am running gnome on top of rh 7.1, since I upgraded to librep 0.15.1 and sawfish 1.0.1 I need to reinstall librep once a week. Apart from the annoying fact in itself, when rep

Re: [PHP] Advice needed

2002-07-12 Thread Alberto Serra
ðÒÉ×ÅÔ! Mike Tuller wrote: So I would have the progressive key inside the addvolume window? Can you explain how to go about doing this? How you organize your HTML output should *never* interfere with the way you organize your data, they are two different things and must be kept well

Re: [PHP] checkboxes / form elements

2002-07-12 Thread Alberto Serra
ðÒÉ×ÅÔ! Analysis Solutions wrote: On Fri, Jul 12, 2002 at 10:59:00PM -0400, Blue Presley wrote: Hello. I have a form that I would like to use checkboxes. ... snip ... I've been told that if I want to manipulate each one then I should use 'name=checkbox[]' and make an array out of it. okay,

Re: [PHP] Inheritance

2002-07-12 Thread Alberto Serra
ðÒÉ×ÅÔ! Jason White wrote: I have a class Foo{} which has a method Print(). I have another class FooBar{} which extends Foo{} and has its own method Print(). How do I invoke Foo{}'s Print() method from within FooBar{} once its been overridden? parent::print(); if you have multilayered

Re: [PHP] Inheritance

2002-07-12 Thread Alberto Serra
ðÒÉ×ÅÔ! if you have multilayered inheritance you may explicitely say which anceStor class you are calling, like foo::print(). two typos in a few words are definitely too much, sorry :) BTW, although almost all class specification is dynamic you cannot dynamically specify a class name in

Re: [PHP] mysql question

2002-07-11 Thread Alberto Serra
ðÒÉ×ÅÔ! 1LT John W. Holmes wrote: How about SELECT * FROM table WHERE $current_shot BETWEEN start_shot AND end_shot *if* that was on Oracle *and* the table was big you'd notice that your performance goes down. Don't ask me why. And I never checked it on MySql. But watch out for betweens.

Re: [PHP] Re: header()

2002-07-11 Thread Alberto Serra
ðÒÉ×ÅÔ! Richard Lynch wrote: You can't upgrade somebody's stupid IE browser to Mozilla just by sending them a new User-Agent header, no matter how attractive a solution it might seem :-) LOL sounds like having a supermodel pic sticked on the face of any girl you don't like :) Or boy, for

Re: [PHP] mysql question

2002-07-11 Thread Alberto Serra
ðÒÉ×ÅÔ! Alexander Ross wrote: I realize this isn't a php question, but I figured that someone here knows of a good mysql newsgroup and in the mean time someone here probaby knows the answer to my question. Can I set up a query like this: select * from table where start_shot =

Re: [PHP] MAIL FROM NO ONE

2002-07-11 Thread Alberto Serra
Chris Knipe wrote: On Thu, Jul 11, 2002 at 02:29:11PM +0200, vins wrote: Allot of SMTP servers does quite a bit of sanity checking on the headers received from an email message. Not in the west. They are too busy allowing in the commercial spam they are sending themselves. Otherwise you'd

Re: [PHP] Development Tools

2002-07-11 Thread Alberto Serra
ðÒÉ×ÅÔ! Martin Clifford wrote: I usually always have my content dynamically generated by functions, or displayed in include files. I'm not a fan of cluttering up my apps with content. me neither. You can mix up code and content only as long as you work alone. But in most project (even

Re: [PHP] Re: cookie ?

2002-07-11 Thread Alberto Serra
ðÒÉ×ÅÔ! The stuff about using time/directory is an IE bug. You can supply *BOTH* time and directory, but not just time. This is not the way the Cookie spec reads, but Microsoft never reads specs properly, much less implements them properly, mostly on purpose. Not sure I am saying the truth

  1   2   3   >