[PHP] php mysql blob fields

2001-11-21 Thread Rodrigo Peres
x27;$imagem_bd')"; $query->executa($sql); } and to update: if($imagem != 'none') { $Image_bd = addslashes(fread(fopen($imagem,"r"),filesize($imagem))); $sql = "UPDATE imagens SET Image_Name='$imagem_name',Image_Size='$imagem_size',Image_Type=&#x

[PHP] lotus notes and PHP

2001-12-13 Thread Rodrigo Peres
Hi list, After an extensive search, without results, in web, I'd like to know with there's a way to integrate PHP4 and Lotus Notes. I'll develop a new module to a intranet that is based in lotus notes. Thank's in advance Rodrigo Peres -- PHP General Mailing List (htt

[PHP] ordered alpabeticaly list

2001-12-13 Thread Rodrigo Peres
tters separated. Thank's in advance Rodrigo Peres -- -- 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: [PHP] Re: ordered alpabeticaly list

2001-12-13 Thread Rodrigo Peres
Thnk's Mike, But what I really need is create a separation like this ex: A ab... ac.. ad.. B be... bee... .. for all the names in my table Thank's again Rodrigo on 12/13/01 4:30 PM, Mike Eheler at [EMAIL PROTECTED] wrote: > If I understand you correctly, you want to pu

Re: [PHP] Re: ordered alpabeticaly list

2001-12-14 Thread Rodrigo Peres
do['Nome_Artistico']."\n"; $ultletra = $curletra; } Thank's in advance Rodrigo -- 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] multicolumn table

2001-12-17 Thread Rodrigo Peres
$query->dados()) { $curletra = $resultado['letra']; if($curletra != $ultletra) { $row .= "\n\n\n\n\n"; } $row .= "".$resultado['Nome_Artistico']."\n"; $ultletra = $curletra; } Thank's in advance Rodrigo Peres --

Re: [PHP] multicolumn table

2001-12-17 Thread Rodrigo Peres
d I need a table with 3 colmns and many rows as necessary to have all names. Thank's Rodrigo Peres on 12/17/01 12:10 PM, Andrey Hristov at [EMAIL PROTECTED] wrote: > try to start the sql at a prompt > and post the error which mysql returns > > Regards, > Andrey Hrist

[PHP] 3 column by n rows table

2001-12-26 Thread Rodrigo Peres
ase(left(Nome_Artistico,1)) as letra FROM categorias LEFT JOIN celebridades ON categorias.CategoriaID=celebridades.Categoria WHERE CategoriaID='1' ORDER BY Nome_Artistico Thank's in advance Rodrigo Peres -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-m

[PHP] Re: PHP 5.3.0alpha3

2008-12-08 Thread Rodrigo Saboya
already: http://php.net/namespace regards, Johannes and Lukas All links at http://windows.php.net/qa/ are 404. -- Rodrigo Saboya -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] password field validation

2009-03-12 Thread Rodrigo Escares
prueba con trim() : $pass=trim($_POST[PASSSWORD]); if (empty($pass)) { $GERROR="TRUE"; } Atte. Rodrigo (09) 7 7996571 On Thu, Mar 12, 2009 at 4:05 PM, Jason Todd Slack-Moehrle < mailingli...@mailnewsrss.com> wrote: > Hi All, > > I have an input field with type="

[PHP] Re: Extremely slow cURL curl_exec execution/response with 5.4.13

2013-03-22 Thread Rodrigo Mourão
Hi, The problem could be not related to php/curl, but related with dns resolve. Try to use the IP address. Regards. Rodrigo Mourao Webjump - www.webjump.com.br

Re: [PHP] message to user after complete POST

2013-09-04 Thread Rodrigo Santos
hey, if you are just trying to give the user a feedback about the information sent, there is a Global variable for this, and it's the $_POST. When you receive the information on the script you called on the "Action" atribute of the form, via the $_POST global variable, you will test the information

Re: [PHP] Static utility class?

2013-09-04 Thread Rodrigo Santos
Hi, first, sorry for the bad English. Yes, at least, as far as I know, this is the perfect way to do what you want to do. Think like this: when you instanciate a class, you are allocating memory. If you don't need any information stored, then you don't need to allocate memory, right? So, it's is l

Re: [PHP] ASP to PHP language problems

2004-03-10 Thread Rodrigo Castro
On Wednesday 10 March 2004 18:54, Raditha Dissanayake wrote: > Hi. > There is an ADO simulator for PHP (i think it's called ADODB PHP but i > can't remember the link). There is also a asp to php converter called > (can you guess? ) asp2php. http://php.weblogs.com/ And Pear::DB must work too :P h

