[PHP] displaying form data

2002-04-12 Thread John P. Donaldson
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

[PHP] write to specific place in file

2002-03-15 Thread John P. Donaldson
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

[PHP] create dynamic pulldown menu?

2002-02-06 Thread John P. Donaldson
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

[PHP] mail() function not sending to Yahoo address

2002-02-03 Thread John P. Donaldson
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?

Re: [PHP] mail() function not sending to Yahoo address

2002-02-03 Thread John P. Donaldson
: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 something other John than a Yahoo account, it sends the form results with John

[PHP] ereg_replace help

2002-02-03 Thread John P. Donaldson
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

Re: [PHP] ereg_replace help

2002-02-03 Thread John P. Donaldson
Message- From: John P. Donaldson [mailto:[EMAIL PROTECTED]] Sent: Monday, February 04, 2002 3:39 PM To: php Subject: [PHP] ereg_replace help 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

[PHP] Writing to specific place in file?

2002-02-01 Thread John P. Donaldson
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

[PHP] character problem

2001-02-12 Thread John P. Donaldson
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