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 bkrike 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: Dronealone
  • Content: Threads
  • Order by date
  1. Dronealone

    .htaccess not working with Alias

    Hi, I'm running Apache 1.3.x using virtualhosts and have done a simple redirect: (trimmed down) <VirtualHost x.x.x.x> ServerName www.x.com ServerAdmin sysop@x.co.uk DocumentRoot /home/users/x/www/ Alias /devftp /home/users/devftp/www </VirtualHost> The alias works fine, however when I put a...
  2. Dronealone

    URL Rewriting

    Hi, I'm terrible at regex, but trying to learn. I have used mod_rewrite to rewrite a very simple URL, it works fine for one variable but not sure how to do it for two. Here it is: RewriteEngine On RewriteRule /range([0-9]+).stm /rangepage.php?range=$1 I need to add a second var to this...
  3. Dronealone

    Keep table row expanded between form posts

    Hi, I am using the following function working with the id's of <tbody> tags to expand and contract table rows: function toggle_element(id) { the_element = document.getElementById(id); image_name = 'toggle_' + id; the_image = document.getElementById(image_name); if...
  4. Dronealone

    Force File Download Javascript

    Hi, I have an image xyz.gif. I have an HTML button. How do I set the onclick event of the button to start a download of xyz.gif? (i.e. save as)? Many thanks!
  5. Dronealone

    Merge datasets in a datagrid

    hi, i have 3 datasets that I want to merge into a single datagrid with collapsible rows(optional!). The 3 datasets contain a single tables which are related to each other by primary key. how can I combine these? Any help much appreciated. thanks
  6. Dronealone

    Highlight row in a datagrid

    Hi, I have the following datagrid, and wish to highlight the selected row after the link has been clicked. Can anybody help? <asp:DataGrid id="dgDocSections" runat="server" AutoGenerateColumns="False" Font-Size="10pt" Font-Names="Arial" CellPadding="5" CellSpacing="5"> <HeaderStyle...
  7. Dronealone

    Hide Table Row

    Hi, Can anybody tell me how to make the following code Mozilla friendly, works fine in IE6... function toggle(target) { obj=(document.all) ? document.all[target] : document.getElementById(target); obj.style.display=(obj.style.display=='none') ? 'inline' : 'none'; } This function...
  8. Dronealone

    Can't refer to array index

    Hi, I have the following code which is supposed to open a window with the url query string being created from the input boxes: <input type='checkbox' class='col3' name='monitor[1]' value='1'> <input type='text' class='col4 text' name='monitor_url[1]' value=''> <input type='text' class='col5...
  9. Dronealone

    No sound on Radeon 9800se

    Hi, I have bought a Shuttle XPC and a radeon 9800se and am having trouble getting the tv tuner to work. When I go to initialize the tv tuner it tells me to plug in a cable from the video card to the sound card. I've read elsewhere that its the cable with many different ends on it that needs to...
  10. Dronealone

    Connect to Win2k through Router

    Hi, I have an ADSL router with 5 PCs behind it. There is currently no firewall in between. Can you tell me how I can get Remote Desktop to connect to one of these PCs as they have no external IP address. Thanks
  11. Dronealone

    Track Web Page Changes

    Hi, Can anybody recommend a tool, or give me some guidance on how to track changes to a remote page? There is content relating to my company on other websites, and I want to check when it changes or is dropped of the site altogether. Thanks!
  12. Dronealone

    Open a frameset using a GET variable

    Hi, I'm a PHP person, and am having trouble doing something with .NET using C#. Basically I am opening a framset from a link with a get variable e.g. frame.aspx?id=55 I want the main frame that opens up to call a page using that id number passed in the query string. I have no idea how to do...
  13. Dronealone

    Checking values of an array

    Hello, I want to do some simple error checking with Javascript. I have a form which contains the following element: <input type='radio' name='answer[5]' value='17'> and I am using the following function called by the onsubmit event to check that the radio has been checked: function...
  14. Dronealone

    Sending email with C#

    Hi, I'm new to ASP.NET. I need to send an email from a form which is already built, posting variables to my aspx C# page. When an ASP.NET page is called, can you not procedurally execute the code on it? The page to which the form is posted is: <%@ Import Namespace=&quot;System.Web.Mail&quot...
  15. Dronealone

    simple regex problem

    Hi, I just can't get my head around regex! Can anybody tell me how I do a simple match to extract what is between the quotes on a select list: <option value=&quot;bla&quot;>Bla Bla</option> I want to extract all occurrences of what is between the quotes... Thank you!!
  16. Dronealone

    mod_ssl install problem

    Hi, I've followed the article on Devshed on installing Mod_SSL with Apache on Linux. The install all appears to go fine. I generate keys etc, no problems. I stop Apache and then restart with apachectl sslstart. And it starts fine. It can serve up http:// pages fine. However trying to...
  17. Dronealone

    MX Change Crossover Period

    Hello, Wondering if there's anyway around a problem I've got: I have an MX record pointing to a mail server(A). I want to move mail to mail server(B). Both servers are on the internet. If I change the MX record for the domain to mail server(B), this process takes a while, and some people...
  18. Dronealone

    Dynamic Variables

    Hello, I am trying to dynamically build a variable name and then access the value that is in the variable, which has been posted by a form. My code is: $var = &quot;HTTP_POST_VARS[industry&quot; . &quot;_&quot; . $db_row[name] . &quot;]&quot;; $val = $$var; echo $val; This doesn't give...
  19. Dronealone

    Attaching files - I get a plain text file attachment as well

    Hello, I am trying to attach a PDF to an email. It is attaching the PDF ok, but it also attaches a plain text file called something like ATT000035.txt. Any ideas how to get rid of this?? The code I am using is below: case &quot;PDF&quot;: if (is_uploaded_file($file)) { // Read...
  20. Dronealone

    Plain text emails - newlines disappear!

    I'm trying to generate a plain text email from a textarea on a webpage. However, I cannot get newlines to appear in the email. The code is as follows: TEXTAREA: <textarea name=&quot;email&quot; cols=&quot;130&quot; rows=&quot;15&quot;><?php echo stripslashes($email); ?></textarea> MAIL...

Part and Inventory Search

Back
Top