Jump to content

gordon.c

Members
  • Posts

    86
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

gordon.c's Achievements

Member

Member (2/5)

0

Reputation

  1. Hi, I am researching which payment method is the easiest to be integrated with PHP into both custom written website in php or a php framework. So far my two favorites are Escrow and Paypal. Big criteria that I take into consideration is user friendliness with smarthphones. Which do you prefer to integrate?
  2. Well if I use pretty much the same code to send such email from a different domain (website) it works fine. I am really suspecious about either some META tags that might be missing or some other aspect of the website that takes care of character sets. Any ideas?
  3. Hi, so I have a script that sends out HTML emails written in PHP. The code must be fine because the HTML content renders well when sent to Gmail account or even to other major email providers. There is however one local email provider that cant display the exact same email content. Instead displays HTML code in plain text. What went wrong? $to = email@email.com; $boundary = uniqid('np'); $subject = RemoveCzech($_POST['subject']); $message = "\r\n\r\n--" . $boundary . "\r\n"; $message .= "Content-type: text/html;charset=utf-8\r\n\r\n"; $message .= "<h2>".$_POST['subject']."</h2>"; $message .= TransformTags($_POST['content']); $message .= "<br /><br /><br /><br /><p>Pokud si přejete pozastavit zasílání emailů, můžete tak provést - <a href='".$path."/contact'>zde</a></p>"; $message .= "\r\n\r\n--" . $boundary . "--"; $headers = "MIME-Version: 1.0\r\n"; $headers .= "From: ".RemoveCzech(SITE_NAME)." <podpora@".RemoveCzech(SITE_NAME).">\r\n"; $headers .= "Subject: ".$subject."\r\n"; $headers .= "Content-Type: multipart/alternative;boundary=" . $boundary . "\r\n"; mail($to, $subject, $message, $headers);
  4. Hello, Safari of Mac OS is the only browser that I know of performs this behavior and it is quite annoying. When you are out of tab which plays youtube playlist, the autoplay function fails to work because Safari on Mac simply refuses to start buffering youtube videos when you are not viewing that exact tab. Any way to go around that, its very annoying to always have to go to the tab and go back to some other tab to allow Safari to bugger youtube. Thank you
  5. Hi, I dont really know how to name this technique thats why I could not google it. The point is to change what is written in the HTTP line probably using JavaScript. You know like Facebook does it, when you shuffle through photos, the HTTP line changes but the page does not need to realod. Any ideas? Thank you
  6. So I sorted it out by using arrays afterall. It was a little bit more code but it works now. Thank you all for help
  7. No, there is no setting anywhere you can change to affect the order of the results from reading a directory. Your only option to sort them is to store the results into an array first and sort the array. The results of reading a directory are returned in what is known as "filesystem order" which depends on how the particular file system in use manages the files. Short of creating your own filesystem there's no way to change what order it returns things in. Oh I see... Well then its clear now. Just out of curiosity. What ordering pattern is use in example you see at the top? I mean on my local virtual server it is clearly alphabetical order but on the online server (image above) I cant even remotely figure out what kind of ordering is that :-)
  8. If I find something useful I will share it... So far it seems I will have to stick to arrays then
  9. Its true that this concerns more the server than php. I guess I am looking for something like a line that goes into .htaccess which would change the file system of the server (if something of that sort even exists)
  10. I am using opendir() function and I would like to avoid using arrays in this case if possible. The sorting order has to be specified somewhere right. As I said my local virtual machine pulls the files in correct order.
  11. Nope, the menu items are folders pulled by opendir(); I would like to avoid using arrays in this case if possible. I am looking for some general server setting because its very strange that two different servers each use very different sorting system.
  12. Hello, I am having major issues with default sorting of the server. At my local virtual server (WAMP) the sorting order of files and folders is as expected. I never had to change any settings. However when I use the exact same script on an online server the default sorting order is completely out of any logical explanation. Please see for yourself. Can I change the default sorting in .htaccess or some other way? I would like to avoid using arrays in this case...
  13. QuickOldCar: #1 - I must have completely forgotten about those keywords, thank you for pointing that out. #2 - I can see its not clear what the site does is it, I tried to improve the guidelines a little bit so that new users can more quickly pick up the point of the page. Thank you for pointing that out too... Just to be sure... SimpleAnswer works on personal bases, questions are asked and shared only with friends, questions are not meant to be answered publickly however only between friends. The point is to get sincere answers from your friends, such that you would not get face to face (hypothetically). I believe some may have been mislead that SimpleAnswer is a general Q/A forum, which it is not. If anything else isnt clear enough, please let me know...
  14. Hi, So I come with yet another .me project I am focusing on mainly the functionality but please feel free to comment on the design too which I tried to keep simple www.simpleanswer.me thank you
×
×
  • 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.