[PHP] MySQL and apostrophes, interesting problem. 42082

2002-03-10 Thread Nick Patsaros
I'm working with a simple form which submits field data to a MySQL database. This is for the purpose of generating a dynamic news page for my site. Interestingly enough I've found that any time I try to submit data that contains an apostrophe ' it gives me an error and will not send the data

[PHP] Reporting the size of a file/directory on the web server. 820420

2002-03-15 Thread Nick Patsaros
I've scoured the PHP manual and I still can't seem to find it. What I'm trying to do is have PHP grab the size of a file or directory (say of a php file) then when that file is displayed, I want it to display the size of the file in the footer of the page. I would also like to have the viewer

[PHP] Multiple File Uploads and me....

2002-05-30 Thread Nick Patsaros
I need to have a brief class on how to handle multiple file uploads (they are going to all be text files) from one HTML form. I've scoured the PHP manual and I've only found stuff relating to single file uploads. Any help is appreciated and I thank you all in advance! --Nick P

[PHP] Problems with Multi-Uploads (AGAIN)

2002-06-01 Thread Nick Patsaros
Okay so this is what I'm trying, basically for the purposes of posting a news article I want to be able to upload supporting text files with the content of the article. Here's what I've got so far... I think I've totally missed the mark or understood the documentation in the manual on this...

[PHP] Multiple pages of data.

2004-09-28 Thread Nick Patsaros
I'm trying to build a bulletin style system right now. I have topics and replies to each topic. If a topic gets more than 15 replies I want them to start carrying over onto page 2 and then 3 and so on with 15 replies per page. The key that I'm missing I guess is, how do I keep track of the last

[PHP] HTML Frames and PHP Sessions

2004-09-21 Thread Nick Patsaros
Are PHP sessions compatible with frames in HTML? I'm trying to pass a user name through a session and my individual frames aren't receiving the variable. It worked prior to migrating to frames so I don't think it's my PHP that is the problem. Is there a target function somehow or some way to

Re: [PHP] Re: HTML Frames and PHP Sessions

2004-09-21 Thread Nick Patsaros
I think I figured it out. I was calling the session_start() in the frames window instead of in each individual frame. Silly mistake, thanks for the help. --Nick On Tue, 21 Sep 2004 13:45:08 +0200, Thomas Seifert [EMAIL PROTECTED] wrote: On Tue, 21 Sep 2004 04:02:47 -0400, Nick Patsaros