Hello,
I created a PHP page that included cookie, here is the PHP code:
if (isset($HTTP_POST_VARS['Name'])) {
setcookie("Name", $HTTP_POST_VARS['Name'], time()+86400*10);
}
Untitled Document
Name:
But when I called the cookie variable in another page, it showed
"Noti
php-general Digest 13 Feb 2003 08:07:17 - Issue 1880
Topics (messages 135350 through 135395):
Re: Passing PostgreSQL resource
135350 by: Joshua Moore-Oliva
135351 by: Joshua Moore-Oliva
Re: php & javascript drop down menu???
135352 by: Jeff Bluemel
Re: setcookie on
Hello
There isn't an easy answer to this but I guess the most important thing
being that it is easier to maintain in big projects and this makes it more
robust since you can test in a more modular way. Also it makes it easier
to reuse code also this seems to be one of those urban legends. At le
When I try to use a php script, to send an email, the From header is
replaced by a senders email address of my provider. Is there any way to make
it so my email address shows up in the From header?
In the script I used fake addresses, because of client privacy reasons...
--
PHP General Maili
>> I am developing a website with a user login system, i would like to send
>> an confirmation e-mail to the user when he/she registers for the site,
>> asking for confirmation...for instance click on a link to activate thier
>> account.
>> My question is what would be the best approach to achieve
Thursday, February 13, 2003, , wrote:
In my opinion php.ini is the least problem. Appache configuration is also
important. You must secure your server, switch off unused ports. There is
no default security configuration because it depends on the whole system.
> I'm completely new to php but am in
How do i delete all file in a directory???
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> How do i delete all file in a directory???
>
You could use a function like this:
(html code at end)
function delFiles($filter, $sDir) {
$cDirectory = includeTrailingSlash($sDir);
$handle = opendir($cDirectory);
while ($file = readdir($handle))
{
if ($file == '.' || $
Ooops, I didn't mean to post my question a number of times! Just that my
message didn't appear (in Outlook Express), so I reposted it. Thanks to
everyone who replied.
I'd rather not convert .HTML files to .PHP files because there are other
files in the members area that I also wish to protect (
This one time, at band camp,
Kenneth Suralta <[EMAIL PROTECTED]> wrote:
> How do i delete all file in a directory???
bit ugly but...
function del_dir($dirname) {
$dh = opendir($dirname);
while(false !== ($file = readdir($dh)))
{
if($file != '.' && $file != '..')
{
is it possible to do something like mail("[EMAIL PROTECTED]","subject","hello
if($a){ return andreas; }");
or what would be the best solution for this ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If the file does not exists, the web server needs write priviledge to
the directory where you want to create it.
Paul Dunkel wrote:
Marek Kilimajer wrote:
use
chmod 755 directory
on each directory that is in the way to your file
I tried that, too. Didn't help.
Here is the code, stripped to
I would like to create a file that holds the preferences for a site,
for example the name of the database, the size of thumbnail pictures
etc
But which is the best way to do this and to access the file?
It would be nice with an xml-file, but perhaps it is an overkill
Anyway it must be possibl
on 13/02/03 9:19 PM, Shams ([EMAIL PROTECTED]) wrote:
> Also, is there no way I can allow a user to login using a PHP login script,
> and then pass the "username" and "password" over to .htaccess to verify ?
Just use .htaccess for the whole lot
Justin
--
PHP General Mailing List (http://www.p
Yep, I am trying to have a php web page change the linux system
date/time, but obviously running into the snag that /bin/date, while
"chmod 775" doesn't allow a user to set the date/time. Why is that,
given the permissions? Sure it makes sense, but it's annoying. Ideas on
how to circumvent this pro
What about an .ini file?
http://www.php.net/manual/en/function.parse-ini-file.php
If you want read/write from php, try a searching http://www.phpclasses.org/
for inifile.
Mark
Victor wrote:
"Victor spång arthursson" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]
On Thursday 13 February 2003 13:06, Joe Njeru wrote:
> I'm using IIS on win2k.
Well done.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
---
hi guys i am trying to increment a counter echoed out to the screen to be
used for flash
for ($i=0; $i < 10; $i++) {
//$string = $i;
echo "varText=$i&";
flush();
ob_flush();
sleep(1);
}
i cant seem to get each one out at a time , it will go through it then
output at the end ??
--
PHP Gen
You need root priviledges, that means /bin/date must run as root. You
can use sudo
Daevid Vincent wrote:
Yep, I am trying to have a php web page change the linux system
date/time, but obviously running into the snag that /bin/date, while
"chmod 775" doesn't allow a user to set the date/time. Why
hello everybody,
I'm very interesting in using gpg to encrypt my mails in my php script.
so I have download the gpgext file
http://www.sourceforge.net/projects/gpgext/
but I don't understand how use it? I suppose that I must inform my php.ini
that I want using this librairy, but I don't uderstant
I'm trying to parse CSV data with parameters, i.e.
foo(something),bar(something),something(foobar). Any suggestions on
doing this, hopefully with some way to escape )s in the parameters?
--
The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will b
Jonas Geiregat wrote:
is it possible to do something like mail("[EMAIL PROTECTED]","subject","hello
if($a){ return andreas; }");
or what would be the best solution for this ?
i dont think that anybody understand this...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
You might still have a buffer at apache or system level, you can try to
output spaces or coments, but I'm not sure something like this is
possible in flash
electroteque wrote:
hi guys i am trying to increment a counter echoed out to the screen to be
used for flash
for ($i=0; $i < 10; $i++) {
/
After upgrading to MySQL 4.0.1.2 I ma getting the message :
Fatal error: Call to undefined function: mysql_connect() in
/home/penpals/pub/mysql.php on line 3
Please help my production server is down!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
fgetcsv() - for reading the file
str_replace('(', '\(', $string) - for escaping )s
Leif K-Brooks wrote:
I'm trying to parse CSV data with parameters, i.e.
foo(something),bar(something),something(foobar). Any suggestions on
doing this, hopefully with some way to escape )s in the parameters?
I'm not sure what I'm doing wrong...
In changetime.php:
$binDate = date ("mdhiY",
mktime($hour,$minute,0,$month,$day,$year));
$execString = "/usr/bin/sudo /bin/date ".$binDate."";
//echo $execString."";
exec($execString);
And then in /etc/sudoers:
nobody
Just so you know, MySQL is working.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks, but you totally misunderstood me. I'm not looking to get normal
CSV data (as in foo,bar,foobar), I'm looking to get CSV data with
parameters and get each piece of data and its parameter. For example, I
have a string something like foo(data),bar(data),foobar(data). I need
to get each
This one time, at band camp,
"Vernon" <[EMAIL PROTECTED]> wrote:
> After upgrading to MySQL 4.0.1.2 I ma getting the message :
>
> Fatal error: Call to undefined function: mysql_connect() in
> /home/penpals/pub/mysql.php on line 3
hmm, did you install from RPM??
Kevin
--
__
i mean can u output the counter to the screen with php ? like 1 wait a few
seconds 2 wait a few more seconds 3 etc .., atm it will go through the loop
first then output
-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 11:12 PM
To: electr
Yes
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Friday 14 February 2003 18:53, Jonas Geiregat wrote:
> is it possible to do something like mail("[EMAIL PROTECTED]","subject","hello
> if($a){ return andreas; }");
> or what would be the best solution for this ?
Try it.
I would prefer:
if ($a) {
$name = 'andreas'; }
else {
$name = '';
On Thursday 13 February 2003 20:12, Vernon wrote:
> After upgrading to MySQL 4.0.1.2 I ma getting the message :
>
> Fatal error: Call to undefined function: mysql_connect() in
Search archive on the above.
> Please help my production server is down!
If it's critical shouldn't you test all upgrade
On Thursday 13 February 2003 20:23, Dan Rossi wrote:
> i mean can u output the counter to the screen with php ? like 1 wait a few
> seconds 2 wait a few more seconds 3 etc .., atm it will go through the loop
> first then output
In theory yes. But it depends on your webserver. Search the archives.
Hi
I want to check if $var is a char or an int.
Freddy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thursday 13 February 2003 20:38, Fredrik wrote:
> I want to check if $var is a char or an int.
manual > Variable Functions
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development
Hi all,
I've written some small Web applications with PHP and I like it.
Since I'm accustomed to thinking OO, I was using the object-oriented
language features. This worked quite well, giving a reasonably clean design.
However, as with all software projects beyond a certain scope, things
start get
This is not helping me. I know very well that I should not and I tried the
upgrade on two other machines and all went wll.
My problem still stands and a search does ntohiong but tell me to check that
the path is correct. If it worked before then obviously the path is fine,
unless something has cha
$execString = "/usr/bin/sudo /bin/date ".$binDate."";
^
I believe the problem is here
Daevid Vincent wrote:
I'm not sure what I'm doing wrong...
In changetime.php:
$binDate = date ("mdhiY",
mktime($hour,$minute,0,$month,$day,$year));
"Marco Alting" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> When I try to use a php script, to send an email, the From header is
> replaced by a senders email address of my provider. Is there any way to
make
> it so my email address shows up in the From header
Then use (after fgetcsv) preg_match_all to get your data and parameters.
It is a bit more difficult so I won't give an example
Leif K-Brooks wrote:
Thanks, but you totally misunderstood me. I'm not looking to get
normal CSV data (as in foo,bar,foobar), I'm looking to get CSV data
with paramet
"Marco Alting" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> When I try to use a php script, to send an email, the From header is
> replaced by a senders email address of my provider. Is there any way to
make
> it so my email address shows up in the From heade
What are apache logs telling you?
Vernon wrote:
After upgrading to MySQL 4.0.1.2 I ma getting the message :
Fatal error: Call to undefined function: mysql_connect() in
/home/penpals/pub/mysql.php on line 3
Please help my production server is down!
--
PHP General Mailing List (http://ww
ahuh
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Thursday 13 February 2003 20:23, Dan Rossi wrote:
> > i mean can u output the counter to the screen with php ? like 1 wait a
few
> > seconds 2 wait a few more seconds 3 etc .., atm it will go t
> -Original Message-
> If it worked before then obviously the path is fine,
> unless something has changed.
Obviously something changed if it worked on 2 other servers. Check all your
logs.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsu
For some reason I do not see any error logs for today.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I think the point is here that I can connect with a MySQL client, so MySQL
is running.
I cannot however connect using PHP. What would cause this?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thursday 13 February 2003 20:42, Vernon wrote:
> This is not helping me. I know very well that I should not and I tried the
> upgrade on two other machines and all went wll.
>
> My problem still stands and a search does ntohiong but tell me to check
> that the path is correct. If it worked befor
On Thursday 13 February 2003 16:07, Terry Lau wrote:
> Hello,
> I created a PHP page that included cookie, here is the PHP code:
> if (isset($HTTP_POST_VARS['Name'])) {
> setcookie("Name", $HTTP_POST_VARS['Name'], time()+86400*10);
> }
[snip]
> But when I called the cookie variable in anothe
try
ldd /usr/lib/php4/mysql.so
Vernon wrote:
I think the point is here that I can connect with a MySQL client, so MySQL
is running.
I cannot however connect using PHP. What would cause this?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/uns
This cannot be the problem, session_start is for sessions
Jason Wong wrote:
>On Thursday 13 February 2003 16:07, Terry Lau wrote:
>
>
>>Hello,
>>I created a PHP page that included cookie, here is the PHP code:
>>>if (isset($HTTP_POST_VARS['Name'])) {
>>setcookie("Name", $HTTP_POST_VARS['Nam
I'm sorry I have no idea what that means.
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> try
> ldd /usr/lib/php4/mysql.so
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sorry, this is a shell command, you need to log in to your server. Also
I'm not sure about the path, it could be different on your system. This
command should print you something like
libmysqlclient.so.10 => /usr/lib/mysql/libmysqlclient.so.10
(0x4000b000)
libc.so.6 => /lib/i686/l
it happened to me something pretty similar when I upgraded to mysql
3.23.54a.
While solving the problem, I suggest to uninstall mysql 4.0.1 and reinstall
your previous working version (unless there's a real urge to upgrade to
4.0.1) and then try to upgrade to a devoloper server reinstalling not onl
Check out.
http://www.phpbuilder.com/columns/reiersol20030126.php3
http://pear.php.net/manual/en/packages.phpunit.tutorial.php
Mark
"Karl Traunmueller" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all,
>
> I've written some small Web applications with
Shams --
...and then Shams said...
%
...
% I'm interested in your solution David, what is the format of the external
% auth script that you use.. is there some kind of return you have to give
% .htaccess ?
Yep. It's just a simple perl script; it's attached for reference.
%
% Also, is there n
I always use 4 parameters in my setcookie(cookie_name,cookie_value,time,"/")
Also, verify that $HTTP_POST_VARS['Name'] exists by printing it
- Original Message -
From: "Jason Wong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 13, 2003 7:20 AM
Subject: Re: [PHP] cook
Hey Vern,
PHP does not think you have the MySQL module installed. none of the mysql_*
commands are going to work. check the output of phpinfo() to verify. What
version of PHP are you running? Since you are using RPMs the only (helpful)
advice I can give is try re-installing the PHP rpm. Possibly i
Hello
Recently i have installed apache 2.0.40-11 that comes
with Redhat 8.0 Linux, i have tried installing php
4.2.2-8.0.7 with it but when i put the LoadModule
php4_module modules/libphp4.so i get the following
error when running apache.
[warn] module php4_module is already loaded, skipping
And
You might have LoadModule libphp4.so somewhere before where you added it
bob pilly wrote:
Hello
Recently i have installed apache 2.0.40-11 that comes
with Redhat 8.0 Linux, i have tried installing php
4.2.2-8.0.7 with it but when i put the LoadModule
php4_module modules/libphp4.so i get the fol
No i have searched my httpd.conf file and i dont.
--- Marek Kilimajer <[EMAIL PROTECTED]> wrote: >
You might have LoadModule libphp4.so somewhere
> before where you added it
>
> bob pilly wrote:
>
> >Hello
> >
> >Recently i have installed apache 2.0.40-11 that
> comes
> >with Redhat 8.0 Linux,
Hi guys,
I have been trying to setup PEAR with php 4.2.3 on Apache 1.3.27 on WinXP.
I have followed all the installation instructions religiously and
installaion is done properly. I have also tried PEAR webbased installer and
working fine.
But when i try to use DB it doesn;t seem to like the ide
When I try to restart Apche I get the following error:
PHP Warning: Unable to load dynamic library '/usr/lib/php4/mysql.so' -
/usr/lib/php4/mysql.so: cannot open shared object file: No such file or
directory in Unknown on line 0
Any ideas, pleas ethis thing is still down.
--
PHP General Mail
ldd /usr/lib/php4/mysql.so?
Vernon wrote:
When I try to restart Apche I get the following error:
PHP Warning: Unable to load dynamic library '/usr/lib/php4/mysql.so' -
/usr/lib/php4/mysql.so: cannot open shared object file: No such file or
directory in Unknown on line 0
Any ideas, pleas ethis
There is no mysql.so file
"Lucas Lain" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> ldd /usr/lib/php4/mysql.so?
>
> Vernon wrote:
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
did you install php-mysql support??
Vernon wrote:
There is no mysql.so file
"Lucas Lain" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
ldd /usr/lib/php4/mysql.so?
Vernon wrote:
--
Lucas Lain
[EMAIL PROTECTED]
--
PHP General Mailing List (http://
When I try to install that I am told:
libmysqlclient.so.10 is needed by php-mysql-4.1.2-7.2.6
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
OK, I looked up that file and found that I needed to install the
MySQL-shared-3.23.51-1.i386.rpm which I did and realized that I already have
the php-mysql installed. But am still getting the same erro message when
restarting.
However I did find the file you were asking about but in the /usr/lib/p
I too have been very dismayed by their decision to remove the
CyberCash module. I'm consequently forced to never upgrade my
PHP again as I depend on that module. Verisign, as you mention,
*DOES* support Cybercash still, and switching to payflow will
cost us money - not only with Verisign, but wi
Are there any special configuration commands I have to
include at install to use GD?
J.
__
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
I finally got it!
I had to downgrade to an older verison of the php-mysql for God know what
reason. I am back up now.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Friday 14 February 2003 00:22, Joseph Bannon wrote:
> Are there any special configuration commands I have to
> include at install to use GD?
Depending on what you mean by special the answer could be YES or NO.
--with-gd --enable-gd-native-ttf --with-jpeg-dir=/usr --with-png-dir=/usr
--with-
>From your code snip it looks like you are missing ?> after the if
contruct.
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
msg96819/pgp0.pgp
Description: PGP signature
So the file is looked for in /usr/lib/php4, but resides in /usr/lib/php,
you should move it
Vernon wrote:
OK, I looked up that file and found that I needed to install the
MySQL-shared-3.23.51-1.i386.rpm which I did and realized that I already have
the php-mysql installed. But am still getting th
Hey All,
Ok I've been going nuts (as well as spending 6hours) trying to figure out
what's going on with this.
When I poll my switch from the commandline using net-snmp's snmpget tool I
get the proper response:
adxitutil1# ./snmpget -v 1 -c public xxx.xxx.xxx.xxx 1.3.6.1.2.1.1.1.0
SNMPv2-MIB::sy
I'm a little puzzled on why does either of these two, 'Bcc' and 'Cc' not
work when I had successfully send the e-mail. My best guess is that I need
additional header, if so then what are the required header needed to make
this 'Bcc' and 'Cc' work?
Here's the Internet Header from the " To: " e-ma
Hello everyone!
I'm having trouble accessing the argument list from a php script,
from the command line.
I'm calling the script as
>>./myscript.php argument1 argument2
myscript.php contains
#!/usr/local/php -q
$argv and $argc both returns blank. I looked at the global variables
($GLOBALS a
I'm having problems with cookies and PHP and I'm not sure how to solve them.
I've been working on a user tracking system for our site and I need to have the site
remember them after they close their browser then come back. The only way I can think
to do that is with cookies. I need to have PHP se
Try:
mail('[EMAIL PROTECTED]','subject','hello '.($a ? 'andreas'));
Jonas Geiregat wrote:
is it possible to do something like mail("[EMAIL PROTECTED]","subject","hello
if($a){ return andreas; }");
or what would be the best solution for this ?
--
The above message is encrypted with double
ok now it will print it's value correctly
but what about actually changing the cookie's value?
this line:
$_COOKIE['userInfo']="userID";
sets $_COOKIE['userInfo'] to "userID"
but it does not change the cookie file itself.
what must I do to accomplish that?
- Original Message -
From: "Leif
mail("[EMAIL PROTECTED]","This Is A Subject",$message,"From: [EMAIL PROTECTED]\r\nCc:
[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]\r\nBcc:
[EMAIL PROTECTED],[EMAIL PROTECTED]");
Separate addesses with commas. Separate CC and BCC with \r\n
- Original Message -
From: "Scott Fletch
setcookie("userinfo","userid",NULL,"/");
- Original Message -
From: "Fireborn Silvaranth" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, February 13, 2003 11:58 AM
Subject: [PHP] problems with cookies and PHP
ok now it will print it's value correctly
You have to set the cookie again.
Fireborn Silvaranth wrote:
ok now it will print it's value correctly
but what about actually changing the cookie's value?
this line:
$_COOKIE['userInfo']="userID";
sets $_COOKIE['userInfo'] to "userID"
but it does not change the cookie file itself.
what must I d
HI
I am trying to do the following:
I have an ftp server configured, but instead of the user having to use
an ftp client, I'd like them to use the browser: So I'm trying to make a
mini web-based ftp client. Idea is to get their username and password (
and maybe the ftp address as well?) and to the
I'm trying to update a field which contains a $USD figure. But when I update it as
200,000 it become 200. I need to take out the comma. Is using ereg_replace function
the best way of doing so? What do you think.
Thanks,
Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
I am creating a form to allow the user to change his/her password. After
the user enters their username and old password, I need to verify that info
before they can change their user name and password. So I tried using a
form within a form but am having some problems with passing the parameters
b
If the comma is all you have to worry about, you don't need regex. Use
www.php.et/str-replace.
Ben C. wrote:
I'm trying to update a field which contains a $USD figure. But when I update it as 200,000 it become 200. I need to take out the comma. Is using ereg_replace function the best way of
$thestr = str_replace(",","",$thestring);
- Original Message -
From: "Ben C." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 13, 2003 12:13 PM
Subject: [PHP] Removing a comma from a form field
I'm trying to update a field which contains a $USD figure. But when I upd
you can breath now ... :)
Vernon wrote:
I finally got it!
I had to downgrade to an older verison of the php-mysql for God know what
reason. I am back up now.
--
Lucas Lain
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsu
ALso, global variables are off...
-Original Message-
From: Edward Peloke [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 1:22 PM
To: Php-General@Lists. Php. Net
Subject: [PHP] form within form
I am creating a form to allow the user to change his/her password. After
the user
What do you mean by "verify that info"? Do you mena verify for content, or form, or
what...
- Original Message -
From: "Edward Peloke" <[EMAIL PROTECTED]>
To: "Php-General@Lists. Php. Net" <[EMAIL PROTECTED]>
Sent: Thursday, February 13, 2003 12:22 PM
Subject: [PHP] form within form
I
Can we see some code? Maybe we could help..
Cory
On Thu, 2003-02-13 at 12:26, [EMAIL PROTECTED] wrote:
> ALso, global variables are off...
>
> -Original Message-
> From: Edward Peloke [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 13, 2003 1:22 PM
> To: Php-General@Lists. Php
My bad...I see your code now.
On Thu, 2003-02-13 at 12:22, [EMAIL PROTECTED] wrote:
> I am creating a form to allow the user to change his/her password. After
> the user enters their username and old password, I need to verify that info
> before they can change their user name and password.
I apologize I mean when they click the 'verify' button, I verify their
username and password before I allow them to update it.
Eddie
-Original Message-
From: Rick Emery [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 1:27 PM
To: Edward Peloke; Php-General@Lists. Php. Net
Subj
At 18:45 13.02.2003, Petre Agenbag spoke out and said:
[snip]
>But I am baffeled for the rest, ie, what to do on the download.ftp page.
>First I tried the ftp_get() with the $file used as the local and remote
>files, but it seems that that will not download t
On Friday 14 February 2003 02:22, Edward Peloke wrote:
> I am creating a form to allow the user to change his/her password. After
> the user enters their username and old password, I need to verify that info
> before they can change their user name and password. So I tried using a
> form within a
Forms cannot be nested, there can be no form within form. Simply use 4
fields - username, oldpassw, newpassw, newpassw2 (must be equal
newpassw), when the form is submited, check if username and oldpassw are
valid, newpassw = newpassw2, and if everything is right, you can update
to the new pass
Rather than form within a form, provide 3 fields: old password, new password, username
Verify against old password. If that's valid, then change password.
Or am I missing something here?
- Original Message -
From: "Edward Peloke" <[EMAIL PROTECTED]>
To: "Php-General@Lists. Php. Net" <[EM
Hi, all --
Yes, I'm back again with another upload question. I promise I've been
paying attention in class, but I just can't get this to work!
The default upload_max_filesize in my php.ini was 2M, but I changed it to
200M and restarted the server, and now phpinfo() reports 200M. I created
a din
1 - 100 of 167 matches
Mail list logo