Re: [PHP] Re: PHP/AJAX File DragDrop

2007-12-01 Thread Rafael
), but Andrei says the solution should be cross-browser, so this doesn't look like an option. Rafael. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] window.open() and search engines

2007-10-23 Thread Rafael
It depends on the way you do it, for instance, something like a href=url onclick=return open('url')... will, but if you use something like a href=javascript:open()... chances are it won't. Edward Kay wrote: Can anyone say for sure whether window.open() links get spidered by search

Re: [PHP] Unsetting a header

2007-10-21 Thread Rafael
Let me reiterate, I want this page to get cached, but not based on an Expires: header. Rather a Last-Modified header. Have you tried setting the value to FALSE, NULL, or something else? I recall having read something along those lines. I'll see if I can find it again, meanwhile you could

Re: [PHP] installing error

2007-05-26 Thread Rafael Mora
: On 5/26/07, Richard Davey [EMAIL PROTECTED] wrote: Hi Rafael, Saturday, May 26, 2007, 12:38:15 AM, you wrote: Hello does anyone know the correct way to install PHP and APACHE (last versions both of them) on WinXP???, Im doing it with the installers and I cannot even run phpinfo

Re: [PHP] Re: installing error

2007-05-26 Thread Rafael Mora
thank you jared!, Im gonna try WAMPP!!, I hope this work, and a message for php people: nice product but make it easy! lol thank you Rafa On 5/26/07, Jared Farrish [EMAIL PROTECTED] wrote: Thank you very much for you answers!!! =), but Im trying to work with PostgreSQL. I have never

[PHP] installing error

2007-05-25 Thread Rafael Mora
Hello does anyone know the correct way to install PHP and APACHE (last versions both of them) on WinXP???, Im doing it with the installers and I cannot even run phpinfo(); script, I see apache's error log and it says that i cant find SAM directory Thank you in advance Rafa

[PHP] Re: Check HTML style sheet?

2006-10-21 Thread Rafael
if the file included in the html is new.css. I think I will have to write a regex but if anyone has any ideas (or already has a regex to do this), it would be much appreciated. Thanks, Marc -- Atentamente / Sincerely, J. Rafael Salazar Magaña -- PHP General Mailing List (http://www.php.net

Re: [PHP] How to effectuate translations

2006-09-29 Thread Rafael Mora
Hi!, well u can write ur messages in differents files, and like a make a class where u can put a method like getMessage($_type), this class could contains the language already selected, and just load the messages for that language in a array(or another easy to use PHP data structure). What do

Re: [PHP] How do I call an class?

2006-09-08 Thread Rafael Mora
Hi! I think u are confused, the variable name doesnt have anything to do with the Class name... So you can have something like this: $myvar = new shuttle(); $jjj = new ISS(); u just need to be sure that u are using the exact name of the class, it doesnt matter the variable name, hope u get

[PHP] Re: Formating a Double

2006-09-06 Thread Rafael
/ Sincerely, J. Rafael Salazar Magaña -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] send a file or stream

2006-08-31 Thread Rafael Mora
PS: what is that ob_start though? On 8/31/06, Curt Zirzow [EMAIL PROTECTED] wrote: On 8/29/06, Rafael Mora [EMAIL PROTECTED] wrote: Hi! i want to send a file or output stream in a .php, but first compress it, I tryed the example to compress files but how do i do to send as answer

Re: [PHP] Error Handling Library?

2006-08-31 Thread Rafael Mora
Hi!, u can extend the exception class and handle ur own errors, If u need help let me know! Rafa On 8/31/06, Jay Paulson [EMAIL PROTECTED] wrote: I've been doing some research and was wondering if anyone out there has written a library for error handling? I haven't found anything as of yet

Re: [PHP] send a file or stream

