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: *

  1. GPhilipp

    Dispaly pdf through impersonate does not work

    Hello Jason I'll give that a try and let you know the result. Thank you!
  2. GPhilipp

    Dispaly pdf through impersonate does not work

    Hello Jason Thanks for your reply. Me.ShowPdf1 is an object which receives the file path and name. It is based on this article (http://www.beansoftware.com/ASP.NET-Tutorials/PDF-View-Custom-Control.aspx) to display pdf files. I was also thinking about streaming, loading the file into memory...
  3. GPhilipp

    Dispaly pdf through impersonate does not work

    Hello Everybody. I got some problems with impersonation. I have created a asp.net intranet site. The short of it is that the end user gets a grid displayed with pdf files. The pdf files are located on another sever behind locked security to which the enduser has no directly access. When the...
  4. GPhilipp

    I need Help With register_shutdown_function()

    already have I have pointed the exec to ErrorLog.txt - that one stays empty. When i check the logs i have access to, i could not find any entries in regards to that script. Its a bid long, thats why i havn't posted it. That log is split up in a 'community' log and a customer specific log...
  5. GPhilipp

    I need Help With register_shutdown_function()

    Hello JPadie Thanks for your continues help. I had it running for about 20 minutes from SSH - no problems and no errors where returned. BlueHost reports back to me that the limits they have are as follows: * Apache/Web (HTML/PHP/Downloads): With Dedicated IP: 12 Hours | Without: 10 Minutes...
  6. GPhilipp

    I need Help With register_shutdown_function()

    not sure what you mean. This is running on a webhost (BlueHost). I don't have direct access to the their command line. I've tried php-cli -i, but that did not work either. And what is a fubar'd? - Sorry, but I am realative new to PHP, I used to program in VFP. Thanks
  7. GPhilipp

    I need Help With register_shutdown_function()

    hmm, I know the -i is supposed to give the php information. But when i put your code in a php and execute it, it hangs the browser and eventually (after maybe a minute or so) displays Internet Explorer cannot display the webpage.
  8. GPhilipp

    I need Help With register_shutdown_function()

    Well, now I got a nother issue with the same code. It runs fine - for about 5 minutes. I contacted the web-host, still waiting for an answer if they have a timeout set for user defined processes to run. Does anyone have another thought on this? Thanks
  9. GPhilipp

    I need Help With register_shutdown_function()

    ja, I might do that just in case something breaks down the road. Thanks again.
  10. GPhilipp

    I need Help With register_shutdown_function()

    Ok, I got it to work - Got this from : $cmd = escapeshellcmd("php-cli ScriptToRun.php ".$Arg1." ".$Arg2); if (substr(php_uname(), 0, 7) == "Windows"){ pclose(popen("start /B ". $cmd, "r")); } else { exec($cmd." > /dev/null &"); } Thank you all for your help and pointing me in the...
  11. GPhilipp

    I need Help With register_shutdown_function()

    well, that didn't work. here is what i have done: exec(escapeshellcmd("php-cli ScriptToRun.php ".$Arg1." ".$Arg2." > execoutput.txt 2>&1 &"), $output); the script (ScriptToRun.php) runs, but it still freezes the user web browser session untill the script completed. Any thoughts on what I might...
  12. GPhilipp

    I need Help With register_shutdown_function()

    thanks. I'll give that a try. On my initial research over the weekend for that command, it seems possible that exec() is turned off (i have that script on a web hosting site). I'll post my results once I figure out how to use the command correctly.
  13. GPhilipp

    I need Help With register_shutdown_function()

    Hello Everybody. I have the following scenario: Web-User initiates a php script via Java JSon. The script adds some data to table and returns to the website. However, after it returns control to the user, the php script needs to initiate a second php script, but without hanging up the user's...
  14. GPhilipp

    Use Trigger/Procedure for long program?

    I am relatively new to MySQL and have a behavior or structural question. I am in the process of writing a php website with a MySQL db layer. Here is the scenario: User enters some data which needs to start a routine based on the data entered and can run from just a view seconds to hours. This...
  15. GPhilipp

    Problem with Ajax, JSon and Prototype.js in IE8

    Actually, Just run this in IE7 and it workes, so i guess i am good. Thank you again for your help! Gunnar
  16. GPhilipp

    Problem with Ajax, JSon and Prototype.js in IE8

    Hello Feherke. First of all - Thank you for your reply. I thought it had to do with caching, but could not figure it out. Also starnge that Chrome & FF don't behave like that. I added you code addition to my script and its working now. Is that the answer, the correct way of doing this? -...
  17. GPhilipp

    Problem with Ajax, JSon and Prototype.js in IE8

    Problem with Ajax, JSon and Prototype.js in IE8 As you see in the simplified (hope I didn't break the code by simplifying) scripts below, I have setup a timer to automaticly refresh some data on my page. The strange thing is that it works great in Chrome and FireFox, but not in IE. In IE the...
  18. GPhilipp

    Timers

    Hello Feherke Thank you for your reply and info. After more discussion with my partner here I found that I don't realy need a 'true' timer. I can use the timer class discribed earlier and when the user on the webpage needs to check it, it just ask the 'wann-be' timer for the time status...
  19. GPhilipp

    Timers

    Hello I am writing a script in PHP (and I am not very strong in this :-( ). This script needs to check the status of several items periodically. New items are added constantly and they end constantly. I was thinking to this with independent timers, but in my research I found: - PHP does not do...
  20. GPhilipp

    PDO, update foreach loop after an sql update

    Hello Everybody. i have a problem with the following: $sql = "SELECT * FROM Inventory WHERE Onhand > 0"; foreach ($o_DB->query($sql) as $row) { ... $sql_AType = "SELECT * FROM ProdCateg where ProdID = $row['ProdID']"; foreach ($o_DB->query($sql_AType) as $row_AType) { ... $c_SQL =...

Part and Inventory Search

Back
Top