I have a form processor that displays a confirmation
screen showing the submitted form values to the user
after they submit the form. This confirmation
screen's contents are generated by the script itself.
However, I'd like to be able to redirect the results
to any pre-existing webpage. For exa
How do I write to a specific place in a file instead
of just using fputs to append text to the end of the
file?
Thanks,
John
__
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/
--
PHP General Mailing List (http:
I am trying to create a pulldown menu based on the
contents of a directory. Is there any way for PHP to
read a directory and create the menu based on the
files in that directory. It should create this menu
dynamically each time the page is viewed, so if a file
is deleted from that directory, it d
t; instead
> > ...
> >
> > $lines = file("filename_here.blah"); // read in
> file as an array
> > $content = implode("", $lines); // join it
> all back together
> > fopen(...); fputs(..., $content); fclose(...);
> >
> >
> > hop
I have a file open and can successfully write to it,
but I was to be able to search for a certain string of
text and replace it with a string of text. I can't
figure out how to construct a proper ereg_replace
statement to search through this file and do the
replacing. Examples I've seen are in t
February 04, 2002, 12:17:27 AM, recebi de
> John P. Donaldson:
> >
> > John> I've tried several PHP form processors, and
> all of
> > John> them have trouble sending the form contents
> to a Yahoo
> > John> address. When I change the address to
&g
I've tried several PHP form processors, and all of
them have trouble sending the form contents to a Yahoo
address. When I change the address to something other
than a Yahoo account, it sends the form results with
no problem. Is there an issue with PHP's mail
function and Yahoo email addresses?
I'm trying to modify a PHP form processor script that
writes to files. It writes to text files fine, but I
would like it to write to a specific place in a file
because I want the file to contain HTML tags. I can
start this file out by having the proper HTML tags at
the top of the file because it
I've created a PHP script that is called from a form
to send an email. The contents of the email is a
hidden value in the form named "info," and is
typically a paragraph of text. It works fine,
however, for some reason, the apostrophy character
always gets emailed looking like this: /'
I've tri
9 matches
Mail list logo