Jump to content

Pickle

Members
  • Posts

    84
  • Joined

  • Last visited

    Never

Everything posted by Pickle

  1. Hi thanks for your reply, I really appreciate the help You are right, the session.save_path is set to \tmp. They do give me the option to change the path to something else via their control panel. I will create a new folder and change the path and hopefully it will go back to normal. I have access to one level up from the document_root, so i will give that a go. Should i put a .htaccess file in there anyway? By creating my own folder, does this solve the issue of the session.gc_maxlifetime being a short value or would I need to ask them to increase this for me? I also read somewhere that it might be to do with virtual memory, is that correct? thanks again
  2. its on shared web hosting. thanks
  3. Hi Everyone I have a weird session issue going on and i'm not sure what is causing it. Basically any sessions that i set are randomly expiring sooner than they should be. As a test I did the following: <?php session_start(); if(isset($_SESSION['views'])){ $_SESSION['views'] = $_SESSION['views']+ 1; }else{ $_SESSION['views'] = 1; } echo "views = ". $_SESSION['views']; echo '<p><a href="testpage.php">Refresh</a></p>'; ?> If i continue to click the refresh button, i sometimes get to 30 and then it starts at 1 again. Other times ill get to 20 and then back to 1. It has also sometimes skips a couple of counts from 7 to 11 as an example in one click. Any one come across this before? I have been reading up online and some have mentioned PHP upgrades from php4 to php5 cause some issues and specifically the hosting company changing the session.save_path. If this was the case, it wouldn't even count to 10, would it? Any help would be really appreciated. thanks in advance
  4. hi mchl great!! thanks for your replies and help. i really appreciate it.
  5. Hi Mchl thanks for your reply. im not sure what you mean. do you mean i can specify the tables to have utf8 encoding and then they will support most languages? and then for table structure i can have the following? product_tbl prod_id, prod_img, prod_price etc etc prod_lang_tbl prod_land_id, prod_id, lang_id, prod_name, prod_desc and have all the languages for each product in my prod_lang table?
  6. hi just wondering if anyone had any thoughts on this? *bump*
  7. Hi everyone I am just doing some research into mysql and the languages it supports and thought it would be good to ask for some advice on this forum. I am planning on building a site in the near future and I want to build it in such a way that I can easily add the choice to read the site in other languages. After the research I have done, the plan is to have a product_tbl where all the common product fields will be kept. i.e. image, prod_id, postage_id etc then to have a separate table for each language which links to the product table, these separate language tables will keep all the text for each product, so prod_name, prod_desc. so for example: uktext_tbl with fields: uktext_id, prod_id, prod_name, prod_desc and the same for other languages. the reason i have chosen to keep separate tables for each language is because from what i understand, you need to set each table upon creation to accept certain characters. so i cannot just have a separate field in the product table for the each language i.e. prod_nameuk, prod_namegr, prod_namede, prod_descuk, prod_descgr, prod_descde. is that correct? I also wanted to keep everything on one site, i dont want to have a different site for each language and so i would need to change the charset within the html file depending on the language chosen by the visitor in order for the file to support the language being retrieved from the database. So my question is, does this sound like a good way of doing this? is there an easier/better way of working this? any suggestions on how to implement different languages into one website would be great. this is how i have figured it out in my head and how it would work best for what i want but obviously it would be great to have opinions from others more experienced in this type of website. thanks in advance
  8. hi does anyone else have any other thoughts on this?
  9. hi stephen thanks for replying, i was given the impression that setting folders to 777 permanently through ftp to allow file uploads was unsafe because it allowed others to upload malicious scripts to do damage to your site/database etc. is that what other developers do? set their folders to 777 and leave them like that?
  10. just to add to this, am i right in saying that i need to set the tmp folder and the folder that i move it to to 777. or does the move_uploaded_file function work even if the target folder is not 777? the hosting company have said that setting the temp folder to 777 and leaving all others the same is standard, thats how all other hosting companies make use of the temp folder. is that correct?
  11. hi everyone I'm not sure if this is the right place for this question but here goes: I am currently working on an image upload script and i wanted to set the permissions for the target folder to 777 within the upload script and set it back to what it was after, so that i dont up the security risks of the site. However the hosting company wont seem to allow me to use the chmod function to change the permissions. They keep saying i need to set the folders permissions to 777 with my ftp but this isnt safe right? is there some kind of work around in this situation? any help/advice would be great. thanks
  12. great!! thanks guys really appreciate the help
  13. hi thanks for the replies. xcoderx --> not sure what you mean by your reply.obvisouly i have all other browsers i want to test in i.e. ie8, firefox, opera, chrome etc but the issues is with ie and its many varying versions. i need to make sure they work in ie8, ie7, ie6 seventheyejosh --> thanks ill look into wine since im not sure about virtual machines. thanks
  14. ok cool, thanks neil, that helps alot. i think i just need professional indemnity then. great thank you
  15. yeah, thats what ive been doing so far but obviously the insurance guys tell me i need this and that but theyre trying to sell it so of course theyre going to say that. i want to make sure i actually need it before paying out monthly for something. im definite i need professional indemnity, its the public liability i am unsure of really. so you think at least 100K. ok thats lower than what ive been looking at so thats good.
  16. im in the UK, sorry i should have mentioned that, it obviously makes a difference.
  17. hi everyone i have a question about testing css in different browsers. basically so far i have been using the following to test my sites in different versions of ie. http://tredosoft.com/Multiple_IE however i have read in certain places that it doesnt actually work. in other words it doesnt show you the right output of your code compared to how it would show if you actually had a proper version of i.e 6 on your machine. i have also read about virtual machines but to do this you need resources which i dont have. what do you guys suggest in this situation? how do you usually test your sites to make sure theyre all good in most browsers? thanks in advance
  18. hi everyone im hoping you guys can give me some advice. I have just started out as a freelance web developer and i know that i should get some kind of insurance but i am unsure what i need exactly. what i have been looking at so far is public liability and professional indemnity. i have been told that i need public liability by law and i know that i need professional indemnity. does everyone on here agree with that? also how much should i cover myself for, i mean i have no idea how much a client is likely to sue for if something happens. any ideas? thanks in advance
  19. thats a bit harsh dont you think premiso? everyone slacked at school in one subject or another, as long as you prove that youve tried, started it at least, we can guide you.
  20. how far have you got with this? im sure we can guide you along the way but we cant do it for you.
  21. Pickle

    linux hosting

    hi guys thanks for replying. steviewdr - thanks for the list, very helpful. I have been using supanames but i dont thing their support is very good and their servers were hacked a while ago which meant my website was down for at least a couple of days which i wasnt too pleased about. they have also been bought out by 123-reg recently which i notice isnt on that list. so might try another company. thanks again
  22. Pickle

    linux hosting

    hi everyone not sure if im posting in the right place but does anyone know of any good hosting companies that dont cost a bomb? im looking for a good, reliable company that offer good linux hosting. thanks in advance
  23. thanks for your replies. this is exactly the issue, obviously i want to win the job so i want to be competitive. however i dont want to charge too little for it because then im losing out and also if i start off with a low price, future projects will expect to around the same mark. well i have sent my quote out detailing what i would charge and exactly what the price includes. so if i have underestimated then it shows on the quote what work i am expecting to do for the amount. hopefully i have avoided being overworked for the price. thanks guys for your help.
  24. Hi Avvllvva im not an expert in SEO but from what i understand the title is used to inform the crawling programs what your page is about, im not sure that changing it every week is a real benefit. As long as it is relevant to your page then its fine. I do know that the crawling programs/robots come back more often if it knows that your content is changed regularly. so it is a good idea to keep the content on your page up to date. The more often you change your content the more regular robots will visit your site. hope that helps a little.
  25. Hi everyone I'm just trying to get an idea of how much i should charge for a project. I have been asked to build a site thats about 4 pages but everything is content managed. So homepage, about us, contact pages are all editable from the CMS system that i will build to go with it. There is also a products section which is also manageable. How much would you say is a reasonable price for this? thanks in advance
×
×
  • 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.