[PHP-DB] mkdir permission

2001-08-10 Thread Taylor Fletcher
I'm trying to make a new directory by doing the following: mkdir (newfolder, 0700); but i get the error: Warning: MkDir failed (Permission denied) in /home/web/test/upload.php on line 159 Permission is obviously denied but I'm not at the box to change it myself, is there a specific entry in

RE: [PHP-DB] fopen function

2001-08-10 Thread Michael Rudel
Hi Nathan, ... nope, there's no function for this, you have to do it for yourself. Try something like: file() fopen() // w ! fputs() // your new entries while ( ) { fputs() // write the array from file after your new entries } fclose() ... that's it, pretty easy =8) Hope this helps.

RE: [PHP-DB] Attachment

2001-08-10 Thread WNLeong
Can you explain more to me about RFC1341? Please tell me where can I get more info about this function? Actually what I want is to send a mail with a list of attachment files. Thanks. -Original Message- From: Patrice Garbe [SMTP:[EMAIL PROTECTED]] Sent: Thursday, August 09, 2001

[PHP-DB] Re: PHP4, MySQL, errors....

2001-08-10 Thread Cato Larsen
Hey! Thanks for the help Mr. Bothwell. But now it seems I get a new error: Parse error: parse error in C:\Program Files\Apache Group\Apache\htdocs/oiamemb/members.php on line 89 I don't know why, or if it's the MySQL database who's moching with me. The current source is as follows: (Guess I've

RE: [PHP-DB] mkdir permission

2001-08-10 Thread Jon Farmer
I'm trying to make a new directory by doing the following: mkdir (newfolder, 0700); but i get the error: Warning: MkDir failed (Permission denied) in /home/web/test/upload.php on line 159 Permission is obviously denied but I'm not at the box to change it myself, is there a specific entry in

[PHP-DB] best way connect MS SQL

2001-08-10 Thread Sommai Fongnamthip
Hi, I wonder which the best way to connect PHP from Linux to MS SQL on NT? - freeTDS - ODBC (iODBC, unixODBC, MyODBC) I was still can not connect with anyone! Regards, Sommai Fongnamthip -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[PHP-DB] Re: fopen function

2001-08-10 Thread Steve Brett
use rewind() to set the file pointer to the beginning of the file. check out the filesystem functions in the help manual, there are loads of useful functions. Steve Nathan Cavicchi [EMAIL PROTECTED] wrote in message

[PHP-DB] Re: PHP4, MySQL, errors....

2001-08-10 Thread Hugh Bothwell
Cato Larsen [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hey! Thanks for the help Mr. Bothwell. But now it seems I get a new error: ;-) The error of my ways is apparent - I typed that off the top of my head, and I got bit by my own bug - using unescaped

Re: [PHP-DB] get local file

2001-08-10 Thread Justin Buist
Put the files in a web-viewable directory, pull the filename from the DB and redirect the browser to it. Justin Buist Trident Technology, Inc. 4700 60th St. SW, Suite 102 Grand Rapids, MI 49512 Ph. 616.554.2700 Fx. 616.554.3331 Mo. 616.291.2612 On Fri, 10 Aug 2001, Sommai Fongnamthip wrote:

Re: [PHP-DB] Re: PHP4, MySQL, errors....

2001-08-10 Thread biorn
It appears that the error is pointing to the last line of your code (just by a quick count of the lines). This normally means that you are missing a closing bracket somewhere in your code.In glancing through your code, the first while statement has an opening, but no closing bracket (unless

Re: [PHP-DB] Resolution detect and redirect

2001-08-10 Thread bill
Does it work when Javascript is turned off in the client browser? Cara Lane - Designs In The Fast Lane wrote: I have noticed many posting about this topic and the overall answer seems to be it can't be done. Well, it can! I actually finally got it to work. It is actually quite simple. I

[PHP-DB] Submit forms

2001-08-10 Thread Ian Grant
Hi, I've got a simply search form, on my site using PHP and MySQL. It writes a SELECT query using WHERE (Field LIKE '%thingy%') where thingy is the word entered in the form. It works fine if the submit button is pressed, but if you press return after typing the word, instead, it fails and

Re: [PHP-DB] Submit forms

2001-08-10 Thread Justin Buist
I think it'd help if you pasted the HTML code for your form. Plus, which browser/OS you're using to test this out would help too. Justin Buist Trident Technology, Inc. 4700 60th St. SW, Suite 102 Grand Rapids, MI 49512 Ph. 616.554.2700 Fx. 616.554.3331 Mo. 616.291.2612 On Fri, 10 Aug 2001,

Re: [PHP-DB] Attachment

2001-08-10 Thread Sheridan Saint-Michel
I have actually done several projects with different kinds or e-mailing features. In a nutshell, you need the appropriate MIME headers for the type of mail, and sections of body divided by MIME Boundaries. (You also need to encode any files you are sending as attachments. Check the

Re: [PHP-DB] Submit forms

2001-08-10 Thread Jon Yaggie
Thank You, Jon Yaggie www.design-monster.com And they were singing . . . '100 little bugs in the code 100 bugs in the code fix one bug, compile it again 101 little bugs in the code as i know only IE supports using return to submit. I have had this problem before and never solved it. it

Re: [PHP-DB] Submit forms

2001-08-10 Thread Paul Burney
on 8/10/01 7:50 AM, Ian Grant at [EMAIL PROTECTED] wrote: I've got a simply search form, on my site using PHP and MySQL. It writes a SELECT query using WHERE (Field LIKE '%thingy%') where thingy is the word entered in the form. It works fine if the submit button is pressed, but if you press

[PHP-DB] Function problem???

2001-08-10 Thread Brian Grayless
Anybody know what might be wrong with this function? My first version of the function was... function Include_Lib($libFile) { include(LIB_DIR.$libFile); } but it didn't work so I simplied it... function Include_Lib() { include(/path/generic_vars.phpi); } // Function call

[PHP-DB] Joining 2 tables

2001-08-10 Thread Scott Gines
I am having trouble getting the correct join...here is my scenario. I have 2 tables, A and B. A looks something like this... [id][name] 1Name1 2Name2 3Name3 B looks like this... [userid][tableAid] 11 13 21 2