Is it so easy to open a file and include it in a page? I do it this way:
*
$file_name = "filename.txt";
if(file_exists($file_name))
{
$file_pointer = fopen($file_name, "r");
$file_read = fread($file_pointer, filesize($file_name));
fclose($file_pointer);
print "$file_read";
Well, my site about Talking Heads is kinda cool, and I'm using PHP in it,
more and more everyday. Soon it'll let visitors add their own comments to
the pages, just like the anotated PHP manual:
http://thismustbetheplace.net
Jaime
From: "Carry Ian" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Mi
Here goes an easy one... I need a script that returns me the name of the
page it is in. I mean, if this script is in a page called "test3.php", then
it should return "test3.php", and if it is on a page called "heynow.php" it
should return, you guessed it, "heynow.php".
Thanks!
--
PHP General
Ok, where can I find a tutorial about sending mail using fsockopen ?
***
> Hi, is it possible to send SMTP mail if the server where are my pages
> hosted forbids the use of the mail() function ? I mean, by opening a
> sockets connection to an external SMTP server and writing the commands
> the
Hi, is it possible to send SMTP mail if the server where are my pages
hosted forbids the use of the mail() function ? I mean, by opening a
sockets connection to an external SMTP server and writing the commands
there directly...
Jaime
--
PHP General Mailing List (http://www.php.net/)
To unsubsc
5 matches
Mail list logo