PHP Designer 2005
http://www.mpsoftware.dk/
-Original Message-
From: Taksam [mailto:[EMAIL PROTECTED]
Sent: 26 July 2005 18:29
To: php-general@lists.php.net
Subject: [PHP] Very Basic question: What IDE/tools I need to begin using
PHP?
*
This
Have you tried doing a search for the text php5 in the php.ini file that
sits in your c:\windows folder?
C.
-Original Message-
From: Ned Kotter [mailto:[EMAIL PROTECTED]
Sent: 26 July 2005 04:03
To: php-general@lists.php.net
Subject: [PHP] php mySql question
I have installed php 5.0.4
axel wrote:
Hello Jochem,
Axel lets start again.
you seem to want to write a method in 1 base class that
will give you the correct classname when you call
the method statically on the/a subclass) ...
In all cases It _seems_ to me that you must already know
the name of the class in order to
Fam Ruijters-Verberne wrote:
Hello,
this is not a php question.
and you problem is that Apache cannot _bind_ itself to the port
that you specified in the apache.conf file (more likely XAMMP install
did it for you). specifically Apache appears to be trying to bind
itself to port 443 (which is
Taksam wrote:
Hi everybody, I am learning PHP, and have this very basic question:
What software/tools I need to begin?
What is the best IDE I can use? (in windows) Please tell me about FULL-IDEs, not just
super text editors that can syntax-highlight PHP code. I want to debug,
deploy... ALL!
Yes, it is quite possible that you have more than one php.ini file. Check
this and delete as appropriate.
Shaw, Chris - Accenture [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
...
Have you tried doing a search for the text php5 in the php.ini file that
sits in your c:\windows folder?
Hello Jochem,
Axel lets start again.
Okay.
SO: explain, please, why and what you are trying to do (DETAILS!).
don't dumb it down because that just makes the problem look moot.
I need the classname to register variables in the session. It's
complicated. There are a lot of inheritences.
Vinoo S Warrier wrote:
Hi all,
Iam running PHP on THTTPD 2.21b
I have a simple php script that sets the system clock (using exec(date -s
MMDDhhmm.ss) and returns a page showing the system time
when i use it to set the time forwards, it works fine
but if i use it and set the time
Sure that your php.ini is located correctly?
I have installed php 5.0.4 on my windows 2000, IIS 6.0 server. PHP works but
when I try to connect to MySQL I get the Fatal error: Call to undefined
function mysql_connect(). I have uncommented the line in the php.ini file that
says
Hi,
I have searched the archives and seen links to tutorials at phpclasses
(which seem to be down) and not found an answer to my question:
I have a long form I want to break into seven pages. Rather than pass
values from page to page as hidden, I'd rather write the results to the
db after each
[EMAIL PROTECTED] wrote:
Hi,
I have Apache 2.0.52 with PHP 4.3.9, running on a Linux Fedora 3, and
cannot write through PHP on any folder, except for /tmp.
No matter which permissions, owner or group are set for the folders or
files, they never become writable.
When I execute the
On Wed, 2005-07-27 at 07:51 -0400, Jack Jackson wrote:
Hi,
I have searched the archives and seen links to tutorials at phpclasses
(which seem to be down) and not found an answer to my question:
I have a long form I want to break into seven pages. Rather than pass
values from page to page as
André Medeiros [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Wed, 2005-07-27 at 07:51 -0400, Jack Jackson wrote:
Hi,
I have searched the archives and seen links to tutorials at phpclasses
(which seem to be down) and not found an answer to my question:
I have a long form I
Hello André,
Wednesday, July 27, 2005, 2:22:30 PM, you wrote:
AM That's not a very good idea. Imagine the user gets to the fourth
AM form and gets a cup of coffee, or goes out to lunch. By the time
AM he gets to the computer he might have lost the session, thus
AM having data on your DB that is
Thanks everyone. I take the point of Andre, but believe that the depth
and sensitivity of the data require it be stored server side. I think
that Richard and Mark have put their fingers on it - it's gotta be
cookie based. Someone on the IRC suggested sessions and I think that it
the way it
axel wrote:
Hello Jochem,
Axel lets start again.
Okay.
SO: explain, please, why and what you are trying to do (DETAILS!).
don't dumb it down because that just makes the problem look moot.
I need the classname to register variables in the session. It's
complicated. There are a lot
Dotan Cohen wrote:
On 7/26/05, Jochem Maas [EMAIL PROTECTED] wrote:
...somebody beat me with a virtual stick if I am wrong!
Why? I'd rather just throw the php.net/manual at you!
harddrive or memory stick?
just /home/dotan/myfiles/docs/php-manual/
but seriously did I err?
Not that I
hi.
i have a p_debug(), that print out some useful information (for me).
it is called by a lot of my functions, and i want to know which one is
generating the error.
the referral function :)
no, i don't want to write in all call to p_debug some information on running
function...
thanks
Ned Kotter wrote:
I have installed php 5.0.4 on my windows 2000, IIS 6.0 server. PHP works but
when I try to connect to MySQL I get the Fatal error: Call to undefined
function mysql_connect(). I have uncommented the line in the php.ini file that
says 'extension=php_mysql.dll'. I have path
On Wed, 2005-07-27 at 15:14 +0200, Daniele Palumbo wrote:
hi.
i have a p_debug(), that print out some useful information (for me).
it is called by a lot of my functions, and i want to know which one is
generating the error.
the referral function :)
no, i don't want to write in all
If my php is configured as ( http://liang.ns2user.info/php/info-train06.htm)
an apache 2.0 filter module. The php is invoked by apache on request of http
client. Can I do an exec() to call another php script to run in the
background? If yes, how?
Highly appreciate if somebody helps. Thank
On 7/27/05, Jochem Maas [EMAIL PROTECTED] wrote:
Dotan Cohen wrote:
On 7/26/05, Jochem Maas [EMAIL PROTECTED] wrote:
...somebody beat me with a virtual stick if I am wrong!
Why? I'd rather just throw the php.net/manual at you!
harddrive or memory stick?
just
Hi
I want to see that a user is submiting a form field in the correct manner.
So I decided to use preg_match to verify their input.
The pattern I am trying to match is;
Firstname Secondname
I am not bothered about character length just yet (but advise on this would
be appreciated if it can be
Steve Turnbull wrote:
Hi
I want to see that a user is submiting a form field in the correct manner.
So I decided to use preg_match to verify their input.
The pattern I am trying to match is;
Firstname Secondname
I am not bothered about character length just yet (but advise on this would
be
On Wed, 2005-07-27 at 15:27 +0100, Steve Turnbull wrote:
Hi
I want to see that a user is submiting a form field in the correct manner.
So I decided to use preg_match to verify their input.
The pattern I am trying to match is;
Firstname Secondname
I am not bothered about character
On Wed, 2005-07-27 at 15:27 +0100, Steve Turnbull wrote:
Hi
I want to see that a user is submiting a form field in the correct manner.
So I decided to use preg_match to verify their input.
The pattern I am trying to match is;
Firstname Secondname
I am not bothered about character
Hello,
Thanks for all the info guys! I successfully made php use root user to
preform a few commands. I restricted root access to allow only a few
commands which were needed.
I'm doing my best to keep this thing as secure as possible which still
preforming the tasks that need to be done.
Tom
André Medeiros [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Wed, 2005-07-27 at 15:27 +0100, Steve Turnbull wrote:
Hi
I want to see that a user is submiting a form field in the correct
manner.
So I decided to use preg_match to verify their input.
The pattern I am trying
On Wed, 2005-07-27 at 16:16 +0100, Mark Rees wrote:
André Medeiros [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Wed, 2005-07-27 at 15:27 +0100, Steve Turnbull wrote:
Hi
I want to see that a user is submiting a form field in the correct
manner.
So I decided to use
From: André Medeiros [mailto:[EMAIL PROTECTED]
On Wed, 2005-07-27 at 16:16 +0100, Mark Rees wrote:
Or even four - like Rafael van der Vaart for example - so
make sure that the
surname box matches spaces as well, and special characters
like the ê, as
well as ' as in John O'Kane
On Wed, 2005-07-27 at 11:41 -0400, Mike Johnson wrote:
From: André Medeiros [mailto:[EMAIL PROTECTED]
On Wed, 2005-07-27 at 16:16 +0100, Mark Rees wrote:
Or even four - like Rafael van der Vaart for example - so
make sure that the
surname box matches spaces as well, and special
André Medeiros wrote:
That's not very nice of you, saying that to people who try to help ;)
if( strpos( $_POST['frmName'], ' ' ) === false ) {
// Do error handling here
} else {
// All is OK :)
}
How does that match Firstname Lastname better than a regex? That will
return true as
I'm successfully calling SOAP functions via a WSDL interface using
PHP5, but sometimes the functions return things that are complex
objects with methods as well as attributes. For example, the
interface I'm using has a query function which returns an array, but
it also has a function
From: André Medeiros [mailto:[EMAIL PROTECTED]
On Wed, 2005-07-27 at 11:41 -0400, Mike Johnson wrote:
From: André Medeiros [mailto:[EMAIL PROTECTED]
On Wed, 2005-07-27 at 16:16 +0100, Mark Rees wrote:
Or even four - like Rafael van der Vaart for example - so
make sure that
Hi all,
which is the correct method to get a value from the database table into a php
variable using the select statement for both oracle and mssql databases.
for example if i have a query like SELECT email_address FROM users_activation
WHERE username='$username';.
how to get the email
On Wed, 2005-07-27 at 11:55 -0400, John Nichel wrote:
André Medeiros wrote:
That's not very nice of you, saying that to people who try to help ;)
if( strpos( $_POST['frmName'], ' ' ) === false ) {
// Do error handling here
} else {
// All is OK :)
}
How does that
André Medeiros wrote:
On Wed, 2005-07-27 at 11:55 -0400, John Nichel wrote:
André Medeiros wrote:
That's not very nice of you, saying that to people who try to help ;)
if( strpos( $_POST['frmName'], ' ' ) === false ) {
// Do error handling here
} else {
// All is OK :)
}
How does
On Wed, 2005-07-27 at 12:30 -0400, John Nichel wrote:
André Medeiros wrote:
On Wed, 2005-07-27 at 11:55 -0400, John Nichel wrote:
André Medeiros wrote:
That's not very nice of you, saying that to people who try to help ;)
if( strpos( $_POST['frmName'], ' ' ) === false ) {
// Do
More specifically, I'd have two frames, one of which is hidden using
css and the other that would display the content of the website. The
user would never know that there were frames on the page by looking
at it.
Just as a warning most people will tell you that putting background
music
André Medeiros wrote:
On Wed, 2005-07-27 at 12:30 -0400, John Nichel wrote:
André Medeiros wrote:
On Wed, 2005-07-27 at 11:55 -0400, John Nichel wrote:
André Medeiros wrote:
That's not very nice of you, saying that to people who try to help ;)
if( strpos( $_POST['frmName'], ' ' ) ===
(It's been a while and I haven't seen this message yet. Are we back to
rediculous message delays?? Forgive the repost if it be such.)
Hello,
I was just expirementing with the diff command and was wondering if
there was anything out there that does the same thing but with a more
intuitive
Chris W. Parker wrote:
(It's been a while and I haven't seen this message yet. Are we back to
rediculous message delays?? Forgive the repost if it be such.)
Hello,
I was just expirementing with the diff command and was wondering if
there was anything out there that does the same thing but with
Hello everybody:
I finally installed Apache 1.3.3 and PHP 5.0.4 engine and made my first PHP
page and it works! thanks for your help! And didn't use an IDE, just UltraEdit
:) but, I WILL use and IDE someday anyway.
Now, my question is: can I use Apache version 2 with PHP? And, even if I
Anybody used OpenAMF+PHP? ( http://www.amfphp.org/ )
It is an open-source Flash Remoting gateway. I already used it with Java and
works OK. Just wanted to know if somebody here used it with PHP and would like
to know if they recommend it or not.
Tak
I was just expirementing with the diff command and was wondering if
there was anything out there that does the same thing but with a more
intuitive interface?
What's wrong with diff -r --brief dir1 dir2
That's about as intuitive as you can get, no?
--
PHP General Mailing List
I was just expirementing with the diff command and was wondering if
there was anything out there that does the same thing but with a more
intuitive interface?
The problem I want to avoid is a basic one. Which file did I update
last week that I forgot to publish to the live site?
It would be
Philip Hallstrom wrote:
I was just expirementing with the diff command and was wondering if
there was anything out there that does the same thing but with a more
intuitive interface?
The problem I want to avoid is a basic one. Which file did I update
last week that I forgot to publish to the
Hi all
We just bought ourselfs a very basic windows station so that we can test our
php and html applications on windows as well. For the html applications, a
simple screen shot of how it looks in internet explorer is sufficient.
I know how to handle http authentication, file uploads,
Philip Hallstrom mailto:[EMAIL PROTECTED]
on Wednesday, July 27, 2005 11:09 AM said:
I was just expirementing with the diff command and was wondering if
there was anything out there that does the same thing but with a more
intuitive interface?
What's wrong with diff -r --brief dir1 dir2
John Nichel mailto:[EMAIL PROTECTED]
on Wednesday, July 27, 2005 10:56 AM said:
What about just checking the modified times of the two files with
filemtime()? You could have it grab the timestamp of both files,
compare them, and see if it's outside a set parameter (like 24 hours,
7 days,
Launching a brower shouldn't be difficult.. there's a few ways to do that.
Taking the screenshot might be trickier though. I don't know of any function
in IE that'll take a screenshot so don't know if you could do it through a COM
interface to IE.
My first impulse was to maybe check out the
* Taksam [EMAIL PROTECTED]:
I finally installed Apache 1.3.3 and PHP 5.0.4 engine and made my
first PHP page and it works! thanks for your help! And didn't use an
IDE, just UltraEdit :) but, I WILL use and IDE someday anyway.
The beauty of PHP (and most scripting languages) is that you don't
Hello,
Anyone willing to share knowledge or points to articles that try to implement
event-driven programming in PHP.
And yes, I know php is not event driven language but I like the approach when
working with 3 layers patterns.
Regards,
Angelo
hi, my first attempt at a sessions-based form is starting at
http://pastebin.com/322696
and I have a question. What I want to do is, after the user answers the
questions in section one and they are error checked, I want to write the
answers to $_SESSION() and then continue down the script to
There you go: http://beeblex.com/search.php?s=eventd=phpa_articles
The first three articles are all about event-driven programming with PHP
using various frameworks.
Cheers,
Marco
On 7/27/05 3:31 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hello,
Anyone willing to share
-Original Message-
From: Jack Jackson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 27, 2005 3:47 PM
To: php [php] PHP General List
Subject: Re: [PHP] Multipage form redux
hi, my first attempt at a sessions-based form is starting at
http://pastebin.com/322696
and I have
Jim Moseby wrote:
-Original Message-
From: Jack Jackson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 27, 2005 3:47 PM
To: php [php] PHP General List
Subject: Re: [PHP] Multipage form redux
hi, my first attempt at a sessions-based form is starting at
http://pastebin.com/322696
and
Thank you Jim...this is helpful. I will try this when I get home.
Wil
- Original Message -
From: Jim Moseby [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Tuesday, July 26, 2005 4:03 PM
Subject: RE: [PHP] Using PHP to get user input via checkbox through a data
base
Hello
I was just expirementing with the diff command and was wondering if
there was anything out there that does the same thing but with a more
intuitive interface?
What's wrong with diff -r --brief dir1 dir2
That's about as intuitive as you can get, no?
Well to answer your question, no. It could
We just bought ourselfs a very basic windows station so that we can test our
php and html applications on windows as well. For the html applications, a
simple screen shot of how it looks in internet explorer is sufficient.
I know how to handle http authentication, file uploads, streaming files
Jim Moseby wrote:
-Original Message-
From: Jack Jackson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 27, 2005 3:47 PM
To: php [php] PHP General List
Subject: Re: [PHP] Multipage form redux
hi, my first attempt at a sessions-based form is starting at
i never really used constants before so this may sound stupid..
when you define a constant using define() and want to return true/false
is this logical:
if($bars == 3)
{
define('BAR', 1);
}
then:
if(BAR)
{
// bars is true
}
or should i need to do an else statement as well:
if($bars
i never really used constants before so this may sound stupid..
when you define a constant using define() and want to return true/false
is this logical:
http://us2.php.net/defined
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
In ASP.Net there is the concept of application which is a virtual
directory on a Web server. An application can have application-wide
shared data/objects, which can be accessed by any script of that
application (i.e., scripts under the virtual directory). I have gone
through several PHP books,
Hi,
Not sure if everyone would agree, but I think the best way to go about
doing this is just to make a table in a relational database. You can
restrict access permissions using MySQL if that's something you're
really concerned about, but there's basically no disadvantage to just
storing
Hi,
I must admit I am surprised at the paucity of date and time functions in PHP.
I have a date stored in a MySQL database in field of datatype date. PHP
doesn't seem to have a function I can use to format it for print. I tried
the following but regardless of the value in the date field, it
Linda H wrote:
Hi,
I must admit I am surprised at the paucity of date and time functions in
PHP.
I have a date stored in a MySQL database in field of datatype date. PHP
doesn't seem to have a function I can use to format it for print. I
tried the following but regardless of the value in
hi Linda
I must admit I am surprised at the paucity of date and time
functions in PHP.
You may want to check out the PEAR Date class:
http://pear.php.net/package/Date
Rob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Aiguo,
To achieve good performance, I want to load the
whole dictionary into memory when the application starts (e.g.,
when
the web server starts...
I'm not sure how ASP works, but in PHP you can't load something into
memory when the web server starts and keep it there. PHP 'compiles'
69 matches
Mail list logo