In the following examples, I'll assume you are using a subdirectory named "onlinenotepad". In the following examples, I'll assume you named it "mynotepad.php".Ĭreate a subdirectory for the online notepad software or use a subdirectory already existing. The above PHP script can be named anything you wish, so long as the file name ends with. The tag contains an inline CSS style that specifies, among other things, the width and the height of the textarea box. On the line below the HTML comment tag, you'll see the textarea field tag. The box where notes are displayed and typed into.Īt about line 83, you'll see an HTML comment tag like this: In the web page area of the script, the dimensions of the textarea box form field can be changed. The subdirectory may need 777 permissions, but try the default 755 first. That would be a subdirectory from where Simple Online Notepad is installed. Between the quotation marks, specify the subdirectory where the notepad file will be written. If the cookie shall be deleted when the browser closes, specify 0 (zero). The number of days the cookie shall last is specified. It needs to start with a letter and may contain lettes, numbers, and underscore characters.ĭays cookie lasts. The cookie name is specified between the quotation marks. If the password itself contains quotation marks, the quotation marks need to be escaped with a preceding backslash. The password may be composed of any keyboard characters and may contain spaces within it. Specify the password between the quotation marks. The customization area is about 20 lines from the top of the file. Here is the PHP file to upload to your server. The first line of the data file being to immediately cause an exit and deliver nothing to the browser/ robot. php, causing the server to process it before sending it to the browser/ robot. The data is stored in a plain text file, not MySQL, and is protected from unauthorized access by browsers and robots. The notepad software is PHP and is located on your server. And the notepad page may be set as your browser's home page (which I do). The notepad presented in this article can be accessed by you with any of your browsers or smart phones.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |