[PHP] uping to plaese help

2002-11-01 Thread marcelo
direitos de escrita br; } unlink ($origem2); } } ? /body /html and yes i am new to php tk Marcelo Salvador www.sinesdigital.pt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: uping to plaese help

2002-11-02 Thread marcelo
Still needing help please help me Marcelo [EMAIL PROTECTED] wrote in message news:20021102001942.34689.qmail;pb1.pair.com... Hi need some help please What is wrong with my code? it is supposed to upload 2 files but instead gives me this error Warning: Unable to open 'Array' for reading

[PHP] uploading help please again

2002-11-03 Thread marcelo
Ok I'm back This script is to upload 2 image files Whit register_globals = on it Works fine script A p.php titleJornal O Leme/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head body bgcolor=#006699 table width=100% border=0 cellpadding=0 cellspacing=0

Re: [PHP] Functions

2001-01-10 Thread Marcelo Gulin
Hi! ShowMessage(); regards Marcelo Gulin Augusto Cesar Castoldi escribi: How do I use a function? I did: function ShowMessage { echo "Show message...\n"; } How can I call the function now? thanks, Augusto Cesar Castoldi -- PHP General Mailing

Re: [PHP] Datasets

2001-01-19 Thread Marcelo Gulin
Hi Bruno! what database are you using? for mysql, you can use mysql_data_seek function. regards Marcelo Gulin Bruno Freire escribi: Hi My name is Bruno, I'm in Brazil and I'm new in PHP... I wanna know how can I roll in the records in a dataset. Like... Move First Move last

Re: [PHP] Integer division

2001-01-19 Thread Marcelo Gulin
Hi Todd! if $a = 3.5 then echo (int)$a // print 3 regards Marcelo Gulin Todd Cary escribi: What is the syntax for dividing 7 by 2 and getting 3; not 3.5? Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net

[PHP] PHP PostgreSQL

2001-03-04 Thread Marcelo Pereira
Hi, All. I have to build a web site and I was studying postgreSQL, but, whether I am quite wrong or this database does not support Foreign Key. Does anyone use postgreSQL and know how handle Foreign Keys ??? Thanks, Marcelo Pereira Computer Programmer

[PHP] PHP Book

2001-03-12 Thread Marcelo Pereira
the link was active ??? I really would like to get it. Thanks in advance, Marcelo Pereira Unicamp - Brasil

[PHP] WebCam and PHP

2001-03-23 Thread Marcelo Pereira
Hi All, How can I show images, captured by a webcamp, in my website using PHP ??? Thanks, Marcelo Pereira

[PHP] libphp3.so

2001-04-02 Thread Marcelo Pereira
where is this (libphp3.so) file... and I also don't know where is the mod_php3.so file. What did I do wrong ??? Thanks in advance, Marcelo Pereira Programmer

[PHP] Instalation

2001-04-02 Thread Marcelo Pereira
Hi, Why can't I found neither LIBPHP3.SO nor MOD_PHP3.SO ??? Thanks Marcelo Pereira Programmer

[PHP] PHP3 - Instalation

2001-04-02 Thread Marcelo Pereira
modules/libpgp3.so WHERE is this file ??? I could NOT get it running, Is there anyone here that could, for the love of god, help me to install it with pgsql support on my system ??? Thanks, really thanks, in advance, Marcelo Pereira Programmer

[PHP] PHP Job in Curitiba, Brasil

2007-11-13 Thread Marcelo Wolfgang
Hi list We here at ZeroCinco Propaganda are looking for a PHP Developer to assist me in our web projects Must have a good knoledge of PHP and mySQL, and integration with ActionScript. Also you need to be confortable using Photoshop. If you are interested send your resume to [EMAIL PROTECTED]

[PHP] best technique to get the ID of the last inserted value

2007-07-20 Thread Marcelo Wolfgang
may get the wrong one, so that's the why of my question. TIA Marcelo Wolfgang -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] From TXT to a mySQL db

2007-10-18 Thread Marcelo Wolfgang
and simple way to convert the row string into a INSERT query ? Should I try some manipulation first with the TXT file ? TIA Marcelo Wolfgang -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] From TXT to a mySQL db

2007-10-18 Thread Marcelo Wolfgang
FIELDS TERMINATED BY '^' LINES STARTING BY '20'; $Query = mysql_query($SQL); TIA Marcelo Wolfgang Jason Pruim wrote: On Oct 18, 2007, at 2:29 PM, Marcelo Wolfgang wrote: Hi all, I need some helps/tips to know if a transition from a txt file to a sql database is viable to do. I have

[PHP] Char encoding using fget or curl

2005-07-18 Thread Marcelo Volmaro
in consideration that not all UTF-8 can be converted to ISO-8859-1 (chinese, for example) Thanks in advance! -- Marcelo Volmaro -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Char encoding using fget or curl

2005-07-18 Thread Marcelo Volmaro
But my problem is that the information i get from the fget or curl is ALREADY converted!!! And by what i see, the function overloading don´t work on fget. On Mon, 18 Jul 2005 18:56:36 -0300, Jochem Maas [EMAIL PROTECTED] wrote: Marcelo Volmaro wrote: Hi!, I need to get some information

[PHP] Reauthenticate

2001-04-17 Thread Marcelo Pereira
there, then a 'expires page' is showed Which is the better way to do it ??? Thanks in advance, Marcelo Pereira Programmer -- 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

Re: [PHP] Form Field

2001-04-17 Thread Marcelo Pereira
Hi, How about enclose the parameters with quotes ??? See ya, Marcelo Pereira Programmer - Original Message - From: Mike [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 17, 2001 10:17 AM Subject: [PHP] Form Field Im trying to pass a form variable to anouther page

[PHP] The page cannot be displayed

2001-04-24 Thread Marcelo Pereira
be displayed''. I've read the php documentation but I dont think this is the problem.. Using unix clients the things goes very well... What did I go wrong ?? See ya, Marcelo Pereira Unicamp - Brazil

[PHP] Session gets corrupted (or lost)

2005-04-09 Thread Binomic | Marcelo
] = b44590661eba2475ea2ff8a96d53c0b6 ) print_r($_SESSION) Array ( [LANG] = en [user] = __PHP_Incomplete_Class Object ( [__PHP_Incomplete_Class_Name] = user [ID] = 30 [nick] = Username [password] = 37bfafe651a55eef [group] = 5 ) Any idea? Regards, -- Marcelo Volmaro - CTO __ Binomic

[PHP] Session gets corrupted (or lost)

2005-04-09 Thread Marcelo Volmaro
] = b44590661eba2475ea2ff8a96d53c0b6 ) print_r($_SESSION) Array ( [LANG] = en [user] = __PHP_Incomplete_Class Object ( [__PHP_Incomplete_Class_Name] = user [ID] = 30 [nick] = Username [password] = 37bfafe651a55eef [group] = 5 ) Any idea? Regards, -- Marcelo Volmaro -- PHP General Mailing List (http

[PHP] ceil() function

2002-11-06 Thread Marcelo Garcia
I need a function that rounds up fractions (0.10) not an integer like ceil, or what parameters do I need to give to ceil() to round up fractions? I hope you understood me. Thanxs. MArcelo

[PHP] UPDATE and redirect

2007-04-11 Thread marcelo Wolfgang
WHERE `auto_id` = $id); mysql_close(); ? The page is executed, but it don't update the table ... I've tried with the '' and without it ( the phpmyadmin page is where I got the idea of using the '' ). Any clues ? Also, how can I make a redirect after the query has run ? TIA Marcelo Wolfgang

Re: [PHP] UPDATE and redirect

2007-04-11 Thread marcelo Wolfgang
Hi, It's fixed, I think the problem where at the '==' ... I have to remember that in PHP this is like ActionScript. Also, what if $_GET['act'] is neither 'a' or 'd'? Again, what if $_GET['id'] is null? The only way to not be 'a' or 'd' or to be null is if someone mess with url, which

Re: [PHP] UPDATE and redirect

2007-04-11 Thread Marcelo Wolfgang
and what if $_GET['id'] is something like 1; DROP TABLE tb_emails; ?? SQL injection just waits to happen I think tha tit will be too much of a hacker effort just to kill a table of contact emails, and also he will have to guess ( is there other way ? ) the table name, but just to be on a

Re: [PHP] UPDATE and redirect

2007-04-11 Thread Marcelo Wolfgang
the $action or the $id, it will be inside the UPDATE, doesn't changing any of the variables to a DROP TABLE just give an error ? TIA Marcelo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] File uploading and saving info on mysql

2007-05-03 Thread Marcelo Wolfgang
is there for debug only ? TIA Marcelo Wolfgang -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] File uploading and saving info on mysql

