Re: [PHP-DB] Can't Insert more than 1 record

2003-04-04 Thread Ronan Chilvers
Hi KJ On 03 Apr,2003 at 22:18 Keven Jones wrote: snip attempt after the 1st fails. I have to delete the existing row in order to add a new record. /snip Sounds like you have auto-incremented unique indices to me - are you always trying to insert with an index of 1 ? Without seeing the code

Re: [PHP-DB] How to use a Class?

2003-04-04 Thread Ronan Chilvers
Hi Shantanu To be honest you'd be far better off doing this manually, rather than using someone elses code - quite important bits and pieces of sql and db access logic which you'll need to learn, but On 03 Apr,2003 at 20:18 Shantanu Oak wrote: snip the following code mentioned on the

RE: [PHP-DB] Can't Insert more than 1 record

2003-04-04 Thread Alexa Kirk
If you are violating a primary key, try creating a sequence, and then passing this sequence name (i.e. nID.NextVal) as your parameter in the values of your query. This will automatically give you a new unique number in the sequence you created. Lex -Original Message- From: Keven Jones

[PHP-DB] Permission Denied; Upload

2003-04-04 Thread John
Thanking in advance, Hi all- very new to php, and at the risk of being spoon fed here, I beg for your patience in advance. I am trying to have an entry page for user input/ pic upload into MySQL/win2k (www.sammiesmodels.com/entry.php ). I get this error during test of the above page:

RE: [PHP-DB] Permission Denied; Upload

2003-04-04 Thread Jennifer Goodie
Good job posting your username, password and server IP. I just logged into your database. Change your password immediately. -Original Message- From: John [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 10:12 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] Permission Denied;

[PHP-DB] Re: Permission Denied; Upload

2003-04-04 Thread Gustavo Del Castillo Meza
You need to give the user permission to write in the destination directory, you can do this by using: chmod 666 directoryname John [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] Thanking in advance, Hi all- very new to php, and at the risk of being spoon fed here, I beg for

[PHP-DB] Offering alternatives in typing mistakes

2003-04-04 Thread Jan Bro
Hello List, I'm currently doing a select like statement. No problem with that. But as no human being is perfect ;-) the input provided by the user is sometimes full of typing mistakes like informatoin, or informatin instead of information. I hope you know what I'm think about. Google offers you an

RE: [PHP-DB] Re: Permission Denied; Upload

2003-04-04 Thread Jennifer Goodie
You should not make the directory world writeable, that is a security risk. You should chown it to the user the webserver runs as and make sure it is owner writeable. As a side note, a directory that is 666 is not traversable as it is missing the execution bit and you need to execute to get into

RE: [PHP-DB] Permission Denied; Upload

2003-04-04 Thread Gary . Every
Unable to open '' for reading: That means you're not actually sending a filename to be read! I get this error during test of the above page: Warning: Unable to open '' for reading: Permission denied in C:\SammiWWW\entry.php on line 27 Couldn't copy the file!

[PHP-DB] mail problem

2003-04-04 Thread Ahmed
hi i made a simple script to send e-mail to my mailing list it reads the e-mails from a text file and send it to them the problem that i want to send them once, not one by one which takes a lot of time cause i have a limited quota per day here is the script ?php $subject=subject;

RE: [PHP-DB] Offering alternatives in typing mistakes

2003-04-04 Thread John W. Holmes
I'm currently doing a select like statement. No problem with that. But as no human being is perfect ;-) the input provided by the user is sometimes full of typing mistakes like informatoin, or informatin instead of information. I hope you know what I'm think about. Google offers you an

[PHP-DB] variable within regular expression

2003-04-04 Thread Robbie Staufer
Hi, This is the first time I've written to this list. If I'm not following accepted procedure, please let me know. I have a php query form in which the user input must be converted to a regular expression before querying the db. Something like this pseudo code: $var =

RE: [PHP-DB] variable within regular expression

2003-04-04 Thread Rob Bryant
-Original Message- From: Robbie Staufer [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 3:59 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] variable within regular expression I have a php query form in which the user input must be converted to a regular expression before

Re: [PHP-DB] image resizing and saving

2003-04-04 Thread Rasmus Lerdorf
A single img src=script.php can only show a single image. If your script.php generates two complete images, then I would think the browsers would choke, but perhaps they fail gracefully and only show you the first one. If you want two images, you need 2 img src... tags and thus two calls to your

Re: [PHP-DB] Offering alternatives in typing mistakes

2003-04-04 Thread Jason Wong
On Saturday 05 April 2003 04:11, Jan Bro wrote: I'm currently doing a select like statement. No problem with that. But as no human being is perfect ;-) the input provided by the user is sometimes full of typing mistakes like informatoin, or informatin instead of information. I hope you know