2006-08-30 Thread Rafael Mora
); header(Content-Length: .filesize(stations.gzip)); readfile(stations.gzip); /Peter PS! To maintain the list and its functionality, do not post same message multiple times DS! -Original Message- From: Rafael Mora [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 11:01 AM

Re: [PHP] Query result column to array

2006-08-30 Thread Rafael Mora
Hi!! What I do is just this: $_ar = array(); while($_field = mysql_fetch_row($_result)) {$_aloft[$_field[0]] = $_field[1];} while(list($_key,$_val) = each($_ar)) On 8/30/06, Christopher Watson [EMAIL PROTECTED] wrote: I'm looking for a native method for taking all of the values

Re: [PHP] send a file or stream

2006-08-30 Thread Rafael Mora
below readfile() without any argument? So that you are actually downloading something empty? :) /Peter -Original Message- From: Rafael Mora [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 8:00 PM To: php-general@lists.php.net Subject: Re: [PHP] send a file or stream Hi!! Well

[PHP] send a file or stream

2006-08-29 Thread Rafael Mora
Hi! i want to send a file or output stream in a .php, but first compress it, I tryed the example to compress files but how do i do to send as answer to the http request?? Rafa

Re: [PHP] replace single and double quotes

2006-08-29 Thread Rafael Mora
Hi! i want to send a file or output stream in a .php, but first compress it, I tryed the example to compress files but how do i do to send as answer to the http request?? Rafa

[PHP] Test!

2006-08-29 Thread Rafael Mora
Hello! this is a test, can anyone tell me if u are getting my emails?? Thank you

Fwd: [PHP] send a file or stream

2006-08-29 Thread Rafael Mora
-- Forwarded message -- From: Rafael Mora [EMAIL PROTECTED] Date: Aug 29, 2006 11:09 PM Subject: Re: [PHP] send a file or stream To: Peter Lauri [EMAIL PROTECTED] 1. A user sends a request to your server to get a compressed file 2. You compress the file on the server 3. I want

Re: [PHP] send a file or stream

2006-08-29 Thread Rafael Mora
ok thank you Im going to test it!! =) On 8/29/06, Peter Lauri [EMAIL PROTECTED] wrote: ?php header(Content-Type: application/octet-stream); readfile(path_to_compressed_file); ? Should do it then… if you know the path to the file :) -- *From:* Rafael Mora

Re: [PHP] send a file or stream

