Jump to content

Search the Community

Showing results for tags 'scripts'.

The search index is currently processing. Current results may not be complete.
  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • HTML/XHTML
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • XSLT/XSL-FO
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 4 results

  1. Greetings: I've recently taken over responsibility for managing the following website: Abacus Custom Painting. The prior webmaster is unavailable for consul. There are three site webpages on which three (in question) submission forms are embedded:Those pages are:1) Home Page: Note the "No Job Too Small... Get Your Free Estimate Today!" submission form. Visitors are encouraged to submit first name, last name, email address & phone number, and a brief description of needed work vis-a-vis this form. 2) 7 Things You Must Know Before Hiring a Painter Page: Note the "Get Your Free Estimate Today!" submission form. Visitors are encouraged to submit first name, last name, email address & phone number, zip-code, and a brief description of needed work vis-a-vis this form. 3) 5 Suggestions To Choose Paint Colors Page: Note the "Get Your Free Estimate Today!" submission form (same as above.)For the first two (2) site-pages and submission forms, could someone identify the code (in its entirety) which governs these two unique submission forms? My goal with posting this thread is to:1) better understand what specific script(s), even if remotely-hosted, is being invoked when a site visitor chooses to submit contact details through one or all of the above submission forms &2) understand exactly (step by step) which process or code edits/modifications are needed to ensure visitor-provided contact details are submitted/routed to an email address or other technology of my choosing.Thanks in advance --
  2. <php at the top of page> <followed by an html tags, then by below php> <?php include ('./includes/footer.html'); ?> <script type= "text/javascript" src="http://code.jquery.com/jquery-2.1.4.min.js"></script> <script type= "text/javascript" src= "./js/collabsible.js"></script> For one odd page of the website I wanted to have collapsible/uncollapsible text using jQuery, so I placed the relevant scripts at the bottom of the page as seen above. It works. But in a previous communication it was stated that the ideal place for inclusion of js/jQuery scripts is before the closing tag of the body. The footer file, included before the scripts, closes the body and html tags, which means the scripts are placed even after the closed html. If scripts are placed before inclosure of the footer file, it would then be before some html tags. I cannot place them in the footer file before closure of the body tag because I need scripts in this page only while footer is also in the rest of site pages. It seems I have only two options: leaving them as seen above or make one additional footer page for this page only where I can place the scripts before body closure tag. Any help or guidance will be appreciated.
  3. Hello everyone, I'm new to this forum, I have the next problem I hope someone can advise. I have a php script I need to run from cronjobs. This script contains some commands shell_exec, fairly simple and the output is directed to a file, from the webmin module cronjobs goes well but when running from cron, the commands shell_exec stops working the cronjob is * * * * * php /some/path/myscript.php to make it easy #!/usr/bin/php -q <?php $iptables=shell_exec('iptables -S '); $file_name="/some/path/out_test.txt"; $ar=fopen("$file_name","w"); fputs($ar,$iptables); fputs($ar,"nn"); fclose($ar); ?> from the terminal when I run $ php /some/path/myscript.php as root, the file /some/path/out_test.txt is filled with the output of the command $ iptables-S but when run from cron, the file is blank
  4. Not sure if this has been asked before. I did a search but couldn't find it. If this does end up being a duplicate thread, my bad. So I have this form, and what it does is it takes the information that the user inputs and sends it via email to us using a PHP script when submit is clicked. The information is sent to us in a certain way that fits into our client relationship manager nicely. But what the script does is another story. I'm concerned about the HTML. Looks kinda like this. <form action="email.php" class="container" id="mail" method="post" enctype="multipart/form-data" language="JavaScript" name="FrontPage_Form2"><li></li><label>Title</label><select id="title" name="title" tabindex="3"><option value="">Select</option><option value="">Mr.</option><option value="">Ms.</option><option value="">Mrs.</option></select><input name="Submit" class="submit" tabindex="16" type="submit" value="Submit" /> Etc. What I want to know is how to, if possible, have the form set up so that it executes a different script if the user clicks a checkbox. Like <form action="email.php" class="container" id="mail" method="post" enctype="multipart/form-data" language="JavaScript" name="FrontPage_Form2"><li></li><label>Title</label><select id="title" name="title" tabindex="3"><option value="">Select</option><option value="">Mr.</option><option value="">Ms.</option><option value="">Mrs.</option></select><li></li><label>Have the email sent directly to sales</label><input name="checkbox" tabindex="17" type="checkbox"><input name="Submit" class="submit" tabindex="16" type="submit" value="Submit" /> So when that checkbox is clicked, instead of executing email.php, it executes another script instead that sends a different message to a different person. If that makes any sense. If you want the real code, I can give it to you, it's just a lot longer and I don't see it as necessary to illustrate my point. If anyone knows how to achieve this, or has any ideas, I will implement them immediately, and pledge undying loyalty to said user.
×
×
  • Create New...