Jump to content

spiderwell

Members
  • Posts

    1,008
  • Joined

  • Last visited

Everything posted by spiderwell

  1. why not remove all the nested functions, and do the str replace on its own first once that is working start putting the lowercase and stripslashes back in one at a time
  2. this, then you are sorted (in theory)
  3. to have actual text overlayed on an image, you need to maybe use this tutorial: http://www.phpfreaks.com/tutorial/php-add-text-to-image
  4. why on earth would you use iframe to change one image at a time!!! simple javascript can more than easily do it
  5. i know, i know, i just wanted a small rant about it. i feel better now
  6. you are not being thick, I don't know how to do it either, otherwise I would have given you a code snippet its not the simplest of things to do.
  7. this came up the other day on here, post by double dee i think. all the suggestions above were stated in that post too. I think the session idea is best, combined with the redirect to really lock it down. wonder if you can remove/reset browser history in javascript, and prevent back being pressed, hehe now that would be cool
  8. if all you are doing is writing out a string depending on an outcome in javascript, why not use javascript to write out the string and keep the whole thing in one language? just an idea...
  9. wrap it around the string to lower would work, or around stripslashes or around $row['']. There is probably a very small difference in execute time, but the differences would be marginal as to be un noticeable.
  10. theres no reason why not, I am pretty sure each area defined on an imagemap can be given an alt/title attribute. however it will probably involved some javascripting to be acheived
  11. bloody IE it really annoys me how they have flooded the marked with their completely useless browser and caused us so much grief. personally I think all webmasters (for want of a better word) should stop coding for IE and cause a revolution
  12. you lot need to get out more. imagine if phpfreaks went down for this length of time
  13. oh i thought you already got it! good luck with the outcome
  14. it might take a bit of time due to size, but you havent got any other options since its not stored in a database. reading textfiles is quite simple in php. simple tutorial additional reading
  15. i would read the text file line by line for starters. then you would need to use substr() or strpos() to identify where the token is to extract it, proably combined with regular expressions. and do the same for the runtime. although looking at it closely, if its always presented in that format, you could use explode and use colon : as the delimiter, that would also work. as you extract the run times, pass them to an array and use array_sum() to get the final number you are after
  16. and dont forget there is a file size limit in your code also. I know that sounds obvious, but sometimes the obvious things get overlooked
  17. good luck, and of course come back here if you get stuck, we are all happy to help
  18. i agree with above, a real missed opportunity to have pipes in the design. have a look here, some quick slick plumbing sites: http://www.frontendtech.com/plumbing-web-design.html dont ask how i found that as im not really sure
  19. well i will state that anyone in europe, and definately in the UK, will probably say what i said since our money is pound sign £££££ and so when i saw that I was like WTF? lol dont take this the wrong way, buy why does america have to change everything to suit them and ignore things that have been in place for years. i cried when i discovered they got sulphur changed to sulfur, bad day for science. the pound was very well established long before computers or perhaps before the name hash came around, at least when refering to that symbol, rather than the drug of course! ok rant done, but since you are going to be offering this site globally (hey it is the internet after all), perhaps its worth stating its also known as hash, but will be refered to as pound herein. so readers get to know about both, i quite like octathorp myself!
  20. this is why the matrix needs building, logins are so 21st century
  21. the fact is should been a while not a for each? who cares he got the job!!
  22. if you want to read a file on your server use fopen() i linked a simple example not sure why you have md5 in your code, as thats for hashing passwords
  23. i think what you are suggesting is fine really, it would put off most casual attempts to break in, and like stated, how 'important' is your site, is it really going to attract people who want to access the data, its not like you are a bank or the playstation network
  24. when i pageinate, that sounds odd for a start, anyway back on subject, i often use a select box to apply the filter, then grab it when form posts to itself (the pagenation page). but to keep the pagenation working you need to add an extra value to the string, so ?page=1&type=action. what you are describing is a filter not pageination, but you can combine the 2 . pageination shows several pages of the same dataset, changing category changes the results.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.