2006-08-29 Thread Rafael Mora
); On 8/29/06, Peter Lauri [EMAIL PROTECTED] wrote: ?php header(Content-Type: application/octet-stream); readfile(path_to_compressed_file); ? Should do it then. if you know the path to the file :) _ From: Rafael Mora [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 10:10 AM

Re: [PHP] send a file or stream

2006-08-29 Thread Rafael Mora
output, the server can not send any more header information, and the browser will think it is just text instead of treating it as an octet-stream. /Peter _ From: Rafael Mora [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 10:25 AM To: Peter Lauri Cc: php-general@lists.php.net

[PHP] Re: string problem

2006-07-10 Thread Rafael
,tbl_chassis.chasis_user_field_3 from tbl_chassis tbl_chassis,tbl_card tbl_card WHERE tbl_chassis.serial_no = tbl_card.serial_no AND tbl_card.card_model LIKE'%WS-X5225R%'; thanks -- Atentamente / Sincerely, J. Rafael Salazar Magaña -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Re: comparing a string

2006-06-21 Thread Rafael
(inline --and last post on this thread) Adam Zey wrote: Rafael wrote: (inline) Adam Zey wrote: Rafael wrote: A single = it's an assignment, not a comparison; and though it sometimes work, you shouldn't compare strings with ==, but using string functions, such as strcmp

[PHP] Re: comparing a string

2006-06-20 Thread Rafael
answer is.$correct_answers[$page-1]; -- Atentamente / Sincerely, J. Rafael Salazar Magaña -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: comparing a string

2006-06-20 Thread Rafael
(inline) Adam Zey wrote: Rafael wrote: A single = it's an assignment, not a comparison; and though it sometimes work, you shouldn't compare strings with ==, but using string functions, such as strcmp()... or similar_text(), etc. This is PHP, not C. Operators such as == support strings

[PHP] Re: Replacing text with criteria

2006-06-15 Thread Rafael
, J. Rafael Salazar Magaña -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Setting headers for file download [medium]

2006-06-14 Thread Rafael
and Content-Type seem to apply only if had the request been a GET. Interesting what you learn reading the RFCs, too bad they're too long and sometimes not that clear. RFC: http://www.faqs.org/rfcs/rfc2616 -- Atentamente / Sincerely, J. Rafael Salazar Magaña -- PHP General Mailing List (http

[PHP] Re: can I do this: update table while selecting data from table?

2006-06-14 Thread Rafael
and do UPDATE, right? Thanks -afan -- Atentamente / Sincerely, J. Rafael Salazar Magaña -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: preg_replace \\1 yIKES!

2006-06-13 Thread Rafael
') . '-' . '\\3', 'yikes!'); //outputs -y-ikes! So yea I've got it surrounded why now strtoupper: Yikes! -- Atentamente / Sincerely, J. Rafael Salazar Magaña -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Setting headers for file download

2006-06-13 Thread Rafael
: $file_type); header(Content-Disposition: attachment; filename=$filename); print $file; It works fine in FireFox, but not that good in IE. I have been googled to find the fix for IE, but I can not find it. Anyone with experience of this? Best regards, Peter Lauri -- Atentamente / Sincerely, J. Rafael

[PHP] errata

2006-06-13 Thread Rafael
with the e modifier (at the end of the expression), gives the effect you were looking for (i.e. the replacement string is evaluated --as code-- before it actually replaces the string found) -- Atentamente / Sincerely, J. Rafael Salazar Magaña -- PHP General Mailing List (http://www.php.net

Re: [PHP] Re: How to re-order an array

2006-06-12 Thread Rafael
. If I don't have JS enabled (for whatever the reason) I won't be able to do anything on it. JS should be used only to _add or complement_ functionality. -- Atentamente / Sincerely, J. Rafael Salazar Magaña -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Re: How to re-order an array

2006-06-11 Thread Rafael
) -- Atentamente / Sincerely, J. Rafael Salazar Magaña -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: How to re-order an array

2006-06-10 Thread Rafael
that will potentially run the script. I might resort to using Ajax and let php keep track for me. But, then again not all browsers will do the Ajax either (as I understand it). -- Atentamente / Sincerely, J. Rafael Salazar Magaña -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Getting totals

2006-06-07 Thread Rafael
/ Sincerely, J. Rafael Salazar Magaña -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Getting totals

2006-06-06 Thread Rafael
($block,$address)) { $count_ip++; } $block would == 192.168.100 $address would == 192.168.100.0 - 255 Any help would be appricated. -- Atentamente / Sincerely, J. Rafael Salazar Magaña -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: How do I make a HTML tree for a set of nodes?

2006-06-04 Thread Rafael
somebody has already made something similiar, but I can't find anything on Google. Can anybody point me to helpful information? -- Atentamente / Sincerely, J. Rafael Salazar Magaña -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: RegExp for preg_split()

2006-04-29 Thread Rafael
what I managed to find I can get all of the words into an array but I would like all of the words inside to be in the same array cell. -- Atentamente, J. Rafael Salazar Magaña Innox - Innovación Inteligente Tel: +52 (33) 3615 5348 ext. 205 / 01 800 2-SOFTWARE http://www.innox.com.mx -- PHP

Re: [PHP] PHP Standard style of writing your code

2006-04-29 Thread Rafael
I'll go out and get wasted~ P. -- Atentamente, J. Rafael Salazar Magaña Innox - Innovación Inteligente Tel: +52 (33) 3615 5348 ext. 205 / 01 800 2-SOFTWARE http://www.innox.com.mx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Standard style of writing your code

2006-04-29 Thread Rafael
(even) more spam PPS WTF is IMALOOPHO? Porpoise wrote: Rafael email-was-here wrote in message news:[EMAIL PROTECTED] P.S. What, in your mind, is the advantage of replying after quoting the original message and not before? :) In an NG environment, it allows everyone to follow the logic

Re: [PHP] RegExp for preg_split()

2006-04-29 Thread Rafael
: A summation of entries. http://xn--ovg.com/a/parse.php neat! tedd -- Atentamente, J. Rafael Salazar Magaña Innox - Innovación Inteligente Tel: +52 (33) 3615 5348 ext. 205 / 01 800 2-SOFTWARE http://www.innox.com.mx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] PHP Standard style of writing your code

