• Member Avatar
    Kyle Wiering

    Replied To a Post in PHP and sockets

    This sounds like an interesting problem. It sounds like you know how to do everything else on PHP, except the sockets. I tend to think about these different then most …
  • Member Avatar
    Kyle Wiering

    Began Watching PHP and sockets

    Looking for conceptual help... I am writing a program in C++ to handle socket connections, eventually to be a websocket server. However, the rest of my stack uses PHP for …
  • Member Avatar
    Kyle Wiering

    Began Watching Php vs Node

    I am doing a start up and am figuring out my stack. I've been using php for around 5 years now and am extremely familiar with it. However, I've recently …
  • Member Avatar
    Kyle Wiering

    Replied To a Post in Php vs Node

    I've used both extensively. NodeJS and PHP both run server side. ## Relative Features of Node: ## * Typically run standalone without apache or nginx * Is not multi threaded, …
  • Member Avatar
    Kyle Wiering

    Began Watching Why does Windows XP refuse to die?

    [URL="http://www.pcadvisor.co.uk/poll/index.cfm?action=showresults&pid=3228421"]A new poll into Operating System popularity by a British computer magazine[/URL] has revealed that an incredible 37 percent of respondents are still using Windows XP. That's more than Windows …
  • Member Avatar
    Kyle Wiering

    Replied To a Post in Why does Windows XP refuse to die?

    This thread, good definition of irony. I prefer windows 8 to other version of windows. Custom KDE over Gnome. I do not like the fractured file system that Linux defaults …
  • Member Avatar
    Kyle Wiering

    Replied To a Post in PHP Mail script

    James, if you could mark the thread as resolved, that would be great! (Any future questions could easily fit their own thread) Thank-you, Kyle
  • Member Avatar
    Kyle Wiering

    Gave Reputation to James_43 in PHP Mail script

    Okay so I've done some more research, and what I am trying to do is send mail through an external SMTP (which in this case is Gmail). My understanding is …
  • Member Avatar
    Kyle Wiering

    Gave Reputation to cereal in PHP Mail script

    Hi all, James you can send an email to Gmail SMTP, you don't need sendmail to do this because you're going to connect directly to the SMTP server. Check this …
  • Member Avatar
    Kyle Wiering

    Replied To a Post in PHP Mail script

    Ah, not quite as familiar with linux specific email details. However - if it is your own server, you'll probably want to setup sendmail (`apt-get install sendmail`). The settings are …
  • Member Avatar
    Kyle Wiering

    Began Watching PHP Mail script

    Hi everyone, I am still quite new to HTML and PHP. I have a form in HTML pointing to a PHP script that sends an email. But it doesn't work …
  • Member Avatar
    Kyle Wiering

    Replied To a Post in PHP Mail script

    You are correct in your suspicion, you do need an SMTP server. If you are running in a Windows environment, the 'mail' function might use a built in Windows SMTP …
  • Member Avatar
    Kyle Wiering

    Replied To a Post in MailChimp API Integration

    Hey Douglas, I was wondering if this request is at a point of resolution. I understand there may be more (specific) questions. It is always possible to reference this thread …
  • Member Avatar
    Kyle Wiering

    Began Watching how selecting a row from first html table populates second html table in s

    hi there, for the last one week I am deliberately trying to solve my problem. **Pls help me** For your better understanding, Layout of my page is something like this …
  • Member Avatar
    Kyle Wiering

    Replied To a Post in how selecting a row from first html table populates second html table in s

    Hello suneet, Judging by your question, I think you might need an ajax style request built into the page. But there is another option. You have a server / client …
  • Member Avatar
    Kyle Wiering

    Began Watching I have two bootstrap timepicker drop down time picker.

    <?php include("include/connect.php"); ?> <?php if(isset($_REQUEST['submitform1'])) { $timepicker1=$_REQUEST['timepicker1']; $timepicker2=$_REQUEST['timepicker2']; echo $timepicker1; echo $timepicker2; $timepick1=explode(":",$timepicker1); $timepick2=explode(":",$timepicker2); array_pop($timepick1); array_pop($timepick2); array_push($timepick1,"00"); array_push($timepick2,"00"); $time1=implode(":",$timepick1); $time2=implode(":",$timepick2); $timeone=preg_replace('/\s+/', '', $time1); $timetwo=preg_replace('/\s+/', '', $time2); $start_date = new DateTime($timeone); …
  • Member Avatar
    Kyle Wiering

    Replied To a Post in I have two bootstrap timepicker drop down time picker.

    Hi Ramsiva, this seems more like a Javascript question then a PHP question. If still relevant, I would suggest migrating this question there.
  • Member Avatar
    Kyle Wiering

    Began Watching Remove white spaces in a string

    $time1=implode(":",$timepick1); $time2=implode(":",$timepick2); Result is 11 : 10 :00 11 : 11 :00 Any body help me to remove white spaces I want result 11:10:00
  • Member Avatar
    Kyle Wiering

    Replied To a Post in Remove white spaces in a string

    Just an FYI: str_replace is much more efficient then preg_replace. It's like using a bulldozer vs. a shovel. (Also, please mark as solved, thank-you)
  • Member Avatar
    Kyle Wiering

    Began Watching Sort by Name ASC PHP

    When I view my list in my admin I would like to be able to make sure the controller name is sorted asc Currently it does not sort alphabetically 'name' …
  • Member Avatar
    Kyle Wiering

    Replied To a Post in Sort by Name ASC PHP

    To Ips's point, I would recommend [asort](http://php.net/manual/en/function.asort.php). It also helps to reduce the 'scope' of the issue. You have a double array, but only the sort on the outer array …
  • Member Avatar
    Kyle Wiering

    Replied To a Post in MailChimp API Integration

    I will assume you've followed some of these steps already - I am mostly listing them to insure everyone is on the same page. # Pre-Requisites # * Web Server …
  • Member Avatar
    Kyle Wiering

    Began Watching MailChimp API Integration

    Good Morning All, I've worn myself out looking for the solution to integrating MailChimp APIs into my PHP scripts. Is there anyone in here that is familiar with doing that? …
  • Member Avatar
    Kyle Wiering

    Replied To a Post in MailChimp API Integration

    Hi Douglas, Do you have any examples of what you've tried to date? I could write something in PHP that talks to the API, but without your input, it won't …
  • Member Avatar
    Kyle Wiering

    Began Watching Run PHP as a Cross-Platform Desktop Application

    Recently I've stumbled on a nice tool that I really quite like, so I thought I'd share it: Personally, I love the power behind PHP. I find it a very …
  • Member Avatar
    Kyle Wiering

    Replied To a Post in Run PHP as a Cross-Platform Desktop Application

    Nightrain is an interesting Python wrapper of a PHP webserver running on localhost. It still uses up a port. Essentially, someone made a browser for PHP and burried all the …
  • Member Avatar
    Kyle Wiering

    Began Watching my insert sql didn't work

    Hi all, I've a problem with my insert sql..I didn'y know why. here is my insert sql $goodsDesc = $_POST['goodsDesc']; $k8goodsQty = $_POST['k8goodsQty']; $valuePerUnit = $_POST['valuePerUnit']; $sql_k8goodsIn = "INSERT INTO …
  • Member Avatar
    Kyle Wiering

    Replied To a Post in my insert sql didn't work

    # Huge Disclaimer about security # The first, and most critical piece of information is that your query is vulnerable to an injection attack. In fact, your current problem is …
  • Member Avatar
    Kyle Wiering

    Began Watching join query for different fields in two table

    here i have 3 tables. i want to display OfferDescription,OfferImage,offerPath based on spaid.becaz offerimage and offerdescription are added by using array.so its in different table. if i add companyname and …
  • Member Avatar
    Kyle Wiering

    Replied To a Post in join query for different fields in two table

    A join might be what you are looking for. In order to join, you need to identify a map between the each table. For offersescription and odoffersimagegallery it would likely …

The End.