Jump to content

gregaryb

Members
  • Content Count

    22
  • Joined

  • Last visited

Community Reputation

0 Neutral

About gregaryb

  • Rank
    Newbie

Recent Profile Visitors

366 profile views
  1. My attempt to use PHPMail has failed since I have no idea how to install a github library in CPANEL. It seems as though CPANEL is wedded to PEAR package and mail2 and mime php libraries are available as PEAR packages and easy to install. And they seem to do more or less the same job as PHPMail. However how the buggery do you make them work???? If I insert any of this sample code in my web page I get various errors about unable to open streams due to the include statements or unknown identifiers (e.g. Mail_mime) if I leave out the include statements. <?php in
  2. I did see that but same problem......can't find any sample code that does not generate an error along the lines that it can't find PHPmailer. Is PHPMailer native to php or is it something additional you have to install or enable on the back end.....in one's CPanel?
  3. I give up in frustration! I need some sample code to send an email with an attachment, using the function mail(...), that does not generate this error message: Error with PHP mail(): Multiple or malformed newlines found in additional_header
  4. I have done this with text file before but I can't gt it to work with a binary file. I am trying to send a .xls file and this is what I am getting when I open up the file attachment in MS Excel: UEsDBBQAAAAIACtT8ERHkkSyWAEAAPAEAAATAAAAW0NvbnRlbnRfVHlwZXNdLnhtbK2UTU7DMBCF 95wi8hYlblkghJp2QWEJlSgHMPakserYlmf6d3smaQsIiUDVbmJF9nvf+Hns0WTbuGwNCW3wpRgW A5GB18FYvyjF2/wpvxMZkvJGueChFDtAMRlfjea7CJix2GMpaqJ4LyXqGhqFRYjgeaYKqVHEv2kh o9JLtQB5MxjcSh08gaecWg8xHr0wP1kD2UwlelYNY+TWSWI32H+HBfuJ7GEvbNmlUDE6qxVx4XLt zQ9qHqrKajBBrxqWFJ3NdesifwUi7Rzg2SiMCZTBGoAaV+xNj+QpVGrlKHvcsvs+8w
  5. No I didn't spot that reply but thanks anyway. After a short stint writing some user documentation (as a programmer), at my last IT job some years ago, I realised why programmers generally make such poor manual writers. I had to totally change my mindset in order to make the documentation of any use to the testers. The Paypal developer website epitomises 'programmer' designed documentation unfortunately...
  6. For something that is now, in hindsight, very simple to implement, all this namespace business seems, to me, to be completely unnecessary layers of complexity.
  7. This (in written form) is what paypal needs to put on their developer website: https://www.youtube.com/watch?v=t_7GA1BZXPs This makes sense to me, and now I have an understanding of how the whole express checkout process works. But it wasn't easy to find and only after several very frustrating blind attempts with other sdk and class packages from github. After this Paypals details on key/value pairs now means something to me. Hope it helps others who are experiencing the same frustration that I have had to endure over the past week.
  8. For christ sake can some one PLEASE point me in the direction of SIMPLE paypal integration system that DOES NOT require bloody Composer, or any other irritating baggage. And that does not have components scattered across GitHub in multiple zip files. And that can be used via one SIMPLE include statement. I found this https://github.com/paypal/rest-api-sdk-php. Great! Except that it uses PHP "uses" statements and my web server's version of PHP apparently does not support it. So I proceeded to replace all the "uses' statements with explicit "requires" statements so
  9. https://getcomposer.org/doc/01-basic-usage.md Where do you type one of these? curl -sS https://getcomposer.org/installer | php or if you don't have curl php -r "readfile('https://getcomposer.org/installer');" | php In the top of a web page between <?php ?>? In your web hosting service account login some where?
  10. I worked out a javascript solution but I can't figure out how to do it with just CSS. <nav class="navigation"> <ul class="NavMenu"> <li class="NavMenuItem"><a href="index.php">Home</a></li> <li class="NavMenuItem"><a href="CompanyProfile.php">Company Profile</a></li> <li class="NavMenuItem"><a href="Contact.php">Contact Details</a></li> <li class="NavMenuItem"><a href="Store.php">Store</a> <div class="NavMenuItemArrow"><a href="#" id="NavMenuItemArrow" onclick="doOnClick('NavMe
  11. See attached images. Or here is the website if you want to play with it: http://www.gregsindigenouslandscapes.com.au/EasyWebStore/index.php# It may make it a little easier to view the source without the PHP. I have a nav menu on the left where one of the items has a little arrow. When you click the arrow a popup menu appears below it. If you click it again the popup menu disappears. The problem is the popup menu is displaying over the top of an image below the nav menu. I would prefer it to push the images down but I can't figure out how to do this. HTML <nav class="
  12. See attached images. I have a nav menu on the left where one of the items has a little arrow. When you click the arrow a popup menu appears below it. If you click it again the popup menu disappears. The problem is the popup menu is displaying over the top of an image below the nav menu. I would prefer it to push the images down but I can't figure out how to do this. HTML <nav class="navigation"> <ul class="NavMenu"> <li class="NavMenuItem"><a href="index.php">Home</a></li> <li class="NavMenuItem"><a href="CompanyProfile.php">
  13. It is bloody Epression Web causing these problems. Even though I am not using Expression Web to edit my .css file it still keeps trying to re-format the code. Often when I try to save the .css in notepad.exe I get a message saying the file has changed and do I want to re-load it. Occasionally I have hit the wrong response and then I find all my css/php code $%&@# up. Then it takes me ages to get it all working again. The single quote was probably a result of this. I ended up having to remove all the CSS code and then put it back one bit at a time until I found all t
  14. I am in the process of getting rid of all my ids and switching to classes. But I am now having trouble getting my popup menu working again. When the mouse hovers over the <a></a> element in blue, I want to select the <div></div> element in green. But this CSS code does not work li > a:hover div{....} li > a:hover + div{....} So what is the correct way to select this element? I also wish to select this element <div class="NavSubMenuBalloon"> <div class="navigation"> <ul class="NavMenu"> <li class="NavMenuIte
  15. I have made some change to cause two of my <div> to not display no matter what I do with the CSS. And I don't understand what change has caused it. #content and #navigation wont display no matter what I do. Screen shot of the resulting web page is attached. The container, header structure and footer structure are there but no navigation div nor content div. It may be that Expression web has stuffed something up in CSS but I can't see the problem. Expression web is a pain in the arse with CSS if you put in php code in with it - it just keeps re-arranging the code and causing
×
×
  • Create New...