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 Wanet Telecoms Ltd 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: *

  • Users: commun1
  • Content: Threads
  • Order by date
  1. commun1

    Open .mdb file and just edit/save forms and reports?

    Hello! A client of mine just bought a company including some individual piece of software programmed in Access. However, since the owner changed and the company who made this program a few years back doesn't exist anymore he asked me if I could edit the program and get it to show the new logo...
  2. commun1

    Outer Div centered and no height, inner Div float:left?

    Hey. Topic says it all basically. I have one div ID that should be centered with a fixed width but no height as I want the height to be relative to its inner content. The inner divs share the same class and should float next to each other but once I give them the float:left attribute the CSS...
  3. commun1

    How to convert numeric entities for emails

    hey there, first of all Happy New Year to you all ;-) I use an old Homesite-Version (Texteditor, no WYSIWYG) which cannot display any chars that are not ISO-8859-1, so what I did was to use any numeric entities such as ş ... so it is displayed correctly. But how do I get these chars...
  4. commun1

    keeping SESSION alive switching to SSL connection

    Hey there, I use a session script which should pass all variables to a secure connection. Like when someone enters http://www.mydomain.com he is able to to fill a shopping cart (no ssl) and can switch to a secure connection (let's assume it's https://www.mydomain.com) but however all my...
  5. commun1

    round()-problem, different results

    heya all. I'm currently having the problem that a value is not correctly being rounded by round(). here's an example: $value = 23.50; $value2 = round($value*0.03, 2); $value2 should be 0.71 but however it's only 0.7, so it doesn't give me the last digit. I don't have that problem on my...
  6. commun1

    keep javascript data after page reload

    Hello folks ;) well well, here's a small prob. I'm facin': a form with some checkboxes in it, some of them "checked". I simply click on the reload button of my browser and all the checked checkboxes return to "normal", are unchecked. is there a way to keep those checked just using Javascript...
  7. commun1

    dynamically reload data in textfield

    hi. um, I have two textfields and if you enter a number into field 1 it write the associated value that is within my mysql-table into my second textfield... e.g. if someone enters the digit "12345" into textfield1 it should say "textentry 1" in textfield2. as I mentioned, I have a table that...
  8. commun1

    how to check if checkboxes are checked?

    Heya, well, I have a form that looks like this: <form name="test" action="index.php" method="post" onsubmit="checkers(); return false;"> <input type="checkbox" name="checker[]" value="1"> <input type="checkbox" name="checker[]" value="2"> <input type="checkbox" name="checker[]"...
  9. commun1

    category structure of a shop

    heya, let's see where to start... someone told me I should use a simple MySQL table for storing my category structure, so that it is flexible and easy to control. my table is: cat_id, sub_id the sub_id always contains the cat_id of the category which is one level above the category which is...
  10. commun1

    searching matches within a field?

    I'm using PHP to execute MySQL commands. I have a MySQL table that consists of two fields: id, product_title each product has its own id and rows look like this: 1, "this is product widget number one" 2, "this is product widget number two" 3, "this is product widget number three" 4, "this is...
  11. commun1

    help, virus has just overwritten registry hive (software)

    I just had a stupid virus without me noticing it (scan couldn't delete it), I wanted to boot in safe mode but bang, I couldn't log on after reboot. I went to the recovery console and looked into /system32/config where the complete software hive named "software" has been overwritten by that...
  12. commun1

    simple question, calculation with numbers...

    I habe some vars containing numbers which look like this. $number1 = 1.10 when I echo this var I get 1.1 as a result, so the last 0 is been dumped. I need the 0 to be stored too though, for further calculations and so that it is printed as 1.10 how do I achieve that? can you give me an...
  13. commun1

    sort an array using timestamp values...

    I'd like to sort an array which consists of two entries, a filename (instead of the default increasing key number) and a timestamp of when the file has been created. my script looks like this: while ($file = readdir ($dir)) { $timestamp = filemtime($file); $files[$timestamp] = $file...
  14. commun1

    PHP running in background + GET variables

    Heya, I wanna execute a script in the background. exec('/usr/local/bin/php /www/htdocs/test/test.php?string=test1 > /www/htdocs/test/test.html &'); test.php just consists of a var named $string, however the exec command does not pass the value "test1" for $string like it does with...
  15. commun1

    MySQL queries being very slow

    Heya, I have a mysql-table (~ 100.000 rows) which I'm doing a mysql_query on. looks like this: -------------------------------------------------------------------------------- <?php $text_string = "test"; $data = mysql_query("SELECT test_field FROM test_table WHERE test_field LIKE...
  16. commun1

    automatic deletion of file after successful download

    subject says it all. let's say someone downloads a file from my server. is there a way I can tell the server to delete that file after it has been successfully downloaded? but only if successful cause if it's being aborted to leave it the way it is. thanks
  17. commun1

    searching with php for multiple keywords...

    I have a textfield where I enter keywords. Once this form is sent through php it queries the database to look for the keywords that exist in one particular field. e.g. Let's say I'm looking for the word "widgets". $keyword = "widgets"; $mysql_data = mysql_query("SELECT text FROM test WHERE...
  18. commun1

    Too many mysql_queries in php script

    So I have an array which has our alphabet: $array_letters = array("a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"); I have a mysql database with articles in it and I need an "alphabet index" which outputs me the results according to its...
  19. commun1

    AWStats - Pipe Error (gzip) on shared hosting

    I'm on a shared webserver. AWStats works fine when using uncompressed logs however when I try to pipe the logs (since they are compressed now) I get this error: Error: Command for pipe 'gzip -d </www/htdocs/test/stats/logs/access_log_2004-05-24.gz ¦' failed Setup ('./awstats.dia.conf' file...

Part and Inventory Search

Back
Top