2006-04-28 Thread Rafael
, is the advantage of replying after quoting the original message and not before? :) -- Atentamente, J. Rafael Salazar Magaña Innox - Innovación Inteligente Tel: +52 (33) 3615 5348 ext. 205 / 01 800 2-SOFTWARE http://www.innox.com.mx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: unique array problem

2006-04-22 Thread Rafael
for last 5 hours.i am waiting reply from any one -- Atentamente, J. Rafael Salazar Magaña Innox - Innovación Inteligente Tel: +52 (33) 3615 5348 ext. 205 / 01 800 2-SOFTWARE http://www.innox.com.mx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Form to page force download

2006-04-21 Thread Rafael
page for download used) You may want to try yourself -- Atentamente, J. Rafael Salazar Magaña Innox - Innovación Inteligente Tel: +52 (33) 3615 5348 ext. 205 / 01 800 2-SOFTWARE http://www.innox.com.mx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Re: asociative array syntax

2006-04-21 Thread Rafael
'] = $value; -- Atentamente, J. Rafael Salazar Magaña Innox - Innovación Inteligente Tel: +52 (33) 3615 5348 ext. 205 / 01 800 2-SOFTWARE http://www.innox.com.mx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Preg_match() regex

2006-04-21 Thread Rafael
in perl you can use the /i to specify case insensitive matching. Is there any such switch that can be used in preg_match() in PHP? -- Atentamente, J. Rafael Salazar Magaña Innox - Innovación Inteligente Tel: +52 (33) 3615 5348 ext. 205 / 01 800 2-SOFTWARE http://www.innox.com.mx -- PHP General

[PHP] Re: 2 questions: Search in array and detect JS

2006-04-15 Thread Rafael
, this function uses a callback user-defined function to filter the elements in a given array and build a second (which is the value it returns), so you may use this function along with strpos() (or some other) http://php.net/manual/en/function.array-filter.php -- Atentamente, J. Rafael Salazar Magaña Innox

[PHP] Re: stripping enclosed text from PHP code

2006-04-10 Thread Rafael
/reference.pcre.pattern.syntax.php http://php.net/manual/en/reference.pcre.pattern.modifiers.php -- Atentamente, J. Rafael Salazar Magaña Innox - Innovación Inteligente Tel: +52 (33) 3615 5348 ext. 205 / 01 800 2-SOFTWARE http://www.innox.com.mx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: Word to txt

2006-03-29 Thread Rafael
the word to txt and saves to server, my site already can receive txt. Thanx to you all. -- Atentamente, J. Rafael Salazar Magaña Innox - Innovación Inteligente Tel: +52 (33) 3615 5348 ext. 205 / 01 800 2-SOFTWARE http://www.innox.com.mx -- PHP General Mailing List (http://www.php.net

Re: [PHP] Get class name in static method

2006-03-21 Thread Rafael
-name-solution/ There are probably all sorts of issues with this approach, but it solved the problem at the time... -- Atentamente, J. Rafael Salazar Magaña Innox - Innovación Inteligente Tel: +52 (33) 3615 5348 ext. 205 / 01 800 2-SOFTWARE http://www.innox.com.mx -- PHP General Mailing List

Re: [PHP] Re: setcookie security concerns [medium]

2006-03-17 Thread Rafael
, these are variables (arrays), so you should use square-brackets instead of parenthesis to specify an index (e.g. $_SERVER['SCRIPT_NAME']) -- Atentamente, J. Rafael Salazar Magaña Innox - Innovación Inteligente Tel: +52 (33) 3615 5348 ext. 205 / 01 800 2-SOFTWARE http://www.innox.com.mx -- PHP General

Re: [PHP] Converting a string

2006-03-17 Thread Rafael
. Rafael Salazar Magaña Innox - Innovación Inteligente Tel: +52 (33) 3615 5348 ext. 205 / 01 800 2-SOFTWARE http://www.innox.com.mx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Converting a string

2006-03-17 Thread Rafael
, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY); Which returns; Array ( [0] = F [1] = irst [2] = N [3] = ame ) -- Atentamente, J. Rafael Salazar Magaña Innox - Innovación Inteligente Tel: +52 (33) 3615 5348 ext. 205 / 01 800 2-SOFTWARE http://www.innox.com.mx -- PHP General Mailing

