Cocoa : Get String Value of Textbox
August 9th, 2009// txtname is textBox
NsString *myTextValue ;
myTextValue = [txtname stringValue] ;
// txtname is textBox
NsString *myTextValue ;
myTextValue = [txtname stringValue] ;
Code: How to Check if a String is blank
NsString *mystring ;
if ([mystring isEqualToString:@”"] )
{
// Return True ;
}
Its Very Simple Like
NSRunAlertPanel(@”Your Heading”, @”Your Message”, @”Your Button1″,@”Your Button2″, return);
Create a .htaccess file and copy the code from below as it is , and upload the folder you want to convirt http to https .
Be if you have .htaccess file in that perticuler folder . If yes donwload the file and add the below code
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
Hi ,
You can customise your joomla module, component anytime .
Write us to know more about this
You can customise your WordPress Template .
please give a look
You can rediret your url .
edit your .htaccess file and replace the file names
Redirect oldfile.html newdomain/newfile.html
You can allow single file unprotected and rest of others can be protected
just about to replace your file name and password file
<FilesMatch [^sample.php]>
AuthUserFile /fulladdress of your password file/filename
AuthGroupFile /dev/null
AuthName ‘Members Only’
AuthType Basic
require valid-user
</FilesMatch>
In order to protect a file, just replace Directory directive with Files:
<Files sample.cgi>AuthType Basic AuthName "Protected Access" AuthUserFile /usr/local/apache/passwd Require valid-user </Files>
If you have a folder on your website that contains sensitive or restricted information, you can password-protect it to prevent unauthorized visitors from seeing its contents using what’s called “HTTP authentication” . There are two ways to password protect folders/directories on your website.
The .htaccess file should contain the following 4 lines:
AuthType Basic
AuthName “Some Description”
AuthUserFile /[home dir full path]/[passwordfile]
Require valid-user