For PHP:$_SESSION[‘kt_login_id’] = $tNG->getPrimaryKeyValue(); $_SESSION[‘kt_login_user’] = $tNG->getColumnValue(‘name_usr’); For ASPVBScript:Session(“kt_login_id”) = tNG.getPrimaryKey Session(“kt_login_user”) = tNG.getColumnValue(“name_usr”) SET Trigger_Custom = Nothing For ColdFusion:SESSION.kt_login_id = tNG.getPrimaryKeyValue(); SESSION.kt_login_user = tNG.getColumnValue (“name_usr”);
Monthly Archives: July 2010
Zoom in on a Web page
Zoom in on a Web page With Microsoft Internet Explorer 7 you can make Web pages easier to read by magnifying the page (zooming in). If you zoom in, everything on the Web page will be magnified (including text, images, and controls). Zooming will change the magnification of the Web site, regardless of the Web …
GR hostmaster
ErrorCode 2009.Invalid Epp Schema.Fatal error: URI=null Line=14: The entity name must immediately follow the ‘&’ in the entity reference. Na figei to & apo ta data! or na ginei convert se code! Στην πρώτη απάντηση (response) από τον EPP server (πχ στην απάντηση της εντολής login), o application server αποθηκεύει το JSESSIONID cookie στα headers. …
PHP – remove tag from string
<? $content = “this is something with an <img src=\”test.png\”/> in it.”; $content = preg_replace(“/<img[^>]+\>/i”, “(image) “, $content); echo $content; ?> The result is: this is something with an (image) in it.