ones for PHP.
Please advise
Thanks
Neil
.
Anyway thanks again
Cheers
Neil
At 01:27 AM 2/07/2008, Neil wrote:
Hi
First Post here, I hope this is the right place for this post.
This is probably not a php problem, I think it may a configuration
issue, but sorry I just dont know where to look
I have a V4 site the calls an on line editor
to look so I am just hoping someone can
point me in the right direction.
Like I said in the beginning I think it must be a configuration issue
but I just dont know what or where.
Anyways TIA
Cheers
Neil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Thanks Wolf
I have replied to all, I hope that is the correct way here.
A configuration issue on the PHP V5 Server . thats my
problem, I dont know where I should be looking.
The source code, php and JS is absolutely identical on both machines.
Cheers
Neil
At 01:36 AM 2/07/2008
:
On Tue, Jul 1, 2008 at 11:27 AM, Neil [EMAIL PROTECTED] wrote:
Hi
First Post here, I hope this is the right place for this post.
This is probably not a php problem, I think it may a configuration issue,
but sorry I just dont know where to look
I have a V4 site the calls an on line editor
Hi
Unfortunately this editor does not run in any other browsers. however
I do not believe that it is the java script that is the problem
because it runs and works and has done so for years on the current
and earlier V4 servers.
Cheers
Neil
At 07:10 AM 2/07/2008, Jon Drukman wrote:
Neil
httpd server before testing.
Short tags is enabled and working most of the application is short tagged.
Cheers
Neil
Just a couple of thoughts
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene
by
default. This setting would be found in your php.ini file on the
server. If you need to change the setting, make sure you restart
your httpd server before testing.
Short tags is enabled and working most of the application is short tagged.
Cheers
Neil
Just a couple of thoughts
--
Jim
are
aiming at handsets of indeterminate screen size and display
capability.
There are plenty of avenues to explore for getting multimedia messages
to mobiles.
--
Neil Bellamy
(( aql.com ))
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
20060613
Zend Extension 220060519
Am I missing something obvious here? Any help gratefully received.
Cheers,
Neil.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
. Thanks again for your help.
Cheers,
Neil.
On Nov 6, 2007 12:01 PM, Robin Vickery [EMAIL PROTECTED] wrote:
On 06/11/2007, Neil Saunders [EMAIL PROTECTED] wrote:
Hi All,
I'm experiencing some differences in in the return values of strftime
on Windows Linux platforms on PHP 5.2.1. I've knocked
Or another way...
for ($value = 0; $value = 2000; $value += 100)
{
echo sprintf(option value=\%s\%s%s/option, $value,
(($min_rent==$value) ? selected=\selected\ : NULL), $value);
}
Hulf wrote:
**
This Email Has Been Virus Swept
**
I
Regards,
--
Neil HoggarthDepartmental Computing Manager
[EMAIL PROTECTED] Laboratory of Physiology
http://www.physiol.ox.ac.uk/~njh/ University of Oxford, UK
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
Greetings,
I'm hoping to visit the Stuttgart area* for one week ~ ten days
commencing c.Friday 19 August, to visit my brother-in-law and take a
short vacation.
If there are any PHP-related gatherings or activities I would be
interested to meet up (last time I tried, I missed out by one
Is there anything in PHP which would allow me to check the requested range
of bytes by an client?
Basically one of the download scripts I made some time ago got hit by a load
of requests for a file, but the server was giving back 416 Requested Range
Not Satisfiable. I assume that the user is
Marek Kilimajer wrote:
Try http://pear.php.net/package/HTTP_Download
Cheers for that, I think I just found a reasonable method to do a short
term fix, though I might totally redesign my download application to support
resumable download agents. I looked on the HTTP 1.1 protocol and found
with sqlplus or tnsping.
Does anybody have any ideas what is going wrong? Is this a bug?
thanks,
neil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
When uploading files using a type=file in a form, if a file is uploaded with
a single quote the file gets truncated to whatever is after the quote
eg.
blah'sblah.txt
will be uploaded as
sblah.txt
Is this a magic quotes issue?
What is the best way to deal with it?
Neil
--
PHP General
)
Neil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$_FILES
There seems to be no way to intercept this before the filename gets
truncated
Thanks again
Neil
Bret Hughes [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Wed, 2005-02-23 at 06:49, [EMAIL PROTECTED] wrote:
Hi
When uploading files using a type=file in a form, if a file
.
But with it escaping the quote do you mean that you end up with a file with
\ in it? That would be an illegal filename.
Neil
Bret Hughes [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Wed, 2005-02-23 at 16:40, [EMAIL PROTECTED] wrote:
Thanks Bret
I have tried turning all
Just a quick question. What is the purpose of the underscore character
within the following echo statement? I had a quick look in the manual
and archives but couldn't find any reference to it.
?php echo _(Username) ?
Thanks,
Neil
This communication is confidential to the intended recipient(s
Marek Kilimajer wrote:
***
This Email Has Been Virus Swept
***
Neil Freeman wrote:
Just a quick question. What is the purpose of the underscore character
within the following echo statement? I had a quick look
Note: it is the same as
echo $test $foo; // * for me it only prints out test
Any Ideas
Cheers
Neil
Regards
Chester Cairns
-
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
For me
echo $test -- $foo;
results in
avalue --
Neil
At 02:56 PM 27/08/2004, Curt Zirzow wrote:
* Thus wrote Neil:
Not sure if its me or the configuration of PHP
variable variables are rather standard and dont have any
configuration settings.
I have played around with this bit
before attempting to change any of it's
values:
IfModule mod_php5.c
php_value auto_prepend_file groove.php
/IfModule
Neil
This communication is confidential to the intended recipient(s). If you are not
that person you are not permitted to make use of the information and you
- maybe this was just getting
PHP5 running though?
Restart Apache and hope for the best.
Neil
This communication is confidential to the intended recipient(s). If you are not
that person you are not permitted to make use of the information and you are requested
to notify the sender immediately
Why not just use a switch?...
switch ($x) {
case $a:
case $b:
case $c:
case $d:
//do whatever you need
break;
default:
//catch any other values here
break;
}
Neil
BOOT wrote
Take a look at explode()
www.php.net/explode
Neil
Jeff Oien wrote:
***
This Email Has Been Virus Swept
***
If I have a list like this:
Firstname1 LastName1
Firstname2 Lastname2
etc.
I can split the names
How about this - untested by the way:
$order = ASC;
if (isset($_GET[ORDER]))
{
$value = $_GET[ORDER];
if (($value == ASC) || ($value == DESC))
{
$order = $value;
}
else if ($value == RAND)
{
$order = RAND();
If I remember correctly the second parameter of move_uploaded_file()
needs to be the full filename, ie path plus required filename.
so...
if(!move_uploaded_file($_FILES['myfile']['tmp_name'],
(/var/www/html/upload/ . $_FILES['myfile']['name'])))
Neil
Mike Mapsnac wrote
You're missing a right bracket within the if statement.
Paul Furman wrote:
***
This Email Has Been Virus Swept
***
I don't see what's wrong with this if statement:
while ... and ... {
if (($pic_num + 1) =
Or with PHP you could do:
Header(Location:$launch);
die;
Make sure that nothing is outputted before this is called though. The
variable $launch should also be an absolute URL.
Neil
Richard Davey wrote:
***
This Email Has Been Virus Swept
Or you can use sizeof() which is an alias for count()
Scott Fletcher wrote:
***
This Email Has Been Virus Swept
***
Ah! Thanks!!!
Chris Hayes [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
At
You will need to ensure that the session save path is set to a valid
directory:
e.g.
session.save_path = C:/Temp
Neil
E. Ricardo Santos wrote:
***
This Email Has Been Virus Swept
***
Somebody could say
How about:
exec(chmod -R 755 /somedir/);
[EMAIL PROTECTED] wrote:
***
This Email Has Been Virus Swept
***
Is there anyway to use CHMOD:
chmod (/somedir/somefile, 0755);
but have it set all files, folders
are within one second of each other.
Any suggestions would be great.
Neil
--
--
www.curvedvision.com
--
This communication is confidential to the intended recipient(s). If you are not that person you are not permitted to make use of the information
Perfect - thanks Bogdan
Bogdan Stancescu wrote:
***
This Email Has Been Virus Swept
***
Neil Freeman wrote:
Hi there,
Does anyone have any suggestions as to how I can calculate whether one
timestamp
current ISP has been here.
thx,
Neil
behaviour is caused, and the causes are many
- Original Message -
From: Justin French [EMAIL PROTECTED]
To: Dan Phiffer [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 9:43 PM
Subject: Re: [PHP] Old version of PHP
On Friday
as an off-topic posting.
Thank you very much for your help,
Neil Hambleton
Email: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I believe getallheaders() has been supported since v4.0.0
Ananth Kesari wrote:
***
This Email Has Been Virus Swept
***
Hi,
For some reason, getallheaders() is not working with the NetWare port
of PHP 4.2.3
of space it could probably go without cleaning for years :)
Cheers
Neil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
how up to
date you need to keep
Cheers
Neil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
thoughts
Neil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jason Wong wrote:
On Wednesday 18 June 2003 18:27, Neil wrote:
I am trying to strip all HTML and other tags from a document, I have
read the docs and written a 4 line script that should do the job (from
my point of view ! ). However it seems to have literally no effect.
Heres the script
John W. Holmes wrote:
Jason Wong wrote:
On Wednesday 18 June 2003 18:27, Neil wrote:
I am trying to strip all HTML and other tags from a document, I have
read the docs and written a 4 line script that should do the job (from
my point of view ! ). However it seems to have literally no effect
not 100% sure of my explanation, but i know in pratice this is the case.
Cheers
Neil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ensure that you have a die; after the Header() line.
Neil
deno vichas wrote:
***
This Message Was Virus Checked With : SAVI 3.70 June 2003
Last Updated/Checked 12th June 2003
of JavaScript's
window.self.location.replace(http://www.mysite.com/mypage.php;)?
In other words I would like to use PHP's Header statement to replace the
current page in the brower's history, not just add another location onto
the collection.
Any help much appreciated.
Neil
Hmmm. As I thought. Thanks anyway Mark.
Neil
Mark Charette wrote:
***
This Message Was Virus Checked With : SAVI 3.70 June 2003
Last Updated/Checked 12th June 2003
Try removing the double quotes around LC_TIME
Neil
Mike At Spy wrote:
***
This Message Was Virus Checked With : SAVI 3.69 May 2003
Last Updated/Checked 2nd June 2003
For a new line in a text area you cant use html br's
You need to use either \n OR \r\n
Thanks
Neil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
by extension, e.g. .php
files should be processed by php in apache
This link describes how to configure a webserver to do this
http://www.php.net/manual/en/install.unix.php
( a unix server , but its nearly the same for windows )
Thanks
Neil
--
PHP General Mailing List (http://www.php.net
Not Copy, Wrong Filetype
(.$_FILES['imagefile']['name'].);
}
}
?
/form
/body
/html
Thanks
Neil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Looks like you're missing a closing bracket on the IF statement as well.
Neil
Shams wrote:
**
This Message Was Virus Checked With : SAVI 3.61 September 2002
Last Updated 17th January 2003
Have a look on devshed.com
Bryan Cassidy wrote:
Could someone point me to a VERY good doc for learning PHP for a
NEWBIE!!! Something I can understand from the beginning to the end. YES
I am willing to put my time into learning and reading docs as long as
they are clear and made for what they say
at all when Privacy is
on. This
is after having split the code into multiple files.
Don't know why it should make a difference over multiple files though?
Thanks
Neil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is being called several times
before
being displayed.
I'm tearing my hair out here and I can't leave it as is and the cart has to
go into production and I can't have people buying 31 items when they wanted
3 :)
Anyone any suggestions at all.
Regards,
Neil Stiron
--
PHP General Mailing List
Take a look at Maguma Studio Light (www.maguma.com)
Neil
Nilza Lafayette wrote:
**
This Message Was Virus Checked With : SAVI 3.61 September 2002
Last Updated 2nd January 2003
Rolf,
the document_root just doesn't show up in my phpinfo();
do windows machines have one anyway?
I have used this var before, just not testing it locally.
It normally shows up when I use phpifno on the server.
Please check/compare the entries for doc_root = in the two PHP.INI
Andy,
I am a PHP beginner so this error may be a stupid one. Anyway, I'm
trying to write a simple addition script. The client enters two numbers,
then my script (adder.php) adds them. However, when the script is run, I
get Parse Error On Line 3 I have no idea exactly what I have done wrong.
Colin,
I have a similar problem. I am trying to figure out which of two dates
is greater. Both are in the -mm-dd format. Is there any easy
function that allows this sort of comparison or am I missing something?
Treat the dates as strings not numbers:
$DateOne = 2002-12-13;
$DateTwo =
Spam Arrest Sender VerificationYesterday we held an amusing discussion which
highlighted the futility of using (badly implemented) technological 'solutions' to a
social problem...
Herewith I attach a response received pursuant to a list contribution. Does this
'gentleman' seriously expect
I must be a suspicious character, but I haven't come across Expert Rating
before, nor do I know what Pete's connection with Expert Rating is, so I
went and looked at the PHP web site (where we are led to believe that we
would expect to find a lot of excitement) but a site-wide search fails to
Hello khuram,
Iam new at this mailing list .
=welcome to our happy band!
I have a problem in php
is that i want to store the images on local hard disk
that are in email (pop3 account) by runing a php file.
how can i do that. please help me asap.
=there are a number of classes available
Richard,
I am parsing a csv file with fgetcsv and the fields are surrounding by
double quotes, now I am running into a problem periodically that when
there
are quotes within the value it is treating it like another value instead
of
the same value.
Any ideas on how to get around that?
I am
I have a feeling it's going to work out to be something stupidly
simple... like these problems always do. :)
=embarrassingly so! If you're taking this all off a user's say-so,
then it
sounds like an eyeball job to me...
I never did solve it, but it came down to a weird cookie problem.
Hi Jon,
I think we've seen this discussion on the list before
(so Christopher, check the archives!)
I'm wondering if someone has a great source for a master-list
of controversial and vulger words that I can use on my site.
I would like to pattern match input text against this master-list
(Christmas) tree(s). No worries - it's familiar territory!
Thanks for your help,
=dn
-Original Message-
From: DL Neil [mailto:[EMAIL PROTECTED]]
Sent: 10 December 2002 19:52
=as a Windows user I struggle to cope with some of these UNIX
concepts, so I
hit Google - with no joy
if you want a partial list of offensive terms - try looking
at the meta keywords on a few porn sites ...
Excellent idea!
Unfortunately I'd have to explain that to my boss... No, really, I'm
doing
some research...
=guess monopolising the color printer for a whole afternoon would give you
Jason,
there simply is no definitive list of words
The fact is content filtering does not work without a heavy dose of human
intervention.
It is quite shocking that large numbers of well known corporations deploy
misconfigured content-filtering software which rejects perfectly innocent
i setting php.ini
[mail function]
;For Win32 only
SMTP = hermes.ica.gov.co
sendmail_from = [EMAIL PROTECTED]
=it is impressive to see that the Greeks' messenger has made it all the way
over to Colombia! Wasn't he also held responsible for dealing with people
who were guilty of indiscreet speech
Hi UberGoober,
Thanks for your (unique) reply.
Specifically: am playing with web pages/link continuity checking and
suchlike. So HTTP; as an improvement over the facilities offered by fopen().
Have worked through the readme examples, and dived into the script's code,
as you would expect. Was
Hi John,
You mention that it is a login script and that input is rejected. Is it
rejected when it is initially typed in, or is it reported as rejected when
ensuing pages are served?
Please check the IE on the offending machine. Does it have security settings
that forbid cookies?
Check the
I agree with Jason, it seems strange to have a command line option (that can
only apply to command line operation) and yet the output be in
browser/non-command line format... However with PHP-CLI 'coming soon', maybe
that sorts things out.
Meantime may I suggest combining the two answers:
php -i
Hi Steve,
Have you solved this already?
If not, when you copied the code between machines was there some effort to
ensure that the 'copy' points to the RDBMS/tbls on the same box/different
box - or does the original box have code that points to tbls on itself, and
the second box have code that
John,
You mention that it is a login script and that input is rejected. Is
it
rejected when it is initially typed in, or is it reported as
rejected
when
ensuing pages are served?
When it's initially typed in.
=do you have multiple 'environments' (eg VHosts or even physical servers)
=now let's take a look at the UNIX Epoch. Various
'quotations' have surfaced
in this email, and I don't recall that it is well discussed
within the PHP
manual (it being a UNIX definition after all...). The epoch 'began'
1Jan1970, sure enough (exactly as quoted). HOWEVER it is defined
Justin,
Jumping in late...
Daylight Savings Time?
John, I think Daylight Saving Time creates a difference of 1 hour and
not
1 day :)
True... but I checked it anyway -- by adding just one and two hours to the
stamp... which made no difference... but when I added 86400 to the stamp,
it
all
(pardon the pun)
Please recommend a Snoopy tutorial,
=dn
PS Google has not been my friend!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Tom,
I know the text editor question has been beat to death, but I'm looking
for a simple editor with syntax highlighting that can be installed in
Windows by a general user. It would have to be something that didn't
access the registry, as normal users can't do that. Does anyone know
Hey Andy,
I'm trying to track down a problem with someone else's
code. Our hosting service changed PHP versions on us
(up to 4.0.6), and everything broke. I think I have
tracked down at least part of the problem. We have a
...
Ascertain differences by printing out a phpinfo() report for the
Hi Thomas,
SELECT * from $DB_TBLName WHERE
(Trim(WorkerEmail)='$userReplacementEmail')
AND AND OR OR OR OR OR
This is all a bit complicated, and a simple boy like me gets lost too
easily. KISS principle: Keep it simple...
You have two employees:
A, so named because he Already has Annual
Thomas (and list),
The solution, as previously posted, is flawed/incomplete - mea culpa.
Excuse: I was interrupted three times from typing the word SELECT until
pressing Send, and then rushing to get on to the next call on my time...
WHERE bstart afinish
OR bfinish astart;
Check
Hi Anthony,
I'm using MS Win 98 and my ISP has PHP installed on a MS server.
I'd like to display a HTML form box on my site for users to type in a
message utilizing the PHP mail() function.
I've tested this using Apache on my drive with a html form and a php
script
to receive the data and
Hi Anthony
Qusetion: 1:
What would happen if I changed the php.ini settings to:
SMTP=mail.yourisp.com
sendmail_from=MyAddress@MyDomain
as opposed to:
SMTP=smtp.ISPs.domain
=as long as the SMTP server is accessible and you have access rights, then
it can be anyone's/anywhere...
When you
Anthony,
Do you have an SMTP server on your Win98 localhost?
Recommend you change the PHP.INI SMTP= to say the same as your email
package's server definitions.
=dn
I'm using MS Win98 and Apache and getting the following after submitting
the
mail form:
..
Warning: Failed to Connect
/simple email stub-script for testing/proving.
=If PHP's mail() can be persuaded to work, thereafter it (and any scripts)
can be 'tweaked'/made better - or we can look back and compare...
=dn
- Original Message -
From: DL Neil [EMAIL PROTECTED]
To: Anthony Ritter [EMAIL PROTECTED
PHP v4.2.3 with Apache 1.3.24 under Win2000 Prof SP2
Downloaded the full v4.2.3 zip package/Win binary, some weeks ago.
Installation went fine. Extensions are happily included. Have had several
weeks of operations.
Decided to install cURL to do some URL (strangely enough) link
$parts[1]==168){
$network=internal;
}
else {
$network=external;
}
return $network;
};
At 07:47 PM 12/4/2002 +, DL Neil wrote:
John,
I think it'd be hard to verify the range with a regex. ip2long and
long2ip
Hello Dev,
Now I am continuing on with the same script and I need to check for valid
IP address form.
Currently I have:
$ip=255.255.255.0;
if (preg_match (/[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}/, $ip))
{
print Good Ip;
} else {
print Bad Ip;
}
This does work kinda.
John,
I think it'd be hard to verify the range with a regex. ip2long and long2ip
do not validate. So, an option would be to write your own little function
that splits the $ip on the period, verifies there are 4 parts, then checks
that each part is between 1 and 255 inclusive.
My other post
Hi Victor,
Welcome to the wonderful world of PHP!
I'm new in PHP. Could you point me where can i download a sample script
about how can i paginate some results?
PHP essentially exists to output HTML. You cannot paginate in HTML (although
there is some fancy CSS that could be employed).
Hi Shaun,
please could someone tell me how i can return a month in text from an int
ie
getMonth(12)
returns Decmber. Is this possible?
No. If you want to stick with this, write your own function to look up a
text array.
If the 12 is part of more data coming in from a form or db (for
Hello Martin,
I start a console app with
php myscript.php4 (just prints ok).
How can I give parameters to it? I tried:
php myscript.php4 myparameter
php myscript.php4?myparameter
php myscript.php4?param=myparameter
But always php just returns without doing nothing (not even giving an
Martin,
Ah yes, the famous 'read the upgrade notes - gotcha'!
Well done, you figured it out...
=dn
ll I found a
register_argc_argv = On
in my php.ini, which should work then. But I also found, that I have to
use
print Ok: .$_SERVER[argv][1];
instead of
print Ok: .$argv[1];
Martin
Beth,
When fopen successfully opens a file it populates an array
$http_response_header, which you can examine to see if the link works or
not - I don't believe you can actually get the file itself, but since
that's not what we're after that's not a problem!
I noticed this reference to
Rob/Beth,
The code should also consider:
1 updating the db if the link is 'valid', ie if previously it had been
'down'!
2 putting an @ to prevent any errors causing a hard-stop at the fopen line
3 that the url/database must contain protocol information, ie
http://www.nytimes.com not
Ryan,
My Problem:
I've got a PHP script (running on Apache) that can take several hours
to complete. The script sends out a newsletter to those who have
requested it. When calling this script from a web browser, the browser
hangs until the script has fully executed. If the user hits Stop
Hello Ade,
Is it possible to detect with PHP whether an email sent using the PHP
'mail' function has bounced back or has not been delivered?
I currently all ready check the email address using the 'ereg' function
before the mail function is called, but this only checks the format is
valid
1 - 100 of 465 matches
Mail list logo