At 11:50 AM 7/22/2013, Tedd Sperling wrote:
On Jul 22, 2013, at 11:20 AM, Tedd Sperling t...@sperling.com wrote
Hi gang:
I should know this, but I don't.
Where is the /tmp/ directory?
You see, I have a client where his host has apparently changed
the /tmp/ directory permissions such that
Check the permissions on the files/directories involved. I get this
on Linux when the files/directories are too open.
Ken
At 05:38 PM 7/5/2013, Brian Smither wrote:
I have an application running under PHP-5.4.17-TS-VC9 (and .14 as of
yesterday) with Aprelium's Abyss X1 v2.8 web server in
Sent from my iPhone
On Jun 22, 2013, at 3:10 PM, Daniel Pöllmann poellmann.dan...@gmail.com wrote:
Hi,
I have some files in a directory - some are uploaded via ftp and some other
are created by a php script.
Scandir just finds the uploaded files, but none of the created files.
I can't
Did you try the glob function? http://php.net/glob
Ken
Sent from my iPhone
On Jun 22, 2013, at 3:10 PM, Daniel Pöllmann poellmann.dan...@gmail.com wrote:
Hi,
I have some files in a directory - some are uploaded via ftp and some other
are created by a php script.
Scandir just finds the
...@gmail.com wrote:
On Fri, May 24, 2013 at 9:51 PM, Ken Robinson kenrb...@rbnsn.com wrote:
I took your code and modified it to use HTML5 validation (and few other
changes). You can see the results at
http://my-testbed.com/test1/form_validation.php
http://my-testbed.com/test1
You do realize that you shouldn't rely on Javascript to validate
values returned in a form? Also, if you use HTML5, you can use the
required attribute in the input tag and the browser won't let a
user submit a form with a required field not filled. Of course, you
should still validate within
I took your code and modified it to use HTML5 validation (and few
other changes). You can see the results at
http://my-testbed.com/test1/form_validation.phphttp://my-testbed.com/test1/form_validation.php
My code follows:
?php
$fields =
Drupal 8 is being built using Symfony, which means I have to learn it.
Ken
At 12:44 PM 5/20/2013, Bastien wrote:
Bastien Koert
On 2013-05-20, at 12:40 PM, Tedd Sperling t...@sperling.com wrote:
Hi gang:
Who uses Symfony?
Cheers,
tedd
_
I do. It's not my
On 18.03.2013 09:10, Norah Jones wrote:
I am having an string which was have few ' (single quote) and few
(double quotes) and was not able to insert into the mysql database. I
have replaced them with \' and \ and everything is fine.
Though this are fine now but don't understand the working
At 04:57 PM 1/3/2013, Marc Fromm wrote:
I am comparing to dates.
define('WSOFFBEGIN','09/16/2012');
$jes = 01/03/2012;
if ( date(m/d/Y, strtotime($jes)) date(m/d/Y, strtotime(WSOFFBEGIN)) )
{
$error = MUST begin after . WSOFFBEGIN . \n;
}
I cannot figure out why the $error
A much easier way to do this would be to use a temporary array and
then explode:
$tmp = array();
while($row = mysql_fetch_array($result)) // pulling stuff
from a database
{
$tmp[] = $row['category'];
}
$topic =
Can you post the javascript that's causing the problem? And, yes,
it's IE, what did you expect... :-)
Ken
At 05:10 PM 12/21/2012, Tedd Sperling wrote:
On Dec 21, 2012, at 5:05 PM, Ken Robinson kenrb...@rbnsn.com wrote
A much easier way to do this would be to use a temporary array
At 07:10 AM 11/16/2012, Omar Muhsin wrote:
Hello,
I was just wondering after writting the code in version 2 here
below, it turns out in testing that it actually PHP is not
validating the expressions instead always I get the first case.
1.Using nested if statement {THE INTENDED BEHAVIOR}:
At 12:32 AM 10/1/2012, Tim Dunphy wrote:
Hello list,
I'm trying to learn and get comfortable with HTML forms in PHP. In one
example I am trying to include a file upload in one of the forms. I can
connect to the database but for some reason the MySQL query string is bad.
I've been over this for
At 08:50 PM 9/23/2012, Ron Piggott wrote:
I am wondering if there is a way to remove from
an array where the value is 0 (âzeroâ)
Array example:
$total_points_awarded = array( 1 = 17, 3 = 14, 4 = 0, 5 = 1, 6 = 0 );
In this example I would like to remove element # 4 and # 6.
The
function am I
in need of?
I would use a combination of the functions
str_word_count and array_count_values.
?php
$str = This is a test of word counting and this
sentence repeats words a a a a a is is is is;
print_r(array_count_values(str_word_count($str, 1)));
?
Ken Robinson
--
PHP General
At 12:27 AM 1/12/2012, Haluk Karamete wrote:
Because I got this
echo $_SERVER['HTTP_REFERER'];
I end up with this
Notice: Undefined index: HTTP_REFERER in
D:\Hosting\5291100\html\blueprint\bp_library.php on line 16
die;
Now, this is of course after the ?php error_reporting (E_ALL); ?
Quoting Floyd Resler fres...@adex-intl.com:
In the previous version of PHP we were using, I could pass a string
to number_format and it would just change it to a 0 without
complaint. With 5.3.6 I get an expects double error. I don't
suppose there's a way to make it work like it used
At 01:26 PM 10/13/2011, Robert Williams wrote:
On 10/13/11 10:06, David Savage dsav...@cytelcom.com wrote:
php -l voip_cdrs.php
PHP Parse error: parse error, unexpected T_STRING in
/usr/local/cytrex/voip_cdrs.php on line 1050
Errors parsing voip_cdrs.php
At 02:06 PM 10/13/2011, Steve Staples wrote :
[snip]
It's more likely an unterminated quoted string.
It looks like PHP is giving up after finding unrecognizable stuff
after either the first double or single quote on that line. If
you're using an editor that doesn't do syntax high lighting,
Quoting Benjamin Coddington bcodd...@uvm.edu:
Are there any assurances that function local variables are protected
from code calling the function?
For example, I would like to provide some cryptographic functions such as
function org_secure_string($string) {
$org_key = a very random
At 08:36 AM 9/16/2011, Dare Williams wrote:
Dear PHP Group, I need a Function of any category in either PHP or
MySQL RDBMS customize Function, Class, Methods or anything that
could help me compare a particular set of number and return their
matching result. e.g If I have a 5 Digits set of
Quoting Ron Piggott ron.pigg...@actsministries.org:
I am trying to figure out if it is possible to have PHP work within
an XML document.
The application is tracking RSS subscribers IP addresses within the database.
I have wrote functions so the PHP code required is below is minimal,
At 02:25 PM 8/11/2011, Chris Stinemetz wrote:
I have two forms on the same php script. Is it possible to submit both
forms to the same action=processform.php with a single submit
button?
If you want to submit at the same time, why do you have two forms?
Ken
--
PHP General Mailing List
At 09:22 PM 8/10/2011, Jason Pruim wrote:
So here I am attempting to generate some numbers to be inserted into
a database... eventually they will make up a phone number (Which
I've emailed about before and know about the bad ideas with it.. But
it's the customer :))
Here is the code I am
At 12:03 AM 8/11/2011, Chris Stinemetz wrote:
Is it possible to concatenate a string and an element from a
mysql_fetch_assoc array? I haven't had much luck searching google.
Such as concatenating results with ' . $posts_row['store_tptest'] .
' so that if there are no elements returned nothing
At 02:06 PM 7/12/2011, Marc Guay wrote:
Bonus feature: The server is running Windows 7. I suspect the
crickets are going to win this one.
Take a look at http://www.php.net/printer -- this might be what
you're looking for.
Ken
--
PHP General Mailing List (http://www.php.net/)
To
At 01:09 PM 3/25/2011, markb wrote:
Very rusty with PHP.
We moved our web site to a new hosting service (godaddy). PHP
changed from 4x to 5.2.17.
I can no longer change $_SESSION variables after the first use.
First call to form - start session create variables
Second call - can read
At 04:20 PM 3/23/2011, Jim Giner wrote:
Anyone know of a working Javascript newsgroup? I googled and tried adding
several to my OE newsgroups but couldn't find the servers.
I frequent an on-line PHP forum at phpfreaks.com. There is a
Javascript section there that seems to be quite active:
Marco J.L wrote:
Hello,
how can I change the lenght of an value in basuc it's called LEFT or
RIGHT
and MID . I read the filenames but I want to strip the extension from
the
filename.
SCRIPT ==
table style=font-family: tahoma,helvetica,arial; font-size: 12px;
30 matches
Mail list logo