Jump to content

titan21

Members
  • Posts

    158
  • Joined

  • Last visited

About titan21

  • Birthday 09/13/1978

Contact Methods

  • Website URL
    http://www.titan21.co.uk/

Profile Information

  • Gender
    Male

titan21's Achievements

Member

Member (2/5)

0

Reputation

  1. titan21

    Hello

    Welcome to PHPFreaks!
  2. The at symbol (@) before $dev will suppress errors so remove that and see what errors it will generate as this may help you identify what the issue is. Don't think error suppression should really be used with variables IMHO.
  3. Hi, Did you get a response to this. I have a Joomla question as well and looking for the right forum to get an answer - any pointers? Cheers, Tim
  4. It's the library which SimpleXML uses to execute on XML documents. You can check if it's enabled in your phpInfo page.
  5. Hi, This is my first foray into Joomla so be kind. I have created a component which displays a form which is used to search a data source. What I also have is a page which is used to display teh results. How do make this page (results) available in the system without creating a menu item? Thanks in advance! Tim
  6. The answer was actually around 15 minutes so I use about 25 minutes to make sure.
  7. I've set up an e-commerce site and wired up the IPN notifications so all is working well. The question I have is how long is a possible purchase valid for? I am trying to account for every user contingency. What I am thinking is that a user may decide to click the "Buy Now" button, get redirect to PayPal and then, for whatever reason, not actually complete the transaction. Let's assume the user comes back six hours later and tries to purchase the item from the PayPal site, I know PayPal will refuse the transaction at some point but I wondered when this happens. I think it's somewhere around 3 or 4 hours but not 100%. Anybody know? Hopefully I am making sense. Thanks in advance! Tim
  8. This issue seems only to occur with Opera but the footer on my site doesn't seem to align centrally. All other browsers seem fine. Not sure what's happening here any ideas? If there is a solution, I would prefer it to be CSS based rather than anything else. Any ideas? The site is http://www.titan21.co.uk/.
  9. Sorry - I totally rushed into answering that! I haven't actually used this particular functionality before but had a look at the documentation. and I think that if you select the correct language then bindtextdomain will select the correct gettext file (I think??) If you just put $linkchoice in a session then you can call this at the top of each page and it will generate the correct text. Again - I haven;t used this before but it seems like a sensible plan...?
  10. This may sound a bit strange - but have u tried a different browser? I had a situation recently whereby a php generating a JSON response was resulting a download of a php file on IE8. It's a long shot tho... Alterantvely - do you run your own server? Are you absolutely sure that the hosting company provides php4? Does PHP run normally? BTW - just seen that you can run multiple versions of PHP on one server! You learn something new everyday!
  11. If .htaccess isn't working it may be that the server admin has disabled that functionality. in which case it would need to go into httpd.conf or something similar. I'm not even 100% if it is even possible to run two versions of PHP from the same server (I would imagine not!). The only thing I can thing of is running a second instance of Apache on a different port with PHP4 installed. I'm sure someone else will be able to give you a better answer however.
  12. Have a look at incorporating session variables into the application. You'll be able to mainatin state across a visit then: session_start(); $language = $_SESSION['language']; //handle code based on language...
  13. Hello, I have been looking at enforcing quotas for users of my mail system (postfix and Dovecot v1.2). Have tried to follow a few tuts on the web but its not having the desired effect. Essentially I can still send and receive mail on an account that I believe has had its quota exceeded. In my main.cf, I have: userdb sql { args = /etc/dovecot/mysql/dovecot-mysql.conf } passdb sql { args = /etc/dovecot/mysql/dovecot-mysql.conf } and... protocol lda { mail_plugins = quota } protocol imap { mail_plugins = quota imap_quota } plugin { quota_exceeded_message = You have exceeded the maximum quota for your mailbox } the dovecot sql (mysql) file has the following query for pulling out user ids and quotas etc: user_query = SELECT maildir, mymailuser as uid, mymailgroup as gid,concat('maildir:storage=',quota) as quota FROM virtual_mailbox WHERE username = '%u' I have set one of my users to have a quota of 1 (so one byte I believe) so it should be over the limit pretty much immediately. Looking at the logs I can see that the system is picking up on the quota limit but doesn't seem to enforce it. Apr 27 10:29:02 deliver(test@testdomain.com): Info: auth input: quota=maildir:storage=1 Apr 27 10:29:02 deliver(test@testdomain.com): Info: Quota root: name=storage=1 backend=maildir args= Any ideas? Am i missing something?
  14. Oops! Yeh I meant formatOutput but that wasn't the issue. I do type it correctly but no formatting seems to occur
  15. Hi, Has anyone come across an issue when saving DOM to a file and $document->preserveWhiteSpace = false; $document->formatOutout = true; has no effect?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.