[PHP] Re: Webservice Wsdl - to do or not to do?

2010-12-06 Thread Augusto Flavio
oVisitor"; /> Bye for all. Augusto Morais 2010/12/6 Augusto Flavio > Hi, > > > > I'm wrting a WSDL webservice in php and I have a doubt about one thing. > > I created a method(or operation) that sends an

[PHP] Webservice Wsdl - to do or not to do?

2010-12-06 Thread Augusto Flavio
Hi, I'm wrting a WSDL webservice in php and I have a doubt about one thing. I created a method(or operation) that sends an invitation to the user. The request uses the session ID to identify the user that I want to send the invitation. Here is a example of the WSDL request from the eclipse.

[PHP] SOAP ERROR - Encoding

2010-07-23 Thread Augusto Flavio
Hi guys, I created a simple wsdl web service. Everything works fine, but when I fill the fields with accents and send the soap request, the PHP returns me an error: Fatal error: Uncaught SoapFault exception: [Client] SOAP-ERROR: Encoding: string 'ol\xe1...' is not a valid utf-8 string in PATH\c

[PHP] SOAP ERROR - Encoding

2010-07-22 Thread Augusto Flavio
Hi guys, I created a simple wsdl web service. Everything works fine, but when I fill the fields with accents and send the soap request, the PHP returns me an error: *Fatal error*: Uncaught SoapFault exception: [Client] SOAP-ERROR: Encoding: string 'ol\xe1...' is not a valid utf-8 string in PATH

[PHP] SOAPParam - Does it possible?

2010-07-09 Thread Augusto Flavio
Hi, I'm creating a wsdl server but I have one doubt about the soapparam::soapparam(). I want to know how to return several parameters using the soapparam::soapparam(). I'm doing this: class MyApi implements API { public function Send($param) { $resp = array('resposta' => 'works', 'eve

[PHP] interface name file

2010-07-07 Thread Augusto Flavio
Hi, I want to know which file name is appropriate for a interface. Today, for a PHP class I use: NAME.class.php. What about a interface? Is there a definition about it ? Thanks Augusto Morais

Re: [PHP] communication protocol

2010-07-06 Thread Augusto Flavio
Hi again, I'm thinking about in how to do the communication between web chat in browser client, the server and the operator desktop client. I'm thinking in web service likes wsdl. Is a good option? Thanks Augusto Morais

[PHP] communication protocol

2010-07-06 Thread Augusto Flavio
Hi List, I'm looking for a chat support likes the livezilla. The livezilla is a great tool but doesn't have language supports to another language instead english and german (operator side). Then I thought that a good option would be develop my own chat support. A great solution is build the serv

Re: [PHP] PHP framework

2010-05-14 Thread Augusto Flavio
You can use the symfony. It's a great framework. Bye. Augusto Morais

Re: [PHP] php path and relink

2010-05-10 Thread Augusto Flavio
I did it: .bash_profile PATH=/usr/local/php5/bin:$PATH export PATH worked well Thanks

[PHP] php path and relink

2010-05-10 Thread Augusto Flavio
Hi, I have a shell account with limited access. The php cli version installated is 4.4.6. But the server have also the php 5.2.6. I checked the php version and i got this: $ php -v PHP 4.4.9 (cli) (built: Sep 17 2008 11:04:03) . But i want that the php command be a link to the php5. How c

[PHP] remove namespace from xml

2009-12-02 Thread Augusto Flavio
Hi all, i'm trying to connect to a SOAP Server but i'm having a problem. Look the xml that i need send to the server: // THIS IS THE XML CORRECT THAT NEED BE SENT TO THE SERVER http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:soap="http://schemas.

[PHP] SOAP CLIENT and HEADER

2009-12-01 Thread Augusto Flavio
hi All, I'm trying to access a SOAP service but i have one doubt. I paste a sample SOAP request for you know the problem: // START SOAP REQUEST POST /wbm/shopping/script/CalcPrecoPrazo.asmx HTTP/1.1 Host: shopping.correios.com.br Content-Type: text/xml; charset=utf-8 Content-Le

Re: [PHP] security/deployment issue

2009-10-16 Thread Augusto Flavio
Humm.. thanks for the replies. But i have another problem about rsync again. When i deploy a project using the rsync the permissions of all home directory is changed. i tried to use the parameter -p -o -g (preserve permissions, owner and group): I dont know but the rsync doesnt preserve the pe

[PHP] security/deployment issue

2009-10-11 Thread Augusto Flavio
Hi everybody, i have a doubt about my security and deployment methods. Today i manage several projects and these projects are versioned with subversion. My environment is something like this: 1. The developer make some update in the source code of a project. (from your IDE, generally netbeans)

[PHP] security question of ZCE exam

2009-08-24 Thread Augusto Flavio
Hi all, i'm discutting with my friend about this question for 30 min and i do not agree with he. Here is the question: Why is it important from a security perspective to never display PHP error messages directly to the end user, yet always log them? Answers: (choose 2) Error messages wil

[PHP] ZCE question - duplicate object

2009-08-12 Thread Augusto Flavio
HI everyone, i'm studying for the zce exam and i found a blog that try to answer some questions covered in the exam. I found one that i do not agree. Question: What is wrong with the following code? function duplicate($obj) { $newObj = $obj; return $newObj; } $a = new MyClass(); $a_copy = du

[PHP] ZCE Question

2009-08-08 Thread Augusto Flavio
Has someone an clue about this zce question: The following is a common XML structure used in service oriented architectures, what does it represent? myMethod HI! Answer... None of the above A fragment of a complete SOAP request XML-RPC REST SOAP i think t

[PHP] Array Problem

2004-04-17 Thread Flavio Fontana
Hi I have i Problem i got a variable a=2351 now i need to create an array out of this variable a[0]=1 a[1]=3 a[2]=5 a[3]=1 I have an idea to use the modulo function an do some Math but im sure there is a nicer way of solving my prob thx Flavio -- PHP General Mailing List (http

[PHP] Login variable is empty but password is OK. Why? (newbie question)

2004-01-21 Thread Flavio
My code is simply to login. I have two files: login.html (form) and login.php to validate. I don“t understand why php capture only password )I call it senha) and take a blank username (I call it nome). Any idea? #Code - login.html ... ... #Code: login.php $i) { $nome = mysql_result

[PHP] Re: anyone...?

2002-08-21 Thread ::: Flavio Bastos Amiel::::::>
empresas); ?> = second php ==== ;) Flavio Bastos Amiel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] inserting info into db

