Curtis Thompson
Forum Replies Created
-
hello…
this is a slightly tricky thing to do in javascript, but certainly doable – here’s a script that will get you started:
https://www.javascriptworld.com/chap13-4.html
basically the concept is that you get utc (gmt) time and you subtract a specific amount of hours from it and then you have the time in that zone – that part is relatively easy, so the trickiness comes in making sure that you adjust for dst and the likes. i found the above script as an example and it will get you started, but just keep an eye on anything you do come this fall – or do research time zones in javascript, as it is relatively simple to write a function that determines if you are in dst or not and adjust clocks accordingly…
lemme know if you have additional questions!
sitruc
-
hello…
yes – php, jsp, perl, etc. (any scripting language) can read a text file and place the contents into an html block any time a user loads up that page…
if you are comfortable with scripting, you can start with the most likely viable candidate, which is php:
hope that helps!
sitruc
-
hello…
not free but certainly a fantastic resource that does just what you are looking for:
https://www.totaltraining.com/
other than that, you can find a lot of resources online with a bit of creative searching – adobe themselves have some really good tutorials as well…
hope that helps a bit and good luck!
sitruc
-
hello…
i understand that you can’t divulge site details, but with what you have provided here, i will say that for 100 man hours, you will not be able to get a cohesive “single site presentation” (i.e. you take a collection of open source and customize it to all look like your look and feel)… :-/
(my logic being this – 100 hours = 2.5 weeks full time work, and there’s no way i’d promise you that i could do that in 100 hours, and i most certainly have the skillset to do it. you have research, implementation, customization, testing, etc. etc…when i multiply that by you wanting a “social networking site” (even a simple version of that is not simple), a shopping cart (again – options galore, let alone if you want people to be able to sell with it) and a forum, there’s no way that 100 hours would cover that)
i’m not trying to be flippant or in any way solicit work from you here – just being honest with you. again, i have no details, but based on description alone, a larger more organized web shop would probably charge you in the few dozen thousands of dollars for this, and if you got a single individual to do it, they would probably be at it for at least a few months…
(your big ifs here are users being able to sell products to other users, what they can buy/sell to begin with and the social networking aspect – those are not small pieces of code, so you have to assume the worst from the start)
sitruc
-
hello…
didn’t see stripslashes in there, so not sure where you tried, but this line looks like a potential candidate:
$contents=$_POST[‘contents’];
so i’d make that:
$contents=stripslashes($_POST[‘contents’]);
basically get rid of them in any variable you want to before you save it to the file and you should be ok…
sitruc
-
hello…
w/o knowing your scripting language, it’s hard to be perfectly accurate, but this looks like php’s old magic quotes issue – try this function:
https://us.php.net/stripslashes
hope that helps!
sitruc
-
hello…
alas this is almost impossible to answer with a single number or even a mile-high estimate – the big things that you toss out are:
– users able to buy and sell stuff
– community forum
– like facebook/myspaceit is completely impossible to even give you an idea for cost of that based on the description you’ve provided. there are way too many variables in there to say what it would run… 🙁
for example – you could cobble together a bunch of open source solutions (bbs, shopping cart, etc.) and keep costs lower, or you could spend thousands and thousands of dollars to make a completely comprehensive experience.
[Daniel Elder] “So I’m wondering what it would cost to get something done like this, flat fee or hourly? And who I could or should look at when deciding who I want to put money towards?”
based on what you’ve described, you need to come up with your own budget for what you’re willing to pay for this project – then, you might want to try to hit up friends or colleagues to find out if they’ve had anybody do web stuff for them that was somewhat complex like this. you’d probably want to find someone local to you, so perhaps look up web shops in your area. however, if you go with a full shop, you should be prepared for some sticker shock. don’t give them your budget, but rather meet with them and tell them what you want and let them tell you what it would cost…
hope that helps – i’m glad to try to give you more specifics, but with what we have here it’s really hard to say much more…
sitruc
-
hello…
[Alexander Kallas] “My thoughts were that it is reading some undeleted files”
ahh – and by “undeleted” you mean non-completely destroyed files? that would be almost impossible – files are deleted from the file system and the fs won’t use them again…they just might be findable if you took the drive to a recovery specialist…
sitruc
-
hello…
[Alexander Kallas] “So what is the best option for a clean external media drive in Panther?”
this really totally depends on your needs – trashing a file erases it just fine…the only difference that secure offers is that it renders the file unrecoverable should someone take your drive to a recovery center or the likes…
(and even plain erase after a while makes it unrecoverable – the secure just intentionally writes junk over the spaces the file took up right then and there, whereas over time the computer will use that space again and again which is the same thing in the long run)
if you have data on that external drive that is sensitive, i’d consider encrypting the volume with on-the-fly encryption with something like truecrypt – that way nobody can read the data to begin with…but if you just have plain old files on there, a simple empty trash should suffice…
sitruc
-
hello…
secure empty trash writes random data over the space the file took up on the hd numerous times to help ensure that nobody can recover the file later…
just erasing a drive with a simple format will require that the drive be taken somewhere to recover data, but you can also use the secure erase options with disk utility:
https://docs.info.apple.com/article.html?artnum=303462
which might have been what you were talking about – but yes – in the end secure erase and secure empty are doing the same thing, which is writing random data over data to ensure that the original data cannot be recovered…
sitruc