Lots of ppl would tell u lots of different php editors. I personally
use editplus2 bcuz it's very light and has syntax hightlighting on php
code and html code in same time and other bla bla features. And I use it
on linux too with wine.
But anyway you will have to try them yourself to
u can try PSPad, a freeware code editor (kind of ultraedit but free)
http://www.pspad.com/
ALexandre B
On 2/8/07, Andrei [EMAIL PROTECTED] wrote:
Lots of ppl would tell u lots of different php editors. I personally
use editplus2 bcuz it's very light and has syntax hightlighting on php
Project phpexplorator ('phpexplorator') has released the new version of
package
'phpexplorator'. You can download it from SourceForge.net by following this
link:
https://sourceforge.net/project/showfiles.php?group_id=183073release_id=48
3795
or browse Release Notes and ChangeLog by visiting this
Hello,
please do not spam our mailinglists with release announcements.
regards,
Derick
On Tue, 6 Feb 2007, Tchouamou Eric Herve wrote:
Project phpexplorator ('phpexplorator') has released the new version of
package
'phpexplorator'. You can download it from SourceForge.net by following this
On 2/8/07, Stephen [EMAIL PROTECTED] wrote:
I am finding that notepad is lacking when correcting syntax errors in my
php code. No line numbers.
What can people recommend for use under Windows?
Try notepad++. It's a great software, specially when you code with many
languages :
Hello.
I would like to hook up on this issue a little bit more. I am
wondering if anybody is willing to share some good advices regarding
how to implement a good (normative) url structure so to say when it
comes to multi lingual sites. Let me give you an example.
IBM has many different
Project phpexplorator ('phpexplorator') has released the new version of
package
'phpexplorator'. You can download it from SourceForge.net by following this
link:
https://sourceforge.net/project/showfiles.php?group_id=183073release_id=483795
or browse Release Notes and ChangeLog by visiting this
Dear all,
I have been searching the web and manual for solutions for receiving an
XML document and getting the values for the attributes out. I found that
PHP5 handles it well but in PHP4 there are many scripts people have
written but Im struggling to get something that is working 100%.
Are
Hey Tedd,
Thanks for replying.
The problem is, I know how to do this via a drop down select box and a text
box... I want to do this via a javascript prompt, which is where I am getting
stumped.
Cheers!
R
tedd [EMAIL PROTECTED] wrote: At 5:11 AM -0800 2/7/07, Ryan A wrote:
Hey all!
Quick
Hi,
I run specialised websites on my NT server on behalf of some universities.
These sites offer processes to librarians (mainly) enabling them to order
services from my company as well as doing some processes themselves. The
processes involve handling PDF files, and I've done all the
What about the secure shell2 functions?:
http://uk.php.net/manual/en/ref.ssh2.php
I haven't used them myself but these two functions sound like the could be
useful:
ssh2_scp_recv Request a file via SCP
ssh2_scp_send Send a file via SCP
Edward
-Original Message-
From: George
On Thu, 2007-02-08 at 10:13 +0100, Derick Rethans wrote:
Hello,
please do not spam our mailinglists with release announcements.
Release announcements have always been allowed, the preferable method is
to prefix the subject with [Release] and not to send it twice as was the
case with
DOM XML functions are the way to go for PHP4
Angelo Zanetti wrote:
Dear all,
I have been searching the web and manual for solutions for receiving
an XML document and getting the values for the attributes out. I found
that PHP5 handles it well but in PHP4 there are many scripts people
Edward,
Thanks. This has pointed me towards ssh2_sftp, new negotiations with
customer ahead.
Cheers
George
-Original Message-
From: Edward Kay [mailto:[EMAIL PROTECTED]
Sent: 8 February 2007 11:45 am
To: George Pitcher; PHP General List
Subject: RE: [PHP] WinSCP and PHP
What
Can anyone tell me how to set open_basedir in php.ini, to two directories
like
open_basedir = c:\www c:\myhomepage
thanks
Christopher Deeley wrote:
Can anyone tell me how to set open_basedir in php.ini, to two directories
like
open_basedir = c:\www c:\myhomepage
From the manual (http://php.net/features.safe-mode)...
Under Windows, separate the directories with a semicolon. On all other
systems, separate the
Okay, I edited my page per some suggestions here. Below is what I now have:
script language=JavaScript
function checkForm() {
// ** START **
if (inputForm.cc_phone_number.value == ) {
alert( Please enter a phone number. );
inputForm.cc_phone_number.focus();
return;
}
**Lots of
On cs, 2007-02-08 at 08:14 -0500, Dan Shirah wrote:
Okay, I edited my page per some suggestions here. Below is what I now have:
script language=JavaScript
function checkForm() {
// ** START **
if (inputForm.cc_phone_number.value == ) {
alert( Please enter a phone number. );
Does anyone know of a form validation class available that gives
(i) feedback in a graphical way like this (the ticks and crosses)
http://forums.oscommerce.com/index.php?act=Regcoppa_user=0termsread=1coppa_pass=1
(ii) Is dynamic..for example I have a checkbox
do you own a car?. If I tick 'no'
On cs, 2007-02-08 at 13:27 +, Ross wrote:
Does anyone know of a form validation class available that gives
(i) feedback in a graphical way like this (the ticks and crosses)
http://forums.oscommerce.com/index.php?act=Regcoppa_user=0termsread=1coppa_pass=1
this is available to
On cs, 2007-02-08 at 08:41 -0500, Dan Shirah wrote:
I should not need an actual Button if my link to checkForm() ends with
document.inputForm.submit(); which tells the form to submit, right?
well, you should be right...
but I remember a year ago or so I had a similar problem and the image
input
On cs, 2007-02-08 at 08:56 -0500, Dan Shirah wrote:
Okay, I'll try your spacer solution. Where do you think I should add
it?
I put it right before the /form tag, but I think you could put it
anywhere between the form and the /form
greets
Zoltán Németh
On 2/8/07, Németh Zoltán [EMAIL
Stephen wrote:
I am finding that notepad is lacking when correcting syntax errors in my php
code. No line numbers.
What can people recommend for use under Windows?
Thanks
Stephen
Hey, well, actually I use gVim on windows + WinSCP :)
Hi all. I am building an online events directory and as part of the system
users can search for events by date, category etc.
The logic involved in finding events that match the user-entered dates works
like so:
1. we create a range of dates from the start and end dates specified by the
user
2.
Nope, same result unfortunately.
On 2/8/07, Németh Zoltán [EMAIL PROTECTED] wrote:
On cs, 2007-02-08 at 08:56 -0500, Dan Shirah wrote:
Okay, I'll try your spacer solution. Where do you think I should add
it?
I put it right before the /form tag, but I think you could put it
anywhere
There is nothing wrong with the way you want to submit this form.
Although it's JS :) The sample code you posted was broken in some ways...
missing document. in JS en missing input field to check.
This sample works fine ...
test.html
script language=JavaScript
function checkForm() {
if
# [EMAIL PROTECTED] / 2007-02-08 14:08:13 +:
Hi all. I am building an online events directory and as part of the system
users can search for events by date, category etc.
The logic involved in finding events that match the user-entered dates works
like so:
1. we create a range of
On cs, 2007-02-08 at 09:09 -0500, Dan Shirah wrote:
Nope, same result unfortunately.
well, sorry, then my memories were incorrect
maybe I should run a memtest86 on myself ;)
greets
Zoltán Németh
On 2/8/07, Németh Zoltán [EMAIL PROTECTED] wrote:
On cs, 2007-02-08 at 08:56
Thanks for that - can't do that as all I know in the database is the start
and end date for each event (so I don't have to create mapping tables and
perform massive joins), the rest is handle dynamically.
I think I can do it using usort, this seems to work, any comments?
function compare($x,
Hi All.
I am reading directories and one of the directories has a space in it so
when I run:
if (is_dir($dir))
it returns false. But I know the folder exists, so is there a way to
force the read? Or what else should I do? rename it and then read it?
Thanks in advance.
--
array_multisort?
http://php.net/manual/en/function.array-multisort.php
hope that helps
Zoltán Németh
On cs, 2007-02-08 at 14:08 +, Dave Goodchild wrote:
Hi all. I am building an online events directory and as part of the system
users can search for events by date, category etc.
The
How about this:
http://uk.php.net/manual/en/function.array-multisort.php#53779
Edward
-Original Message-
From: Dave Goodchild [mailto:[EMAIL PROTECTED]
Sent: 08 February 2007 14:30
To: Roman Neuhauser
Cc: php-general@lists.php.net
Subject: Re: [PHP] Sorting a multidimensional array
I'm no JavaScript expert, but I could maybe suggest an alternate method:
use document.getElementById() or document.getElementsByName()
AFAIK, the direct document.xyz doesn't work exactly the same way accross
browsers (if at all).
e.g. (WARNING! TOTALLY UNTESTED CODE!)
function
Jon,
Tried your method and still got:
*Error: Object doesn't support this property or method.
Code: 0*
On 2/8/07, Jon Anderson [EMAIL PROTECTED] wrote:
I'm no JavaScript expert, but I could maybe suggest an alternate method:
use document.getElementById() or document.getElementsByName()
Don't see how this can pass the check without document.
if (inputForm.cc_phone_number.value == ) {
alert( Please enter a phone number. );
inputForm.cc_phone_number.focus();
return;
}
Comming to this check already gives an error.
Maybe ask on some Javascript list.
P.s. reply to the
OS? PHP version?
Tested with PHP4 on Win and *nix : works
On Thu, 08 Feb 2007 16:47:26 +0200, Angelo Zanetti [EMAIL PROTECTED] wrote:
Hi All.
I am reading directories and one of the directories has a space in it so
when I run:
if (is_dir($dir))
it returns false. But I know the
# [EMAIL PROTECTED] / 2007-02-08 16:47:26 +0200:
I am reading directories and one of the directories has a space in it so
when I run:
if (is_dir($dir))
it returns false.
How much space? You need at least 1GB. But seriously, I don't see the
behaviour you mention:
?php
class
Dan Shirah wrote:
Jon,
Tried your method and still got:
*Error: Object doesn't support this property or method.
Code: 0*
*I don't know what browser/platform you're using, but the following
works for me on IE7/Windows, FF2/Linux, Opera9/Linux.
jon
html
head
script language=JavaScript
its running on a linux server PHP 4.3.x
What i mean is that the directory name has a space in it eg:
srv/www/htdocs/site/Broker details/
T.Lensselink wrote:
OS? PHP version?
Tested with PHP4 on Win and *nix : works
On Thu, 08 Feb 2007 16:47:26 +0200, Angelo Zanetti [EMAIL PROTECTED]
Jon Anderson wrote:
...
item.focus();
}
** alert(onError);
**return(false);*
*}
...
Sorry about the *s everywhere (there aren't supposed to be any). I
pasted the code in, and Thunderbird thought it was supposed to be bold
for some reason, then converted the bold text to text with *s
Like Roman said. I also don't see this behaviour.
Although my test is a lot more simple :)
?php
$dir = test dir;
if (is_dir($dir)) {
echo It's a dir :);
}
?
On Thu, 08 Feb 2007 17:24:33 +0200, Angelo Zanetti [EMAIL PROTECTED] wrote:
its running on a linux server PHP 4.3.x
What i mean is
You guys are going to kill me! I found my problemand it's one of those
What the hell were you thinking issues.
Within my form was a button but I stupidly made it a submit when I created
it and therefore the javascript check for submit was finding my button first
and dumping the error.
So,
On Thu, 2007-02-08 at 10:21 -0500, Dan Shirah wrote:
You guys are going to kill me! I found my problemand it's one of those
What the hell were you thinking issues.
Nah, probably lots of us have been bitten by that. I know I have been in
the past, so now I always name my submit buttons
First thank you all for your input on all-in-one classes.
Reading the php manual on boolean types and casts, and came accros the
following:
quote
When converting to boolean, the following values are considered FALSE:
...
an array with zero elements
...
/quote
So here I am sitting and
sorry typo, make that:
Shouldn't have been simply doing:
$arr = array();
If (!$arr) {}
-Message d'origine-
De : Tim [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 8 février 2007 16:49
À : php-general@lists.php.net
Objet : [PHP] Boolean-cast and arrays
First thank you all for
# [EMAIL PROTECTED] / 2007-02-08 16:14:57 +0100:
Like Roman said. I also don't see this behaviour.
Although my test is a lot more simple :)
It's not complete:
?php
$dir = test dir;
mkdir($dir);
if (is_dir($dir)) {
echo It's a dir :);
}
rmdir($dir);
But even with those two
Hi,
I want to compile PHP with IMAP support.
I've downloaded imap2006e and run:
# make slx
but i got this error:
make[2]: Entering directory `/usr/local/src/imap-2006e/mtest'
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o mtest
mtest.o
Ryan A wrote:
Quick question (and hopefully a simple one)
I have a link on a page, when the client clicks that link it should
show them a JS prompt and ask for their name (so far I have done
this)
When they write their name, I want that data to be sent to my php
script via AJAX (yes?) so
-Message d'origine-
De : Mário Gamito [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 8 février 2007 16:56
À : php-general@lists.php.net
Objet : [PHP] Error compiling lib
Hi,
I want to compile PHP with IMAP support.
I've downloaded imap2006e and run:
# make slx
but i got
Stephen wrote:
I am finding that notepad is lacking when correcting syntax errors in my php
code. No line numbers.
What can people recommend for use under Windows?
Thanks
Stephen
I've recommended this before, Programmer's File Editor. I never leave
home without it and have been using
# [EMAIL PROTECTED] / 2007-02-08 15:56:25 +:
Hi,
I want to compile PHP with IMAP support.
I've downloaded imap2006e and run:
# make slx
but i got this error:
make[2]: Entering directory `/usr/local/src/imap-2006e/mtest'
`cat ../c-client/CCTYPE` -I../c-client `cat
Please include the list in replies.
Tim McGeary wrote:
Stut wrote:
Tim McGeary wrote:
I am new to this list today, so if I should be sending this to another
specific PHP list, please let me know.
I am getting the following error via the PHP web page I am building:
Warning: mysql_connect():
Tim McGeary wrote:
Please include the list in replies.
Sorry, I meant to, but hit the wrong button.
And I sent it to the wrong list!! Sorry folks.
-Stut
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Please include the list in replies.
Sorry, I meant to, but hit the wrong button.
Tim McGeary wrote:
Stut wrote:
Tim McGeary wrote:
I am new to this list today, so if I should be sending this to another
specific PHP list, please let me know.
I am getting the following error via the PHP web
:) You are right about the robustness part..
The directory i made by hand. So no need to create and remove it with
code. And using a test suit to show this simple example seems like a bit
of overkill to me. Just wanted to show directories with spaces
function properly when used with is_dir().
Thanks everyone, and especially TG, for taking time to reply to my
question. I have learned that apparently PHP silently runs urldecode()
on all cookies before copying them into the $_COOKIE variable, under
the assumption that all cookies have been urlencoded.
This seems like a bad assumption to
Tim wrote:
First thank you all for your input on all-in-one classes.
Reading the php manual on boolean types and casts, and came accros the
following:
quote
When converting to boolean, the following values are considered FALSE:
...
an array with zero elements
...
/quote
So here I am
[snip]
I am finding that notepad is lacking when correcting syntax errors in my
php code. No line numbers.
What can people recommend for use under Windows?
[/snip]
Notepad++ and it is free
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, 2007-02-08 at 18:44 +0100, Seak, Teng-Fong wrote:
My company's got a web site using PHP. But the server is actually
an IIS 5 sitting inside a Win2K server. So naturally, I'm using php dll
filter. (Please don't tell me to use Apache because we need IIS for
other services). This
On Thu, 2007-02-08 at 18:36 +0100, Youri LACAN-BARTLEY wrote:
Tim wrote:
First thank you all for your input on all-in-one classes.
Reading the php manual on boolean types and casts, and came accros the
following:
quote
When converting to boolean, the following values are
My company's got a web site using PHP. But the server is actually
an IIS 5 sitting inside a Win2K server. So naturally, I'm using php dll
filter. (Please don't tell me to use Apache because we need IIS for
other services). This server also has got an anti-virus installed
(McAfee to be
Dear list,
I wrote a php script to keep track of a remote server. This script is
called every 10 minutes via http by a cronjob using wget. The cronjob
calls (from the remote server) open a new session each time.
This way I cannot use session variables to limit mail notifications to
cases
[snip]
- or store the IP in a static variable that is persistent?
[/snip]
Like a constant? http://www.php.net/define
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, 2007-02-08 at 19:28 +0100, RalfGesellensetter wrote:
Dear list,
I wrote a php script to keep track of a remote server. This script is
called every 10 minutes via http by a cronjob using wget. The cronjob
calls (from the remote server) open a new session each time.
This way I
Another vote for gvim, with vim7's php omni-completion really becomes
a great editor for php.
On 2/7/07, Stephen [EMAIL PROTECTED] wrote:
I am finding that notepad is lacking when correcting syntax errors in my php
code. No line numbers.
What can people recommend for use under Windows?
Hi Rob, thanks for your quick reply!
Am Donnerstag 08 Februar 2007 19:22 schrieb Robert Cummings:
I don't suppose you checked the man page for wget did you?
shame on me: I didn't RTFM ;)
Now having done so, I wonder if I can store the cookie file with every
call or if I should store it once
Fletcher Mattox wrote:
I have learned that apparently PHP silently runs urldecode()
on all cookies before copying them into the $_COOKIE variable, under
the assumption that all cookies have been urlencoded.
This seems like a bad assumption to me, and is perhaps an attempt to be
consistent with
STDERR and STDOUT are defined as constants. Is there a way to redefine
these constants?
Thanks
Khai
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, 2007-02-08 at 19:56 +0100, RalfGesellensetter wrote:
Hi Rob, thanks for your quick reply!
Am Donnerstag 08 Februar 2007 19:22 schrieb Robert Cummings:
I don't suppose you checked the man page for wget did you?
shame on me: I didn't RTFM ;)
Now having done so, I wonder if I can
Jon Anderson writes:
Cookies must be encoded somehow: Because a raw cookie will contain
var=val; expires=time; path=/path/ type stuff, PHP would *have* to
encode it.
I don't mean to be thick, Jon, but I don't understand why it has to be
encoded at all. Are you saying that the path=/path/
On Thu, 2007-02-08 at 13:51 -0600, Fletcher Mattox wrote:
Jon Anderson writes:
Cookies must be encoded somehow: Because a raw cookie will contain
var=val; expires=time; path=/path/ type stuff, PHP would *have* to
encode it.
I don't mean to be thick, Jon, but I don't understand why
I asked this question awhile ago and never really visited the issue till
now. The response I got showed me how to disable everything, but I want to
allow basic html tags.
~My original question~
My next task is disable harmful tags/scripts in a full text field.
I want to store a bio type field
-Original Message-
From: Don [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 08, 2007 3:28 PM
To: php-general@lists.php.net
Subject: RE: [PHP] what do i need to disable
I asked this question awhile ago and never really visited the issue till
now. The response I got showed me
Lots of good recommendations have been made.. I just wanted to toss one more
into the mix. It hasn't been updated in years, but does a fantastic job, and
so far I havn't been lured by Notepad++ or any of the others enough (even after
trying them) to switch. Check out Crimson Editor when you
Paul's probably right.. putting the sorting values in a table would be eaiser
to maintain. I don't know what I was thinking with the whole then you don't
HAVE to create a table. Both ways work.. but especially if you think the
positions may change, then it'll be tons easier to update if
Robert Cummings writes:
On Thu, 2007-02-08 at 13:51 -0600, Fletcher Mattox wrote:
Jon Anderson writes:
Cookies must be encoded somehow: Because a raw cookie will contain
var=val; expires=time; path=/path/ type stuff, PHP would *have* to
encode it.
I don't mean to be thick,
It's more secure to begin with converting the string using
htmlentities() and reconverting allowed tags afterwards.
See
http://alistapart.com/articles/secureyourcode
http://alistapart.com/articles/secureyourcode2
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Thu, 2007-02-08 at 15:23 -0600, Fletcher Mattox wrote:
Robert Cummings writes:
On Thu, 2007-02-08 at 13:51 -0600, Fletcher Mattox wrote:
Jon Anderson writes:
Cookies must be encoded somehow: Because a raw cookie will contain
var=val; expires=time; path=/path/ type stuff,
# [EMAIL PROTECTED] / 2007-02-08 15:23:45 -0600:
Robert Cummings writes:
If val can be any value then it can also be:
expires=time; path=/path/
Obviously, that would be an issue since that's part of the cookie
parameters. As such, it needs to be encoded. Now go away!
:)
Hello All,
I am currently switching to a basic shopping cart system that I created
to a more robust PHP X-Cart system that my company purchased, but I am
having an issue getting transactions to go through Verisign's payflow
pro.
I have OpenSSL 0.9.8d installed, but when the OpenSSL module is
I asked this question awhile ago and never really visited the issue till
now. The response I got showed me how to disable everything, but I want to
allow basic html tags.
http://us3.php.net/strip_tags
You can use the optional second parameter to specify tags which should not
be stripped.
Hola Foreros
Tengo la siguiente pregunta.
Como puedo darle la orden a un juego de registro que me lo ordene por fecha?
SELECT *
FROM mi_sitio_personal_menu
ORDER BY id DESC
Si le digo Orden by fecha Desc... Me lo ordena por números, no por fecha.
La fecha de la siguiente forma: DIA/MES/AÑO
On Thu, 2007-02-08 at 15:32 -0700, Don wrote:
I asked this question awhile ago and never really visited the issue till
now. The response I got showed me how to disable everything, but I want to
allow basic html tags.
http://us3.php.net/strip_tags
You can use the optional second
By using something like
$var = preg_replace(
!lt;(i|b|small|big|code)gt;(.+)lt;/\\1gt;!isU,
\\1\\2/\\1, $var);
you can accomplish a solution where only closed tags
will be reconverted.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Thanks for pointing out the PHP's deg2rad requirement. That was the
problem.
...Rene
On 7-Feb-07, at 7:30 PM, Gregory Beaver wrote:
M5 wrote:
I found a nice javascript function that takes two points of
latitude and
longitude and returns a midpoint. I'm now trying to rewrite in
PHP, but
Khai wrote:
STDERR and STDOUT are defined as constants. Is there a way to redefine
these constants?
Nope. Once they're set, they're set.
--
Postgresql php tutorials
http://www.designmagick.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Seguramente tengas que usar la función FORMAT(); dependiendo del tipo
de base de datos será de una forma u otra.
El Thu, 8 Feb 2007 18:28:54 -0500
Anuack Luna [EMAIL PROTECTED] escribió:
Hola Foreros
Tengo la siguiente pregunta.
Como puedo darle la orden a un juego de registro que me lo
Hi all,
I have an array ($articles) that contains content in this format
Textbr
More text
I am currently calling the creation of the array as such;
$articles = split(Section break, $mystring); -- this works
NOW ... I need to split each item in the articles array into its own array
(newsarray)
# [EMAIL PROTECTED] / 2007-02-09 09:24:01 +0200:
I am currently calling the creation of the array as such;
$articles = split(Section break, $mystring); -- this works
NOW ... I need to split each item in the articles array into its own array
(newsarray)
I have tried
Foreach
89 matches
Mail list logo