2002-08-21 Thread ::: Flavio Bastos Amiel::::::>
maybe yuou could try passing the variables into an input hidden field, so you know the answer wont be uncomplete, and you insert all of them in the last page. Flavio Bastos Amiel "Rick Widmer" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTE

[PHP] anyone...?

2002-08-21 Thread ::: Flavio Bastos Amiel::::::>
Hi, im trying to do this the most automate as possible... i want this scripts to make the input as the user ask, for example "3" then, each input must have a different name, i've tried with the "for" control structure but can't get to the point. then the fields are created in a db... anyone? |

[PHP] Re: now is working, but itsn't...

2002-08-08 Thread ::: Flavio Bastos Amiel::::::>
im off, this is to easy, and i am sleepy! thanks for the help in time of zombies. THE REAL CODE! (IM SO FUCKING DUMB!) no se puede ver la solicitud"; } ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] now is working, but itsn't...

2002-08-08 Thread ::: Flavio Bastos Amiel::::::>
now is working, but itsn't doing the while, here's the new code no se puede ver la solicitud"; } ?> seleccione -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] anyone can help?

2002-08-08 Thread ::: Flavio Bastos Amiel::::::>
ve got a ";" after the if > > IF (!$accion); { > > should be > > IF (!$accion) { > > > -Original Message- > From: ::: Flavio Bastos Amiel::> [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 09, 2002 4:34 PM > To: [EMAIL PROTECTED] > Subje

[PHP] anyone can help?

2002-08-08 Thread ::: Flavio Bastos Amiel::::::>
this is not functional and i dont know why, this is stoping where if (!$accion) is, and the wuery if you run in into the sql is perfectREQUIRE('conexion.php'); $accion=mysql_query("SELECT * FROM empresas"); IF (!$accion); { echo "no se puede ver la solicitud"; } ?> $empresas"; } } ?

Re: [PHP] Re: May i?

2002-08-03 Thread ::: Flavio Bastos Amiel::::::>
well... yes, then maybe i made a mistake there was data related to the id . then i delete that row and the data that was related to the comments are gone away, because the row id has changedso i would have to put then manually again Flavio Bastos Amiel "Maxim Mal

[PHP] Re: May i?

2002-08-03 Thread ::: Flavio Bastos Amiel::::::>
t;new" id was counting since the last id then if the last id was 100, the new id was counting from 100 to 200 do i explain myself?... does anyone have an answer to this problem (PLEASE Dont tell me i have to do i manually!! ) thanks, Flavio Bastos Amiel "George Nicolae"

Re: [PHP] Include problems

2002-08-03 Thread ::: Flavio Bastos Amiel::::::>
Thanks Maxim, it is good to know! :) Flavio Bastos Amiel "Maxim Maletsky" <[EMAIL PROTECTED]> wrote in message 000401c23b48$55266960$1113fe17@dominanta">news:000401c23b48$55266960$1113fe17@dominanta... > Include and require are identical, except for their failure b

[PHP] May i?

2002-08-03 Thread ::: Flavio Bastos Amiel::::::>
May i ask for help about a subejct on MySQL here? thanks, Flavio Bastos Amiel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Include problems

2002-08-03 Thread ::: Flavio Bastos Amiel::::::>
does the "require" has something to be with "include" ? Cause instead of using "include" im always usin "require" Thanks, Flavio Bastos Amiel "Scott" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMA