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

    problem with div layout in IE and firefox

    I wanted to create a layout with a column on the lift with 100px width (this because of a fixed width background image. 2 headers rows starting on absolute positions under that and then the main window which goes from 100px to 5px to the right and 50px from the bottom. I can't get the bottom...
  2. hos2

    problem with layout divs in IE

    I wanted to create a layout with a column on the lift with 100px width (this because of a fixed width background image. 2 headers rows starting on absolute positions under that and then the main window which goes from 100px to 5px to the right and 50px from the bottom. I can't get the bottom...
  3. hos2

    which extension for php files ??

    I was wondering what the difference is between index.php and index.php3 ?? what file extension is now commonly used for php files ??? perhaps a silly question but I can't find the answer to it
  4. hos2

    Form validation with MYSQL -PHP

    http://www.tek-tips.com/faqs.cfm?fid=6065 I have written a FAQ on how to do this. since my email adress is wrong where comments can be send to and I can't change it since my other email is already in use in some strange way I ask it this way if there are any comments for improvement
  5. hos2

    possible to get the fieldname past to a function...

    is it possible to retrieve the fieldname that is passed on to a function instead of the value ?? if I have a function like function filledin($naam){ if ($naam <> "") {return 0;} else {return 1;} } and I use it like filledin($name1); filledin($name2); filledin($name3); can I also retrieve...
  6. hos2

    how to execute code in a variable???

    I'm building a form validation script and I was wondering if it's not possible to enter all the validation rules in a table with a few fields - formfieldname - validation - commentiffalse in the validation field I put any php code I like, even selects on tables for validating if a name is...
  7. hos2

    performance left outer join very poor

    I changed a query from an equal join to a left outer join but then the performance is suddenly 10 times as slow ?? Is this normal or do I miss something ?? old code $query1="SELECT * FROM "; $query1=$query1 . "clienttable,contacttable AS co1 WHERE co1.coclid=clid "; $query1=$query1 . " AND...
  8. hos2

    remove post variable from array

    I can loop through all the post variables like while ( list($field, $value) = each ($HTTP_POST_VARS)) { if ($field <> "Submit" ){ if (is_array($value)){ $arrayLength = count($value); $temparray=array_values($value); for ($i = 0; $i < $arrayLength; $i++){ $temp=$temp...
  9. hos2

    changing default date presentation

    is it possible to change the presentation of a date field by default. now it's default presented as 2004-12-31 and I want to see 31-dec-2004. I know how to do it for each date seperately but I was wondering if you can also change the default presentation for the whole system
  10. hos2

    why is time 24:00 or 00:00 not possible ?

    I have a time field but the input 24:00 or 00:00 is not allowed ??? is that normal ?
  11. hos2

    Why isn't $_SERVER['HTTP_REFERER'] not working in functions

    I try to log certain input atempts. when I use $ua=$HTTP_SERVER_VARS['HTTP_USER_AGENT']; $qs=$_SERVER['QUERY_STRING']; $ref=$_SERVER['HTTP_REFERER']; $query=&quot;INSERT INTO SYSLOGTABLE(SLIP,SLHOST,SLDATE,SLUA,SLREFERER) VALUES('$host','$ip','$datum','$ua','$ref')&quot;; it works fine but...
  12. hos2

    how to loop through post vars ??

    I want to turn of globals so I can't use the variables straight away and want to use $name=$_POST[$name]; method but how can I loop thourgh all the post vars so that the variable name get's the value of the variable ???
  13. hos2

    Problem with uploading query ?

    I try to upload an SQl backup file through phpyadmin. the file is 100MB in size. it seems it get stuck all the time at 128 KB. how do I get the file from my PC bacl to my crappy hostingprovider ?? or is this a problem at the hosting ???
  14. hos2

    where was that hosting..

    that someone mentioned with 1000MB webspace for $7 in the month. I know it was mentioned in a topic when someone asked for a hosting. due to a big screw up at my current hosting I think it's faster to move my backups to a new one instead of waiting until they have fixed everything :( :( :( :(
  15. hos2

    problem with sessions ??

    I use an sessionid for each user on my forum. when someone posts a link from my forum the sessionid of that user is also in the url which causes that anybody who clicks on the link is logged in as the user who posted the url. how can I prefent that sessionids are visible to other users ??
  16. hos2

    How to use functions on forms

    I have a form which uses the sqlaction.php3 when submitted. I was now wondering if I could not incorporate it as a function and that after finishing the function the same page is reloaded where it was submitted on ?? Is it possible/recommend to use functions instead of files to execute ?? or...
  17. hos2

    how to replace an url in a string

    who knows the easiest way to replace an url in a string so that it becomes an url when loaded again so bbla bla bla http://www.mywebsite.com blabla translate to bbla bla bla <a href=http://www.mywebsite.com >http://www.mywebsite.com</a> blabla after the url it's possible to have a return...
  18. hos2

    Have the same row twice in same query

    I have a table where I keep up the mutations in rooms and renting rooms for faculties. the format of the table is id roomnr client startdate enddate area now I want to make a grouping per client and per month what a client gained in area and what has diminshed If I group on year-month of...
  19. hos2

    problem with number format

    I'm building an order system where I want to show the money in decimals. this works fine in some cases but in a few other cases it doesn't work like the way I do I multiply the quantity with the cost like $totaal=number_format($orlqty*$orlcost,2,',','.'); in some cases the value is what it...
  20. hos2

    problem with time values

    I have a mysql database where I have a time field. when the timefield is displayed like $orlstarttime=$row[&quot;orlstarttime&quot;]; print&quot;<td>$orlstarttime<br></td>&quot;; I also see the seconds. and I just need the hour and minutes. when I try something like...

Part and Inventory Search

Back
Top