Jump to content

QuickOldCar

Staff Alumni
  • Posts

    2,972
  • Joined

  • Last visited

  • Days Won

    28

Everything posted by QuickOldCar

  1. If you need to use or retain a multiple get query value use http_build_query
  2. You could use opengraph data per page and google use that instead.
  3. I always had them paste me links of sites they liked to get an idea their expectations and preferences in addition to examples I have available they can select from. Get some information what their site is for, what it needs to do. Don't explain the inner workings of everything or will waste lots of time. Some have no idea and is why seeking a professional, now it's your job to sell them yourself and your ideas with trusting your decisions. Programmers usually do functionality over design and designers do style over function. A web developer should be able to do both equally well and they work together.
  4. I would run malwarebytes on it to ensure not viruses. If problem still persists use process explorer to see what it is...then set those services to manual in administrative tools services.
  5. I agree with you, a lot depends on the specific applications intention. It's just a hard thing to do. you can try to eliminate most of the invalid but to ensure is always valid is harder. Takes a few steps and huge array to match against. ICANN releases new generic top level domains all the time, is over 1,300 projected ones http://newgtlds.icann.org/en/program-status/delegated-strings This is the list of the current root zones http://www.iana.org/domains/root/db Here is a list of top and second levels including the generic to check against This was made over a long period and was a pain to find them all. .abogado .ac .ac.ae .ac.cn .academy .accountants .active .actor .ad .ads .adult .ae .aero .af .africa .ag .agency .agent .ah.cn .ai .airforce .ak.us .al .al.us .allfinanz .alsace .am .amsterdam .an .android .ao .apartments .app .aq .aquarelle .ar .ar.us .arab .archi .architect .army .arpa .art .arts .as .asia .associates .at .attorney .au .au.com .auction .audio .auto .autos .aw .ax .axa .az .az.us .b2b .b2c .b2m .ba .baby .band .bank .bar .barcelona .bargains .baseball .basketball .bayern .bb .bd .be .beauty .beer .berlin .best .bet .bf .bg .bh .bi .bible .bid .bike .bingo .bio .biz .bj .bj.cn .bl .black .blackfriday .blog .bloomberg .blue .bm .bmw .bn .bnpparibas .bo .boats .boo .book .boutique .box .bq .br .br.com .broadway .broker .brussels .bs .bt .budapest .build .builders .business .buy .buzz .bv .bw .by .bz .bzh .ca .ca.us .cab .cafe .cal .cam .camera .camp .cancerresearch .capetown .capital .car .caravan .cards .care .career .careers .cars .cartier .casa .cash .casino .cat .catering .cc .cd .center .ceo .cern .cf .cg .ch .channel .charity .chat .cheap .christmas .chrome .church .ci .citic .city .ck .cl .claims .cleaning .click .clinic .clothing .cloud .club .cm .cn .cn.com .co .co.uk .co.us .coach .codes .coffee .college .cologne .com .com.ac .com.au .com.cn .com.tw .community .company .computer .condos .construction .consulting .contractors .cooking .cool .coop .corp .corsica .country .coupon .coupons .cpa .cq.cn .cr .credit .creditcard .cricket .crs .cruises .ct.us .cu .cuisinella .cv .cw .cx .cy .cymru .cz .dad .dance .data .date .dating .day .dc.us .dds .de .de.com .de.net .de.us .deal .deals .degree .delivery .democrat .dental .dentist .desi .design .dev .diamonds .diet .digital .dir .direct .directory .discount .diy .dj .dk .dk.org .dm .dnp .do .docs .doctor .dog .domains .doosan .durban .dot .download .dubai .durban .dvag .dz .earth .eat .ec .eco .edu .edu.ac .edu.af .edu.cn .education .ee .eg .eh .email .emerck .energy .engineer .engineering .enterprises .equipment .er .es .estate .esq .et .eu .eu.com .eu.org .eurovision .eus .events .everbank .exchange .expert .exposed .fail .faith .family .fan .fans .farm .fashion .feedback .fi .film .final .finance .financial .firm .firmdale .fish .fishing .fit .fitness .fj .fj.cn .fk .fl.us .flights .florist .flowers .flsmidth .fly .fm .fo .foo .food .football .forsale .forum .foundation .fr .free .frl .frogans .fun .fund .furniture .futbol .fyi .ga .ga.us .gal .gallery .game .games .garden .gay .gb .gb.com .gb.net .gbiz .gd .gd.cn .ge .gent .gf .gg .ggee .gh .gi .gift .gifts .gives .gl .glass .gle .global .globo .gm .gmail .gmbh .gmo .gmx .gn .gold .golf .google .gop .gov .gov.ac .gov.ae .gov.cn .gp .gq .gr .graphics .gratis .green .gripe .group .gs .gs.cn .gt .gu .guide .guitars .guru .gw .gx.cn .gy .gz.cn .ha.cn .hair .hamburg .haus .hb.cn .he.cn .health .healthcare .help .helsinki .here .hi.cn .hi.us .hiphop .hiv .hk .hl.cn .hm .hn .hn.cn .hockey .holdings .holiday .home .homes .horse .hospital .host .hosting .hot .hotel .house .how .hr .ht .hu .hu.com .ia.us .ibm .id .id.us .ie .il .il.us .im .immo .immobilien .in .industries .in.us .inc .indians .industries .info .ing .ink .institute .insurance .insure .int .international .investments .io .iq .ir .irish .is .it .iwc .je .jetzt .jl.cn .jm .jo .jobs .joburg .jp .js.cn .juegos .jx.cn .kaufen .kddi .ke .kg .kh .ki .kids .kim .kitchen .kiwi .km .kn .koeln .kp .kr .krd .kred .ks.us .ku .kw .ky .ky.us .kyoto .kz .la .la.us .lacaixa .land .lat .latino .latrobe .law .lawyer .lb .lc .lds .lease .legal .lgbt .li .lidl .life .lighting .limited .limo .link .live .living .lk .llc .llp .ln.cn .loan .loans .lol .london .lotto .love .lr .ls .lt .ltd .ltda .ltd.uk .lu .luxe .luxury .lv .ly .m2c .m2m .ma .madrid .maison .mail .management .mango .map .market .marketing .ma.us .mba .mc .md .md.us .me .media .medical .meet .melbourne .meme .memorial .men .menu .me.uk .me.us .med .mf .mg .mh .miami .mi.us .mil .mil.ac .mil.ae .mil.cn .mini .mk .ml .mm .mn .mo .mo.us .mobi .mobile .moda .moe .mom .monash .money .mormon .mortgage .moscow .moto .motorcycles .mov .movie .mp .mq .mr .ms .ms.us .mt .mt.us .mu .museum .music .mv .mw .mx .my .mz .na .nagoya .name .navy .nc .nc.us .nd.us .ne .ne.us .net .network .neustar .net.ac .net.ae .net.cn .net.tw .net.uk .new .news .nexus .nf .ng .ngo .nh.us .nhk .ni .ninja .nj.us .nl .nm.cn .nm.us .no .no.com .nom.ad .now .np .nr .nra .nrw .nu .nv.us .nx.cn .ny.us .nyc .nz .oh.us .ok.us .okinawa .om .one .ong .onl .online .ooo .or.us .org .organic .org.ac .org.ae .org.cn .org.tw .org.uk .osaka .otsuka .ovh .pa .pa.us .paris .partners .parts .party .pay .pe .pet .pets .pf .pg .ph .phd .pharmacy .phone .photo .photography .photos .physio .pics .pictures .pid .ping .pink .pizza .pk .pl .place .play .plc .plc.uk .plumbing .plus .pm .pn .pohl .poker .porn .post .pr .praxi .press .pro .pro.ae .prod .productions .prof .properties .property .ps .pt .pub .pw .py .qa .qc.com .qh.cn .qpon .quebec .racing .radio .re .realestate .realtor .realty .rec .recipes .red .rehab .reise .reisen .reit .ren .rent .rentals .repair .report .republican .rest .restaurant .review .reviews .ri.us .rich .rio .rip .ro .rocks .rodeo .rs .rsvp .ru .ru.com .rugby .ruhr .run .rw .ryukyu .sa .saarland .sale .salon .samsung .sarl .save .sa.com .sb .sc .sca .sc.cn .sc.us .scb .sch.ae .sch.uk .schmidt .school .schule .schwarz .science .scot .sd .sd.cn .sd.us .se .se.com .search .services .sew .sexy .sg .sh .sh.cn .shiksha .shoes .shop .shopping .show .shriram .si .singles .site .sj .sk .ski .sl .sm .sn .sn.cn .so .soc .soccer .social .software .sohu .solar .solutions .soy .spa .space .spiegel .sport .sports .spot .sr .ss .st .store .stream .studio .style .su .supplies .supply .support .surf .surgery .suzuki .sv .swiss .sx.cn .sy .sydney .systems .sz .taipei .tatar .tattoo .tax .taxi .tc .td .team .tech .technology .tel .tennis .tf .tg .th .thai .theater .tickets .tienda .tips .tires .tirol .tj .tj.cn .tk .tl .tm .tn .tn.us .to .today .tokyo .tools .top .tour .tours .town .toys .tp .tr .trade .trading .training .travel .trust .tt .tube .tui .tv .tw .tw.cn .tx.us .tz .ua .ug .uk .uk.com .uk.net .um .university .uno .uol .us .us.com .ut.us .uy .uy.com .uz .va .va.us .vacations .vc .ve .vegas .ventures .versicherung .vet .vg .vi .viajes .video .villas .vision .vin .vip .vision .vlaanderen .vn .vodka .vote .voting .voto .voyage .vt.us .vu .wa.us .wales .wang .watch .web .webcam .website .wed .wedding .wf .whoswho .wi.us .wien .wiki .williamhill .win .wine .wme .work .works .world .wow .ws .wtc .wtf .测试 .परीक्षा .佛山 .集团 .在线 .한국 .ভারত .八卦 .موقع .বাংলা .公益 .公司 .移动 .我爱你 .москва .испытание .қаз .онлайн .сайт .срб .бел .테스트 .орг .삼성 .சிங்கப்பூர் .商标 .商店 .商城 .дети .мкд .טעסט .中文网 .中信 .中国 .中國 .谷歌 .భారత్ .ලංකා .測試 .ભારત .भारत .آزمایشی .பரிட்சை .网店 .संगठन .网络 .укр .香港 .δοκιμή .إختبار .台湾 .台灣 .手机 .мон .الجزائر .عمان .ایران .امارات .بازار .پاکستان .الاردن .بھارت .المغرب .السعودية .سودان .عراق .مليسيا .شبكة .გე .机构 .组织机构 .ไทย .سورية .рус .рф .تونس .みんな .グーグル .世界 .ਭਾਰਤ .网址 .游戏 .vermögensberater .vermögensberatung .企业 .مصر .قطر .广东 .இலங்கை .இந்தியா .հայ .新加坡 .فلسطين .テスト .政务 .wv.us .wy.us .xj.cn .xxx .xyz .xz.cn .yachts .yandex .ye .yoga .yokohama .youtube .yn.cn .yt .yu .za .za.com .zip .zj.cn .zm .zone .zr .zuerich .zw
  6. I'll stick to what I said. Trying in any other way unless actually checking for top and second level domains in an array is only way have a chance determining if could possibly be a valid domain. aaaaa.aaa would be valid in the above code or any other regex unless also did the tld and sld matches
  7. I don't believe is a reliable way to do this unless you visit the said domain and confirm it can connect. Use curl to get the response code and make all 200 and 300 range responses as valid
  8. The only real test would be a live server and some real traffic running your specific scripts. It all matters, all it takes is one bottleneck. You want a decent network when using websockets. You have to pay attention to your polling and how much header data sending, which will increase the sizes and reduce latency. As long as you aren't doing live/real time data could look into caching responses to lighten a lot of the loads. Not having enough memory is always a concern, get as much as you can afford, plan to have extra for higher traffic instances. The cpu is not as much of a concern as I've seen servers at 100% all the time and keep working. At the same time you want a decent one that can do the work. ovh.com is a pretty good host with fair prices and reliable. They have the classic vps and also the cloud ones, if went cloud could easily bump up your plan but cost a bit more. I would never bother running a server less than a quad core and 4 gig of memory, preferably a dedicated. I see they have a vps under classic that's 4 cores,8gig memory and 100 gig storage for 22 a month. Just tossing a suggestion out there, if went with one of their awesome dedicated servers can sell off a few virtual dedicated or private servers to others and still have plenty for yourself for free or even a profit for yourself. https://www.ovh.com/us/dedicated-servers/range-2013/2013-EG-128.xml Is software to become your own host or management of virtual servers. virtkick archipel feathur solusvm virtpanel hypervm
  9. http://www.pendrivelinux.com/
  10. I would build an api using https, json responses, checking $_SERVER['REMOTE_ADDR'] and hard coding a relatively secure password. If multiple users can make a public and also private api key system. Make yourself a script acting as the front door. Include anything considered not for public view from outside the servers root folder if passes.
  11. From php.net is useful how to use sessions. http://php.net/manual/en/session.examples.basic.php
  12. Is this a custom CRM or a well known one? The little snippet does not help much as all we see is a simple array. If you changed those values and did not work is obviously more to this than just changing those words. Some things to think about... This could be part of a class or function that is using a prepared query with static values or expecting just what they coded it for. What is now setting $search['status']? A lot more information would be needed and code seen to determine what changes are needed.
  13. You need to echo it as well echo '</ul> </section>';
  14. Think this out and look what it's doing. $menuPai has no value unless define something right there or call on the function and insert it function category_tree($menuPai){ still has no value unless was set $q = "SELECT * FROM menuCAL WHERE idPai ='".$menuPai."'"; this could possibly use the function and have a value...the problem is you are within the same function you are trying to call upon category_tree($btnMenu['id'])
  15. The shortcut is Shift + V or can do Image > Change canvas size
  16. Where does $menuPai come from
  17. What is line 199 and 206 in index.php You can try adding this top of index page and get different error messages that may help. error_reporting(E_ALL | E_NOTICE); ini_set('display_errors', '1');
  18. Might be interested in three.js
  19. How about using webgl
  20. I also wanted to add you don't even check if all the post values are set and the expected content If assign a variable why aren't you using it in the query? Make sure every input is escaped going into your query $user = $_POST['user']; $idPai = $_POST['idPai']; Adding some error checking in this could help as well, don't do any mysql queries if any errors $errors = array(); if(isset($_POST['user']) && trim($_POST['user']) !=''){ $user = mysqli_real_escape_string($dbc, trim($_POST['user'])); } else { $errors[] = "No user"; } //and the rest of your POST values if(!empty($errors)){ //do the mysql query } else { foreach($errors as $error){ echo "$error <br />"; } }
  21. I'll try to do as much as can for processing and minimal in the html. In templates is usually more html and dabble the php where it needs it, but never breaking in and out just braces Sometimes I'd rather just echo out the html. <?php foreach ($objects as $object) { echo "<div class='object'>"; echo "<h2>{$object->name}</h2>"; if ($object->hasProperties()) { echo "<h3>Properties</h3>"; echo "<table class='object-properties'>"; foreach ($object->getProperties() as $name => $value) { switch (true) { case is_scalar($value): $printable = "(" . gettype($value) . ") " . $value; break; case is_array($value): $printable = "array(" . count($value) . ")"; break; case is_object($value): $printable = "object(" . get_class($value) . ")"; break; default: $printable = gettype($value) . ": " . @(string) $value; break; } echo "<tr>"; echo "<th>$name</th>"; echo "<td>$printable</td>"; echo "</tr>"; } echo "</table>"; } echo "</div>"; } ?>
  22. As for the error, error (Undefined variable: opened in …) does not help us at all, show the full error But is most likely you are using a variable that was never defined and does not exist.
  23. Your query is failing because of quotes missing You need to concatenate those like below or wrap them with curly braces. You omitted quotes for the key variables and also missing end parenthesis $q = "INSERT INTO menuCAL (header, url, user, idPai, menuNomePT, conteudo_pagina_PT, menuNomeEN, conteudo_pagina_EN) VALUES ('".$header."', '".$_POST['url']."', '".$_POST['user']."', '".$_POST['idPai']."', '".$menuNomePT."', '".$conteudo_pagina_PT."', '".$menuNomeEN."', '".$conteudo_pagina_EN."')";
  24. You can use this in the css overflow: scroll; Or can be specific x and y to hide one and scroll the other overflow-x: hidden; overflow-y: scroll;
  25. Be easier to show your html code and complete css for additional help. Do you have a divider and then a divider within for an image? Do you assign the class in the image's tag?
×
×
  • 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.