Computing.Net > Forums > Web Development > Looking for PHP code.

Looking for PHP code.

Reply to Message Icon

Original Message
Name: dario130
Date: June 12, 2004 at 20:40:18 Pacific
Subject: Looking for PHP code.
OS: XP
CPU/Ram: 128
Comment:

Hi , well i am looking for a code that can post the information that a user has given by a form directly to a webpage . Kind of forum but just pasting text into a table. That all

Thanks all of you.
Dario Alvarez


Report Offensive Message For Removal


Response Number 1
Name: -Bryan-
Date: June 12, 2004 at 22:35:38 Pacific
Reply: (edit)

Does it need to stay there for all the visitors to see, or does it just need to stay there for the person who submits the form?


Report Offensive Follow Up For Removal

Response Number 2
Name: SN
Date: June 13, 2004 at 00:01:14 Pacific
Reply: (edit)

Dario-
We've answered this enough times that I ended up starting a tutorial on it. It's in a very rough form right now, but it is functional enough to give you an idea of what you want to do. I only have the PHP section started.

PHP Form Handling

-SN


Report Offensive Follow Up For Removal

Response Number 3
Name: FBI Agent
Date: June 13, 2004 at 10:24:51 Pacific
Reply: (edit)

\r\n is for windows while \n is for linux (or something like that)

FBI_Agent


Report Offensive Follow Up For Removal

Response Number 4
Name: SN
Date: June 13, 2004 at 10:38:53 Pacific
Reply: (edit)

Thank you for the correction FBI Agent. I will note that on the tutorial. Perhaps I will just change it to \n to keep it simple, but this won't work on macs, which just use a \r. I'm purposely trying to stay away from regular expressions so they can see how a simple replace function works.

Anyhow, thanks again.

-SN


Report Offensive Follow Up For Removal

Response Number 5
Name: FBI Agent
Date: June 13, 2004 at 11:56:43 Pacific
Reply: (edit)

hmmm... well i think most people use windows, if that were me i'd use \r\n in the document. its really good though. i actually didnt know how to send an email from a website and i was wondering that for sooo long. i guess i dont need to anymore though ;-). nice tutorial

FBI_Agent


Report Offensive Follow Up For Removal


Response Number 6
Name: FBI Agent
Date: June 13, 2004 at 12:00:23 Pacific
Reply: (edit)

oh, or you could leave \n in there and at the first instance of \n write a sentence or two telling people that that code depends on the operating system that they're hosting the code on.

FBI_Agent


Report Offensive Follow Up For Removal






Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Looking for PHP code.

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 6 Days.
Discuss in The Lounge