Re: [terrykhatri531] How to implement a checkbox that will send data to db
[In reply to]

Can't Post

If you want help fixing the css, you'll need to post the css file (as an attachment) or at the very least post all of the relevant portions of the file that define the styling of the <ul> and <li> tags.

You should not hard code the style attributes in the tags. Instead use the id and class attributes and define the styling in the css file.

The line in red is the offending one, the error msg is so brief its hard for me to guess what permission is being denied, but I am sure experienced gurus like you know what it means, the directory its being uploaded to has a -R 775 permission.

I am also attaching the whole script just in case you may want to have a look at it.

Re: [terrykhatri531] How to implement a checkbox that will send data to db
[In reply to]

Can't Post

When you receive a "Permission denied", you need to check the ownership and permission settings at each point in the path to verify that the script (or the web server user in this case) has the proper access rights to read/write the file.

Putting uploads into a directory under cgi-bin is not a destination choice and I'm pretty sure that's part of the reason for the problem you're seeing.

Re: [FishMonger] How to implement a checkbox that will send data to db
[In reply to]

Can't Post

Thanks Ron,

I changed the directory to /var/www/html/tmp and it works now, I see another issue now, later in my script I display the photo first before going ahead with the database update, that photo is not being displayed, here is the snippet :

Re: [terrykhatri531] How to implement a checkbox that will send data to db
[In reply to]

Can't Post

Hi,

As FishMonger mentions, best to put new problems in new threads.

It looks as though you are once again using a path instead of URL, img tag / src attribute. I have never tested web code locally, but since this was the issue you were having with the stylesheet, I assume this is no different.