Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Acessar função ou arquivo remoto
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Edemar Oliveira  
View profile   Translate to Translated (View Original)
 More options May 8 2012, 9:05 pm
From: Edemar Oliveira <o.ede...@gmail.com>
Date: Tue, 8 May 2012 18:05:43 -0700 (PDT)
Local: Tues, May 8 2012 9:05 pm
Subject: Acessar função ou arquivo remoto

Preciso acessar uma função de um outro servidor.
Por exemplo tenho o www.siteum.com.br que utiliza uma função PHP
www.site.com.br
Qual seria a melhor maneira de fazer isso?  =)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rodrigo Santiago  
View profile   Translate to Translated (View Original)
 More options May 8 2012, 11:07 pm
From: Rodrigo Santiago <rsantiago...@gmail.com>
Date: Wed, 9 May 2012 00:07:55 -0300
Local: Tues, May 8 2012 11:07 pm
Subject: Re: [php-brasil] Acessar função ou arquivo remoto

SOAP poderá te ajudar. procure sobre a ferramenta nuSOAP, ela é bem facil
de implementar.

abs

Em 8 de maio de 2012 22:05, Edemar Oliveira <o.ede...@gmail.com> escreveu:

--
Rodrigo Santiago Motta
BackEnd Developer @ VitrineMaster!

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paulo Soares  
View profile   Translate to Translated (View Original)
 More options May 8 2012, 11:08 pm
From: Paulo Soares <soares...@gmail.com>
Date: Wed, 9 May 2012 00:08:32 -0300
Local: Tues, May 8 2012 11:08 pm
Subject: Re: [php-brasil] Acessar função ou arquivo remoto

Webservices  com SOAP pode ser uma alternativa.

Em 8 de maio de 2012 22:05, Edemar Oliveira <o.ede...@gmail.com> escreveu:

--
Paulo Soares da Silva

Graduando em Ciência da Computação
Universidade Federal de Alagoas - Campus Arapiraca
Desenvolvedor de Sistemas Web


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Suissa  
View profile   Translate to Translated (View Original)
 More options May 9 2012, 1:08 am
From: Suissa <jnascime...@gmail.com>
Date: Wed, 9 May 2012 02:08:43 -0300
Local: Wed, May 9 2012 1:08 am
Subject: Re: [php-brasil] Acessar função ou arquivo remoto

Pq não RESTful?

Em 9 de maio de 2012 00:08, Paulo Soares <soares...@gmail.com> escreveu:

--
Jean C. Nascimento aka Suissa
WebDeveloper Sênior - SP

http://about.me/suissa
<http://www.linkedin.com/profile/view?id=46505642>
<http://www.facebook.com/suissa>
  <http://twitter.com/suissacorp>  <http://www.delicious.com/suissa>
<jnascime...@gmail.com>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eduardo Kraus  
View profile   Translate to Translated (View Original)
 More options May 9 2012, 1:39 am
From: Eduardo Kraus <eduardokr...@gmail.com>
Date: Wed, 9 May 2012 02:39:53 -0300
Local: Wed, May 9 2012 1:39 am
Subject: Re: [php-brasil] Acessar função ou arquivo remoto

O que você realmente precisa executar no servidor remoto?

*Precisa resgatar HTML?*
R: Usa CURL para resgatar os dados;

*Precisa matriz de dados?*
R: Cria XML e carrega com *simplexml_load_file(
http://www.site.com.br/funcao.php)* ou CURL e *simplexml_load_string.*

*Eduardo Kraus*
Professor
kr...@eduardokraus.com
www.eduardokraus.com
*Blog PHP* php.eduardokraus.com
*Blog Adobe Flex* flex.eduardokraus.com
*Facebook* www.facebook.com/eduardokraus

Em 8 de maio de 2012 22:05, Edemar Oliveira <o.ede...@gmail.com> escreveu:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rodrigo Santiago  
View profile   Translate to Translated (View Original)
 More options May 9 2012, 2:00 am
From: Rodrigo Santiago <rsantiago...@gmail.com>
Date: Wed, 9 May 2012 03:00:33 -0300
Local: Wed, May 9 2012 2:00 am
Subject: Re: [php-brasil] Acessar função ou arquivo remoto

o correto para tal procedimento é utilizando RPC. porém, não há nada mais
simples e distribuído do que usar uma lib HTTP (cURL) e através de uma URI
enviar um resultado no formato JSON ou até em ATOM. o que vai variar é se
você precisa do POST ou do GET para tal requisição, depende muito do que se
quer fazer.

Em 9 de maio de 2012 02:39, Eduardo Kraus <eduardokr...@gmail.com> escreveu:

--
Rodrigo Santiago Motta
BackEnd Developer @ VitrineMaster!

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Edemar Oliveira  
View profile   Translate to Translated (View Original)
 More options May 9 2012, 8:32 am
From: Edemar Oliveira <o.ede...@gmail.com>
Date: Wed, 9 May 2012 05:32:20 -0700 (PDT)
Local: Wed, May 9 2012 8:32 am
Subject: Re: Acessar função ou arquivo remoto

Obrigados a todos que responderam =)
Seria melhor eu ter especificado mais esse tópico...
A ideia é o desenvolver uma especie de SaaS, onde do site.com.br fosse
possivel administrar os sites, siteum.com.br, sitedois.com.br, sendo
criação de paginas, alteração de conteudo, criação de galerias, etc...
Então não sei se essa seria a melhor solução. Nunca fiz algo parecido.
Pensei em desenvolver todo o script no site.com.br, e só carregar ele no
siteum.com.br...

Obrigado

Em terça-feira, 8 de maio de 2012 22h05min43s UTC-3, Edemar Oliveira
escreveu:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kinn Coelho Julião  
View profile   Translate to Translated (View Original)
 More options May 9 2012, 7:51 pm
From: Kinn Coelho Julião <kin...@gmail.com>
Date: Wed, 9 May 2012 16:51:42 -0700 (PDT)
Local: Wed, May 9 2012 7:51 pm
Subject: Re: Acessar função ou arquivo remoto

Cara, se nao me engano o Drupal gerencia multi-sites e o WordPress vem com
um módulo padrão pra isso tbm.

Basicamente, a ideia que tenho é a seguinte: o seu site.com.br vai gerir
sim o siteum.com.br e sitedois.com.br, basicamente você vai gerenciar esses
dominios(virtualhosts)...

A sua ferramenta gerenciadora de sites, vai criar os virtualhosts e apontar
pro mesmo local, e o seu sistema vai ver qual foi o endereço solicitado e
trabalhar em cima dos endereços solicitados(uma referencia no banco)...
Os layouts podem ficar no banco, ou em arquivos estáticos, para isso, deves
definir um arquitetura para que cada dominio tenha sua estrutura para esses
arquivos estaticos...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »