Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

maslan

Members
  • Joined

  • Last visited

  1. Thank you for your inputs. I will start working on them immediately. @brightonmike: This is pligg and it does sometimes that kind of funny stuff:( You need to refresh to get the template work sometimes.
  2.    maslan reacted to a post in a topic: Please review RemoteBookmarks.com
  3. Vulcan, I am really good with PHP and .NET but when it comes to process money, I don't even trust my own code. So, please try to use code that proven to be flawless. Regards, Mustafa
  4. Hi all, Will you please review my Social Bookmarking site? Thanks in advance. Mustafa
  5. Hello, I have a question with RAND() and Pagination together. When you use "SELECT * FROM table_name ORDER BY RAND() " you will get randomizde resultset but this changes everytime you change the page. I am currently using array and session object not rand (pulling all the records and keeping IDs in an array, shuffling the array then presenting the list to the visitor). Is there a better way to do this in PHP? Regards, Mustafa
  6. Nice Also good idea, there are not too many sites serving to people with "a few extra" kgs
  7. Nice site. For seo purposes, text/html ratio should be over 20% so having text is good for your serp results as well.
  8. maslan replied to bizboy's topic in Server Side
    Here is that plugin if you are planning to use wordpress for the project. classifieds.zip
  9. ComicPress is wonderfull, and the best of all is free of charge.
  10. Java is working on client side so won't be able to read session which is on server side. However, if you create java during creating page, you may use session object Please check the code below echo '<script type="text/javascript">' .' function yourFunciton()' .' {' .'var ses_value="'.$_SESSION['whatever'].'"'. .'//Your code here to use SESSION Object' .' }' .'</script>';
  11. maslan replied to fadia123's topic in Server Side
    Watch for (') you have in description. The problem is the one in bold I guess " 's Vault-"
  12. maslan replied to fadia123's topic in Server Side
    TimeStamp is good but will give you -1 for the date prior to 01/01/1970. To eleminate that you may use function below found on the net. <?php function safestrtotime($strInput) { $iVal = -1; for ($i=1900; $i<=1969; $i++) { // Check for this year string in date $strYear = (string)$i; if (!(strpos($strInput, $strYear)===false)) { $replYear = $strYear; $yearSkew = 1970 - $i; $strInput = str_replace($strYear, '1970', $strInput); } } $iVal = strtotime($strInput); if ($yearSkew> 0) { $numSecs = (60 * 60 * 24 * 365 * $yearSkew); $iVal = $iVal - $numSecs; $numLeapYears = 0; // determine number of leap years in period for ($j=$replYear; $j<=1969; $j++) { $thisYear = $j; $isLeapYear = false; // Is div by 4? if (($thisYear % 4) == 0) { $isLeapYear = true; } // Is div by 100? if (($thisYear % 100) == 0) { $isLeapYear = false; } // Is div by 1000? if (($thisYear % 1000) == 0) { $isLeapYear = true; } if ($isLeapYear == true) { $numLeapYears++; } } $iVal = $iVal - (60 * 60 * 24 * $numLeapYears); } return $iVal; } ?>
  13. maslan replied to wleshrob's topic in Server Side
    PHP did not change to much since than so it is still a good resource. But as Jay said, having more than one source will not hurt. There are also several online tutorials for PHP. What you should really do is to get hands on programming. Decide a project and start to write code for that project. You will learn the PHP as the project goes on.
  14. Why don't you send your images as attachments?
  15. I guess you may use 4images for that purpose.
  16. MoreMotionis quite good as well.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.