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 strongm 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: KryptoS
  • Order by date
  1. KryptoS

    File upload progress bar

    I'm working with Extjs: http://extjs.com/deploy/dev/examples/simple-widgets/progress-bar.html visit my website at http://www.phpscriptor.com
  2. KryptoS

    run script in background

    Just to make it complete... any idea how I could do this on a windows server? passthru("c:\wamp\php\php.exe c:\wamp\www\app\jobs\script.php"); visit my website at http://www.phpscriptor.com
  3. KryptoS

    run script in background

    ok thanks, works great! visit my website at http://www.phpscriptor.com
  4. KryptoS

    run script in background

    ok, how can I do that? can you help me with this? this is what I have: passthru("/usr/local/bin/php /home/admin/domains/myweb/app/jobs/script.php"); visit my website at http://www.phpscriptor.com
  5. KryptoS

    run script in background

    Hello, How can I execute a script in the background. I don't want to wait until it's finished. I tried passthru("myscript.php"). I worked, but I still need to wait until the script is finished before I can work on... any help would be appriciated. visit my website at http://www.phpscriptor.com
  6. KryptoS

    multisort on 2 fields

    Sorry, I just found the solution. (why do we always find the solution after posting?) foreach($array as $key=>$var) { $company[$key]= $var['company']; $name[$key] = $var[name]; } array_multisort($company,SORT_ASC,$name,SORT_ASC,$array); visit my website at http://www.phpscriptor.com
  7. KryptoS

    multisort on 2 fields

    Hello, I found a solution for this, but lost it and don't know how I did it. So maybe someone could help me.. array[0]['company'] = 'Company 1'; array[0]['name'] = 'Name 1'; array[1]['company'] = 'Company 1'; array[1]['name'] = 'Name 2'; that's how my array looks like. Now I want to...
  8. KryptoS

    value as variable name

    aaaaaaaaaaaaaaaaaaaaaaaaah ... so easy... thanks anyway, just for the record... is it possible in javascript to use a value as a variable? visit my website at http://www.phpscriptor.com
  9. KryptoS

    value as variable name

    Hello, is it possible to use/convert a value in a variable to a variable name? I have a object data.monday = 5 var test = "monday"; I want to use something like alert(data.test); Offcourse this is not working, anyone an idea what I could do? visit my website at http://www.phpscriptor.com
  10. KryptoS

    div in middle of screen

    thank you for your replay. I still need to test it with IE6, but IE7 and firefox are working fine. One more question. Let's say I have 2 'popup' div's shown at the same time. And they are overlapping eachother (totally or just a part), how can I control them so that the first popup is above the...
  11. KryptoS

    form onsubmit: one function for the website

    Yes something like that. One way or the other it's calling the function when it loads the page? So it's not working. Anyway you gave me a good direction and I managed to do it. I'm not explaining how because it was not with javascript, I'm working with the Zend framework and I could easy add...
  12. KryptoS

    form onsubmit: one function for the website

    Hello, Just wondering if it's possible to write one onsubmit function for every form in my website. So that the function is called when a form is submitted. I don't want to add onsubmit in every form tagg. I just want to display a message when a form is submitted. Something like 'data is...
  13. KryptoS

    div in middle of screen

    thank you crazy888s that was what I was looking for. position:fixed; visit my website at http://www.phpscriptor.com
  14. KryptoS

    div in middle of screen

    Hey, I have a div where I show a little message like ("Loading data..."). I want this always in the middle of my screen. So I did it with some javascript: function showdiv() { var A = document.getElementById(E); var C = screen.width; var D = screen.height; A.style.position ="absolute"...
  15. KryptoS

    ondelete trigger remove file

    Hmm I don't know if I made myself clear. I'm building a website. Where you can make a comment. And upload multiple files to that comment. Those files are stored in the table tbl_files. And upload to a path e.g. http://mydomain/files/. I want to delete those files. Not the table-file. visit my...
  16. KryptoS

    ondelete trigger remove file

    Hello, I don't know if this is a good way. But I'm using cascade delete. E.g. I have a table tbl_comments and a table tbl_files. To each comment I can attach more files. The files are stored on my harddisk. With cascade deleting, I delete a comment and all the file records are deleted. No...
  17. KryptoS

    'select as' and 'WHERE'

    Sorry, if I'm going to far with my questions but... Can you tell me where it can go wrong? Maybe an example? 'Cause seems to me that it's working with HAVING. By the way, what's the difference between HAVING and WHERE? Are there rules when/why you should use having, and when/why WHERE? visit...
  18. KryptoS

    'select as' and 'WHERE'

    This is a little of the sql-string. I left out some more joins 'cause they are not making the problem. As you see, I have a table tbl_company with 2 foreign keys to the table tbl_contacten. I want to use a where on the field Adres, Contact1 and Contact2. If I could use the AS-field I could do...
  19. KryptoS

    'select as' and 'WHERE'

    select field1 AS test FROM tbl_test WHERE field1 > 5; Yes I know that, but this is just a simple example. In reality the select is a little more complex. I assume they had a good reason to do that. But it would 've made things a lot easier if you could use the as-field in the where or orde or...
  20. KryptoS

    'select as' and 'WHERE'

    Hello, I run into a little problem. Is this possible 'cause it's not working for me: select field1 AS test FROM tbl_test WHERE test > 5; I'm always getting the message: Unknown column 'test' in 'where clause' Is there a way to make this working? visit my website at...

Part and Inventory Search

Back
Top