[PHP] Problems with a simple While-If condition

2002-11-26 Thread Rodrigo de Oliveira
This is the fact: I'm building a homepage that can access a mysql database, and display the records within a certain condition. Following this it is verified if the sql result was empty then it should write a certain frase, if not it should write the records. I've got the worst part ok, the wh

[PHP] RE: Problems with a simple While-If condition With the statement

2002-11-26 Thread Rodrigo de Oliveira
" ?> Nenhum profissional cadastrado."; } ?> ID Profissional"; echo"".$row['id'].""; echo"Nome"; echo"".$row['nome'].""; echo"Profissão"; echo"".$row['area'].""; echo"Bairro"; echo"".$row['bairro'].""; echo"Telefone"; echo"".$row['telefone'].""; echo"E-mail"; echo"".$row['email'].""; echo

[PHP] Encrypting a message

2002-12-04 Thread Rodrigo de Oliveira
nged, so how to start the fifth letter in the first variable instead to look for a fifth variable that isn't there? Thanks, Rodrigo

[PHP] Safe mode and safe_mode_exec_dir

2002-12-05 Thread Rodrigo Borges Pereira
Hello all, I'm having a bit of a problem making a particular configuration with PHP and Apache. Here's the deal: I want to have php running with safe mode, so i define safe mode = On on /etc/php.ini. I have this script that i need to execute two programas, with exec(). So, in apache, i define a

