On Tue, Aug 20, 2013 at 10:43 AM, Tedd Sperling t...@sperling.com wrote:
On Aug 20, 2013, at 10:36 AM, Liam l...@3sharpltd.com wrote:
You do realise you are on a PHP based user subscription, so the vast
majority will go with PHP, so you will get a one sided argument.
Regards,
Liam
I
On Tue, Aug 20, 2013 at 10:56 AM, David OBrien dgobr...@gmail.com wrote:
On Tue, Aug 20, 2013 at 10:43 AM, Tedd Sperling t...@sperling.com wrote:
On Aug 20, 2013, at 10:36 AM, Liam l...@3sharpltd.com wrote:
You do realise you are on a PHP based user subscription, so the vast
majority
On Mon, May 20, 2013 at 4:14 PM, Tim Schofield t...@weberpafrica.com wrote:
Matijn
There are well over half a million lines of source code in PHP. It seems a
little unhelpful to tell someone to go and read half a million lines of C
when you could just tell them the answer?
Thanks
Tim
On May 20, 2013 8:45 PM, Matijn Woudt tijn...@gmail.com wrote:
On Mon, May 20, 2013 at 10:46 PM, David OBrien dgobr...@gmail.com wrote:
On Mon, May 20, 2013 at 4:14 PM, Tim Schofield t...@weberpafrica.com
wrote:
Matijn
There are well over half a million lines of source code in PHP
On Wed, May 8, 2013 at 1:22 PM, Daniel Brown danbr...@php.net wrote:
On Wed, May 8, 2013 at 1:14 PM, Tedd Sperling tedd.sperl...@gmail.com
wrote:
PS: PHP + Produced by Horses Ponies. ? You got too much time on
your hands Daniel.
And yes, I just made up the word acronymize.
That would
On Mon, May 6, 2013 at 3:32 PM, georg georg.chamb...@telia.com wrote:
Hi,
Id like to get ODBC connection to SQL from PHP going. Ive done that on XP,
but now Im switching
to Linux (Fedora).
My impression in that the connecting part is per the DB designers
responsibility. Im using
On Wed, Apr 24, 2013 at 5:09 PM, Ken Kixmoeller phph...@comcast.net wrote:
Hey - --
I have a huge screen -- to make it simple for the user, it does 100s of
calls to MySQL and has 1,000s (literally) of POST variables.
We have done extensive research and see that upgrading from php 5.1.6-27
On Wed, Apr 24, 2013 at 5:14 PM, David OBrien dgobr...@gmail.com wrote:
On Wed, Apr 24, 2013 at 5:09 PM, Ken Kixmoeller phph...@comcast.netwrote:
Hey - --
I have a huge screen -- to make it simple for the user, it does 100s of
calls to MySQL and has 1,000s (literally) of POST variables
Not meaning to beat the proverbial dead horse
I am developing a web portal that has to display the tables in the DB via a
form/script. The web page has a login with user and password. Right now I
am just trying to connect.
This for a commercial app - the client wants both an API connect via
On Sun, Apr 21, 2013 at 6:01 PM, Glob Design Info i...@globdesign.comwrote:
One other thing I noted in the FAQ was this:
Dots in incoming variable names
Typically, PHP does not alter the names of variables when they are passed
into a script. However, it should be noted that the dot (period,
I should note my user name in this case *is* an email address, however
the dots in that address are *not* being converted to underscores as
mentioned (at least not visibly).
I just created a free account there and the email says my username is
dgobr...@gmail.com
but I connected to it from
In fact using the @gmail.com part added on gives me the same error as the OP
I think their welcome email needs tweaking.. try it without the domain
added on
On Sun, Apr 21, 2013 at 6:56 PM, David OBrien dgobr...@gmail.com wrote:
I should note my user name in this case *is* an email address
$form_user = $_POST[ 'user' ];
$form_pass = $_POST[ 'password' ];
# Connect to remote DB
$LINK = mysql_connect( $host, $form_user, $form_pass );
And yes, my $host param is correct.
Have you tried
$LINK = mysql_connect( $host, $form_user, $form_pass );
just for the heck of it?
On Wed, Apr 17, 2013 at 5:52 PM, Daevid Vincent dae...@daevid.com wrote:
We do a lot with caching and storing in memecached as well as local copies
so as to not hit the cache pool over the network and we have found some
great tools to minimize our javascript and our css, and now we'd like to
On Mon, Apr 1, 2013 at 5:26 PM, Mark mark...@gmail.com wrote:
Hi,
I stumbled upon this payment library: http://ci-merchant.org/ which
abstracts the different payment backends away and exposes a new easy
to use interface for the app developer to use. Thus making it very
easy to use different
On Fri, Mar 22, 2013 at 10:26 AM, Stuart Dallas stu...@3ft9.com wrote:
On 22 Mar 2013, at 14:22, inu...@gmail.com wrote:
I am very new to the PHP application and would like to create a new
project.
I would like to have a file to save my application level variable and
functions.
I
On Mar 17, 2013 12:28 PM, Stuart Dallas stu...@3ft9.com wrote:
On 17 Mar 2013, at 13:22, georg georg.chamb...@telia.com wrote:
Anyone knows a good reading about how and when images displayd with
HTML tags are
re-sized ?
Not entirely sure what you mean, but a downloaded image will be
On Thu, Jan 3, 2013 at 11:49 AM, Marc Guay marc.g...@gmail.com wrote:
Hi John,
I just ran this:
if (($a = foo) || ($b = bar)){
echo $a.br /.$b;
}
and it only spat out foo so I'm guessing things have changed. :)
Marc
--
PHP General Mailing List (http://www.php.net/)
To
On Sun, Dec 16, 2012 at 2:08 PM, Matijn Woudt tijn...@gmail.com wrote:
On Sun, Dec 16, 2012 at 4:38 PM, dealTek deal...@gmail.com wrote:
Hi all,
Noobie starting to learn oop for databases from here:
https://github.com/JeffreyWay/PHP-MySQL-Database-Class/blob/master/MysqlDb.php
On Sat, Dec 8, 2012 at 12:10 PM, Jim Giner jim.gi...@albanyhandball.comwrote:
On 12/8/2012 11:41 AM, Jim Giner wrote:
On 12/8/2012 11:04 AM, Daniel Brown wrote:
You can pass the session ID and reactivate the session that way,
sure. Not pretty, and it does lead to security
On Tue, Oct 23, 2012 at 5:31 PM, Daniel Brown danbr...@php.net wrote:
On Tue, Oct 23, 2012 at 5:34 PM, Ashley Sheridan
a...@ashleysheridan.co.uk wrote:
Crontab is the daemon which runs cron jobs, and some distros have set up
special files called cron.daily (or daily.cron I don't
On Tue, Oct 16, 2012 at 2:02 PM, Richard S. Crawford
rich...@underpope.comwrote:
The value of date.timezone in php.ini is set to America/Los_Angeles.
The local time is 11:02 a.m. Yet the output of date(h:i a e) is:
02:02 pm America/Los_Angeles
which is three hours ahead of the real time.
On Mon, Sep 24, 2012 at 3:06 PM, Daevid Vincent dae...@daevid.com wrote:
And for the love of [insert deity of your choice here] not EVERYTHING has
to be OOP. Use the best tool for the job!! Nothing pisses me off more than
having to instantiate a new class just to do some simple method that a
On Tue, Sep 18, 2012 at 8:36 AM, Floyd Resler fres...@adex-intl.com wrote:
I want to highlight the word searched in search results. I know I can
use str_ireplace to do a case insensitive search and replace. However, is
there an easy way to maintain the case of the word found when I do the
On Tue, Sep 4, 2012 at 1:15 PM, John Taylor-Johnston
jt.johns...@usherbrooke.ca wrote:
Hi,
Sorting question.
http://www.php.net/manual/en/**array.sorting.phphttp://www.php.net/manual/en/array.sorting.php
I'm using ksort, which sorts like this.
I don't want to use strolower.
Is there a
On Mon, Sep 3, 2012 at 12:56 PM, Matijn Woudt tijn...@gmail.com wrote:
On Mon, Sep 3, 2012 at 5:24 PM, Tedd Sperling t...@sperling.com wrote:
On Sep 3, 2012, at 1:23 AM, John Taylor-Johnston
jt.johns...@usherbrooke.ca wrote:
I have a big giant RTF file. I could convert it to plain text.
On Sep 3, 2012 9:15 PM, David McGlone da...@dmcentral.net wrote:
Does anyone use any templeting system for any projects? If so what would
anyone recommend? I looked at Code Ignitor, but it seems the templeting
system
is optional and left out by default.
--
Regards
David M.
I use smarty
On Fri, Aug 24, 2012 at 11:16 AM, Jim Lucas li...@cmsws.com wrote:
On 08/24/2012 08:01 AM, tamouse mailing lists wrote:
OT Reply -- just frustrated with the way email screws up program
listings. It's a royal pain to have to strip out code and then put it
in an editor and tidy it up just to
On Mon, Aug 20, 2012 at 10:20 AM, Lester Caine les...@lsces.co.uk wrote:
Can mysqlnd be built as a shared module?
make test is telling me the resulting .so is not a valid
Warning: PHP Startup: Invalid library (maybe not a PHP library)
'mysqlnd.so' in Unknown on line 0
I'm still on PHP5.4.3
On Thu, Aug 16, 2012 at 12:40 PM, Tristan sunnrun...@gmail.com wrote:
I can't for the life of me figure out how to find the depth of the array
that I'm looping through to output tabs or indentations to the display for
each depth. The entries also have section postition if you can figure out
On Mon, Jul 30, 2012 at 10:21 AM, JeffPGMT jeffp...@gmail.com wrote:
Tamara, I said dll, but that was only my ignorant/windows reference to a
system lib/bin file. I followed a blog post (bitly'ed below); I got as far
as un-tar'ing and make was not available.
I have other stacks Xampp (beta
On Jul 12, 2012, at 2:17 PM, Al wrote:
I want to do a rDNS check on a admin entered host name to insure in-coming
mail servers don't reject mail, sent by my app, because the rDNS doesn't
exist or doesn't match.
Here is the fundamental code:
$host = $_SERVER['SERVER_NAME']; //site name
On Thu, Jun 28, 2012 at 7:23 PM, Daevid Vincent dae...@daevid.com wrote:
Is there a way to customize the 'Username' and 'Password' strings in a 401
auth dialog box?
I want to change mine to say Webmaster ID and Authentication Key.
http://php.net/manual/en/features.http-auth.php
This
On Thu, May 31, 2012 at 12:46 PM, Don Wieland d...@pointmade.net wrote:
I have a query below. When I try to run it with PHP it errors:
DATABASE_ERROR: You have an error in your SQL syntax; check the manual
that corresponds to your MySQL server version for the right syntax to use
near 'LINES
On Thu, May 31, 2012 at 12:55 PM, David OBrien dgobr...@gmail.com wrote:
On Thu, May 31, 2012 at 12:46 PM, Don Wieland d...@pointmade.net wrote:
I have a query below. When I try to run it with PHP it errors:
DATABASE_ERROR: You have an error in your SQL syntax; check the manual
Google is still your friend
On Fri, May 4, 2012 at 9:36 AM, Terry Ally (Gmail) terrya...@gmail.comwrote:
Does anyone have a working/example PHP script that calculates driving
distances between UK postcodes that they can share?
Thanks
--
*Terry Ally*
Twitter.com/terryally
On Fri, May 4, 2012 at 10:48 AM, Andres Gonzalez and...@packetstorm.comwrote:
I am trying to code a CLI PHP script that will give me the keycodes for
these (and other) keyboard keys. I want to basically block until the user
presses a single key, then I want to process that event without the
On May 3, 2012 9:08 PM, David OBrien dgobr...@gmail.com wrote:
On May 3, 2012 8:53 PM, Dan Joseph dmjos...@gmail.com wrote:
Hi,
I've spent hours researching this with no luck. I have a PDF with a
form
field that I want to populate and output the PDF. Can someone point me
On May 3, 2012 8:53 PM, Dan Joseph dmjos...@gmail.com wrote:
Hi,
I've spent hours researching this with no luck. I have a PDF with a form
field that I want to populate and output the PDF. Can someone point me in
the right direction? Can FPDF do this natively, or I need something else?
On Fri, Apr 13, 2012 at 1:13 PM, tamouse mailing lists
tamouse.li...@gmail.com wrote:
Anyone have a quick-and-dirty way to check $_REQUEST keys that is
case-insensitive?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
this what you
On Mon, Apr 9, 2012 at 1:42 PM, David Stoltz dsto...@shh.org wrote:
Folks,
Having a difficult time using mssql_bind with characters greater than
8000...the database field is set to ntext, and I've also tried
varchar(max), both seem to produce the same results:
If I use:
mssql_bind($stmt,
On Fri, Apr 6, 2012 at 8:34 AM, Jim Giner jim.gi...@albanyhandball.comwrote:
Kirk Bailey kbai...@howlermonkey.net wrote in message
news:4f7e5d2f.3050...@howlermonkey.net...
jim, I am a novice at this language as I said.
Then you are taking on too big of a task.
When I decided to pick up
On Apr 6, 2012 9:51 AM, Jim Giner jim.gi...@albanyhandball.com wrote:
David OBrien dgobr...@gmail.com wrote in message
news:CAF=yD_06vDEHLP-nyEJxUNt6nHexA42X90U5-6+MBzc0=tc...@mail.gmail.com...
I googled php show images in folder and lo and behold the first was
was
a script almost
On Apr 1, 2012 12:11 PM, Lester Caine les...@lsces.co.uk wrote:
OK I probably know how to do this 10 years ago, but I'm not finding any
prompts to remind me.
Windows 2000, PHP5.2.10 cli ...
I'm trying to set up a simple dump to run from scheduler. The code runs
perfectly via the browser so
Find a way to do it using PHP's imagemagick extensions
http://php.net/manual/en/book.imagick.php
On Fri, Mar 30, 2012 at 5:56 AM, rene7705 rene7...@gmail.com wrote:
Hi.
I have a script that uses imagemagick's convert command on the commandline
to get it's work done.
These calls to
Sender: dgobr...@gmail.com
Subject: Re: [PHP] securing a script that exec()s
Message-Id: CAF=yD_3efQkA_kz169ooYQ2z7g=g75sjghadnvw+irjzp8q...@mail.gmail.com
Recipient: adam.nicho...@hl.co.uk
__
This email has been scanned by the
echo date(m-d-y,mktime(0, 0, 0, 14, 14, 2012));
this outputs 02-14-13 also so my guess is that it is being interpreted
the same as 12/14/2012 +2 months
echo date(m-d-y,mktime(0, 0, 0, 1, 45, 2012)); outputs
02-14-12
which is 1/1/12 +45 days
2012/3/29 Martín Marqués martin.marq...@gmail.com
http://www.php.net/manual/en/function.checkdate.php
2012/3/29 Martín Marqués martin.marq...@gmail.com
OK. So what would be a good way to validate a date?
El día 29 de marzo de 2012 14:04, David OBrien dgobr...@gmail.com
escribió:
echo date(m-d-y,mktime(0, 0, 0, 14, 14, 2012
actually this would work well ... compare what they send with the output of
the formatdate
function checkDateTime($data) {
if (date('Y-m-d H:i:s', strtotime($data)) == $data) {
return true;
} else {
return false;
}
}
2012/3/29 David OBrien dgobr...@gmail.com
http
╒'
)
I just strip the weird ones off the model and serial entries but I've been
pulling my hair out trying to convert the macaddress one to a hex string or
just a string
Can some one educate me or point me in the right direction?
David OBrien
Damn I'm an idiot... sorry :\
On Wed, Mar 21, 2012 at 9:34 AM, Jim Giner jim.gi...@albanyhandball.comwrote:
Did you do a search of the php manual? I did one on hex and found
function bin2hex. Not sure how you mac address is actually built, but I
would try converting it char by char and see
Highcharts.com
On Mar 18, 2012 9:34 AM, Ross Hansen hansen.r...@live.com.au wrote:
Hey all,
I have been working with php for a few years but mostly simple stuff. I'm
now looking at doing some graphing but have no experience with dynamic
images.
I have never used imagecreate but have seen
Using command line snmpget you can set an option to append leading 0's to
hex values -o0
So instead of
$macaddress = 0:1a:4b:c:8d:fb;
it would be
$macaddress = 00:1a:4b:0c:8d:fb;
is there any option using the extremely well documented php snmp extension
to do the same?
At 04:53 PM 3/14/2005, [EMAIL PROTECTED] wrote:
I have table with products. In column categories are listed numbers of
categories a product belongs, like:
1. 21,
2. 35, 8, 72, 1, 4,
3. 23, 11, 48,
4. 65,
5. 11,
6. 23,
7. ...
(somebody else created the table this way and I have to keep it for the
I have RTFM and TTFE and still am having a heck of a time getting my
objects to play well between pages
The only real examples are in the notes for classes objects
http://us2.php.net/manual/en/language.oop.php
Basic usage
?
include_once(config.inc);
include_once(class.php);
$songbook = new
The case is what's stopping it from working
a str_replace(strtolower($exceptionphrase) , '' , strtolower($stringtoparse))
would take the case out of the equation
and for php5 theres always the case insensitive version
str_ireplace()
-David
From: Chris Boget [EMAIL PROTECTED]
Date:
I'm also an idiot ...
Something else, the or output is occurring because the exception the
matches other first so other becomes or minus the the...
So heres what I did ...
$search = array( '/\bthe\b/', '/\bother\b/', '/\bthat\b/', '/\ba\b/' );
$string = 'The other lady that laughed';
if(
At 08:20 PM 3/24/2004, Jason Giangrande wrote:
Raditha Dissanayake wrote:
How about just escaping out of php :-) and embedding the html direct?
Jason Giangrande wrote:
I'm looking for an easy way to write all my HTML using PHP. I could do
this with a bunch of print statements or the like, but
At 03:16 AM 1/30/2004, Freedomware wrote:
I'm still fairly new to PHP, so there may be a simple fix for my
relatively trivial complaint.
I'm using an included page as a head section. It works fine, except that
when preview a page and view the source, all the style sheets are
displayed on one
At 12:08 PM 1/28/2004, Radwan Aladdin wrote:
Hello all..
This is the PHP code :
?php
include(Config.php);
$link = mysql_connect($user_hostname, $user_username, $user_password);
mysql_select_db($user_database, $link);
$UserName = $_GET['UserName'];
$Password = $_GET['Password'];
$LogoutTime =
error!!
So also there are some other errors.. please see the whole script..
Waiting your help..
Regards..
- Original Message -
From: David OBrien [EMAIL PROTECTED]
To: Radwan Aladdin [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Wednesday, January 28, 2004 9:35 PM
Subject: Re: [PHP
wrote:
I'm using the GET method..
And it is right.. it shows the correct GET method.. the problem in is in
the Destance value.. it is not updating this value to the database.. or it
is wrong.. every time = 0
So what is the error?
Regards..
- Original Message -
From: David OBrien [EMAIL
I believe I'd start here
http://www.php.net/manual/en/function.mssql-fetch-row.php
You get the db result from your script but you do nothing with it in your
script
A whole lot more reading and coding you need to accomplish.
Good Luck
-Dave
At 01:54 PM 1/28/2004, Radwan Aladdin wrote:
But I
At 02:03 PM 1/28/2004, Khoa Nguyen wrote:
$var = 0x8180;
How do I send $var to the browser as it is? In other words, if sniffing on
the wire, I should see 8180, not 38 31 38 30.
I think
http://www.php.net/manual/en/function.strval.php
would work here
-Dave
Thanks for your help.
Khoa
--
PHP
At 02:45 PM 1/28/2004, Radwan Aladdin wrote:
Now I fixed the error message.. but the problem is in Distance = 0
always.. because the LoginTime is a string.. I fetch it but the same thing!!
This is the new script :
?php
phpinfo();
include(Config.php);
$link = mysql_connect($user_hostname,
of 16
-Dave
?
In both cases, I see 3136 (ASCII encoded of string 16) on the wire :-(
Any ideas?
Khoa
-Original Message-
From: David OBrien [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 28, 2004 2:08 PM
To: Khoa Nguyen; [EMAIL PROTECTED]
Subject: Re: [PHP] sending a hex string
the \ has to be slashed
.\\;
-Dave
At 11:27 PM 1/26/2004, Paul Furman wrote:
I'm new so probably missing something easy or doing something terribly
wrong but I have spent a lot of time experimenting...
?php
$dirstr= ./
include 'scandir.php';
scandir('$dirstr');
?
parse error, unexpected
normally auto_increment fields need to be of a number type not varchar
-Dave
At 11:30 PM 1/23/2004, Freedomware wrote:
Giz wrote:
I looked at your page. First off, you should add a primary key column that
has no information in it. Just make this a number(4) called state_id.
OK, I gave it
the @@ (169)(169)
-Dave
At 12:50 AM 1/15/2004, David OBrien wrote:
Let's say i have a mysqldump type export script I wrote that someone
screwed up (me) and I quoted every field even the
numeric ones. In this dump I have rows upon rows of this kind of data
INSERT INTO chd VALUES ( '80607fe5-00eb-f5c9
This is usually a DNS error. It's telling you it can't find an IP address
for the given hostname
-Dave
At 08:57 AM 12/19/2003, Jay Blanchard wrote:
Good morning group!
I am running PHP 4.3.4RC1 on a FreeBSD sevrer that recently came online
as an upgrade from another server. (previous PHP
I'm having a heck of a time getting something to work like it should
I have a script which reads a list of words one per line
I want it to display the length of the word a tab then the word. No matter
how I code it it still only shows the word alone on strlen. Any ideas?
?
$handle = fopen
I just installed a fresh RH 7.1 server with compiled apache and php 4.0.6
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Sorry...
I just installed a fresh RH 7.1 server with compiled apache 1.3.16 and php
4.0.6
if I make a change on a page it doesn't show
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
Half the message didn't get sent ...
If I manually do a apachectl restart the page updates with the correct
changes on it
the other 3 apache / php servers I have all work correctly just this one on
7.1 the rest are 6.2 redhat installs.
-Dave
At 02:04 PM 7/6/2001 -0400, David OBrien wrote
I just build a new redhat 6.2 server (intel) to install php4 and apache on
I'm trying to compile php as an dso module.
Apache compiled and installed just great. WHen I try to build php4 woth the
following
./configure --with-apxs=/www/bin/apxs --with-imap --with-gd
--with-jpeg=/usr/lib
75 matches
Mail list logo