2007-05-04 Thread Marcelo Wolfgang
Richard Lynch wrote: Browsers will probably NOT populate these reliably... Mac Safari, might, for example, choose application/x-pdf for the PDF file. You really can't rely on 'type' to be useful in any way, shape, or form. Thanks for the tips, I've deleted this check, and changed how I

[PHP] Selecting a special row from the database

2007-05-04 Thread Marcelo Wolfgang
,$user,$pass) or die (mysql_error()); mysql_select_db ($db_table); $SQL = SELECT * FROM tb_noticias $whereClause ORDER BY auto_id DESC; $news_Query = mysql_query($SQL); $recordCount = mysql_numrows($news_Query); mysql_close(); ? TIA Marcelo Wolfgang -- PHP General Mailing List (http://www.php.net

[PHP] Re: Selecting a special row from the database

2007-05-08 Thread Marcelo Wolfgang
Wow, Thanks for all the ideas, I'll explore all of them. I have the content people messing with the adm so it's hard to try things I don't fully understand by now About the sql injection, the db user I set for this has only select privileges, should I be worried even with this ? Thanks

[PHP] memory allocation

2012-09-25 Thread Marcelo Bianchi
regards, Marcelo Bianchi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] memory allocation

2012-09-25 Thread Marcelo Bianchi
Hi Matijn, That is good test, to install php 32bit side to side with the 64bit to test. Will see how hard is to accomplish that. regards, Marcelo On 09/25/2012 01:58 PM, Matijn Woudt wrote: On Tue, Sep 25, 2012 at 12:49 PM, Marcelo Bianchi mbian...@gfz-potsdam.de wrote: Dear list, I

Re: [PHP] memory allocation

2012-09-25 Thread Marcelo Bianchi
of fetching the data from sql to see if the php consumption goes down. regards, Marcelo On 09/25/2012 02:23 PM, shiplu wrote: I would like to see how you are reading data from database? There are many ways to reduce memory usage. Here is a very common way reduce memory. instead of $res

Re: [PHP] memory allocation

2012-09-25 Thread Marcelo Bianchi
On 09/25/2012 02:40 PM, shiplu wrote: Also if the final data on presentation layer is very small you can calculate it in mysql using stored procedure. okay, also something to try. thank you ! regards, marcelo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Foreach question

2007-11-15 Thread Juan Marcelo Rodríguez
HI, I'm working with an associative array, and generating its data a form. I use foreach to loops the contents of the array and echo to print the table and the data. Everything goes well, however I would like to add a counter to print the row's number. The question : Am I able to add a counter

Re: [PHP] Foreach question

2007-11-15 Thread Juan Marcelo Rodríguez
value=\e\ / . /tdtd; echo $val . /tdtd; print input type=\radio\ name=$key value=\b\ / . /tdtd; } ? I use the array to generate the name of the radio and so on. However I had problems with the counter. Thanks 2007/11/15, Stut [EMAIL PROTECTED]: Juan Marcelo Rodríguez wrote: I'm working

Re: [PHP] Foreach question

2007-11-15 Thread Juan Marcelo Rodríguez
2007/11/15, Philip Thompson [EMAIL PROTECTED]: On Nov 15, 2007 5:12 PM, Juan Marcelo Rodríguez [EMAIL PROTECTED] wrote: Yes, I made a mistake in the first sentence. The code is : [...] foreach ($equipos as $key = $val){ echo trtd; echo 1 . /tdtd; // I would like to add

Re: [PHP] Foreach question (solved)

2007-11-15 Thread Juan Marcelo Rodríguez
Thanks. I solved it using this : $x = 0; foreach ($equipos as $key = $val){ $x = $x + 1; echo trtd; echo $x . /tdtd; 2007/11/15, Michael McGlothlin [EMAIL PROTECTED]: $x = 0; foreach ( $blah as $bleh ) { $x = $x + 1; print $x: $bleh; } HI, I'm working with an associative array, and

[PHP] SQL Distinct-like behaviour

2007-08-23 Thread Marcelo de Moraes Serpa
How could I iterate over the files in a directory and build a list of unique filenames? Take the following filelist: file1_01.jpg file2_01.jpg file2_02.jpg file2_03.jpg file3_01.jpg file3_02.jpg file3_03.jpg file4_01.jpg file4_02.jpg file4_03.jpg I would like to build an array like this: $names

[PHP] DATETIME or UNIX TIMESTAMPS?

2006-10-26 Thread Marcelo de Moraes Serpa
and the Flash 8 API Date datatype also only understands unix timestamps. Taking this into account, I'm not really sure if it really worths it to move to the DATETIME datatype. What would you do? Any advice would be much appreciated! Marcelo.

[PHP] Domain Search

2007-01-09 Thread Marcelo Ferrufino Murillo
I have to make a domain search so I don´t know if there is an API or something that could help me in this o if you know how I could make this. Thank you.

[PHP] whois Domain??

2007-01-09 Thread Marcelo Ferrufino Murillo
Hi ereryone I need to do an script into a web page to know if a domain is registered so I don´t know how to send a query to internic or what I have to do to get this. Thank you, I hope your help.

[PHP] [scalability, performance, DoS] To or not to process images at runtime

2008-08-06 Thread Marcelo de Moraes Serpa
of disk space. PS: I've put DoS in the subject tagline meaning Denial of Service as I think that maybe dynamic processing of images X lots of request could result in DoS. Thanks in advance, Marcelo.

Re: [PHP] [scalability, performance, DoS] To or not to process images at runtime

2008-08-07 Thread Marcelo de Moraes Serpa
as time goes by and the app grow. Is this approach transparent enough so that architectural changes to the app wouldn't be necessary? Thank you all for the replies! Marcelo. On Thu, Aug 7, 2008 at 3:52 AM, Per Jessen [EMAIL PROTECTED] wrote: Bernhard Kohl wrote: I think it also depends

[PHP] Executing a PL/SQL Function

2001-04-30 Thread Marcelo Dias de Toledo
64 (()) ---//--- Can I execute functions ? If yes, what may be wrong ? Thank you very much, -- Marcelo Dias de Toledo N-Web E-Commerce - http://www.nweb.com.br mailto:[EMAIL PROTECTED] Phone: 55 71 341-8474 - Fax: 55 71 341-8480 -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Problems whit mysql_fetch_row

2003-06-07 Thread Marcelo Luiz de Laia
$categoria br $nombre/b/anbsp;; } $content .= /table; ? + This is the error message showed: Warning: Wrong parameter count for mysql_fetch_row() in f:\webdoc\html\blocks\block-Concurso.php on line 41 Thanks very much Marcelo --- Outgoing mail is certified Virus Free. Checked

[PHP] Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in f:\.....\none.php on line 286

2003-06-08 Thread Marcelo Luiz de Laia
What this message means? What it is the error? Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in f:\.\none.php on line 286 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.488 / Virus

Re: [PHP] Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in f:\.....\none.php on line 286

2003-06-08 Thread Marcelo Luiz de Laia
What this message means? What it is the error? Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in f:\.\none.php on line 42 This is the code. Thanks very much. Marcelo ?php if (eregi(block-Concurso.php, $PHP_SELF)) { Header(Location: index.php

Re: [PHP] Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in f:\.....\none.php on line 286

2003-06-09 Thread Marcelo Luiz de Laia
Hi Thomas and All, why are you using sql_query through your code? its mysql_query for mysql! I use phpnuke and it have a sql_layer.php. You are correct, for mysql is mysql_query. But this dont is the problem, I change it and the problem continue! Any tip?? Thanks Marcelo - Original

Re: [PHP] Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in f:\.....\none.php on line 286

2003-06-09 Thread Marcelo Luiz de Laia
Hi Janet, I dont have know how in php. I inserted the function mysql_error() in my code and it dont return any message! Thanks Marcelo This means that when you did: $result = mysql_query($sql); $result did not end up with a valid resource in it. Then, when you do the fetch row command

Re: [PHP] Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in f:\.....\none.php on line 286

2003-06-09 Thread Marcelo Luiz de Laia
)) { $content .= img src=blocks/images/diamond.gifnbsp;a href=\modules.php?name=Concurso\font color=\#096C88\b$categoria /b $nombre/anbsp;; } It works very good! My question: In while instruction have a $result and $dbi. They dont are necessary in the sql_query? Understand me? Marcelo --- Outgoing

[PHP] smsSend

2007-01-22 Thread Marcelo Ferrufino Murillo
Hi guys, I´m beginner in php, so I need some help. I have to make a script to send SMS to moviles phones, can you give some ideas how to make it please... Thank you -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Send Email to Mobiles

2007-01-25 Thread Marcelo Ferrufino Murillo
Hi guys, I need to send a email to mobiles I don´t know if I have to use the function mail( ) or if I have to use other one. Thanks your help

[PHP] Send Email to Mobile

2007-02-01 Thread Marcelo Ferrufino Murillo
Hi guys, I have a script that send emails to mobiles: ?php $subject=$_REQUEST[sb]; $nmobile=trim($_REQUEST[nmobile]); $message=$_REQUEST[message]; $header=From: [EMAIL PROTECTED]; //Bolivia providers switch($nmobile[1]){ case 0: $company=@viva-gsm.com; break; case 1:

[PHP] PHP and XML

2009-11-22 Thread Juan Marcelo Rodríguez Monti
Hi people, I have some doubts about this topic that I'm gonna explain. I have a few sites in flash, and I was requested to write a PHP frontend to send news. I have this already done and it works perfect. It's a LAMP App to send and edit news, post video, images and so on. Then, I need to

[PHP] Books about RESTFul Web Services APIs

2010-06-29 Thread Juan Marcelo Rodriguez Monti
Hi guys, Do you know some good books about RESTful Web Services / API's using PHP?. Also, if you know some website where I could find papers, pdf's and articles about this topic would be useful, too. I saw the documentation about this topics is not so easy to find. Best, Juan -- PHP

[PHP] Consulta

2005-03-04 Thread J. L. Marcelo Chaparro Bustos
Hola, bueno acabo de incribirme el la lista y queria saber si alguno de ustedes tiene un manual PHP basico que me pueda enviar o decir donde poder bajarlo, para orientarme un poco. gracias Marcelo

Re: [PHP] More php Questions about PHP 4.3.4 (cli)

2004-03-11 Thread Marcelo Pereira Fonseca da Silva
variables must be able on script.. putenv(ORACLE_HOME=/path/to/oracle); and ORACLE_SID putenv(ORACLE_SID, ORACLE_SID_HERE); hope that helps --Marcelo --- Martin McCormick [EMAIL PROTECTED] escreveu: I installed the FreeBSD port of php4.3.4. In order to query a remote database server