Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. rudenborg

    Problem with running external .sql text file

    Hi- I have a database on a sever that is running some version of MySQL 4. I wan't to put the same database on my local computer. I ran a MySQL dump from the server and tried to run the resulting text file from the UNIX command line on my computer (Running MySQL 5 on Mac OS 10.4). I always get...
  2. rudenborg

    unset() a session variable inside of a function

    Hi- I have what should be a simple question. I've searched through this forum and php.net and google and haven't found a satisfactory answer to it though. What is the sure way to completely destroy (globaly) a session variable inside of a function. as an example: $_SESSION['blah'] = 'blah'...
  3. rudenborg

    Linking tables

    Thanks so much! I've done a lot with HTML, but I guess I never thought about the fact that an inline element can't enclose a block level element. But now that you said that it makes total sense. I feel pretty stupid now. Gosh, I'm dreading running a validator on my website! Thanks again...
  4. rudenborg

    Linking tables

    I have sort of a general question. Is it against HTML standards to link a table? example: <a href="page.php"> <table> <tr> <td> table text </td> </tr> </table </a> Linking a table will work just fine in some browsers, but I've had problems with IE 6 on windows 98, and Firefox on mac os...
  5. rudenborg

    error reporting

    Yeah, that's what I strarted with. but thanks anyway :) Jonathan
  6. rudenborg

    error reporting

    I tried the following: ini_set('error_reporting', 'E_ALL'); and I still get a blank screen. Any ideas? Thanks, Jonathan
  7. rudenborg

    error reporting

    Hello- The website I'm working on is running on a server that has all error reporting turned off and I need to turn it back on for some work I'm doing on site. I've tried the following according to the information I've found on php.net: error_reporting(E_ALL); but it won't work. If someone...
  8. rudenborg

    submit button in an html form

    I can not come up with a solution to what should be a very simple problem. I need to have a submit button on a form with the follow criteria: 1. It has to send a name/value pair to the server where I can set both the name and the value. I have a script that acts differently depending on what...
  9. rudenborg

    problems with move_uploaded_file

    Boy I feel stupid. That did it. As an addition question though, is there a way to set permissions on a file (with PHP) when your moving it with move_uploaded_file() function? I set the permissions correct on the folder but when each file gets moved the permisions on that file are set to "no...
  10. rudenborg

    problems with move_uploaded_file

    I'm having problems with the following script: if (isset($_POST['submit_picture'])) { // // check the caption variable if (empty($_POST['caption'])) { $c = ''; } else { $c = $this->escape_data($_POST['caption']); } if (empty($_FILES['upload']['name']))...
  11. rudenborg

    submit form with html menu

    Hi- I don't use javascript much but I have a quick question: Is there a way to activate the submit button on a form when an option is chosen from an html menu? I have a .php page that I need to submit to it self automatically everytime a different value is chosen from an html menu. So every...
  12. rudenborg

    PHP Safe Mode

    Yup, output_buffering was on. I should have been able to figure this one out -- o well... Thanks again, Jonathan
  13. rudenborg

    PHP Safe Mode

    Thanks for your help! You were right with your first post, I had just written the script in such a way that it wasn't amediately apparent. I fixed it so that the session call and header functions were the first part of the script to execute. Now it works without a problem. I still don't know...
  14. rudenborg

    PHP Safe Mode

    That's the annoying part, it runs just fine on my person computer running Apache, it's the remote server that I'm having problems with.
  15. rudenborg

    PHP Safe Mode

    Hi! I am trying to get a website to work on a server with PHP running in safe mode. I have a couple problems so far: I can't get "session_start()" and "header()" functions to work. I have them working on my local computer just fine -- so I'm assuming it has something to do with PHP safe mode...
  16. rudenborg

    mysqldump on Mac os x

    this is what I tried: [mrpickwick:~] joanna% mysqldump --databases --opt rcvf > ~/Desktop/rcvf.sql and I get this: mysqldump: Command not found. any ideas? Thanks again for your help! Jonathan
  17. rudenborg

    mysqldump on Mac os x

    Hi- I'm trying to use the mysqldump command. I cannot figure out how I'm supposed to use it. is it from the mysql command line or right from the UNIX promt? If from the UNIX prompt what directory am I supposed to be in? I'm using the terminal application in mac os x. Thanks! Jonathan
  18. rudenborg

    Table structure for a product database

    Thanks for the help! Your solution makes a lot of sense. I do have another question though. most of the prints will have several options, up to a max of 21, so this means that print_id column in the third table will have a lot of repeates. print_id option_id 1 2 1...
  19. rudenborg

    Table structure for a product database

    Hi! I'm working on a website for my business and have a few questions about how best to design the MySQL database. First of all we have products (art prints) that have lots of options, and the user has to be able to select which one he wants for the particular print. So we'll have one basic...

Part and Inventory Search

Back
Top