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 Mike Lewis 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: Hokey
  • Order by date
  1. Hokey

    anonymous browser server in PHP

    I need a way to browse a web server on my Network from the internet (to make sure all links, external DNS entries, and NAT port forwarding is working). There use to be several free anonymous web browsers out there, but all the ones I knew about are either gone or are no longer free. So what I...
  2. Hokey

    Apache on windows questions

    After reading through my main module (PHP), I have gone with Apache 1.3x as the base server (for now anyways). My next delima is password protected directories using the Active Directory usernames/passwords. Right now I am thinking that I will need to use some type of auth_ldap ... anyone...
  3. Hokey

    Apache on windows questions

    I have always ran Apache in some type of *nix enviroment, but I have just started a new job and my current employer insists on useing Windows 2000/03 Servers, but dosent care about what WebServer software I use. I tried using IIS, and it work for most of my stuff, but there are a few things...
  4. Hokey

    Install Help

    what drive and directory is the config.dat file that came with the script located in (look in the directory & subdirectories where you installed the script and find a file named config.dat). If the complete path where that file is located d:\cruises\web\scripts\forum\config\config.dat, then you...
  5. Hokey

    Upload database - feature

    I have done something similar with one of my clients ... don't know if it will meet your needs, but here is what we did: 1) wrote the PHP/MySQL application for the web 2) wrote an MS Access database app that included the administrative features and an exact db structure of the MySQL tables...
  6. Hokey

    directory question

    More of an HTML question ... but it is a common problem with all scripting because of the including scripts from other directories. Here is how I have resolved the problem. Use absolute urls instead of relative urls: picture example: <img...
  7. Hokey

    Install Help

    Looks like it is asking where the config.dat file is located. in unix it might look like: $config_file = &quot;/htdocs/path/to/script/config.dat&quot;; in windows it might look like: $config_file = &quot;c:\\www\\config.dat&quot;; OR $config_file =...
  8. Hokey

    String Question, Should be REALLY easy

    Try: print(&quot;<input type=\&quot;hidden\&quot; name=\&quot;oldUserInfo\&quot; value=\&quot;$test\&quot;>&quot;);
  9. Hokey

    PHP CLI script compiler ...

    I probably already know what the answer is, but here is wishing... I have been using the PHP CLI for most of my systems administration on both *nix and Windows because PHP is such a quick and easy way of doing alot of my administration tasks (database/file manipulation). But now I have a...
  10. Hokey

    importing to DB using phpMyAdmin

    On the insert textfiles screen did you check the &quot;OPTIONALLY&quot; box on the &quot;Fields enclosed by&quot; section? checking the optionally box means that 'only char and varchar fields are enclosed by the &quot;enclosed by&quot;-character'
  11. Hokey

    problems with html in mail()

    my code was a little off ... give this one a try $var = mail(&quot;$toMail&quot;, &quot;$subject&quot;, &quot;$message&quot;, &quot;Content-type: text/html\nFrom: $email\nReply-To: $email\n&quot;, &quot;sendmail_path: /usr/sbin/sendmail\n&quot;);
  12. Hokey

    problems with html in mail()

    Try this: $var = mail($toMail, $subject, $message, &quot;Content-type: text/html\n\r From: $email\n\r Reply-To: $email&quot;, &quot;sendmail_path: /usr/sbin/sendmail\n&quot;); The comma between the content header and the from header was probably throwing it off. Also there should have been a...
  13. Hokey

    Running PHP scripts from local hard disk?

    running the scripts from windows (double clicking with the mouse) will make this happen. The DOS window closes after the script is finished (usually just a second or two). If you run the script from a DOS/Command prompt the window will not close. To do this place the path to php.exe in your...
  14. Hokey

    PayPals IPN Service in PHP?

    You will need to use PHP's cURL functions, so you will need to make sure that you have compiled your PHP with this option: http://www.php.net/manual/en/ref.curl.php I was going to take a crack at writing some sample code for this, but found a link at PHPBuilder ...
  15. Hokey

    Running PHP scripts from local hard disk?

    PHP is free and you can get it at http://www.php.net/downloads.php I run PHP scripts on my local Win2K PC for testing and cross database synchs. Download the Win binary (as long as you are running Windows) and run the install. You also may need to associate the .php extension with the php...
  16. Hokey

    Locating the index of an array

    Also found this code in the PHP docs ... dont know if it is better or not (I have never used the foreach in PHP) <? $ArrayVar = array(&quot;a&quot;, &quot;b&quot;, &quot;c&quot;); foreach ($ArrayVar as $key => $value) { echo &quot;Key: $key; Value: $value<br>\n&quot;; } ?>
  17. Hokey

    Locating the index of an array

    Here is one way: <? $ArrayVar = array(&quot;a&quot;, &quot;b&quot;, &quot;c&quot;); while (list ($key, $val) = each ($ArrayVar)) { echo &quot;$key<br>&quot;; } ?>
  18. Hokey

    PHP Password Security

    Probably the safest way to store any code (especially ones with passwords) is to use Zend Encoder to encode your scripts making it impossible for anyone to read them. Some people think that Encoder is pricey ($1000/year or $2400/life), but I figure it is a small price to pay for a very strong...
  19. Hokey

    exporting Mysql table with php

    I would install phpMyAdmin. It not only lets you export your tables as Excel CSV, but lets your manage your entire MySQL database(s). http://phpwizard.net/projects/phpMyAdmin/
  20. Hokey

    hi more trouble in parse land

    This might be it ... the function mysql_numrows() should be mysql_num_rows() If that dosent do it: What line number in the complete file is your very first line of code at (function insert_order($order_details))?

Part and Inventory Search

Back
Top