On Sat, Nov 12, 2011 at 7:01 AM, Stephen wrote:
> While I am not a big fan of OOP, I do like PDO, and recommend its use.
Right -- I wasn't actually inquiring about how to access a data base,
merely the pactice of using a variable for the SQL -- In your example,
you are doing this as well, which f
On 2011-11-13 1:42 AM, Tommy Pham wrote:
>>or db_error ($dbh, $__FILE__, $__LINE__);
>
> __FILE__ are reserved keywords __LINE__. If you intended to use
> variables represent the similar meaning, the suggested approach would
Yes, sorry, was a bit quick there - I'm using __FILE__ __LINE_
On Sat, Nov 12, 2011 at 6:15 AM, Peet Grobler wrote:
> Not sure if this is the correct mailing list to be asking this question
> but here goes:
>
> I've got a prepared statement.
>
> $stmt = $dbh->prepare ("insert into test values (?, ?)")
> or die ("Error: " . $dbh->error);
> $stmt->bind_p
On Sat, 12 Nov 2011, tamouse mailing lists wrote:
I'm curious how others feel about this. When I'm creating an SQL
string, either for a non-prepared or prepared execution, I build it in
a variable and then pass the variable to the query or prepare
function. This lets me easily add something to v
dio_write($handle, 'AT') & dio_write($handle, "AT") make firefox times out
on Waiting for localhost ... .
But dio_write($handle, "AT\n") makes it prints AT exactly the same command
or A > A , ..
On Sat, Nov 12, 2011 at 10:02 PM, Negin Nickparsa wrote:
> are you sure about ATD03518726535\
are you sure about ATD03518726535\n?
can you try if ( dio_write($handle, 'AT') )?
In The Name Of Allah The compassionate merciful
Hello ;
Am trying to send AT commands to my GSMmodem device , in linux with PHP
Am sure it is /dev/ttyusb1
But with [URL="http://pastebin.com/aut4ygXf"]this code[/URL] device respond
the same command and code prints that command
e.g if we send ATD00
On 12 Nov 2011, at 11:49, Ron Piggott wrote:
> Ok. It works. I finally am able to display the contents of an e-mail! Now
> I am able to write my apps
>
> I see your monster of all incoming e-mail processors ;) Thanks for showing
> me this. I will look it over when I am more awake. I kind
Not sure if this is the correct mailing list to be asking this question
but here goes:
I've got a prepared statement.
$stmt = $dbh->prepare ("insert into test values (?, ?)")
or die ("Error: " . $dbh->error);
$stmt->bind_param ('ii', $var1, $var2)
or die ("Error: " . $dbh->error);
On 11-11-12 06:30 AM, tamouse mailing lists wrote:
I'm curious how others feel about this. When I'm creating an SQL
string, either for a non-prepared or prepared execution, I build it in
a variable and then pass the variable to the query or prepare
function. This lets me easily add something to v
I'm curious how others feel about this. When I'm creating an SQL
string, either for a non-prepared or prepared execution, I build it in
a variable and then pass the variable to the query or prepare
function. This lets me easily add something to view the SQL statement,
and also if there's an error,
On 12 Nov 2011, at 07:38, Ron Piggott wrote:
> I am looking at CPanel’s “E-Mail filtering” option “Pipe To A Program”
> http://docs.cpanel.net/twiki/bin/view/AllDocumentation/CpanelDocs/FilterOptions
>
> The goal I am working towards is saving the contents of an incoming e-mail
> address into a
On Sat, Nov 12, 2011 at 5:12 AM, Ron Piggott
wrote:
>
>
> I used your code and it still didn't work. Would you show me what you put
> in for your Pipe To A Program settings?
>
> What I used is:
>
> Rules: "To" "Contains" customer service e-mail address
>
> "Action"
> /usr/local/bin/php /path/to/e
I used your code and it still didn't work. Would you show me what you put
in for your Pipe To A Program settings?
What I used is:
Rules: "To" "Contains" customer service e-mail address
"Action"
/usr/local/bin/php /path/to/email_to_ticket_gateway.php
- I know the rule is working because I
On Sat, Nov 12, 2011 at 1:38 AM, Ron Piggott
wrote:
> Does anyone know what variable the e-mail message is assigned within the
> context of “Pipe To A Program”? Is there a way to find out? I can’t figure
> this out.
>
> What I have tried so far is below:
>
> ===
> #!/usr/local/bin/php -q
>
>
15 matches
Mail list logo