Re: [PHP] Output of html without using functions?

2005-09-15 Thread Gustav Wiberg
day, September 15, 2005 12:59 AM Subject: Re: [PHP] Output of html without using functions? http://php.net')); ?> On Wed, September 14, 2005 3:31 am, Gustav Wiberg wrote: Hi there! Ok.. Thanx! Yes, I must be able to get info from his site, BUT i can't install anything (Not

Re: [PHP] Output of html without using functions?

2005-09-14 Thread Gustav Wiberg
Hi there! Thanx! I think this will solve the problem... /G http://www.varupiraten.se/ - Original Message - From: "Jesper Gran" <[EMAIL PROTECTED]> To: "Gustav Wiberg" <[EMAIL PROTECTED]> Cc: "PHP General" Sent: Wednesday, September 14, 2005

Re: [PHP] Output of html without using functions?

2005-09-14 Thread Jesper Gran
I have tried a class called "HTTP protocol client" from phpclasses to retrive sourcecode from other websites. You should be able to used it to get the output from your remote script. And it works on b-one. http://www.phpclasses.org/browse/package/3.html /Jepser -- PHP General Mailing List (ht

Re: [PHP] Output of html without using functions?

2005-09-14 Thread Gustav Wiberg
ge Pitcher" <[EMAIL PROTECTED]> To: "Gustav Wiberg" <[EMAIL PROTECTED]> Sent: Wednesday, September 14, 2005 10:08 AM Subject: RE: [PHP] Output of html without using functions? Gustav, If I write a function in PHP. Main question: Would the partner be able to get the

Re: [PHP] Output of html without using functions?

2005-09-14 Thread Gustav Wiberg
- Original Message - From: "George Pitcher" <[EMAIL PROTECTED]> To: "Gustav Wiberg" <[EMAIL PROTECTED]> Sent: Wednesday, September 14, 2005 9:47 AM Subject: RE: [PHP] Output of html without using functions? Gustav, For true simplicity (platform ind

Re: [PHP] Output of html without using functions?

2005-09-14 Thread Jochem Maas
Gustav Wiberg wrote: Hi there! Look at the following code code1.php code2.php //Here I want to get the output of code1.php without using functions. Is it possible? // //Something like $test = require("http:///mobil_info.php"); but instead of returning 1 at success I want to return the

Re: [PHP] Output of html without using functions?

2005-09-14 Thread Jasper Bryant-Greene
Gustav Wiberg wrote: //Something like $test = require("http:///mobil_info.php"); but instead of returning 1 at success I want to return the random value... $test = file_get_contents("http:///mobil_info.php"); assuming allow_url_fopen is on, otherwise look at the CURL functions or use raw sock

Re: [PHP] Output of html without using functions?

2005-09-14 Thread Shafiq Rehman
Hi, You can use your code1.php as and then you can get the value as $returnedData = require("code1.php"); On 9/14/05, Gustav Wiberg <[EMAIL PROTECTED]> wrote: > > Hi there! > > Look at the following code > > > code1.php > > echo rand(1,1); > ?> > > > code2.php > > //Here I want

[PHP] Output of html without using functions?

2005-09-14 Thread Gustav Wiberg
Hi there! Look at the following code code1.php code2.php //Here I want to get the output of code1.php without using functions. Is it possible? // //Something like $test = require("http:///mobil_info.php"); but instead of returning 1 at success I want to return the random value... Why?