Re: [PHP-DB] Problem connecting to db on Linux

2002-02-18 Thread David Sullivan
Hey, I didn't have to do any special configuring. All I did was setup the root password, login via the mysql console client and create my databases, then use mysql_connect() and mysql_select_db() like you said. What have you done other than just installing it? -- - Dave On February 18, 2002

Re: [PHP-DB] Help in tokenizing a string

2002-02-01 Thread David Sullivan
I'm not sure why that isn't working, but this might do what you want: $index = strrpos($im_file, \\); $im = substr($im_file, $index + 1, strlen($im_file)); I just tested it out here and that works fine, $im = image.jpg On February 1, 2002 02:41 am, you wrote: Good day to all. I tried the

Re: [PHP-DB] How to upload image?

2002-01-28 Thread David Sullivan
For the form, use input name=myfile type=file and as for handling where the file get saved on the server-side, see: http://www.php.net/manual/en/features.file-upload.php On January 28, 2002 05:04 pm, you wrote: Hi there everyone, I'm writing an update utility for a database system, but I