-
Posts
1,008 -
Joined
-
Last visited
Posts posted by spiderwell
-
-
so no shootem ups then...
-
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
-
Just copy the table over to your `main` database.
this, then you are sorted (in theory)
-
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
-
If you only want to display one at a time, an easier and still standard way is i-frames.
why on earth would you use iframe to change one image at a time!!! simple javascript can more than easily do it
-
i know, i know, i just wanted a small rant about it. i feel better now
-
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.
-
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
-
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...
-
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.
-
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
-
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
-
you lot need to get out more.
imagine if phpfreaks went down for this length of time
-
oh i thought you already got it!
good luck with the outcome
-
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.
-
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
-
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
-
good luck, and of course come back here if you get stuck, we are all happy to help
-
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
-
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!
-
this is why the matrix needs building, logins are so 21st century
-
the fact is should been a while not a for each?
who cares he got the job!!
-
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
-
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
php in onclick
in PHP Coding Help
Posted
try onClick its case sensitive
also you might need
onClick='javascript:locaion.blah...