Jump to content


  • Posts

  • Joined

  • Last visited


Contact Methods

  • Website URL

Profile Information

  • Gender
  • Location
    Surrey, UK

the_oliver's Achievements

Regular Member

Regular Member (3/5)



  1. Hello, Im trying to get to grips with css at the moment, but im haveing a little trouble getting a table to do what i want it to! Im trying to create a table which takes up the whole of the browser window. It should also have a 2px blue border down the right and left side, and leave no space at the top or bottom... However i get a table which fills most of the way accross, but leaves and edge, (not blue!), and does not touch the top or bottom of the page! My Code is: <style type="text/css"> <!-- body { background-color: #E6E6E6; } .main_table { background-color: #FFFFFF; border-left: 10px; border-right: 10px; border-right-color:#1A4390; border-left-colour:#1A4390; width: 100%; height: 100%; top: 0px; } --> </style></head> <body> <table class="main_table"> <tr> <td> </td> </tr> </table> Can any one point me in the right direction? Many Thanks!
  2. .htaccess files are really worth getting to grips with. They can essentualy be used to redifine the httpd.conf file for single areas of the site. If you can use them propaly they become exttreamly powerfull tools!
  3. I like this point about multiple sites using using it. Not haveing to make a file public just a table. But can also set the point about speed and server load! I think camdagr81's point could be intresting from a development point of view also.... Not having to wory about changing file locations etc... especialy if files are out side the web file point. Im realy just wondering how it would be done with a database! How do i go about putting a file into a 'BLOB' field? Thanks for all your coments so far!
  4. Grate, will try that then! Looks like it can get a little deap with out it! Many Thanks.
  5. There are ftp programs which have there access list controled from a flat file? This could be easly writen to using php? (sorry, the thought came to me a little late!) Cant think of one off the top of my head. If i do ill post it!
  6. Spent a while looking into this.... For security it is odviously a bad idea to have your standard web user alter anything 'system critical'. And edditing the /passwd file direct would definatly not be a good idea! I have done it through the use of cron. I have a root cron job (solves the privilages problem) which runs a php script as root. This script looks for value in a database and used it to change the password. This be it does using the shell_exec() function. Importantly for secutity, the part in the database in only a little bit of the comand run inside the shell_exec(). The rest is generic say: this meens that someone gets access to the database, they cannot insert direct comands for the server to run as root. The biggest problem with the method shown above is that the server will ask for the password value twice, which this function cannot cope with. This can be solved by sending an incripted password to the useradd linux comand. This however requires something like a c scrip. Long story short there is know easy way to do this. Hope this helps.. Shout if i have explaind it in to much of a jumble!
  7. Hello, I have been asking in the php Help forum how to upload files in to a postgreSQL database. I suddenly realize that i dont want other people being able to do this to databases on my server! Is there some way i can stop this being possible. Also if is there some way i can stop users being able to see what other databases are hosted on the server? (eg the \l comand?) Lastly does any one have any tips on streem lineing mas database hosting for better security an preformance? Many Thanks.
  8. File location idea is intresting, but i would like also to know how to store them strate. How would i go about this BLOB thing? Thanks
  9. Hi, Was wondering if some one explain how put files into a database, and then, for something like images, use them! Database i am using in postgreSQL. Can they just be inserted into a standard table coloumb and thus search like anything else? Many Thanks!
  10. Hello, Im looking for a way to create PDF's on demand. It would create the pdf from a standard template (A4) taking variables sent to it into account? The idea would be to email it to someone. Anyone able to give me some advice? Thanks
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.