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 TouchToneTommy 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. jasek78

    blocking refresh

    Please... I apologize for my sarcasm earlier... however a simple 'I think I can speak for everybody by saying no. Sorry, it's not possible. ' isn't really a response. What I'm looking for, as i restated, is a way to determine if the page was refreshed. Is there a header flag that is passed...
  2. jasek78

    block auto-refresh

    Is there a chunk of header info or something that i can read and determine if the page was refreshed via the browser? a header variable that i can access via php?
  3. jasek78

    blocking refresh

    1. It IS possible... I've seen it done. 2. auto-refresh is NOT set, in META or anywhere else. Read the question again. I have a webpage that i don't want the user to be able to refresh using their browser. I want them to have to use the website navigation to browse the pages, instead...
  4. jasek78

    blocking refresh

    I'm trying to block auto-refreshing on a webpage. Either by a browser plugin (FF), The Opera browser's 'auto-reload' feature or by clicking the refresh button. Does anyone know of a way i can do this? thanks Jason
  5. jasek78

    block auto-refresh

    I'm trying to block auto-refreshing on a webpage. Either by a browser plugin (FF), The Opera browser's 'auto-reload' feature or by clicking the refresh button. Does anyone know of a way i can do this? thanks Jason
  6. jasek78

    T_CONSTANT_ENCAPSED_STRING error

    Thank you VERY much Vacunita - I stared at that line all day saturday and didn't see it... Jason
  7. jasek78

    T_CONSTANT_ENCAPSED_STRING error

    I'm getting a unexpected T_CONSTANT_ENCAPSED_STRING error. I can't see what the issue is... anyone able to help??? Jason $msg = ""; foreach($_POST as $key => $value){ if ($value != "") { $msg .= "^ ". $key ." = ". $value "<br/>\n"; //this is the line that is reported. } }
  8. jasek78

    Emails in Fedora Core 2

    ah, yeah... I'm using Qmail as the MTA
  9. jasek78

    Emails in Fedora Core 2

    I'm using a webserver with Fedora Core 2 installed with a Plesk control panel. I've been using the Plesk CP up to now to manage the server. I would like to script email creation somehow - but I do not know what files are created or any other processes that are required. Could anyone give me...
  10. jasek78

    AVI as a screensaver?

    I have a small (2 second) AVI file I want to show full screen as a screensaver. Anyone know the properties/code I need to write in to make it autoplay and loop? right now I have it so that it stretches full screen and plays once. Thanks all! Jason
  11. jasek78

    Apache with PHP/MySQL Access

    I tried this, and it still gives me the error. Do I need to give the user 'apache' (the web server instance) permissions to access the database, or edit a config file somewhere? Any other guidance is appreciated. Jason
  12. jasek78

    Apache with PHP/MySQL Access

    CLI Version? I'm not sure I follow. I can ssh onto the server but I don't know how to pull up the PHP CLI version. I would assume so, because I believe it to be an error with some permissions, or perhaps the way the webserver is loading the database (which boils down to a permission issue)...
  13. jasek78

    Apache with PHP/MySQL Access

    I do specify a user name and password to access the database. Here's the code: <? //initialize PHP //POST checking print '<pre>'; print_r ($_POST); print '</pre>'; //insert records //connect as user //change user and password to your mySQL name and password...
  14. jasek78

    Apache with PHP/MySQL Access

    ...and set up a user and password for it. Then I created a PHP script to insert a name and email into a MySQL database. I finally got it to do *something* and got this error message: Access denied for user: 'apache@localhost' (Using password: NO) This baffled me as I don't use a 'apache'...
  15. jasek78

    Inserting records to MySQL

    OK... I've check the error logs, and changed the <? to <?php ... I made a fairly simple mail form script that runs perfectly. I did a couple other things and finally found an error message. Access denied for user: 'apache@localhost' (Using password: NO) This baffled me as I don't use a...
  16. jasek78

    Inserting records to MySQL

    It doesn't do any more. the PHP script is not executing for some reason. I'm going golfing now, work on this later. I'm open to any suggestions on alternate methods, and thanks for the help. Jason
  17. jasek78

    Inserting records to MySQL

    Yes I have... the output is a blank page: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD> <BODY></BODY></HTML>
  18. jasek78

    Inserting records to MySQL

    OK... First, thanks to you all for helping out. I will post all of the pertinant code for you to review. I have a layer on the html page set up with a form: <div id="newsletterlayer"> <form action="addemail.php" method="post" name="addemail" target="_blank" id="addemail"> <table width="150"...
  19. jasek78

    Inserting records to MySQL

    the code was running. the window would pop up and show the 'thank you' text that I put inside the 'if' statement. but no values would get into the database. I changed the 'if' statement to if( isset($_POST['email']) and now I just get a blank window.... Jason
  20. jasek78

    Inserting records to MySQL

    The php code was originally on the same page as the form, and that '$_POST['submit'] was to run the code only if the submit button was pressed. I will take it out and see if that is the problem.

Part and Inventory Search

Back
Top