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!

Recent content by coben

  1. coben

    Error when using single quotes in form fields

    When I input information which contains a single quote, for example, "There wasn't a soul around", I get a MYSQL error stating: Error updating certificate information: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to...
  2. coben

    PHP on NW 6.5

    I transferred my MYSQL database tables from a Linux box to a NW 6.5 Server. I have changed my directory locations from /var/www... to the appropriate directoy on the 6.5 box. Php runs ok. However, when I access my home page on the website I get the following messages: Warning: open_basedir...
  3. coben

    Variable being cut off when used in form element

    Thanks for your input. I was given another method to solve the problem which I'd like to share for everyone's info. <input name=&quot;deg1&quot; type=&quot;text&quot; value=&quot;<?php echo $deg1; ?>&quot;> I'm new to php and I'm amazed at the flexability it offers over cgi. Thanks for the...
  4. coben

    Variable being cut off when used in form element

    A variable I'm pulling out of a MYSQL db is being cut short when I try to display it in a form variable. The column type in the db is varchar. Here is some of the script: <?php include(&quot;/var/www/html/admin/myfunctions.php&quot;); db_connect(); $fid = $_GET['id']; $fac_array =...
  5. coben

    CGI and NW 6.5

    I couldn't find a NW 6.5 group so let me toss this out here. I've installed NW 6.5 with AMPP. I've changed my document root to web:/apache2/html/ and the scriptalias to web:/apache2/cgi-bin/. I also changed the shebang line in my cgi script to #!/usr/local/bin/perl. I uploaded my website using...
  6. coben

    NW 5.1 and Win XP

    I figured it out. Somehow my workstation name was the same as my server name. Once I changed it, it works fine.
  7. coben

    NW 5.1 and Win XP

    I've installed a NW 5.1 server on a Dell Gx260 computer with 1GIG RAM, 2GIG Hz processor. I have a workstation running XP which I installed the latest client for XP with SP2. I'm trying to copy SP6 to the server to upgrade it. The problem: When I login to server FS1, with supervisor privilages...
  8. coben

    SSI

    No. I'm accessing a cgi script in my URL like this: http://mywebsite/cgi-bin/cgiscript.cgi?parameter=blah This cgi script is opening up the shtml document. The cgi script opens up the shtml document and then substitutes the passed parameters for the place holders. So, in the cgi script is...
  9. coben

    SSI

    I can't get my SSI script to work. Here are my configurations: In the httpd.conf file: <Directory &quot;/usr/local/apache2/htdocs/site_templates/&quot;> Options Includes Options IncludesNOEXEC </Directory> AddType text/html .shtml AddOutputFilter INCLUDES .shtml The shtml file is...
  10. coben

    Adding Javascript behavior to open new window

    That did it. Many thanks.
  11. coben

    Adding Javascript behavior to open new window

    When I try your suggestion I get a scripting error. I'm probably not putting the :return false in the right place. Here is the tag, where should I put it? Thanks. <a href=&quot;/classes/needs.htm&quot...
  12. coben

    PUBLISHING IN DREAMWEAVER

    I'll try to explain both the FTP option and the Local Network option. 1. Connecting via FTP. a. If you are not directly connected to the network the Webserver is on, you should select the &quot;FTP&quot; option under &quot;Access&quot;. This of course assumes you have FTP rights to the...
  13. coben

    Adding Javascript behavior to open new window

    I have created a relative link in DW MX and wish to have the link open in a new window. I went to the behaviors panel and added the onClick Open Browser Window behavior to the <a>. The problem I'm having is that not only does the page open in the new window (which is what I want), it also opens...
  14. coben

    apxs

    I performed the find like you suggested and the results were: /usr/sbin/apxs /usr/local/src/httpd-2.0.44/support/apxs What do I do now? Do I use the --with-apxs= using one of those directories? Any reason it did not get installed in the /usr/local/apache2 directory? Thanks.
  15. coben

    apxs

    I have been trying to install php support on my Apache server (running on a Linux 7.3 box). In a couple of installation manuals for php support, they make reference to apxs when building php. The statement looks something like this: --with-apxs=/usr/local/apache2/bin/apxs When I look in my...

Part and Inventory Search

Back
Top