Skip to content
pontikis.net
  • Blog
  • WordPress
  • Labs
  • About
  • Toggle website search
Search this website
Menu Close

Web Development

  1. Home>
  2. Blog>
  3. Web Development>
  4. Web Development
Read more about the article Center popup window on the Screen with Javascript
Credits

Center popup window on the Screen with Javascript

  • Post author:Christos Pontikis
  • Post published:September 3, 2013
  • Post category:Web Development
  • Reading time:2 mins read

Javascript Window open() Method opens a popup window. How to center this window on the screen? A solution could be the following function: CenterWindow <script> /** * Opens window screen…

Continue ReadingCenter popup window on the Screen with Javascript
Read more about the article How to Parse an include file and Store the result in a Variable with PHP
Credits

How to Parse an include file and Store the result in a Variable with PHP

  • Post author:Christos Pontikis
  • Post published:September 2, 2013
  • Post category:Web Development
  • Reading time:3 mins read

Use of include is very common in PHP. include will parse a file and display the result. But, how to store the result in a variable for later use? In…

Continue ReadingHow to Parse an include file and Store the result in a Variable with PHP
Read more about the article How to Get Current Datetime (NOW) with PHP
Credits

How to Get Current Datetime (NOW) with PHP

  • Post author:Christos Pontikis
  • Post published:August 30, 2013
  • Post category:Web Development
  • Reading time:4 mins read

To get current datetime (now) with PHP you can use date with any PHP version, or better datetime class with PHP >= 5.2 Various date format expressions are available here.…

Continue ReadingHow to Get Current Datetime (NOW) with PHP
Read more about the article How to find whether a variable is positive integer with PHP
Credits

How to find whether a variable is positive integer with PHP

  • Post author:Christos Pontikis
  • Post published:August 29, 2013
  • Post category:Web Development
  • Reading time:2 mins read

PHP is_numeric() is useful to find whether a variable is a number or a numeric string. How you can check if a variable is an integer? You may use the…

Continue ReadingHow to find whether a variable is positive integer with PHP
Read more about the article Passing Array Variables using POST or GET with PHP
Credits

Passing Array Variables using POST or GET with PHP

  • Post author:Christos Pontikis
  • Post published:August 27, 2013
  • Post category:Web Development
  • Reading time:2 mins read

A convenient way to pass a single or multidimensional (possible utf-8) array is to serialize it ("convert it to a string") and pass it using a hidden input. After post…

Continue ReadingPassing Array Variables using POST or GET with PHP
  • Go to the previous page
  • 1
  • …
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • Go to the next page

Categories

Archives

NewsLetter

Click here to subscribe to our free email newsletter.
Unsubscribe anytime with a click.

LIKE OUR PAGE!


Say Hello to Gutenberg with my new Free WordPress Plugin Boilerplate for Developers!

Star it on Github!


  • Opens in a new tab
  • Opens in a new tab
  • Opens in a new tab
  • Opens in a new tab
  • Opens in a new tab
  • Opens in a new tab
  • Opens in a new tab
  • Contact
  • Privacy
  • Terms
© Christos Pontikis 2013 - 2025
Close Menu