[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: name; ?> 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 of the first pa

[PHP] Html Change

2002-10-28 Thread Rodrigo de Oliveira
Hi guys I´d like to know if there is a way for me to browse thru one of mine webpages and dinamicaly change the contents. I mean on the following way: I´d like to have a php file to read a html document and change some of the words and then show on the net. Thanx, Rodrigo

[PHP] Mail() function

2002-10-28 Thread Rodrigo de Oliveira
l() script. Rodrigo SCRIPT:

Re: [PHP] Error: unexpected T_ELSE on line 14...?

2004-07-18 Thread Rodrigo Castro Hernandez
Hi, You have two problems in these line: Harlequin said: > > if ($_SESSION["Authorised"]="Yes"); 1. The obvious ";" at the end of the line. 2. $_SESSION["Authorised"]="Yes" it's different to write: $_SESSION["Authorised&

[PHP] mail() silly question

2007-09-01 Thread Rodrigo Poblanno Balp
I have a question that might be too silly for those of you who are PHP gurus. Here it comes: I had a mail (specifically in the headers) function call like this: $header = ""; $header .= 'From: [EMAIL PROTECTED]"; $header .= 'MIME-Version: 1.0\r\n"; $header .= 'Content-type: text/html; charset=

[PHP] Slashes, include, AJAX?

2007-10-25 Thread Rodrigo Poblanno Balp
Hi everybody! I'm building a small ajax app which consists of only 3 php files. index.php which contains all the app and has a couple of links. When a link is clicked an Ajax request is sent to the server (using prototype) to the url central.php with only one parameter 'id'. Depending on that

Re: [PHP] Slashes, include, AJAX?

2007-10-25 Thread Rodrigo Poblanno Balp
Nathan Nobbe wrote: On 10/25/07, *Rodrigo Poblanno Balp* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: Hi everybody! I'm building a small ajax app which consists of only 3 php files. index.php which contains all the app and has a couple of links. W

Re: [PHP] Slashes, include, AJAX?

2007-10-25 Thread Rodrigo Poblanno Balp
Nathan Nobbe wrote: On 10/25/07, *Rodrigo Poblanno Balp* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: Nathan Nobbe wrote: On 10/25/07, *Rodrigo Poblanno Balp* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: Hi everybody! I

Re: [PHP] Slashes, include, AJAX? {SOLVED}

2007-10-26 Thread Rodrigo Poblanno Balp
Nathan Nobbe wrote: On 10/26/07, *Rodrigo Poblanno Balp* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: I get something like this is the content<\/div> it seems like the '/' is being escaped, but I need it as HTML. how are you using the json object

[PHP] String to an Array

2002-12-06 Thread Rodrigo de Oliveira Costa
s foward. Anyone have any clues on this? Thanks, Rodrigo

[PHP] Phpmyadmin HELP!!!

2002-11-03 Thread Rodrigo de Oliveira Costa
51 PhpMyAdmin 2.3.2 Thanks, Rodrigo

[PHP] Add content thru e-mail

2002-11-03 Thread Rodrigo de Oliveira Costa
Hi people, i'd like to know if there is a way to add content to a database thru sending an e-mail, and if there is how it would be done. Thanks, Rodrigo

[PHP] Passing Variables from one php doc to another

2002-11-20 Thread Rodrigo de Oliveira Costa
form witch is the first, but I’m allready sending one variable and I need to send this one also, any ideas? By the way I already trried & , +... and I’m out of ideeas, please help. The code in under my name. Rodrigo \n"; } if($pagina > 0) { $menos = $pagina

RES: [PHP] Passing Variables from one php doc to another

2002-11-21 Thread Rodrigo de Oliveira Costa
I tried to use this way but it doesnt work I think its because it is a variable that I have to pass, something like: http://www.example.com/doo.php?dah=something&dee=$somethingelse HELP Rodrigo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php

[PHP] session question

2001-05-08 Thread Rodrigo Reis da Rocha
I have a question about session variables. In my page the session variables are not seen by the pages where tem are not declared. I´ve used "session_register($variable)" and so after at another page I´ve called "echo $variable;" and it generate a message that the variable does not exists. The ses

[PHP] session question

2001-05-08 Thread Rodrigo Reis da Rocha
I have a question about session variables. In my page the session variables are not seen by the pages where tem are not declared. I´ve used "session_register(variable)" and so after at another page I´ve called "echo $variable;" and it generate a message that the variable does not exists. The sess

[PHP] session

2001-05-09 Thread Rodrigo Reis da Rocha
Hi, I have a problem with the session variables. nome_usuario = "vazio"; $this->webmaster_mail = "[EMAIL PROTECTED]"; $this->acao = "inicio"; $this->url_sistema = "http://localhost/web/ "; } function autorizaSistema($param_usuario, $param_passwd){ //Verificar no banco se o usuario exis

[PHP] Problems with session

2001-05-10 Thread Rodrigo Reis da Rocha
Hi, I have a problem with the session variables. nome_usuario = "vazio"; $this->webmaster_mail = "[EMAIL PROTECTED]"; $this->acao = "inicio"; $this->url_sistema = "http://localhost/web/ "; } function autorizaSistema($param_usuario, $param_passwd){ //Verificar no banco se o usuario exis

[PHP] Please help

2001-05-10 Thread Rodrigo Reis da Rocha
Hi, I have a problem with the session variables. nome_usuario = "vazio"; $this->webmaster_mail = "[EMAIL PROTECTED]"; $this->acao = "inicio"; $this->url_sistema = "http://localhost/web/ "; } function autorizaSistema($param_usuario, $param_passwd){ //Verificar no banco se o usuario exis

[PHP] Crudin - CRUD INterface Generator - Open Source Project

2012-05-25 Thread Rodrigo de Almeida Rodriguez
much more Crudin mounts relations, to make upload of archives and images, treat fields enum/set and much more All you need is any MySQL database! Official Site: http://crudin.smarc.com.br/en Demonstration: http://crudin.smarc.com.br/demo username: demo password: demo Regards, Rodrigo A

Re: [PHP] problem with my login script

2012-10-02 Thread Rodrigo Silva dos Santos
legacy code for one that is learning php. If you want, I can give you some tips to modernize your script ;) Regards, Rodrigo Silva dos Santos. Enviado por Samsung Mobile Thomas Conrad escreveu: I'm currently learning php and as a challenge, I'm creating a login script usin

Re: [PHP] problem with my login script

2012-10-02 Thread Rodrigo Silva dos Santos
forgot to send a copy to the list... Rodrigo, break!? Ohh man, it's a crazy idea... A developer DOES NOT use break at all (in a loop)... (switch is an exception) In the other hand Thomas, you should use while and count the lines and u need to test if username found... Yeah, this script is n

Re: [PHP] problem with my login script

2012-10-02 Thread Rodrigo Silva dos Santos
this: OOP and switch could be good together and I also prefer switch eg. at action or page selection... break is an old stuff and not a nice solution (like "goto")... killing a procedure!? -means wrong planning of an app! (and jumping in the code with goto also like this) On Tue, Oct

Re: [PHP] Re: problem with my login script

2012-10-02 Thread Rodrigo Silva dos Santos
To break or not to break? that's the question... All that fight makes me (and, I think that Thomas too) learn a bit more about all of this. And for finish with all of it. I think that if something is not deprecated, is because it's is a good idea to use it somewhere. If the Language develope

Re: [PHP] base64_decode

