Posts

HTML Form Validation Using PHP

i have html forms want validate using php. i've been told should validate them posting them separate php file, rather including php code in html document (as save source, amend php validation able input anything). pointers on validating following great: - form have letters , numbers - date form correct format (dd/mm/yyyy) - form not blank if correct, proceed add these database. however, having validation outside of html itself, how give error message highlighting form had data in incorrect form?   you'll want create whats called sticky form. you'll need create php file instead of regular html-only file behaves differently if responding post rather request. validations can exist in same file form. you'll need use php functions , regular expressions perform validations on post parameters. if post passes validation continue, otherwise re-render form ...

[Concept] Notification toggles

Image
many people disappointed @ how there still no toggles in ios. here crude mockup wouldn't need separate interface add toggles. long press settings icon , little portion of notification center slide down allowing drag toggles there. in true apple fashion, able put 4 toggles there sorry, don't know how make image less wide in these forums [thanks mods changing img tag timg there way change width pixel number in html?] fresh pie making concept video (see post #35 in thread) http://www.youtube.com/embed/kcedayglghu   kockgunner said: ↑ many people disappointed @ how there still no toggles in ios. here crude mockup wouldn't need separate interface add toggles. long press settings icon , little portion of notification center slide down allowing drag toggles there. in true apple fashion, able put 4 toggles there image sorry, don...

SplitView Pass from Master to Detail Issue

i trying convert ipad app using tab bar controller root view using split view controller it. code in appdelegate.h is: code: @class rootviewipad; @class webviewcontroller2; @interface appdelegate : nsobject <uiapplicationdelegate, uisplitviewcontrollerdelegate> { uiwindow *window; uisplitviewcontroller *splitviewcontroller; } @property (nonatomic, retain) iboutlet uiwindow *window; @property (nonatomic, retain) iboutlet uisplitviewcontroller *splitviewcontroller; @end the .m is: code: #import "appdelegate.h" #import "webviewcontroller2.h" @implementation appdelegate @synthesize window; @synthesize splitviewcontroller; - (bool)application:(uiapplication *)application didfinishlaunchingwithoptions:(nsdictionary *)launchoptions { self.window.rootviewcontroller = self.splitviewcontroller; [self.window makekeyandvisible]; return yes; } i use ib set up, , adde...

Trying to justify buying a ipad but have a few problems.

Image
ok of things on iphone on ipad listen audiobooks (not apple) play games @ same time (well games don't this) watch movies. thing riding bus work playing game , listening book. work , use iphone listen books while working. have manually sync iphone. don't think there way around this? games use icloud able play them on phone on ipad , take off left off?   steve knight said: ↑ ok of things on iphone on ipad listen audiobooks (not apple) play games @ same time (well games don't this) watch movies. thing riding bus work playing game , listening book. work , use iphone listen books while working. have manually sync iphone. don't think there way around this? games use icloud able play them on phone on ipad , take off left off? click expand... yes that's biggest draw icloud. can sync books, games, photos, docs multiple ios devices o...

Back up disc

hi all. not technical , old bear me. have got new mba , decided various reasons transfer files etc old mbp gradually, , manually, not using migration/set assistant. possible delete backups external disc (wd passport mac) , use backups new mba? if how go it? all.   if want delete old backup, delete files? if running error "can't delete", open applications -> utilities -> disk utility , erase western digital drive. (note: delete every file on drive.) start backups, open time machine , turn on. more advanced. can have multiple time machine backups on single drive. can browse other backups time machine application.   Forums Macs Notebooks MacBook Air iPhone Mac OS & System Soft...

is there a problem with my airplay buffering?

i wonder if having issue or if normal behavior airplay. when play through airplay video recorded iphone or ipad, buffers. buffer half video start playing. buffers again toward end. may normal annoying. netflix plays fine. buffer well. of time have no problems connecting apple tv. when reboot phone/ipad. have apple tv connected wirelessly via wireless n. problem or there problem @ all?   Forums Apple TV Apple TV and Home Theater iPhone Mac OS & System Software iPad Apple Watch Notebooks iTunes Apple ID iCloud Desktop Computers Apple Music Professional Applications iPod iWork Apple TV iLife Wireless

Apple Wins Preliminary Injunction Against Samsung Galaxy Tab Sales in U.S.

Image
reuters , allthingsd report u.s. district judge lucy koh granted preliminary injunction against sales of samsung galaxy tab in u.s. ruling latest in ongoing legal battle between apple , samsung. apple had accused samsung of copying design of apple's ipad , iphone products. apple has sought , won injunctions against sale of same samsung tablet in other countries. reported allthingsd , new ruling stated: quote "although samsung has right compete, not have right compete unfairly, flooding market infringing products," koh wrote in order, adding strength of apple's case on merits left no choice grant injunction. "while samsung suffer lost sales issuance of injunction, hardship apple of having directly compete samsung's infringing products outweighs samsung's harm in light of previous findings court." click expand... samsung appeal preliminary injunction order go effect onc...