Advertisement

03.11.2005 at 05:23AM PST, ID: 21347035
[x]
Attachment Details

Load external text file into a variable.

Asked by Bolter99 in PHP Scripting Language, Server Side Includes (SSI)

Tags: php, load, file, text, variable

Somthing like this...

<?php
$string = fopen("textfile.txt","r");
echo $string;
?>

I dont want to use the "include" function or anything like that. I want to load the text file into the variable. So i can edit the variable.Start Free Trial
[+][-]03.11.2005 at 05:24AM PST, ID: 13516536

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: PHP Scripting Language, Server Side Includes (SSI)
Tags: php, load, file, text, variable
Sign Up Now!
Solution Provided By: Batalf
Participating Experts: 2
Solution Grade: C
 
 
[+][-]03.11.2005 at 05:27AM PST, ID: 13516555

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.20.2005 at 06:11AM PST, ID: 13585711

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.20.2005 at 06:43AM PST, ID: 13585838

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.07.2005 at 05:19PM PDT, ID: 13732346

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.08.2005 at 01:01AM PDT, ID: 13733991

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.15.2005 at 04:50AM PDT, ID: 14888397

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.15.2005 at 04:58AM PDT, ID: 14888440

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32