Re: [PHP] Converting a string

2006-03-17 Thread Rafael
solution, but I am curiouswhy would it not work with all field names if they were named using the conventions (studly caps)? I can see a problem perhaps with a field named fooMyURL, it would come out as My U R L. Do you feel as if there are any other gotcha's? -- Atentamente, J. Rafael Salazar

Re: [PHP] Re: setcookie security concerns [medium]

2006-03-16 Thread Rafael
-parameters in ADODB, PEAR-DB and others. By the way, even causing an SQL error that is displayed to the user (the whole message or just a part of it) can reveal info that could be used to bypass your protection. -- Atentamente, J. Rafael Salazar Magaña Innox - Innovación Inteligente Tel: +52 (33

Re: [PHP] Is this password protection script secure?

2006-03-15 Thread Rafael
the MySQL function because i didn't compile PHP with support for hash. The one in JavaScript :) AFAIK, every MD5 function is based on the MD5 algorithm, so the implementation is rather similar (if not the same) Of course, the result is always the same. -- Atentamente, J. Rafael Salazar Magaña

[PHP] Re: setcookie security concerns

2006-03-15 Thread Rafael
. As such, he says that someone could inject an arbitrary code and cause problems. 1. Is he right? 2. How does that work? 3. If so, what do I do to correct this? Many thanks for any replies. tedd -- Atentamente, J. Rafael Salazar Magaña Innox - Innovación Inteligente Tel: +52 (33) 3615 5348

[PHP] Re: REG-EXPR: Allowing limited number of special chars in usernames

2006-03-15 Thread Rafael
-- Atentamente, J. Rafael Salazar Magaña Innox - Innovación Inteligente Tel: +52 (33) 3615 5348 ext. 205 / 01 800 2-SOFTWARE http://www.innox.com.mx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: regular expressions and Phone validation

2006-03-15 Thread Rafael
, but you already got rid of them with ereg_replace()... (??) -- Atentamente, J. Rafael Salazar Magaña Innox - Innovación Inteligente Tel: +52 (33) 3615 5348 ext. 205 / 01 800 2-SOFTWARE http://www.innox.com.mx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: preg_replace problem (or possibly bug)

2006-03-08 Thread Rafael
will be greatly appreciated, you may use the username php and the password php to log on to do your own tests but please keep the testing to the topic (and the spam forum if necessary). Many Thanks, Michael Mulqueen michael-m.co.uk -- Atentamente, J. Rafael Salazar Magaña Innox - Innovación Inteligente Tel

Re: [PHP] Calling Curt Z, Curt Z to the white courtesy phone please

2006-03-08 Thread Rafael
-general/NEWBIE.orig Curt. -- Atentamente, J. Rafael Salazar Magaña Innox - Innovación Inteligente Tel: +52 (33) 3615 5348 ext. 205 / 01 800 2-SOFTWARE http://www.innox.com.mx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Make all emails links

2006-03-08 Thread Rafael
RegExp is bad): ?php $message = preg_replace([EMAIL PROTECTED],a href=\mailto:$1\;$1/a,$message); ? -- Atentamente, J. Rafael Salazar Magaña Innox - Innovación Inteligente Tel: +52 (33) 3615 5348 ext. 205 / 01 800 2-SOFTWARE http://www.innox.com.mx -- PHP General Mailing List (http

Re: [PHP] Re: Converting HTML to BBCode [SOLVED]

2006-03-07 Thread Rafael
that code.. :D Good luck on that. Oh, a little correction: it should be PCRE not PREG, preg_ is the functions prefix (my mistake, sorry) -- Atentamente, J. Rafael Salazar Magaña Innox - Innovación Inteligente Tel: +52 (33) 3615 5348 ext. 205 / 01 800 2-SOFTWARE http://www.innox.com.mx -- PHP

[PHP] Re: Converting HTML to BBCode [medium]

