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

    count $_FILES upload fields

    Hi guys, Im getting insane. I can't get it working. What i want to do is count the amount of files in the post. I've got 8 file fields. Pic 1: <input type="file" name="item_file[]"> Pic 2: <input type="file" name="item_file[]"> Pic 3: <input type="file" name="item_file[]"> Pic 4: <input...
  2. TanTrazz

    Send mail with multiple attachments

    Hi guys, Im making a mailform with attachments. It works with the code below for one attachment. But i want to have 2 attachtments attached. Does someone know how i can do it? <?php // Your e-mail adress: $mailto = "naam@sitenaam.nl"; # Maximum size of attachment in bytes: $max_attach_size =...
  3. TanTrazz

    Loop insert Query

    Hi all, Im trying to insert records trough an loop but it won't work. Here is my code SET RSBtkt = MyConn.execute("SELECT * FROM TABLE") WHILE NOT RSBtkt.EOF InsertA = "INSERT INTO Table(cell1, cell1, cell1, cell1) VALUES ('"& RSBtkt("cell1") &"','"& RSBtkt("cell2")...
  4. TanTrazz

    Send SMS Siemens M20 Modem

    Hi All, Im trying to send an sms with via trough an Siemens M20 Modem but i can't get it working. This is my code: Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) Private Sub Form_Load() MSComm1.Settings = "9600,n,8,1" 'Change this with the Baud rate of your modem...
  5. TanTrazz

    Array Filling

    Hi all, I've got an array with max 4 values. But all 4 values must be filled with a number. Is it possible to fill the array with for example a 0 (zero) value? or maybe with an if statement? Test = Split(ids, ",") Here i split the ID's. if there are only 2 values are clicked there would be...
  6. TanTrazz

    Validate Multiple Select Box

    Hi All, Does someone know how to validate an multiple selectbox? I want to max the selection to 4. When they select the fifth they have to get an message which tell them they can only select 4 options. <form method="_GET" action="post.asp" name="form1"> <select name="ckb" size="20"...
  7. TanTrazz

    DB + Math

    Hi All, Question: Ive got these values in a MYSQL db. ID Value1 Value2 Value3 1 7250 1000 50 2 9357 2000 100 3 10258 3000 150 4 18790 4000 200 What i want to do is calculate the differences between 1 and...
  8. TanTrazz

    DB Values + Math

    Hi All, Question: Ive got these values in a MYSQL db. ID Value 1 7250 2 9357 3 10258 4 18790 What i want to do is calculate the differences between 1 and 2, 2 and 3, 3 and 4 etc. The output would be: 1 2107 2 901 3 8532 Does someone knows how to do this in PHP...
  9. TanTrazz

    Count last value + next value and so on

    Hi All, Im creating a graph in asp. What i want to do is count the previous value + next value and so on. Example: ------------------------------ | ID | Name | Price | ------------------------------ | 1 | cars | 122 | | 2 | toys | 90 | | 3 | games |...
  10. TanTrazz

    Withevents &quot;BC30506: Handles clause requires a WithEvents variable&quot;

    Hi all, Ive got a problem... I made a ASP.NET webpage. When i run it i've got this message: --------------------------------------------------- Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error...
  11. TanTrazz

    Selectbox problem. No data.

    Hi All, Need help by filling SELECT Box. The problem is the data won't appear in the selectbox. It won't work. The data is in a database. //Database Connectie $conn = odbc_connect('ims',"","") or die("Couldn't connect to datasource."); //dropdown $onderwerp = "SELECT...
  12. TanTrazz

    PHP and MS Access Login script

    Hi all, I want to make a connection with ph and MS Access. But it wont work. I've printed the query on the screen and the login name and password are correct. Its a DSN connection. I don't know what's wrong. Here is the code: ------------------------------ <? if ($Submit) { $conn =...
  13. TanTrazz

    Secure my login script with MD5?

    Hi all, Can someone help me to secure my login script to MD5? Here is the script: ------------------------------------------------------- <? if ($Submit) { mysql_connect("localhost", "root", ""); mysql_select_db("db"); $LoginNaam = addslashes($LoginNaam); $LoginPassword =...
  14. TanTrazz

    XML crashes on ë ü é etc. in text

    Hi all, I've made a script in PHP that will get information from a database and puts it in xml. This is working fine, but only when it has an é ü etc. in the text it crashes with the message: Illegal character found in text..... Whats can i do about it..... TnQ TanTrazz
  15. TanTrazz

    XML crashes on import from php

    Hi all, I've made a script to import data from a mySQL database into xml. Somethimes it crashes because of characters like '&' etc. Very annoying because ill have to delete the characters myself by hand...... How can i fix it??? here is the code <?php header("Content-type: text/xml"); //to...
  16. TanTrazz

    Mailform abuse by spammers

    Hi all, I've got a simple php mail() script on my website. Everyday i recieve 10 email, send within a minute, which all are empty. I've made an script which checks if the required fields are filled in. And it works i've checked it. How can i block this spammer? Found a script which make a...
  17. TanTrazz

    Delete records at once

    Hi all, My email form is used for spamming. I've fixed it but the values filled in are all stored in a database... All the fields are filled in with the same values. How can i delete them all at once. The server has an old version of phpMyAdmin so i cant check them all... does someone have a...
  18. TanTrazz

    Log visited pages per IP Address

    Hi all, What i want to do is track the users who are visiting my website. Which pages they visited and where they exit etc. The informatie, i think, shall be stored in a session. I've tried a lot of thins but i can't get ik working. Can some plz help me with a script or an tutorial? TnQ TanTrazz
  19. TanTrazz

    Dropdownbox value +delete weeks

    Hi all, Ive made a script to delete data from a table depending on the week number. The weeknumbers are stored in the database. This is the script: if ($deleteweken==1) mysql_unbuffered_query("DELETE * FROM test WHERE weeknummer = '".$_GET['weeknummer']."'"); <select name="weeknummer"...
  20. TanTrazz

    Auto complete words in an textarea

    Hello all, I've found an script on the internet witch autocompletes words from an array. This only works for the first line in a textarea. the question is how can i make it work on multiple lines??? Here is the script <script LANGUAGE="JavaScript" type="text/javascript"...

Part and Inventory Search

Back
Top