Quote from
caro on September 24, 2024, 4:13 pm
1.
Trying to get the content of a text file into Visualweb variable
using
FileToVar "http://xxxxxx.com/000TEST UPLOAD.txt" [saved]
AlertBox "" "[saved]" ""
Nothing happens ????
How d0 I appraoch to resolve this problem ?
2, Trying to get a specific line from text file by this php script
<?php
$file = fopen("000TEST UPLOAD.txt", "r");
$line_number = 6;
for ($i = 1; $i < $line_number; $i++) {
fgets($file);
}
$specific_line = fgets($file);
echo $specific_line;
fclose($file);
?>
it works ! , While it is executed from the server and displays with the echo .
The question is how do i Retrive the Echo result to Visualweb Variable ?
1.
Trying to get the content of a text file into Visualweb variable
using
FileToVar "http://xxxxxx.com/000TEST UPLOAD.txt" [saved]
AlertBox "" "[saved]" ""
Nothing happens ????
How d0 I appraoch to resolve this problem ?
2, Trying to get a specific line from text file by this php script
<?php
$file = fopen("000TEST UPLOAD.txt", "r");
$line_number = 6;
for ($i = 1; $i < $line_number; $i++) {
fgets($file);
}
$specific_line = fgets($file);
echo $specific_line;
fclose($file);
?>
it works ! , While it is executed from the server and displays with the echo .
The question is how do i Retrive the Echo result to Visualweb Variable ?