2006-03-06 Thread Rafael
] [i]italicised[/i] [u]underlined[/i] I would really like to get this working, as it'll not only help me improve my PHP skills but also aid my tutorial conversions - it takes ages to do this by hand ;) Any help would be appreciated. Thanks in advance, -- Atentamente, J. Rafael Salazar Magaña

Re: [PHP] Coding Practice: Use global $var or pass in by refernce

2006-03-03 Thread Rafael
that understand PHPDoc comments (or something like that) and you do document their existance, it might not be that bad, but still try to avoid them. -- Atentamente, J. Rafael Salazar Magaña Innox - Innovación Inteligente Tel: +52 (33) 3615 5348 ext. 205 / 01 800 2-SOFTWARE http://www.innox.com.mx

[PHP] Re: preg_replace problem

2006-03-01 Thread Rafael
Help would be great, thanks Ben -- Atentamente, J. Rafael Salazar Magaña Innox - Innovación Inteligente Tel: +52 (33) 3615 5348 ext. 205 / 01 800 2-SOFTWARE http://www.innox.com.mx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: URL output query

2006-02-28 Thread Rafael
Chris wrote: Rafael wrote: Hi Chris, if the only thing you want is to get the domain (having the whole URL) you have more than one way to solve it. Chris -it's a little akward that Chris answered to Chris- already told you about parse_url(), and since we're talking about strings, I

[PHP] Re: URL output query

2006-02-27 Thread Rafael
bar without the rest of the directory and filename appearing ? -- Atentamente, J. Rafael Salazar Magaña Innox - Innovación Inteligente Tel: +52 (33) 3615 5348 ext. 205 / 01 800 2-SOFTWARE [EMAIL PROTECTED] http://www.innox.com.mx -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Re: Optional pass-by-reference parameters?

2006-02-27 Thread Rafael
. Basically, like how you don't need to pass $matches to the preg_match function. I've tried, function some_func($var = null) and this doesn't work. func_get_args only gets copies, does anyone have any other solutions? -- Atentamente, J. Rafael Salazar Magaña Innox - Innovación Inteligente Tel: +52

[PHP] Re: Request for views on ASP/PHP/ASP.NET - please!

2006-02-20 Thread Rafael
(depending on answers to the other questions), all optional, just fill out as much as you can be bothered with, then click submit a few times until its saved. Thank you very much in advance! Simon -- Atentamente, J. Rafael Salazar Magaña Innox - Innovación Inteligente Tel: +52 (33) 3615 5348 ext

[PHP] Re: isset or array_key_exists?

2006-02-18 Thread Rafael
', microtime()); } ? Nikolay Rastegaev wrote: Please, answer: what construction works faster: if ( isset ( $result [$i] [key] ) ) {do something; } or if ( array_key_exists ( key, $result [$i] ) ) {do something; } ? -- Atentamente, J. Rafael Salazar Magaña

Re: [PHP] Re: isset or array_key_exists?

2006-02-18 Thread Rafael
as in the first pass. I think this happened to me once when I went through an array with isset or isempty or some such to make some calculations and then on the second pass, when I printed it, I got lots of empty cells that were created empty in the first pass. -- Atentamente, J. Rafael

[PHP] Re: regular pattern to match åäö

2006-02-18 Thread Rafael
? -- Atentamente, J. Rafael Salazar Magaña Innox - Innovación Inteligente Tel: +52 (33) 3615 5348 ext. 205 / 01 800 2-SOFTWARE [EMAIL PROTECTED] http://www.innox.com.mx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ! in front of a variable?

2006-02-17 Thread Rafael
? It is being passed twice here, once AS and once AS NOT. -- Atentamente, J. Rafael Salazar Magaña Innox - Innovación Inteligente Tel: +52 (33) 3615 5348 ext. 205 / 01 800 2-SOFTWARE [EMAIL PROTECTED] http://www.innox.com.mx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: menu Q

2006-02-17 Thread Rafael
: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; text-align: left; background-color: #CC; BORDER-RIGHT: #FF 1px solid; BORDER-TOP: #FF 1px solid; BORDER-LEFT: #FF 1px solid; BORDER-BOTTOM: #FF 1px solid; COLOR: #FF; } -- Atentamente, J. Rafael Salazar

[PHP] Re: Parsing HTML

2006-02-16 Thread Rafael
the HTML data. I know how to use Regular Expressions, but I wonder if there are other ways to do that. -- Atentamente, J. Rafael Salazar Magaña Innox - Innovación Inteligente Tel: +52 (33) 3615 5348 ext. 205 / 01 800 2-SOFTWARE [EMAIL PROTECTED] http://www.innox.com.mx -- PHP General Mailing List

[PHP] Re: A quick Regex query

2006-02-16 Thread Rafael
fast; e.g. [ab] fastest than (a|b), is that what you were asking? -- Atentamente, J. Rafael Salazar Magaña Innox - Innovación Inteligente Tel: +52 (33) 3615 5348 ext. 205 / 01 800 2-SOFTWARE [EMAIL PROTECTED] http://www.innox.com.mx -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Re: session languages array.

2004-03-29 Thread Rafael Cotta
('register_globals'); if it shows '1', congratulations, your register globals is on). If that is the case, you are probably setting $Idiomas to a different value on your script, and it is messing with your $_SESSION['Idiomas']. Regards, Rafael Cotta http://cifradasweb.net/ -- PHP General Mailing List

[PHP] Re: An extension to CREATE zips??

2004-03-15 Thread Rafael Cotta
I already made something like this on Linux using the exec function and zip command. You'll need to find a command line zip utility for Windows. But be very careful on using data sent by the user for exec'ing. Regards, Rafael http://cifradasweb.net/ Brian J. Celenza [EMAIL PROTECTED] wrote

[PHP] thumbnail

2004-01-20 Thread Rafael Alex Cremer
How I can create thumbnail with php? using the GD libray? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] thumbnail???

2004-01-20 Thread Rafael Alex Cremer
OK, but how? I already use GD, I need to now how to create a thumbnail, somebody now how to use the GD functions to create a thumbnail??? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] String parsing help

2003-08-20 Thread Rafael Zanetti
$vector=split( , $string, ); $City=$vector[0]; $State=$vector[1]; $Zip=$vector[2]: This will not work because there cases where the city name have more than 1 word you must get from end-to-begining i can't think about it now, but it's a tip anyway $vector=split( , $string, );

Re: [PHP] How to find if a string is an integer?

2003-06-13 Thread António Rafael Paiva
Why don't you write your own test function since it's getting so hard to find one. All you have to do is check if the string only has number characters. I would say this is a simple task! Good luck, Rafael On Thu, 12 Jun 2003 13:13:28 -0700 (MST) Alex Earl [EMAIL PROTECTED] wrote: Jumping

[PHP] Re: get the $email string

2003-01-16 Thread Rafael Rodrigo - NSI
I don't know how do you get this answer, but try this: a href=email=$email? echo $row-name; ?/a/font/b/td Rafael Rodrigo Hi, i made a page to display some user details and then clicking on the user name it goes to another page to send a mail via mail() function. here is the line

[PHP] Stopping apache from sending HTTP headers

2002-10-01 Thread Thiago Rafael Becker
Hi, I'm new to the news. How can I stop Apache from sending HTTP headers when I execute a script. Who handle the HTTP headers, is Apache or PHP engine? --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.282 / Virus Database: 150 -

[PHP] preg_replace_callback

2002-07-17 Thread Rafael Fernandes
First, sorry for my elementary english... I need a function made for PHP3 that works like preg_replace_callback... Sugestions??? -- Rafael Fernandes WebDeveloper - Aleph TI Ltda. / Matrix Internet Provider E-Mail: [EMAIL PROTECTED] Uin: 5551571 -- PHP General Mailing List (http://www.php.net

[PHP] Read a var from stdin

2002-05-18 Thread Rafael Perazzo
Is there any way to ask the user to type the value of a variable from stdin ? (like read in Pascal, or scanf in C). I'm using PHP from command line. Thanks Rafael Perazzo __ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http

[PHP] Help need (Urgent)

2002-05-01 Thread Luiz Rafael Culik Guimaraes
any values -- []´s Luiz Rafael Culik http://sites.uol.com.br/culikr begin 666 tes.htm M/$A434P^#0H\2$5!1#X-B @(#Q4251,13Y'=65S=!;V]K(#PO5$E43$4^ M#0H@( \3$E.2R!4251,13TB1W5EW0@0F]O:R(-B @( @( @( @( @ M(!(4D5/2)M86EL=\Z8W5L:6M VPN8V]N97@N;F5T(B ^#0H@( \3454 M02!(5%10+45154E6/2)#;VYT96YT+51Y4B

Re: [PHP] creating MySQL Users

2002-03-29 Thread Rafael Perazzo
Try this query : $query = GRANT SELECT,INSERT,UPDATE,DELETE,ALTER ; $query .= ON $username ; $query .= TO $username@localhost ; $query .= IDENTIFIED BY '$password';; Make sure that you put a blank space after each string, except the last one. I hope this work! Rafael Perazzo

[PHP] Re:[PHP] Changeing Dates.

2002-01-26 Thread Rafael Perazzo B Mota
; //var to be returned return ret; } This funcion gets the date in the format you have and converts into a string the way you want. I hope this help. Rafael Perazzo Philip J. Newman [EMAIL PROTECTED] wrote on 26/01/02 14:35:30: I have had no luck changing: 20020124020555 into 24 01

[PHP] PHP IDE

2002-01-25 Thread Rafael Perazzo B Mota
Who knows a good Php IDE for linux, like PHP Code ? Rafael Perazzo _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

RE: [PHP] Php.ini file missing

2002-01-13 Thread Rafael Perazzo
if it's working. If this do not work, write again, I'll be very happy to help the php community. Rafael Perazzo __ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ -- PHP General Mailing List (http

Re: [PHP] Development environment

2002-01-12 Thread Rafael Perazzo
I know two good IDEs for PHP: PhpEdit - http://www.phpedit.com PhpCode - http://www.phpide.de Have fun!! Rafael Perazzo --- Morten Nielsen [EMAIL PROTECTED] wrote: Hi, Can anybody recommend a good development environment? It should support PHP, HTML and JavaScripts. Another question

[PHP] PHP] apostrophe's in PHP MySQL

2002-01-08 Thread Rafael Perazzo
I have the same problem with the apostrophes in text fields form object. When I try to enter a string that contains ' the data is not entered in the database. I use PHP 4 and Mysql 3.23. How can I avoid this problem ? __ Do You Yahoo!? Send FREE

[PHP] Apostrophes and text fileds forms

2002-01-08 Thread Rafael Perazzo
You need to apply addSlashes() to the text fields before entering them into the database. Jason What is an addSlash ? How can I appy addSlashes ? Can anyone give me an example ? Thanks Rafael Perazzo __ Do You Yahoo!? Send FREE video emails

[PHP] Error: 1 is not a valid mysql link resource

2001-10-24 Thread Rafael Steil
]) it is the same code that works with php 4.0.1,, The link resource is valid ( at least I think that ), because when I do echo $GLOBALS[CONNECTION_ID]; the return is Resource id #1 does anyone knows the problem??? thanks anyway, Rafael Steil -- PHP General Mailing List (http://www.php.net

Re: [PHP] file system question

2001-10-24 Thread Rafael Steil
Well, this is a problem.. with perl, you can use suidperl, but not with php.. the most easyest way is to give write permission to apache user to the directory you want to upload the files... Rafael Steil On Wednesday 24 October 2001 11:43, you wrote: Hello- I'm trying to write

[PHP] CORRECT sort

2001-06-24 Thread Rafael Faria
I have a list of nicknames inside my page $t®ike_19a M@x ARNALDO_MOTA20 AXL-FUCKIN-ROSE AbAgUaLaDo Adolf Al_Cap0ne Anda_pelas_Sombr Anjo Tora Anjo_noturno Arcanjo_ Atras_E_AVANTE BHILL BRAIN_DAMAGE

[PHP] ORDER PROBLEMS

2001-05-15 Thread Rafael Faria
Hello Guys, i'm with problems first i try to add a value like 8.55 into my sql data base that was set up to DOUBLE (10,0) and isn't work... i don't know how this work... but i'm here to ask for someone explain me. well... i did with varchar to add this value as i want to.. do i have a

  1   2   >