Jump to content

Maq

Administrators
  • Posts

    9,363
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Maq

  1. I reference this site sometimes - http://www.adminschoice.com/docs/crontab.htm If you have cPanel, or some sort of interface your hosting provider gave you, then it should be relatively intuitive.
  2. Hey sorry, I was leaving work and couldn't respond. Glad you got it working, if you don't mind sharing your final code for others to reference that would be great. JScript is something entirely different than Javascript, although similar. I would suggest looking it up in wikipedia, as they can provide a better explanation than I. JQuery is a framework for Javascript that, IMO, is the most popular of frameworks. Hope that helps. wow ok im retarded lol. i thought jscript was just short for javascript. thanks for the correction. didnt realize all the versions. i will indeed after this post do a search to figure out the dif. the link i left was to the page i got the script and my issue was a z-index oversight. thanks for checking back. Hehe, yeah they all sound similar. JQuery is really nice if the methods do exactly what you want although most of the documentation isn't very verbose. Other than that I love the framework, powerful, easy to use, low learning curve and really cuts the code down. Hmm, if you were having trouble with the z-index than the div was probably layered below your main content.
  3. Hey sorry, I was leaving work and couldn't respond. Glad you got it working, if you don't mind sharing your final code for others to reference that would be great. JScript is something entirely different than Javascript, although similar. I would suggest looking it up in wikipedia, as they can provide a better explanation than I. JQuery is a framework for Javascript that, IMO, is the most popular of frameworks. Hope that helps.
  4. I had to do something recently like this for work but not for the duration of the page load. You can create a div containing the following properties, or something of the sort: div#grayout { position: fixed; top: 0px; left: 0px; width: 100%; height: 100%; z-index: 99; display: none; background-color: black; filter: alpha(opacity=40); opacity: 0.8; } You can use native JQuery methods to show and hide the div before and after page load. May I ask why not?
  5. FANTASTIC. now thats usefull info. Most of use gave you the same useful information, use more space. Indeed. These are all suggestions, opinions, criticisms, etc... you don't have to implement them, you could use them to spark other ideas, you could completely disregard them. No one is trying to degrade your site in any way, just ways we think could make it better.
  6. Good. I don't think any of us are saying that. I thought having more content, and by content I mean links, to other pages so you don't have to have an overwhelming amount of content on the landing page. That way, if they are interested they have the option of clicking for more info. I would like to hear your logic of how a portfolio with links to other websites counts as content. When it directly has nothing to do with your site or explains anything about you or your business. This is a standard for freelancers, they all have this. I understand the concept of minimalism and keeping the landing page short and sweet. But if people are interested they are going to want to at least click to other pages for more information. I think the contact information is perfectly fine where it is, but for the ease and convenience of the user and yourself, it would be nice to link to a separate page that has your own custom contact form where you can require and validate certain information.
  7. You have misspelled, "Management", in the same line as your other mistake. Spelling mistakes are something clients obviously look very down upon. Makes you look like you're either too lazy, or incompetent to spell or even correct your spelling. EDIT: You also misspelled "Wikipedia" twice. Like akitchin mentioned, you should be using more real estate. Why not? I agree with your statement, "Statistics demand I have 15 seconds to get your attention or you will lose interest and move on.", but that doesn't mean that if they're interested they won't come back and want to check out the rest of your site. I would suggest looking at some other freelance sites to see what content they have to offer. Get rid of the binary background, looks to 90ish and it's a distraction. Overall it looks like you were too lazy to include any more information and the site was made within a 5 hour span. It has potential but needs some work.
  8. Good point.
  9. How is it not working? One thing I noticed is that you're using distinct on "id". If id is unique then it won't work...
  10. How can I find crontab file? You don't have to, it will automatically open it for editing.
  11. You have to scroll over to view all the products in the "Computer Systems" link. From the "Computer Systems" link, when you click on many of the view product options the "spec" column is to narrow. http://adroitbusinessmachines.com/ComputerSystems.aspx#cat=28 There's a lot of annoying ads that right now most likely won't generate any revenue. I would suggest removing them , until you have a big traffic base, since they really don't bring anything positive to the table and just eat up real estate, page-load time, and my patience. IMO, the site isn't bad, just a few minor tweaks.
  12. Yes. There is a JS function called onSubmit, where you can invoke a function to check your input values and handle your form validation/errors. ie: </pre> <form action="<?php%20echo%20%24_SERVER%5B'PHP_SELF'%5D;%20?>" id="blah" name="blah" onsubmit="return validateData()"><
  13. 1) If you look in the manual: 2) Patterns require delimiters (~, or any non-reserved keyword in regex. 3) You were missing a semi-colon after the $title declaration. 4) Instead of blacklisting, just explicitly put in apostraphy. 5) Use code tags. 6) I think you meant to say, "stripped" not "striped". $title = "This Suck's"; $stripped = preg_replace("~'~", " ", $title ); echo $stripped; ?>
  14. You should check it server side and client side. To avoid submitting to the next page, just submit the page to itself. With javascript you can utilize onSubmit and inject some HTML in the page if the checkbox isn't checked.
  15. Inserting raw POST values? You should really sanitize your input before you learn that hard way.
  16. It's not an "alternate syntax" for the desired results. That would imply that using LIMIT 10,20 would yield the same results as LIMIT 20. Which it doesn't. Using LIMIT 0,20 would be considered an alternative syntax.
  17. Like mrMarcus already mentioned, the JQuery framework already handles AJAX calls, you just have to implement it.
  18. Why would he want that?
  19. LIMIT 20
  20. I don't know, but for me, that doesn't work... Are you running it in the command line? It won't work there, although it will in the browser.
  21. You're going to need a form with your 3 input fields and upon submission have them processed and sanitized. You have to query the database and have the results returned that meet the criteria. So in essence you have 3 major parts: 1) The UI for the form with all these input fields and submit button. 2) A something to process the input server-server (perhaps a separate .php page) and query the database. 3) Something to handle the results. Seems like you already have results working for the left navigation categories. You may be able to tweak it to handle your new custom search, but that's impossible for me to tell.
  22. What exactly do you need help with? You're asking for something very vague. You're also in the "PHP Applications, Frameworks and Libraries > Third Party PHP Scripts" section. I suggest segmented this thread into at least 2, one for MySQL, and one or more for your actual PHP coding help. I'll move this to PHP Coding Help for now.
  23. Javascript has a native function for this: http://www.w3schools.com/jsref/prop_nav_cookieenabled.asp
  24. I think he's referring to this: http://www.google.com/cse/?hl=en
  25. Maq

    Religion

    That's not 'only' what science does.. You're not exactly using the terminology correctly either. A theory is something that has already been proven and verified by different individuals and groups not directly related. Whereas an hypothesis or more or less an educated guess. Actually I think you're confused. A theory does not imply fact, it is merely and explanation or proposal based on principles and other known facts, the theory itself is not proven, rather accepted. Although I do agree that a hypothesis is the lesser of the two, but are commonly used synonymously.
×
×
  • 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.