User Profile

Collapse

Profile Sidebar

Collapse
c1pkw
c1pkw
Last Activity: Jul 3 '07, 10:32 AM
Joined: May 8 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • c1pkw
    started a topic Getting values from a query string
    in PHP

    Getting values from a query string

    Hi there,

    I've used the cUrl library to return a query string from a remote server to a variable. The

    query string looks a bit like this:

    ...php?message_ id=a1&recipient =unit1&sendday= fri

    At the moment, the whole of this query string is contained in a single variable ($qstring) so if I print $qstring, "message_id=a1& recipient=unit1 &sendday=fri " will be sent to...
    See more | Go to post

  • c1pkw
    replied to Regularly poll server for messages
    in PHP
    Great news! my hosting company say that I have privileges to run cron jobs! Woo hoo!
    See more | Go to post

    Leave a comment:


  • c1pkw
    replied to Regularly poll server for messages
    in PHP
    Hi Motoma,

    I think we are talking about the same thing. I only need something to schedule and repeat the execution of my php script which, as you say, would collect incoming information and write it to the database. Users would then have an up to date record of their messages read back out from the database by various other php pages whenever they log on to the application.

    The only concern that I have is that I usually...
    See more | Go to post

    Leave a comment:


  • c1pkw
    replied to Regularly poll server for messages
    in PHP
    Thanks devsusan and Motoma,

    I've no problem with contacting the server with PHP but it is getting this script to run automatically every second or whatever that I wasn't sure about.

    The reason for me wanting to use PHP is simply that other than vb and a bit of javascript, it's the only language that I'm that confident in. I'm just a hobbyist really. I have to admit that I'm not sure what a cron job is yet! but I'll...
    See more | Go to post

    Leave a comment:


  • c1pkw
    started a topic Regularly poll server for messages
    in PHP

    Regularly poll server for messages

    Hi there,

    I'm writing a PHP web app that sends and recieves sms text messages. I need to regularly poll the server for new incoming messages. I say regularly but it would be all the time really, every second or two, 24/7. Clearly this is outside of PHP's normal usage. Do you have any suggestions about the best language to use for this kind of action?

    Thanks in advance,
    Paul
    See more | Go to post

  • c1pkw
    started a topic Help! with php and cURL
    in PHP

    Help! with php and cURL

    Hi there,

    I’m having a real heap of trouble with PHP and cURL

    My aim is to use this code (or something like it) to submit 2 fields to a remote server (using GET) and receive back 6 fields (again with GET).

    When I run the function below, I get back a 401 unauthorized error although the Username and Password are correct. Presumably then, they are not reaching the remote server at all or in the correct...
    See more | Go to post
No activity results to display
Show More
Working...