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. jay123454

    Zip File Download Problem

    Hey jpadie! Thanks for the help..but I'm an idiot. Just figured out the problem :) I had some php code above the download script to determine which file to download and if the person had access to it. There was an undefined function error in that code that I wasn't seeing. However, put a die...
  2. jay123454

    Zip File Download Problem

    That's what I had had at first "application/force-download". Strange issue with that in Firefox in that firefox said it was a "JPEG Image" type in the Firefox downloader. So I hardcoded it as "application/zip" and the type was correct in firefox. However it never worked in either Firefox or...
  3. jay123454

    Zip File Download Problem

    Hi, Been banging my head against the wall for a few hours now...hopefully someone can help me out. I've got a zip file that works fine when I unzip it locally or when I do a direct download. But when I try to download the same exact file with a php download script I can't extract the zip...
  4. jay123454

    Javascript text error on Linebreak

    By the way...in case you are wondering I'm using this array to set the value of the textarea by calling onchange on the dropdown. Here's the function called onchange function disp() { var ID= document.form2.var_template_ID.value; document.form2.var_textarea.value = arrItems[ID]; return; }
  5. jay123454

    Javascript text error on Linebreak

    Hi, I'm relatively new to js and have run into a problem...sure it's a simple solution so hopefully someone here can help. Basically, I'm just setting a textarea based on the value of a dropdown. I've got that part working, but I'm pulling the value of the dropdown from a mysql field...
  6. jay123454

    timer refresh with post/get vars

    Thanks jeff...these pages that need to be refreshed are in a php application, so being search engine friendly is not a consideration. There are only a few variables...session variables will work, it's just that I already have the pages programmed with GET & POST vars. There aren't too many on...
  7. jay123454

    timer refresh with post/get vars

    Given you want to pass some variables around... maybe Javascript is the best way." How is this done in javascript? As far as the meta refresh..I've heard it's not supported by some browsers so I would prefer to use the javascript method. Please let me know the code for the javascript...
  8. jay123454

    timer refresh with post/get vars

    Hi, I have a few pages that I would like to be refreshed every 60 seconds. I found some javascript code online to do this, but it doesn't look like it's passing my post or get variables. Is there a way I can force a refresh every 60 seconds and pass the variables also using javascript? The...
  9. jay123454

    PHP Windows Scheduler Task

    Can any help out on the above 2 Q's? Also, I was still getting errors on C:\PHP\php.exe C:\mydir\autorun\statistics.php /Autorun_Pin=mypassword But this worked with just a space before the variable? Which one is the correct syntax? C:\PHP\php.exe C:\mydir\autorun\statistics.php...
  10. jay123454

    PHP Windows Scheduler Task

    Also, What if I wanted to pass 2 variables? C:\PHP\php.exe C:\mydir\autorun\statistics.php /Autorun_Pin=mypassword /foo=bar ??? Is this how I would do it?
  11. jay123454

    PHP Windows Scheduler Task

    So I'll have to parse argv for the variables I'm looking for? $server_vars=$_SERVER['argv']; So //$server_vars[1]="/foo=bar&foo2=bar2"; if(strlen($server_vars[1])>0) { $vars=sub_str($server_vars[1], 1); $vars=explode("&", $vars); foreach($vars as $key => $val) {...
  12. jay123454

    PHP Windows Scheduler Task

    Yes, was trying to pass a variable to the script. Now if I use REQUUEST will it work for this call and browser call? $_REQUEST['Autorun_Pin']; Or will I have to insert some other code to check for this? Sorry, not familiar with $_SERVER['argc'] and $_SERVER['argv'] Thanks!
  13. jay123454

    PHP Windows Scheduler Task

    I'm not too familiar with setting up php Windows Scheduler tasks. So hopefully someone here can help me. Trying to setup this task in Server2003/IIS6 This is what I have for the task...but I'm getting "No Input File Specified" everytime I run this. Any ideas? Is my syntax correct...
  14. jay123454

    PHPSESSID lost? header() redirect error...

    hey, thanks for getting back to me. Actually, we figured out a solution to his problem. $PHPFFL_WEB_ROOT is a variable stored in the config.php file. I was just echoing it there to verify where the header() was redirecting to. That wouldn't be in the program other than troubleshooting...
  15. jay123454

    PHPSESSID lost? header() redirect error...

    Hey, I've got a php program that someone is trying to install on their server and there's a problem we weren't above to resolve with a couple hours of troubleshooting last night...was hoping you guys might have some ideas. It seems to me like it has something to do with PHPSESSID and/or...
  16. jay123454

    Dynamically Convert HTML to PDF

    Hi, I'm pretty sure there's a php library that can be used to dynamically convert html to pdf, but I can't seem to find it. I'm trying to dynamically convert a Word -> HTML -> PDF. I've got the Word -> HTML part done using a COM object to open an instance of Word. I think save the file to...
  17. jay123454

    Get Recordset based on strong concat?

    Thanks anyways for the help...I solved my problem. In case anyone else happens to run into a similar issue I'll write a quick overview of what I did. *****pseudocode***** function get_rs(current_week) { rs_anyweek=query with current_week Set get_rs = rs_anyweek } while(rs_week) {...
  18. jay123454

    Get Recordset based on strong concat?

    Thanks Chopstik, Sorry, don't think I explained too clearly...you are close. Assume I already have those recordsets (rs_week1, rs_week2) and in your loop (rs_week) I'd like to access rs_week1, rs_week2 etc...based on which "week" is returned. I'll just write pseudocode to make it easy to...
  19. jay123454

    Get Recordset based on strong concat?

    Hi, Quick question. I usually work in php and I know I can do this in php no problem. But I'd like to do this page in asp so I am hoping someone can help me with my problem. Here's an example of the problem: I've got 16 recordsets named: rs_week1 rs_week2 etc... I am getting an integer...
  20. jay123454

    Losing consecutive spaces on .txt Read File

    Thanks fireburner! echo "<pre>"; Worked great..now I can parse away easily. Thanks again!

Part and Inventory Search

Back
Top