2012-10-02 Thread Rodrigo Silva dos Santos
Hello John. This code generates the following html: ?> http://web-hosting-click.com/"; title="Web hosting">Web hosting Without anyone infecting their machines, can someone tell me what this is? I found a phishing site on my DreamHost server. DreamHost has been very helpful. We found

Re: [PHP] Unexpected behavior of max() function

2012-12-11 Thread Rodrigo Silva dos Santos
A solution to it is, if you can, enter the array itens without the commas, just array(100,110.453351020813,9); Em 11-12-2012 05:05, Andreas Perstinger escreveu: On 11.12.2012 07:48, "Рогулин С.В." wrote: I encountered with unexpected behavior of max() function. When i pass a parameter ['100',

Re: [PHP] htaccess to make html act as php suffixed files

2013-06-11 Thread Rodrigo Silva dos Santos
Em Ter 11 Jun 2013 15:08:59 BRT, Matijn Woudt escreveu: On Tue, Jun 11, 2013 at 7:17 PM, Stuart Dallas wrote: On 11 Jun 2013, at 18:16, Tedd Sperling wrote: Hi gang: To get html pages to use php scripts, I've used: RewriteEngine on # handler for phpsuexec. -- this makes these prefixes con

[PHP] Help with SSH2 persistent connection in php

2008-04-11 Thread Rodrigo Reis da Rocha
over again? Thanks, Rodrigo.

Re: [PHP] What is the practical use of "abstract" and "interface"?

2008-04-15 Thread Rodrigo Reis da Rocha
classes. Like vehicle is an abstraction to car, motorbike, bike... with that you can use the method ride to all these vehicles using an vehicle variable pointing to an instance of car, motorbike or bike. Cheers. Rodrigo Reis. 2008/4/15, Jay Blanchard <[EMAIL PROTECTED]>: > > [snip

[PHP] Update site through email

2006-06-29 Thread Rodrigo de Oliveira Costa
Hy guys I'd like to know if there is a way to update a site through sending an email. Something like this, you send an email and the body of the email substitutes a text you use in your site. Igreat apreciate any help since I couldn't find anything on this topic. Thanks, doRodrigo -- PHP General

[PHP] Retrieving Content

2006-06-02 Thread Rodrigo de Oliveira Costa
bering that the SELECT is dynamic so I need also to check how many labels and values there are and store them into variables. I getting a really hard time doing this. I thank any imput you guys can give me. Thanx, Rodrigo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Retrieving Content

2006-06-02 Thread Rodrigo de Oliveira Costa
but since the PHPEd dont use line 0 it should be right. Or I'm missing something... Thanks, Rodrigo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Retrieve output from HTML or PHP file

2006-06-02 Thread Rodrigo de Oliveira Costa
Can I do the below to an URL, like retrieving the output of a site and store it on a variable? Thanks, Rodrigo Hi Peter, Ah, I understand now. If the file echo'ed it's output you could do: ob_start(); include('file.php'); $output = ob_get_contents(); ob_end_clean();

[PHP] Re: Retrieving Content

2006-06-02 Thread Rodrigo de Oliveira Costa
with a url. Thanks guys, Rodrigo ob_start(); include('file.php'); // Could be a site here? What should I do to retrieve it from an url? $output = ob_get_contents(); ob_end_clean(); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] String Manipulation

2006-06-05 Thread Rodrigo de Oliveira Costa
of variables is dynamic so it can be only one or 100. Thanks guys, Rodrigo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problem with form

2006-06-06 Thread Rodrigo de Oliveira Costa
Guys I'm getting the following problem: I have a form that asks for one variable that goes into the input box, this box is named chapter, and the box is in a form that is submited to another php, and this php should receive this variable and I should be abble to access it thru $chapter, but when

[PHP] HTTP ERRORS Boolean

2006-06-06 Thread Rodrigo de Oliveira Costa
cant access it then he should write something else. Thanks, Rodrigo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Cant work HTML echo loop

2006-06-07 Thread Rodrigo de Oliveira Costa
range values like "z" or a pund signal... Anyone off you guys up to the task? Thanks a lot... Rodrigo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Cant work HTML echo loop

2006-06-07 Thread Rodrigo de Oliveira Costa
range values like "z" or a pund signal... Anyone off you guys up to the task? Thanks a lot... Rodrigo http://www.domain.com";; $url = "$urlMain"."$urlStory"."$urlChapter"; $texto = file("$url"); $result2 = count($texto); $i = 0; while ($i <

[PHP] Paging Help

2006-06-20 Thread Rodrigo de Oliveira Costa
de me. Rodrigo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

<    1   2