Search results

  1. freecrm

    Using php Timestamps with Timezone

    Yeah - I understand that and use the putenv function to bypass this need. But... When a user physically enters a date and time, they usually get the format wrong... so a freely available JS date/time picker resolves that; returning the format recognised by MySQL - i.e. Y-m-d H:i:s...
  2. freecrm

    Php

    Thought that was the case!
  3. freecrm

    Php

    Cool - how? This has massive implications for dynamic drop-down menus and I would love to know how its done. I currently use all JS. By the way - in response to the first post, Javascipt is the better option, rather than flash as the Javascript "interprets" standard menu items which are...
  4. freecrm

    Using php Timestamps with Timezone

    I have numerous databases, all of which use timestamp format date/times, which are easy to echo according to user timezone preferences using putenv ("TZ=".$_SESSION['MM_UTZ']); and echo date($_SESSION['MM_UTF'], ($whatever)); The only problem is, I have only used these for stamping "date...
  5. freecrm

    if statement question

    Cool - never knew that, I've always nested them like this: <?php if (something==somethingelse){?> <?php if (somethingelse==someone){?> something=somethingelse and also someone. <?php } else {?> somethingelse doesn't equal someone. <?php } ?> <?php } else {?> something does not equal...
  6. freecrm

    Php Login problem

    Why not use simple Session Variables? When the session ends, so do the variables and effectively log out your user. Simple.. Login page - <?php // *** Validate request to login to this site. if (!isset($_SESSION)) { session_start(); } $loginFormAction = $_SERVER['PHP_SELF']; if...
  7. freecrm

    Help me construct a php code!

    Why thanks! - glad you got it sorted.
  8. freecrm

    phpBB3 Skins Not Showing

    Have you then installed them using the phpBB admin panel? i.e. image set and theme.
  9. freecrm

    User Acounts

    This is not a small issue and requires several steps and pages to complete. Firstly, what system are you using to process? asp? php? You also need to know in advance what you want your users to achieve - i.e. will they enter personal data? Either way, you need a back end database - I...
  10. freecrm

    Problems with Form submitting (HTML/PHP)

    If you want to do a simpler system, you can always use the idea I suggested originally. All you need is the original form and a form processing page with mail function. The mail function will contain all the variables captured from the form. 1stly, there will be no changes to the...
  11. freecrm

    Problems with Form submitting (HTML/PHP)

    OK - I just had a quick look at your submit.php file ??? It's missing the php opener and closer. i.e. - it has no "<?php" opener and there is a "?>" missing at the end of the script. Do you actually need to use a third party? If not, making your own is much simpler, more effective and...
  12. freecrm

    Problems with Form submitting (HTML/PHP)

    You're in for a bit of a challenge then! It is possible to send html from a php scripted form. What you need to do is set up the php form as you normally would with form submit taking you to another php page. 2nd page will assign the values from each form field to a variable. i.e...
  13. freecrm

    Warning: putenv() has been disabled

    Thanks for the response Chris. Unfortunately, http is down at the moment due to an Apache issue but I'll let you know when it's back up. I've also upgraded my account to intermediate. Dont let the other users grind you down - this has been the best php free hosting site I've found and I...
  14. freecrm

    Quick php question

    Yep - missing braces for two if statements. <?php $endTime = $Variables['endtimefield']; $now = time(); $diff = $endTime - $now; if($endTime > $now) { ?> This statement alone needs a "}" at the end. Such as <?php } ?> or as part of another statement within <?php......?> tags...
  15. freecrm

    Help Im new Here

    php is great but I don't know your site address. I am pretty much self taught but it has taken me 2 years to get to a beginner/intermediate standard witht he help of Dreamweaver wizards!
  16. freecrm

    Help me construct a php code!

    This is a relatively simple process in php - I have one on my site at http://www.freecrm.x10hosting.com (when you log in), and I have a "tracker" php script included on each page which captures IP, Host, URL, referal, time, system info, language etc. The results page then groups by IP. If...
  17. freecrm

    sql

    As far as I'm aware, for variable and integer characters, you cannot define the field without a character length. i.e. CREATE TABLE Person ( LastName varchar (50), FirstName varchar (50), Address varchar (200), Age int (2) ) You don't have to propose lengths for longtext or...
  18. freecrm

    Warning: putenv() has been disabled

    Warning: putenv() has been disabled for security reasons in /home/freecrm/public_html/index.php on line 6 I know you guys are updating but whats the issue here? This is a fairly standard piece of php. I've looked in the updates section but its not clear if the updates are finished. Whats...
  19. freecrm

    phpBB3 forums blank http

    Please close
  20. freecrm

    WTF.. mysql_pconnect() undefined function?

    please close
Top