Hi,
I would like to capture screenshots does anybody know if this is possible
using PHP? If that is possible would anybody know how to transfer
screenshots to a MySQL database?
Cheer - Paul
___
New York PHP User Group Community Talk Mailing List
LE_PAYMENT_QBMS_IP_ADDRESS);
//}
$qbmsResponse = curl_exec($clientURL);
if ((curl_errno($clientURL)) || ($qbmsResponse == 1)) {
$curlerrno = curl_errno($clientURL);
$error = MODULE_PAYMENT_QBMS_TEXT_SYSTEM_ERROR;
$payment_error_return = 'payment_error=' . $this->code . '
which would process
the payment immediately. From there I would recommend using an Observer OOP
pattern to attach events to the payment transaction.
-- Elijah
On Tue, Sep 30, 2008 at 1:49 AM, PaulCheung <[EMAIL PROTECTED]> wrote:
Hi,
Can anybody help?? I have run into a major
Hi,
Can anybody help?? I have run into a major problem, I do not understand how
shopping carts work. I have tried asking technical support of the likes of
PayPal, while they are all very knowledgeable businesswise, they are not PHP
developers. I was told that I should check my email periodical
Thanks John,
Very much appreciated.
Paul
- Original Message -
From: "John Campbell" <[EMAIL PROTECTED]>
To: "NYPHP Talk"
Sent: Monday, July 28, 2008 3:28 PM
Subject: Re: [nyphp-talk] CSS problem???
On Mon, Jul 28, 2008 at 6:57 AM, PaulCheung <[EMAIL
and blogs that contain
useful pointers.
4) Make sure you understand the box model inside and out.
Hope that helps,
-John Campbell
On Sun, Jul 27, 2008 at 2:23 PM, PaulCheung <[EMAIL PROTECTED]>
wrote:
Hi
I am at the stage where I need to put style to the site and am using CSS.
with Firefox
Hi
I am at the stage where I need to put style to the site and am using CSS. with
Firefox, Opera, Internet Explorer and Safari to test for browser compatibility.
What I find puzzling is there seems to be differences in the styles of output,
Using the same the exact same coding the only varible
. The solution for me is
to imitate the method in which my broadband service handles logging users
out of their site (not service) and it seems to be confirmed by the manner
in which my webhosting providers works too.
Once again thanks for your help.
Paul
- Original Message -
From: "
at I
want??
Cheers - Paul
- Original Message -
From: "csnyder" <[EMAIL PROTECTED]>
To: "NYPHP Talk"
Sent: Wednesday, July 09, 2008 8:01 PM
Subject: Re: [nyphp-talk] Returning users from whiniest they came
On Wed, Jul 9, 2008 at 2:39 PM, PaulCheung <[EMAIL PROTE
I have tried running the HTTP_REFERER using the one liner below and nothing
happens
I cannot see why it should not work on my hosted Linux website, as it works on
this site
http://unix.cms.gre.ac.uk/code/php/examples/http_referer.php
Paul
- Original Message -
From: csnyder
To:
Could somebody point me in the right direction or make any suggestion??
On Exiting the "my" application, I want to return the user back to the
original "jump-off point" just before they entered the application, wherever
that may have been. I believe I can capture the URL save it until required.
Hi Tedd,
Thanks for the solution, it is very much appriciated.
Cheers - Paul
- Original Message -
From: "tedd" <[EMAIL PROTECTED]>
To: "NYPHP Talk"
Sent: Sunday, June 22, 2008 9:13 PM
Subject: Re: [nyphp-talk] Disabling browser back button.
>Hi Tedd,
Sorry to say it didn't work
--- Original Message -
From: "tedd" <[EMAIL PROTECTED]>
To: "NYPHP Talk"
Sent: Sunday, June 22, 2008 4:26 PM
Subject: Re: [nyphp-talk] Disabling browser back button.
At 9:07 PM +0100 6/21/08, PaulCheung wrote:
Hi
Can anybody suggest a way around this problem or p
Hi
Can anybody suggest a way around this problem or point me in the right
direction?
I have a genuinely legitimate reason to disable the browser back button, or
at least the pages that have anything to do with the PHP application I am
working on.
Here is the scenario
A user likes the on-li
etting up outgoing mail
usingLinux
And the solution was ?
On Wed, Jun 18, 2008 at 12:41 PM, PaulCheung <[EMAIL PROTECTED]> wrote:
Thanks everybody for your help and suggestions. The problem is now sorted
Paul
--
David Mintz
http://davidmintz.org/
The subt
Thanks everybody for your help and suggestions. The problem is now sorted
Paul
___
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com
Show Your Participa
grateful if you would be so kind as to let me have a
copy of the coding.
Paul
- Original Message -
From: "Allen Shaw" <[EMAIL PROTECTED]>
To: "NYPHP Talk"
Sent: Wednesday, June 11, 2008 4:25 PM
Subject: Re: [nyphp-talk] Setting up outgoing mail using Linux
Pa
uot;, "Contact the web master",
"$message_body", "From: {$_POST['email']}");
Try a simple one (see below), then add variables:
mail ("[EMAIL PROTECTED]", "Test Title", "Test Message", "From:
[EMAIL PROTECTED]");
--
Can anybody help?
I am having problems trying to send automated emails using Linux, typically
order confirmation emails. I don't know how it is set-up and according to
the manual I read it said "for unix only. You may supply arguments as well
(default: 'sendmail -t -i). sendmail_path = sendma
My PHP.INI is sitting in the root directory. Search using "mail" and
hopefully it will be of some help. It might be prudent before you alter your
PHP.INI to make a backup.
Paul
- Original Message -
From: <[EMAIL PROTECTED]>
To: "NYPHP Talk"
Sent: Friday, April 25, 2008 8:30 AM
Subjec
When I was having problems this is what was suggested to me.
If you are trying to send through localhost, then PHP expects to be able to
connect to port 25 on localhost and talk SMTP to it to send the email.
If you are using your ISPs mail server to se
Hi Kristina
I was wrestling with this problem a few months ago, I remember having to do
some fiddling with the PHP.INI. Anyway the coding below works for WINDOWS
and PHP 5
Paul
- Original Message -
From: "Kristina Anderson" <[EMAIL PROTECTED]>
To:
Sent: Thursday, April 24, 2008
Naming conventions were once a hotly debated issue back in the day when
mainframes ruled the universe. An old applications programming technique was
to prefix identifier. For example the Users Table would be called
users_table and each element in that table would be prefixed with ut (for
users_
CTED]>
To: "NYPHP Talk"
Sent: Monday, March 31, 2008 2:27 PM
Subject: Re: [nyphp-talk] Passing JAVASCRIPT variables to PHP
At 6:07 PM -0400 3/30/08, Daniel Convissor wrote:
Hi Paul:
On Sun, Mar 30, 2008 at 09:18:10PM +0100, PaulCheung wrote:
The problem is I cannot transfe
t; <[EMAIL PROTECTED]>
To: "NYPHP Talk"
Sent: Tuesday, April 01, 2008 8:54 PM
Subject: Re: [nyphp-talk] Passing JAVASCRIPT variables to PHP
Why not just store the client time zone and store server data/time??
PaulCheung wrote:
Hi
All I am trying to do is transfer the dat
Hi
All I am trying to do is transfer the data and time from the client machine
upto the server. The goal is to create a MySQL record by customer number and
store both the client time/date and server time/date for each new record
created .
Paul
- Original Message -
From: "Brian D."
? Which parts? Explain the flow of the part
that doesn't work
2. Sounds like you might be moving this application from somewhere
else. What is different about the architecture of each. A phpinfo on
each server would go a long way in determining this.
3. Have you narrowed it down to a piece of c
HELP!! - The application uses PHP sessions and not cookies as well as a PHP
Include to bring in a Javascript date routine, which is works fine. The
problem is I cannot transfer the Javascript variable needed in to PHP.
I have checked on the Net; But cannot find any solution that uses Includes
I've come across instances similar to yours that were fixed by
setting everything.
Adrian
-Original Message-
From: "PaulCheung" <[EMAIL PROTECTED]>
Date: Wednesday, Mar 19, 2008 4:40 pm
Subject: [nyphp-talk] PHP, Browser or MySQL Problem
To: Reply-To: NYPHP Talk
Has
Has anybody run across this before?
I am using three different browsers to test the same PHP scripts and MySQL
database. The application's scripts work by sharing/passing SESSIONS
variables.
Here is the problem, in one browser (Explorer) all works as expected and the
session variable nam
ay, March 03, 2008 6:59 PM
Subject: Re: [nyphp-talk] PHP/MySQL environment problem??
On Mon, Mar 3, 2008 at 1:13 PM, David Krings <[EMAIL PROTECTED]> wrote:
PaulCheung wrote:
I looked over the code and a few things struck me odd (which doesn't
mean they
are wrong!).
I didn't
Sorry I sent an incomplete email. please disregard.
Thanks
Paul
- Original Message -
From: "PaulCheung" <[EMAIL PROTECTED]>
To: "NYPHP Talk"
Sent: Monday, March 03, 2008 8:22 PM
Subject: Re: [nyphp-talk] PHP/MySQL environment problem??
Can't believe
] PHP/MySQL environment problem??
PaulCheung wrote:
I looked over the code and a few things struck me odd (which doesn't mean
they are wrong!).
//
You add this between each handful of lines without adding any informative
comment. I'd remove those slashes and make the code easier
HELP - I have tried everything I can think of, taken onboard suggestions and
still cannot understand why my record counter works in the Windows
Environment and not in Linus Environment. Here is the code can anybody see
what is wrong??
$nr0 = $row0["FOUND_ROWS()"]; //Number of rows found witho
PHP problem environmental controlsThe application is a classic traditional
computer applications of add, update and read selected record. The add record
routine lines up the next record to be added by checking what the last record
added number was.
The application was developed on "localhost",
: "Michael Southwell" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, February 06, 2008 3:31 PM
Subject: Re: [nyphp-talk] FTPing PHP scripts.
Quoting PaulCheung <[EMAIL PROTECTED]>:
I don't know if anybody else has been having a problem when trying to
FTP PHP scripts. I
I don't know if anybody else has been having a problem when trying to FTP
PHP scripts. I am using "1and1" to host my website and have uploaded PHP
scripts All have uploaded. Unfortunately some scripts are loaded correctly
and other arrive as 0 length. No matter what solution is suggested by 1an
I am testing an "add record" routine and am using three different browsers
for the test. The routine is filling in a form and it contains three options
EXIT, SUBMIT and CLEAR all three functions are self explanatory and all work
as expected in "FIREFOX". In "OPERA" the SUBMIT and CLEAR work as e
My thanks to everybody for your help.
Paul
___
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com
Show Your Participation in New York PHP
http://www.nyphp.or
This might seem quite trivial or rather silly; But it is causing me absolute
havoc. However, each time I update a MySQL record I set an "update
indicator" on, the idea being, So as not to update the record more than
once.
I am trying to wrap PHP coding around HTML coding and not the usual other
During link testing I identified the need to capture the "pre-application"
HTTP_REFERER, for the want of a better way of describing it, in order to
store the information so that control can be returned at the end of the
session, That is if it correct way of returning control. I just cannot
ca
I am using the MySQL Update for the first time and do not think I am doing
it correctly. I have checked coding examples and my coding (to me) looks
correct. but am not updating my table and I cannot see what it is I am doing
wrong.
");
echo('' . "");
echo('$self = ' . $self .
;$testno = ' . $testno . "");
echo('$actualdata = ' . $actualdata . "");
echo('$actualresult = ' . $actualresult . "");
echo('$testnote = ' . $testnote . "");
PHP?>
- Original Message -
From: "Michael
Hi David,
Please re-email me your last email to me as the last one went straight into
my junk folder and was deleted without being read
Ta!
Paul
___
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
NYPHPCon 2
>EXIT
'); PHP?>Print
type="submit">
- Original Message -
From: "Michael Southwell" <[EMAIL PROTECTED]>
To: "NYPHP Talk"
Sent: Sunday, November 18, 2007 9:02 PM
Subject: R
"NYPHP Talk"
Sent: Sunday, November 18, 2007 9:02 PM
Subject: Re: [nyphp-talk] Passing info entered into HTML FORMS into
SESSIONvariables.
PaulCheung wrote:
$t = $row['data']; $u = $row['result']; $v = $row['note'];
How are you populating the $r
73226318' AND testno = '002'
Paul
- Original Message -
From: "Michael Southwell" <[EMAIL PROTECTED]>
To: "NYPHP Talk"
Sent: Sunday, November 18, 2007 9:02 PM
Subject: Re: [nyphp-talk] Passing info entered into HTML FORMS into
SESSIONvariabl
HELP !! What is doing wrong?? I want to take the values entered into HTML
FORMS fields ("DATA" "RESULT" and "NOTE") and put them into $_SESSION
variables, which is not happening. Has anybody any ideas why not ?
ACTUAL OUTPUT:size="2" value="128">
onkeyup="calcCharLeft(this,128);">
Thanks everybody for all your suggestions. Sorry it has taken so long for me to
reply, but I ran into another one of those mysterious error codes which for
some odd reason spontaneously appeared where everything was previously working.
Now that that is out of the way I can once again concentr
Hi
I was wondering if anybody knows? I am sure that others must have
encountered this in the past. What I am trying to accomplish is a
conditional exit from the current script, go to and execute another script
without any manual intervention. Using the following pseudo code, I am fully
aware
('AFTER $ACCOUNT = ' . $account . "");
echo ('AFTER $ACCESS = ' . $access. "");
echo ('' .
"");
?>
OUTPUT FROM TEST
Before $userid = qwerty
Before $account = 29764404
Before $passcode = 123456
It must be my birthday today. As I have managed to solve my two knottiest
problems today.
Here is the solution to my email problem
I hope this helps others who are wrestling with the same problem
- Original Message -
From: PaulCheung
To: NYPHP Talk
Sent: Friday, September
in MySQL command mode. It only falls
over, for me anyway, when trying the same thing using PHP & MySQL.
Original Message -
From: "Michael Southwell" <[EMAIL PROTECTED]>
To:
Sent: Saturday, September 22, 2007 12:41 AM
Subject: Re: [nyphp-talk] MySQL M
user_password = '$password' AND
account = '$account'";
2. Your mysql_num_rows is misspelled (Yours is mysql_numrows) making the
subsequent 'if' statement FALSE.
Hope this helps
Rick
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
---
From: "Kenneth Dombrowski" <[EMAIL PROTECTED]>
To:
Sent: Friday, September 21, 2007 9:03 PM
Subject: Re: [nyphp-talk] MySQL Monitor V PHP & MySQL
Hi Paul,
On 07-09-21 20:47 +0100, PaulCheung wrote:
$access_code = $access_code - $access_code;
i don't understand what yo
e = access_code
I was expecting '11966552'
Paul
- Original Message -
From: "Michael Southwell" <[EMAIL PROTECTED]>
To:
Sent: Saturday, September 22, 2007 12:41 AM
Subject: Re: [nyphp-talk] MySQL Monitor V PHP & MySQL
Quoting PaulCheung <[EMAIL PROTECTED]
ND
user_password = '$password' AND
account = '$account'";
You're missing a "WHERE"
and in your MySQLMonitor statement, you typed WHEN. ??
I don't use that tool, but is that valid?
Patricia
On 9/21/07, PaulCheung <[EMA
I have researched, checked and tried everything I can think of and still
cannot get it to work.
when using MySQL monitor the following works
=
SELECT access_code FROM authorised_users WHEN
user_id = 'Nancy' AND
user_password = 'qwerty' AND
account = '48572998'
al Message -
From: Jason Sia
To: NYPHP Talk
Sent: Friday, September 14, 2007 4:00 PM
Subject: Re: [nyphp-talk] Emailing from a PHP script
ok that will not really work
you should use SMTP=localhost then download QK SMTP Server to make this work.
- Original Message ----
From:
Message
From: Ken Robinson <[EMAIL PROTECTED]>
To: NYPHP Talk
Sent: Friday, September 14, 2007 9:32:07 PM
Subject: Re: [nyphp-talk] Emailing from a PHP script
At 09:09 AM 9/14/2007, PaulCheung wrote:
>Can anybody see what I am doing wrong??
>
>I have set php.
From: "Ken Robinson" <[EMAIL PROTECTED]>
To: "NYPHP Talk"
Sent: Friday, September 14, 2007 2:32 PM
Subject: Re: [nyphp-talk] Emailing from a PHP script
At 09:09 AM 9/14/2007, PaulCheung wrote:
Can anybody see what I am doing wrong??
I have set ph
Can anybody see what I am doing wrong??
I have set php.ini (as per the manual) to my email settings
==
[mail function]
; For Win32 only.
SMTP = smtp.tiscali.co.uk
smtp_port = 25
; For Win32 only.
sendmail_from = [EMAIL PROTECTED]
==
Hi Humayoo,
Try Googling on "PHP Data Security" or "Data Security Software". I hope this is
of some help.
I am sorry if I cannot help with any coding as my PHP/MySQL is not good enough.
Paul
- Original Message -
From: birgunj birgunj
To: NYPHP Talk
Sent: Thursday, September 06
7;"
Sent: Wednesday, September 05, 2007 1:41 PM
Subject: RE: [nyphp-talk] PHP REDIRECT
PaulCheung wrote on Wednesday, September 05, 2007 8:36 AM:
Thanks David, Dan and bz
the missing quote was just a copying error. Using the
header('location: http://localhost/mainmenu.php');
Thanks David, Dan and bz
the missing quote was just a copying error. Using the header('location:
http://localhost/mainmenu.php');
this is the value of $number_of_records = 0
Warning: Cannot modify header information - headers already sent by (output
started at C:\xampp\htdocs\etestform.php:4
Can anybody help? I am using "MAINMENU" built in HTML forms to get to get me
to where I want to be (Add, Update or Print record) and of course, I cannot
update or print a record that does not exist yet. Here is a snippet of the
coding.
HTML coding
more HTML coding
PHP coding
mor
Hi Jake,
There is a book called "PHP and MySQL Web Development", which contains a DVD,
It is good in so much as it teaches using a specific project devised by the
authors.
Paul
- Original Message -
From: Jake McGraw
To: NYPHP Talk
Sent: Monday, August 27, 2007 8:12 PM
Subje
I am really sorry to have to ask your help once again, but no matter how
hard I try I can't seem to understand how pagination works
I created a MySQL database called "test_db" and then set up the demo table
"products". the products.php is just a dummy.
nate.php is the coding.
I am trying to pa
I have to finally admit it. Having looked at it for days, I am totally lost and
clueless
I am really sorry for being so thick, but can anybody please point me in the
right direction for some coding examples.
Paul
>The problem is how do I queue the returned records and then read
>each recor
Can anybody help
I am not sure if this is PHP or MySQL. I query a MySQL table
for example - $sql = "SELECT * FROM school_table WHERE class = '2005' ORDER
BY students";
and 24 records are returned. I then want to view each record individually in
an HTML form formatted to look like the HTML fo
Thanks Chris
I had confused session cookies and stored cookies
Paul
- Original Message -
From: "csnyder" <[EMAIL PROTECTED]>
To: "NYPHP Talk"
Sent: Monday, August 06, 2007 8:22 PM
Subject: Re: [nyphp-talk] secure login/logon
On 8/6/07, PaulCheung <
I just need pointing in the right direction. Does anybody know where I
should be looking for in information on secure login/logon (using PHP 5 and
DOES NOT USE COOKIES) with coding examples?
Here is what I am trying to accomplish. I have a website where anybody may
enter, except certain restri
php-talk] TRUNCATING MySQL FIELDS
On July 28, 2007, PaulCheung wrote:
When I set the table up I set the LICENCE to INT(8). When populating this
field I was expecting any number larger than 8 digits to be truncated and
any number less than 8 digits to be padded out with zeros, in both cases
this is
I created a MySQL database with tables. In one of the tables, the Customer
Name& Address table, I use as the PRIMARY KEY a numeric field that I call
LICENCE which is a number generated through a random number generator.
When I set the table up I set the LICENCE to INT(8). When populating this
, July 23, 2007 10:13 PM
Subject: Re: [nyphp-talk] inserting data into MySQL table.
On 7/23/07, PaulCheung <[EMAIL PROTECTED]> wrote:
Hi everybody,
Thanks for the information, unfortunately for me there are no arrays
being
used. The names used are solely the names of each individual column/fie
Hi everybody,
Thanks for the information, unfortunately for me there are no arrays being
used. The names used are solely the names of each individual column/field in
the table. I have already tried all the suggestions to no avail. That is why
I hardcoded a version of my insert-data-into-table
I have been having real difficulties try to insert a 20 column record into a
table (using PHP not MySQL monitor). If I hardcode I can add a record
.Taking the script that works I then doctor it substituting the hardcoding
with $_POST values and then fall over (meaning no record is written). I kn
http://www-css.fnal.gov/dsg/external/freeware/mysql-vs-pgsql.html
I came across this URL which is an additional source of general RDBMS
information that maybe of use or interest.
Cheers
Paul
- Original Message -
From: "Steve Manes" <[EMAIL PROTECTED]>
To: "NYPHP Talk"
Sent: Monday,
I want to set up primary keys made up of several fields. Referring to the
COBOL type example below is it possible to set up group data structures as
illustrated by ACCOUNT and NAME?
01 EXAMPLE-RECORD. SYNC.
05 ACCOUNT.
10BRANCH
the error control (@) operator. See
http://us2.php.net/@ for more information.
- jake
On 7/11/07, PaulCheung <[EMAIL PROTECTED]> wrote:
Can anybody see what I am doing wrong?
Using Mike McGrath's book "PHP 5 in easy steps" I have been trying to get
Can anybody see what I am doing wrong?
Using Mike McGrath's book "PHP 5 in easy steps" I have been trying to get
both his textbook example on page 144 "Creating a database" and the example
from the www.ineasysteps.com website to work. Not being able to get either
the textbook example or "creat
Hello Everybody
I would like to set up secure login to my website, which is still under
development and I want visitors to login using their allocated User-ID and
Password. Of course, if they pass authentication they are in and if not they
are 100% completely denied all access to the website.
I would like to thank everybody for all your help
Paul
- Original Message -
From: "Ken Robinson" <[EMAIL PROTECTED]>
To: "NYPHP Talk"
Sent: Friday, June 22, 2007 11:16 PM
Subject: Re: [nyphp-talk] Javascript & PHP
At 06:21 AM 6/22/2007, PaulCheung wr
aybe your echo statements are skipped because
something happened to one of the request values? What type of echo
statements are you using? Have you tried doing print_r($_POST) or
print_r($_REQUEST). Gotta give us something more to run with on this one
:)
PaulCheung wrote:
I have put together
I have put together an HTML form that uses Javascript which works well. However
when I fill it in and fire it off to my PHP script (which for the purpose of
testing simply echos what was entered in to the form) it cannot find the
entered data; But when I strip out the Javascript and the fields t
85 matches
Mail list logo