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

    Updating a column in table ?

    In one field on all records I want to get rid of anything longer than 8 characters, I tried: SELECT LEFT(`colName`, 8); It didn't work of course... hehehe Can someone enlighten me? thanks, Mav
  2. maverick

    I am trying to separate my App into 4 parts...

    I have the main application and I added 3 new projects to the solution, I added them as DLL's so I can compile and update them separately, but my Proj2 DLL can't see variables or procedures in the Main App... Any ideas what I'm missing ? I think it's a scope issue but not quite sure how to fix...
  3. maverick

    Loading a Table to an Array

    Hey everyone, anyone know a quick way to load myArray() with the content of a table ? The table has no key or IDs, it just holds Label Captions tia +--------------------------+ | "Hacker by Heart" | | Yahoo! : saenzcorp | +--------------------------+
  4. maverick

    Filter specific files

    I want to list files in a dir but NOT *.php files or *.htm files here is what I have so far; <?php if ($handle = opendir('.')) { while (false !== ($file = readdir($handle))) { if ($file != "." && $file != "..") { echo "$file\n"; } } } closedir($handle); ?>...
  5. maverick

    about php includes ?

    Hey guys, Is there any way to get a php files to reference images from it's own location rather them the location it's included from ? for instance; my index file has an include to a file in a dir called pages and the included file has images that are in a dir called images that is in the dir...
  6. maverick

    Sliding Cells ?

    Ok, I know this is a weir one, but... here goes "I'm try to be a good webmaster and not use frames" I have a include to my menu in one cell of a table on the left and my main cell for content on the right when I get a page that loads in the main cell, if the page is very long the menu centers...
  7. maverick

    Sliding Cells ?

    Ok, I know this is a weir one, but... here goes "I'm try to be a good webmaster and not use frames" I have a include to my menu in one cell of a table on the left and my main cell for content on the right when I get a page that loads in the main cell, if the page is very long the menu centers...
  8. maverick

    Cells or Frames ?

    Hey guys, I've been asking many people, mostly friends... and everyone tells me not to use frames if at all possible but, It's so much easier to use frames then cells... for instance if I want to load a page with an include statement, but I want the page to load in a cell in a table, how do I...
  9. maverick

    Drag & Drop

    Hi All, How do you stop drag & drop process if the person drops on to the same listbox ? error handling took care of the error but it still adds an empty item to the listbox... tia ! -------------------------------------- "Hacker by Heart" saenzcorp@hotpop.com
  10. maverick

    Encrypting ini file settings ?

    Hi all ! Does anyone know of a free ocx I can use, just to encrypt the settings in my ini file ? tia -------------------------------------- "Hacker by Heart" saenzcorp@hotpop.com
  11. maverick

    Setting minimum form width ?

    Hi All ! how do I set the minimum width on a sizable form ? so they can't make it too small tia :-) -------------------------------------- "Hacker by Heart" saenzcorp@hotpop.com
  12. maverick

    Creating an Updateable Application ?

    G'day all ! I created an application, but each time I install the newest version, it adds the name and #1, #2, #3 for the same app in the "Add Remove Applications" dialog window Any idea how I can create an update for my application ? tia -------------------------------------- "Hacker by...
  13. maverick

    Ok, now for Cookies ?

    I have this script I'm working on to study the way cookies work; but I have no idea why it does not create a cookie on my machine ??? <?php if (!isset($_COOKIE['TestCookie'])) { setcookie("TestCookie", $_POST['TestCookie'], time()+3600) ; setcookie("visits", 1) ...
  14. maverick

    MySQL querys in pHp with Variables ?

    Hello all ! Why is it, that this query won't work ? MySQL created it for php, I just added the variables... $sql = 'SELECT count( * ) ' . ' FROM users' . ' WHERE name = "$name" AND pass = "$password"'; it should return 1 tia, this is bugging me ...
  15. maverick

    Simple Authentication Script ?

    Don't anyone blow a gasket ! I'm learning, and I know my scripts are old ! but just the same, they are teaching me a lot ! I'm having a problem making this simple script work ! <?php if(!isset($name)&&!isset($password)) { //Visitor needs to enter a name and password ?> <center>...
  16. maverick

    Cookies and PHP ?

    I'm having a problem with cookies and php "This is out of a book" my first page is: <? session_start(); $sess_var = "Hello world!"; session_register("sess_var"); echo "The content of \$sess_var is $sess_var<br>"; echo "<br>" ; print_r ($_SESSION); echo "<br>" ; print_r ($_COOKIE); echo "<br>" ...
  17. maverick

    Getting the current directory ?

    Hello all ! How do I get the current directory ? so I can make my code a little more dynamic Thanks &quot;Hacker by Heart&quot; saenzcorp@hotpop.com
  18. maverick

    Floppy Drive Access ?

    This is a new install, but I can't seem to get the floppy drive to read or write ! any ideas how to unlock this ? it has a lock on the icon now, did I do this ? somehow ? thanks guys! &quot;Hacker by Heart&quot; saenzcorp@hotpop.com
  19. maverick

    Root Permisions ?

    Hey, How do I give myself root permissions ? so I can make changes... TIA &quot;Hacker by Heart&quot; saenzcorp@hotpop.com
  20. maverick

    LS -one page at a time ?

    Getting to know LINUX; How can I view the files and folders in a directory one screen at a time ? TIA &quot;Hacker by Heart&quot; saenzcorp@hotpop.com

Part and Inventory Search

Back
Top