On Saturday 28 August 2004 09:43, gc wrote:
Hi all,
I'm Gene Candelaria and I'm a PHP and MySQL newbie.
You have started a new thread by taking an existing posting and replying to
it while you changed the subject.
That is bad, because it breaks threading. Whenever you reply to a message,
your
Is it possible to use the DOM to add (HTML) elements to a page at the time
the page is being shown? The HTML and VBScript shown below is a simplified
version of what I need to do but of course I need to do it in PHP. Since PHP
is server-side (right?) perhaps it is not possible.
HTML
HEAD
On Fri, 27 Aug 2004 23:17:29 -0700, Sam Hobbs [EMAIL PROTECTED] wrote:
Is it possible to use the DOM to add (HTML) elements to a page at the time
the page is being shown? The HTML and VBScript shown below is a simplified
version of what I need to do but of course I need to do it in PHP. Since
On Fri, 27 Aug 2004 23:17:29 -0700, Sam Hobbs [EMAIL PROTECTED] wrote:
Is it possible to use the DOM to add (HTML) elements to a page at the time
the page is being shown? The HTML and VBScript shown below is a simplified
version of what I need to do but of course I need to do it in PHP. Since
its possible to add HTML elements with DOM, im not sure what it has to
do with php though?
Jason
Sam Hobbs [EMAIL PROTECTED] wrote:
Is it possible to use the DOM to add (HTML) elements to a page at the time
the page is being shown? The HTML and VBScript shown below is a simplified
version
On Fri, 27 Aug 2004 18:29:50 -0400, Ryan Schefke [EMAIL PROTECTED]
wrote:
Thomas,
I'm not sure what your point is. Please expand.
Ryan
Do you really see nothing wrong with announcing to all users that they
can
run arbitrary SQL with your script?
well, the where clause in mysql is relativly
Hello, is it possible to open a stream in which I can write commands
and read output from them to a shell like bash? I want to do this
because this program can not be completed with just a `backtick` or
shell_exec() command, as it's somewhat user-interactive.
As an example, let's say I want to
Yes, that indeed was a typo but only in my message above. It's not the
problem with the script
Uzytkownik Andre Dubuc [EMAIL PROTECTED] napisal w wiadomosci
news:[EMAIL PROTECTED]
Hi,
Looking at your code, I noticed that either you're missing the closing
double
quote to close off the Location
Hi List,
I'm using PHP5 with global variables off. I've got around 20 dynamically
generated forms with a total of 300 different variables sent thru these
forms. I'd like to use variable variables, but according to the manual this
is not possible.
Now comes my Questoin, how do I receive my
JanBro wrote:
Hi List,
I'm using PHP5 with global variables off. I've got around 20 dynamically
generated forms with a total of 300 different variables sent thru these
forms. I'd like to use variable variables, but according to the manual this
is not possible.
Now comes my Questoin, how do I
Paul Danko wrote:
Is it possible to run a command on the system using the system() or
exec() commands run as a specific user if I have the username and
password?
i.e.
[EMAIL PROTECTED]su userNo1
[EMAIL PROTECTED]/home/server/executeScript
all in a php system() or exec() call..
hi,
after looking at the imap functions...i was wondering how the mail filtering works...
afaik procmail does that...but is there any std way / php functions to set the filters?
i know the filtering depends on mail server...but if we assume that it is done using
procmail...
is it somehow
Sorry for posting this problem again but it's been really driving me crazy.
I've reinstalled Apache and PHP for the 5th time and the result is still the
same - sessions work only when using a href=b.phpclick/a link. When
using header(location: b.php); the session information is lost and a new
On Saturday 28 August 2004 18:52, gregosh wrote:
Sorry for posting this problem again but it's been really driving me crazy.
I've reinstalled Apache and PHP for the 5th time and the result is still
the same - sessions work only when using a href=b.phpclick/a link.
When using header(location:
U¿ytkownik Jason Wong [EMAIL PROTECTED] napisa³ w wiadomo¶ci
news:[EMAIL PROTECTED]
On Saturday 28 August 2004 18:52, gregosh wrote:
Sorry for posting this problem again but it's been really driving me
crazy.
I've reinstalled Apache and PHP for the 5th time and the result is still
the same
On Saturday 28 August 2004 18:36, vivek athalye wrote:
after looking at the imap functions...i was wondering how the mail
filtering works... afaik procmail does that...
If by filtering you mean imap_search() then that works in a completely
different way to procmail.
but is there any std way
As of PHP 4.3.0 you can use the proc_* functions (proc_open proc_close
in PHP 4.3.0+ and proc_get_status, proc_nice and proc_terminate as of
PHP 5).
If you don't have access to that, you can use the following:
use shell_exec to create a process, and make it send all output to some
temporary
Hello,
Another test to ensure we don't have any automatic replies or bouncing
addresses. Please don't reply, or you will be removed.
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Do you guys have any idea why this code:
?php
class Foo
{
private $elem = array();
public function __get ($prop)
{
if (isset($this-elem[$prop])) {
return
Janbro wrote:
Hi List,
I'm using PHP5 with global variables off. I've got around 20 dynamically
generated forms with a total of 300 different variables sent thru these
forms. I'd like to use variable variables, but according to the manual this
is not possible.
Now comes my Questoin, how do I
This code works. It calls the function and receives the appropriate
return value.
But, is there a better way of doing this? It seems a bit round-a-bout.
Two options, details in the manual: call_user_func() or create_function().
It's a bug.
* Siehe http://bugs.php.net/bug.php?id=28444 ... und ...
* http://news.php.net/php.bugs/63652
A workaround is possible using __call( $name, $args) { return(
$this-__get( $name)); }. But it sucks, since constructs using array
indices are impossible as
Stefan wrote:
It's a bug.
* Siehe http://bugs.php.net/bug.php?id=28444 ... und ...
* http://news.php.net/php.bugs/63652
A workaround is possible using __call( $name, $args) { return(
$this-__get( $name)); }. But it sucks, since constructs using array
indices are impossible as
--- Yann Larrivee [EMAIL PROTECTED] wrote:
I personally dont beleive in this. It is juste another way to make
money ;) Every body in the indeustry should know that.
Disclaimer: I assisted in the creation of the Zend PHP Certification.
You're right - this is another way to make money. However,
--- Yann Larrivee [EMAIL PROTECTED] wrote:
Sorry another reply, there use to be the .geek php certification that
was annonced on php.net then was removed right off like 2 days
after)
Was it cause of some pressure of a companie and group of people?
You tell me.
OK, I will. No.
It was not
--- John Nichel [EMAIL PROTECTED] wrote:
Know what helps me get php jobs? A resume that details almost 6
years of php programming.
Disclaimer: I assisted in the creation of the Zend PHP Certification.
This is a very good point. However, and I'm speaking from experience, how
do you verify
--- Curt Zirzow [EMAIL PROTECTED] wrote:
OSS doesn't make a person better programmer, you can easily write
an OSS app and still lack any knowledge of proper writting.
As a PHP security advocate for the last few years, I can tell you that
Curt is absolutely correct. In fact, poor open source
--- Dan Joseph [EMAIL PROTECTED] wrote:
Its good that there's a PHP Cert, PHP/Zend should endorse one.
http://www.zend.com/store/education/certification/zend-php-certification.php
Chris
=
Chris Shiflett - http://shiflett.org/
PHP Security - O'Reilly
Coming Fall 2004
HTTP Developer's
--- John Nichel [EMAIL PROTECTED] wrote:
I'm not big on certs myself. How many MCSE's have we seen who can't
find the power switch? ;)
This was a big concern for me when working with Zend on their
certification. Especially in the open source communities, certifications
are not considered to
Chris Shiflett wrote:
--- John Nichel [EMAIL PROTECTED] wrote:
I'm not big on certs myself. How many MCSE's have we seen who can't
find the power switch? ;)
This was a big concern for me when working with Zend on their
certification. Especially in the open source communities, certifications
are
Well i think in a way that getting programmers certified is one thing. I
also think that there might be a need for software certification.
Where it would validate that the standars have been fallowed, check the
quality of the code, check for security, check for proper docummentation
(comments,
The first two of these 3 echo statements work. But my last echo doesn't. 'username' is
the name of the element I want to echo. To the right of each is what I see echoed.
echo $_SERVER['REQUEST_METHOD']; echos - POST
echo $_POST; echos - Array
echo $_POST['username'];
Please accept my appologies, it won't happen again. I didn't realize. I must
have missed this in the welcome message.
gene
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]
Sent: Friday, August 27, 2004 11:00 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP/MySQL fatal error
[EMAIL PROTECTED] wrote:
The first two of these 3 echo statements work. But my last echo doesn't. 'username' is
the name of the element I want to echo. To the right of each is what I see echoed.
echo $_SERVER['REQUEST_METHOD']; echos - POST
echo $_POST; echos - Array
echo
John,
Thanks for the reply. It is done in software called ToolBook, runs in windows.
The toolbook translates to dhtml and then is executed froma browser. The command in
toolbook for the data is:
Set HTTP POST parameter username to ahttptest
I don't expect anyone to know ToolBook, but
--- John Nichel [EMAIL PROTECTED] wrote:
I understand where you're coming from, and I'm sure with your
involvement in the project it will be top notch. I've always been
impressed with your work, and am eagerly awaiting your O'Reilly
book. ;)
Thanks for the compliments. :-)
I'm behind
[EMAIL PROTECTED] wrote:
John,
Thanks for the reply. It is done in software called ToolBook, runs in windows.
The toolbook translates to dhtml and then is executed froma browser. The command in
toolbook for the data is:
Set HTTP POST parameter username to ahttptest
I don't expect anyone to know
Chris Shiflett wrote:
--- John Nichel [EMAIL PROTECTED] wrote:
I understand where you're coming from, and I'm sure with your
involvement in the project it will be top notch. I've always been
impressed with your work, and am eagerly awaiting your O'Reilly
book. ;)
Thanks for the compliments.
Thanks, I'll give it a try.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
John, Thanks for your help. I got it all to work. In my toolbook set parameter stmt I
needed to put quotes around username - username. No where is this documented in
ToolBook.
Thnaks for your help!
Dennis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Sat, 28 Aug 2004 11:43:13 +0200, JanBro [EMAIL PROTECTED] wrote:
Hi List,
I'm using PHP5 with global variables off. I've got around 20 dynamically
generated forms with a total of 300 different variables sent thru these
forms. I'd like to use variable variables, but according to the
Justin Patrin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Fri, 27 Aug 2004 23:17:29 -0700, Sam Hobbs [EMAIL PROTECTED]
wrote:
Is it possible to use the DOM to add (HTML) elements to a page at the
time
the page is being shown? The HTML and VBScript shown below is a
simplified
Ramil Sagum [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Yes, it is possible. And you are right, PHP is a server side
language. In addition to PHP,
use a client-side scripting language (like JavaScript). JavaScript
also has functions for accessing the DOM (createElement and
Hello
I was working on a web site that will be using TABS, the page will have
three TABS.
All the data will be dynamic on all the pages, the first tab will be a
search page. After submit is hit the page will be reloaded to display
the results.
Each result will be a link to detailed
Read the original question again; it is quite clear about the relevance to
PHP.
Jason Davidson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
its possible to add HTML elements with DOM, im not sure what it has to
do with php though?
--
PHP General Mailing List
I suppose it was too much to ask for some clearification. I hope
someone else helps you. Good luck, by they way, the difference between
VBScript and Javascript is monumental when using Gecko based browsers.
Jason
Sam Hobbs [EMAIL PROTECTED] wrote:
Read the original question again; it is
One suggestion that I have is to use curl to get the web page that you want,
put that into a buffer variable and then when you click on the link to the
second page, you would then output the variable to the page.
-Brent
- Original Message -
From: Michael Gale [EMAIL PROTECTED]
To:
Please help, I'm tearing what remains of my hair out here.
I've got a MySQL database where I've defined one of the table fields as an
integer.
Using PSP I've passed a session variable and can echo it to the screen using
?php echo intval($clin_id) ?. So the session variable exists and can be
Aidan wrote:
Please help, I'm tearing what remains of my hair out here.
I've got a MySQL database where I've defined one of the table fields as an
integer.
Using PSP I've passed a session variable and can echo it to the screen using
?php echo intval($clin_id) ?. So the session variable exists and
If you just need to put it in the database, you dont need a form to do
that..
just open a connection to your db, and query it in.
read about mysql functions in the php manual.. specifically
mysql_connect, mysql_select_db and mysql_query
, i beleive there is a functional example of all you need
When are the chm (last updated Apr. 18, 2004) and
extended chm (last updated Sep. 6, 2003) docs likely
to be updated?
CSN
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
PHP General
Hello,
I'm developing some site that will share the same UserDB, because these
site are quite large in scale so I decided to host it on different servers.
Each site will have it own cache of active user on the site, so the user
wont' have to be authenticated every request (will be a pain in the
This isn't really answer to your question, but to possibly simplify your
authentication mechanism, you ought to take a look at the pear package
Liveuser which allows you to have somewhat of a distributed authentication
architecture.
Check out http://pear.php.net/package/LiveUser
-Brent
-
-Original Message-
Of course, we tried very hard to make this one have a fair amount of value
but not just be difficult for the sake of being difficult.
Why not offer multiple PHP certifications varied by topic and complexity?
Will certs expire?
=)
--
PHP General Mailing List
Well i think in a way that getting programmers certified is one thing. I
also think that there might be a need for software certification.
Where it would validate that the standars have been fallowed, check the
quality of the code, check for security, check for proper docummentation
Let me try this again,
I'm Gene Candelaria and I'm a PHP and MySQL newbie. I have a feeling a lot
of you may have seen this before. I'm teaching myself
PHP/MySQL and trying to setup a guestbook. I'm running latest versions of
Apache, PHP and MySql on WIN 2000. PHP is installed from the zip file.
I want to send SMS Text messages to cell phones from my server app
I would also like cell phones to be able to send text messages back to
my app
how does one go about doing this ?
Can I do a 'get' or a 'post' to some kind of sms gateway url ?
does anyone know what the costs are for something
On Sat, 28 Aug 2004 16:57:27 -0700, gc [EMAIL PROTECTED] wrote:
Let me try this again,
I'm Gene Candelaria and I'm a PHP and MySQL newbie. I have a feeling a lot
of you may have seen this before. I'm teaching myself
PHP/MySQL and trying to setup a guestbook. I'm running latest versions of
--- [EMAIL PROTECTED] wrote:
I want to send SMS Text messages to cell phones from my server app
I would also like cell phones to be able to send text messages back to
my app how does one go about doing this?
This was done recently for Midnight Madness. The information given by the
[EMAIL PROTECTED] wrote:
I want to send SMS Text messages to cell phones from my server app
I would also like cell phones to be able to send text messages back to
my app
how does one go about doing this ?
Can I do a 'get' or a 'post' to some kind of sms gateway url ?
Goto kannel.org and
Hello guys,
Do anyone have an idea how to execute 2 different functions in the same
moment, no matter if they're system or custom ones. For example, how can I
execute 2 different loops simultaneously?
--
Regards, Andrew
[EMAIL PROTECTED]
--
PHP
gc wrote:
snip-a-roo
It's been awhile since I've done php on Windows, but I think you have to
uncomment the mysql dll in the php.ini file (make sure you're editing
the right one as per phpinfo), and restart your web server.
--
By-Tor.com
It's all about the Rush
http://www.by-tor.com
--
PHP
Thanks, John. I have the line uncommented, am editing php.ini in my winnt
directory and have restarted the server. No magic, yet.
Thanks again.
g
-Original Message-
From: John Nichel
gc wrote:
snip-a-roo
It's been awhile since I've done php on Windows, but I think you have to
I am using PHP 4.3.4 with Windows XP and Apache 2.
I can't get php_domxml.dll loaded. I have searched for answers and tried
many things.
The file:
S:\Software\php-4.3.4-Win32\extensions\php_domxml.dll
exists. In my php.ini, I have tried setting extension_dir to many values,
including:
It's been awhile since I've done php on Windows, but I think
you have to uncomment the mysql dll in the php.ini file (make
sure you're editing the right one as per phpinfo), and restart
your web server.
Thanks, John. I have the line uncommented, am editing php.ini in my winnt
On Sunday 29 August 2004 09:56, Andrew wrote:
Do anyone have an idea how to execute 2 different functions in the same
moment, no matter if they're system or custom ones. For example, how can I
execute 2 different loops simultaneously?
I'm curious at what you're trying to achieve. Could you
Thanks for the help, Phollip. Yes, I did read and follow the instructions in
the manual and the faq. I did edit my path and restarted my system. Same
result.
g
-Original Message-
From: Philip Olson [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 28, 2004 7:11 PM
To: gc
Cc: [EMAIL
On Sat, 28 Aug 2004 12:30:48 -0700, Sam Hobbs [EMAIL PROTECTED] wrote:
This is for osCommerce, which is a shopping cart system written in PHP. Many
of it's pages (the HTML) are not modifiable directly using a WYSIWYG editor,
which make the content difficult to modify, especially for
I just upgraded PHP from 5.0 to 5.0.1 on a FreeBSD box.
But unfortunately it seemed to break the regex features of mbstring
At startup and every time I try to run PHP I get this:
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/local/lib/php/20040412/mbstring.so' -
Hi,
I click PHP 5.0.1 installer
http://www.php.net/get/php-5.0.1-installer.exe/from/a/mirror link
download at http://www.php.net/get/php-5.0.1-installer.exe/from/a/mirror .
But i see download not found.
Download not found
This mirror site is improperly setup, and thus has no copy of the
Ramil Sagum [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Ah. You should have said this in your first mail (which was
confusing). It now becomes clear. I think what you are looking for is
a template engine, like smarty
http://smarty.php.net/
If Smarty is a good solution that
71 matches
Mail list logo