Hi Gurus,
I am using PHP4, I am using mail function which has
Japanese subject, I am using 'iso-2022-jp' charser
for japanese mail body.
The problem the Japanese subject is seen corrupted,
can anyone pls. tell me what should I do to change the
charset of Subject to 'iso-2022-jp' so that the
sub
Gigi pressed the little lettered thingies in this order...
> Hi,
>
> Try upgrading to 4.0.6. I think there are known pb with 4.0.4 and mcrypt.
> Regards,
>
> --Gildas.
>
> --
> /-*-\
> | Systèmes & Technologies | Tél: +33 2 964387
Go to http://www.webberdev.com and search for a credit card script!
I found one that is very good! and I'm using it.
"Dhaval Desai" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi!
>
>
> Well I jsut downloaded the credit card script from
> this website:
>
>
Brad Wright wrote:
>
> Hi all,
> I have a situation where I am adding a new row to a (mySQL) table. One of
> the fields in table is auto-incrementing. When I add a new row, I would like
> to return the value of the auto-incrementing field (named 'Number') as
> $Number for the new row.
>
> Can a
My bad... I didn't read thoroughly.
I didn't know you actually need to recompile to fix that, if you don't
wanna specify it in mysql_connect each time... I thought might be a
php.ini option or something.
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Friday,
Hi all,
I have a situation where I am adding a new row to a (mySQL) table. One of
the fields in table is auto-incrementing. When I add a new row, I would like
to return the value of the auto-incrementing field (named 'Number') as
$Number for the new row.
Can anyone help??
Thanks in advance,
Bra
Hi!
How is possible to maintain a PHP variable defined on a PHP3 file
(IMP 2.2.5, mailbox.php3) so that is available for another PHP3
file (compose.php3) and for future reloads of mailbox.php3?
I have a variable called can_use_attachs (can_use_attachs) that
is checked on an LDAP server on
You don't decrypt it. You'll need to store it unencrypted if you want to
be able to send it out.
-Rasmus
On Thu, 12 Jul 2001, Steph wrote:
> User enters a new password through a form. Then it is put in the table by the
>following. ($userid is the username)
>
> $query = mysql_query("update u
User enters a new password through a form. Then it is put in the table by the
following. ($userid is the username)
$query = mysql_query("update users set password = encrypt('$password','$userid') where
userid = '$userid'")
or die("Couldn't execute query.");
I need to know how to decrypt the
Right, that is basically what I said.
On Fri, 13 Jul 2001, Matthew Loff wrote:
>
> Maybe his mysql.sock file isn't in /var/lib/mysql/mysql.sock?
>
> Mine is /tmp/mysql.sock
>
>
> -Original Message-
> From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 13, 2001 1:31 AM
>
Maybe his mysql.sock file isn't in /var/lib/mysql/mysql.sock?
Mine is /tmp/mysql.sock
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 13, 2001 1:31 AM
To: Gaylen Fraley
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP installed - MySql Server can't co
This happens when the mysql server you are running is different from the
version of the mysql library php was linked against. If you compiled php
using "--with-mysql" you get the mysql client library that comes bundled
with PHP which may not match your mysql server and thus may look for the
mysql
PHP install went perfectly. phpinfo shows MySql installed. But, when I try
to start Mysql, I get:
ERROR 2002: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (111)
What and why?
Please reply to my e-mail address if you can help. Thanks!
--
Gaylen
[EMAIL PROTEC
With PHP, not without creating an index file.
If the server is apache, you can simply create a .htaccess file in the
directory, containing:
order deny,allow
deny from all
I'm pretty sure that should do it.
-Original Message-
From: Tom Malone [mailto:[EMAIL PROTECTED]]
Sent: Thursd
I hope this is the appropriate place for this post - I apologize in advance
if I'm stepping on any toes...
I have created a database to manage my contacts in a sub-directory of my
site. I used php user authentication to protect the directory, but you can
still see the directory index by entering
"
Are you sure you have the php.ini file in the right directory? When looking
at phpinfo() make sure php.ini is located where the "Configuration File
(php.ini) Path" is set to.
-Original Message-
From: Coulee Web [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 10, 2001 6:03 PM
To: [EMAIL PRO
Thank you, Phil, for fixing that. Obviously this snippet is trying to be a
smaller test case for a much
larger problem. It looks like I'm pulling *all* of the and
from the $string and I don't
want that at all. I just want one of them.
So, my return is:
image source:http://www.123posters.
> I will look into JSP.
>
> Even on the same website, we could have two different languages: Maybe
> we'll use JSP for the transaction stuff, and PHP for customer support
> pages, where things are less critical.
Incidentally, PHP4 can also use some Java Serverlet or Bean. Check out this
bit from
> I was going to write a whole diatribe, venting rage, trying to
> prove you wrong etc, etc... and then I got to the last paragraph
> and realised we probably actually agreed:
Yes, I think so too. Different languages for different things. Even
COBOL has a valid reason for existing. In fact, mo
> Is there a way that I can reduce the memory usage of PHP4? Also, is it a
> good idea to configure a separate Apache that has PHP4 enabled and use it
> on only the PHP4 sites on the server, while the normal Apache has PHP4
> disabled and serves the non-PHP4 sites?
Hi Philip,
It's probably your
My machine is running out of memory (256 MB; upgrading is not an option at
this point).
Each httpd process is taking up 8 MB of memory (4 MB shared). PHP4 is
responsible for about 3.5 MB of that.
Is there a way that I can reduce the memory usage of PHP4? Also, is it a
good idea to configure a se
> Also obviously, this capability isn't needed for most of what PHP is
> used for, and so maybe it doesn't belong in PHP, and maybe those of us
> who are writing more sensitive aps should look into other things. Any
> sugestions?
I suppose that if you *really* do need strongly typed language tha
I was going to write a whole diatribe, venting rage, trying to
prove you wrong etc, etc... and then I got to the last paragraph
and realised we probably actually agreed:
>This doesn't mean that PHP should be changed to allow strong typing.
>It may mean though that PHP isn't the right language for
> -Original Message-
> From: David Robley [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 13, 2001 2:48 AM
> To: Randy Johnson; PHP General List
> Subject: Re: [PHP] Re: Downloading Data from Database
>
>
> On Sun, 15 Jul 2001 01:15, Randy Johnson wrote:
> > Dave,
> >
> > The code belo
> The one problem with all your musings is that there is no such thing as an
> integer when it comes to transferring data over http. Everything comes as
> a string. What is done with these strings when they get to the
> application is what matters. It's not like there is an HTML form element
>
Have you looked at:
PHP 4.0.6 memory limit fix [0Kb] - 1 July 2001
(This patch fixes a bug in the 4.0.6 memory limit option.
This is only needed when configuring PHP with --enable-memory-limit).
If you have problems applying the patch try using GNU patch.
http://www.php.net/downloads.php
--
P
Hi Lara,
The problem isn't with the if(ereg) line, its the line above.
Put a semi-colon at the end of your $string = "..[snip].." line
Cheers
- -- - - -
Philip Murray - Senior Systems Engineer
[EMAIL PROTECTED] - Open2View.com
http://www.open2view.com
-
If you were writing rigorous financial applications, I would hope you were
doing enough testing and checking that things like that didn't happen in the
first place.
You shouldn't be lazy and rely on the language to correct your mistakes.
Strong typing only gets in the way (w/ PHP at least), espec
The one problem with all your musings is that there is no such thing as an
integer when it comes to transferring data over http. Everything comes as
a string. What is done with these strings when they get to the
application is what matters. It's not like there is an HTML form element
like or .
Hi, friends,
I'm receiving a parse error on the if (ereg... )
lines of this code. I looked at the online manual and modeled my two
ereg's after it.
When I kept getting parse errors, I decided to copy the original from the
manual into
my code, and it too received a parse error.
Can someone ple
As you know, gases such as oxygen and acetylene are distributed to
welders in pressurized containers. As you can guess, it is very
important to put the right stuff in the right container. Let's say
you have a container of acetylene, and you accidentally top it up with
some pure oxygen. This is
Jason--
There are many reasons I don't quite recommend creating the thumbnails
on the fly with ImageMagick:
1) I've heard many say that storing/retrieving images from MySQL
databases isn't the greatest idea, because you end up with -huge-
tables, which leads to long query times.
2) Resizing a J
On Fri, 13 Jul 2001 10:18, David Robley wrote:
>
> We use it, but only internally and our preferred browser is not from M$
> :-) I do have an IE5.5 somewhere, so I'll have a look and see what
> happens with my script using it.
Hmm, works OK for me. Maybe check that you are actually outputting
s
On Sun, 15 Jul 2001 01:15, Randy Johnson wrote:
> Dave,
>
> The code below gives me an error in IE 5.+
>
> Here is the error:
>
> IE cannot download ..blah blah try again later
>
> Do you use this code on your site or do i just need to tweak it
>
> -Original Message-
> From: David Robl
why can't you just use plan simple HTML to do it??? rather than make a larger hassle
for your self ie
howdy ???
& yes that is valid HTML :)
Peter
-Original Message-
From: Dr. Evil [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 13, 2001 10:27 AM
To: [EMAIL PROTECTED]
Cc:
On Friday 13 July 2001 01:27, Dr. Evil wrote:
> If you're doing financial stuff, or anything else that requires
> bullet-proof security and reliability, strong typing is essential,
I would have said that good programming was essential rather than strong
typing.
If you insist on strong typing,
> U... you could write a fuction like
>
> function CheckInputAgainstRE( $val, $re )
> {
> if ( ! ereg( $re, $val ) )
> {
> ( ... some kind of code that writes out an error message and dies
> ... )
> }
> return $val;
> }
That's what I've done. I have a huge fil
> PHP is a great language. It makes it fast and easy to create web
> pages. However, one feature which is critical for doing rock-solid
> stable websites is strong typing. The reason for this is that you're
> dealing with untrusted user input. Strong typing helps because if you
> are expecting
See http://php.net/swf and also http://www.opaque.net/ming
-Rasmus
> Now, I've never heard of using PHP to control Flash and, given the
> different ways they work, can't see how it would even be possible. (I'm
> no flash expert, but I believe they have to be pre-compiled .swf files
> to be disp
U... you could write a fuction like
function CheckInputAgainstRE( $val, $re )
{
if ( ! ereg( $re, $val ) )
{
( ... some kind of code that writes out an error message and dies
... )
}
return $val;
}
and then a series of functions like
function CheckInt( $val )
{
http://www.php.net/manual/en/function.settype.php
is this what you are looking for?
-Original Message-
From: Dr. Evil [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 12, 2001 4:55 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Strong typing?
PHP is a great language. It makes it fast and ea
PHP is a great language. It makes it fast and easy to create web
pages. However, one feature which is critical for doing rock-solid
stable websites is strong typing. The reason for this is that you're
dealing with untrusted user input. Strong typing helps because if you
are expecting an INT,
http://shop.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=190345016
0
BTW, in case this link doesn't work for some of you, note that some mail
clients (including my version of Outlook) wrap the href and don't
maintain the link. (note the trailing 0 in the link above)
Sorry for any confusio
I was searching for a Flash book today and ran across the following
book, due to be released in September 2001:
http://shop.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=190345016
0
It's entitled "Foundation Php for Flash 5"
Now, I've never heard of using PHP to control Flash and, given th
Shoot from the hip response... untested
function resolveParts( $str, $partsArray )
{
// explode the original $str based on 'PART'
$stringBits = explode( 'PART', $str );
//Ok. So now we have two arrays. The length of partsArray
// should be one less than stringBits
$
hello,
ok heres the thing ;)
lets say i have array("part1", "part2", "part3", "part4");
now i have string like
$string = "here's PART and heres PART, another PART here and final PART
here";
now i wanna replace first PART in string with part1 from array and second
PART with part2 from array ...
on
Hello! I have images stored in a MySQL Database. I can retrieve the images and display
them without a problem, but I'd really like to be able to create thumbnails. The code
that I've written just doesn't seem to work. Preferably, I'd like to pull the image
from the database, and create the thum
You can change the arg_separator setting in your php.ini file.
ie.
arg_separator = "&"
or perhaps:
arg_separator = ";"
-Rasmus
On Fri, 13 Jul 2001, Jan wrote:
> My output does not validate as XHTML because of the & sign in the a
> href that is automatically appendet by the php
My output does not validate as XHTML because of the & sign in the a href that is
automatically appendet by the php session management. it should be exchanged by an
& entity. Is there a way to do this? There should be one I guess ...
Thanks,
Jan.
--
What you might want to try is something called
ksearch.cgi, you'll find it at cgi-resources.com It's
actually very good and very very small. It actually
indexes your site and stores the info in several db
databases or a text file, your choice and offers, if
I'm not mistaken, boolean search, oh a
Hi,
I just installed apache 1.3.20 on solaris7-sparc machine. When I try to
start apache with PHP compiled as a module, I get...
/www> bin/apachectl start
Syntax error on line 208 of /www/conf/httpd.conf:
Cannot load /www/libexec/libphp4.so into server: ld.so.1:
/www/bin/httpd: fatal: relocatio
Use javascript to validate. This way the form is not submitted in the first
place. You could use some server-side (PHP) validation "just in case".
mail send
function validate()
{
jumpto = "";
errors = "";
var reg1str = "(@.*@)|(\\.\\.)|(@\\.)|(\\.@)|(^\\.)";
You may also want to try Manuel Lemos' Form class -- it is very detailed and
well coded solution that handles all sorts of form validation, including
credit cards:
http://www.phpclasses.upperdesign.com/browse.html/package/1
Aral :)
__
([EMAIL PROTECTED])
New Media
also: mysql_escape_string()
will format data properly for use in MySQL queries
> -Original Message-
> From: Alexander Wagner [mailto:[EMAIL PROTECTED]]
> Subject: Re: [PHP] quotes
>
>
> Heidi Belal wrote:
> > I have a problem using apostrophes/single quotes.
> > I am using PHP and MySQL
the RPM is a binary. if mysql support is not in the RPM,
there's no way to add it
if you want to install PHP the simplest way, get the
sources and compile it yourself as a stanalone binary
(NOT using --with-apache or --with-apxs)
then you can tweak it however you want, and compile
in suppor
Hi!
Well I jsut downloaded the credit card script from
this website:
http://tobiac.supereva.it/checkcard.zip
I just have one problem with the script. When the
checkcard.php page loads for the first time I get this
message always invalid length INVALID, is there any
way I can stop this message
On Thursday 12 July 2001 16:37, Michael Champagne wrote:
> Ok, here's the print_r() output of my 2 arrays. The first really just
> has an extra dimension. How can I get the format of the first one
> looking like the bottom one (just an array of key => value pairs)?
>
> Thanks!
>
> Array ( [0] =>
thanks... cant believe i didnt think of capturing
500 errors myself...
must mean the coffee's wearing off :)
> -Original Message-
> From: DAve Goodrich [mailto:[EMAIL PROTECTED]]
> Subject: Re: [PHP] apache not handling 404 errors for .php pages
>
> ErrorDocument 500 /path/to/my_error_
On 12-Jul-01 Inércia Sensorial wrote:
> Is it possible?
>
> I am writing a recommend script, and I already know that the $HTTP_REFERER
> can come empty or even not set, tested turning off the 'Enable Referer
> Logging' on Opera.
>
> But, an invalid $HTTP_REFERER is also one smaller than 1
on 7/12/01 12:38 PM, scott [gts] at [EMAIL PROTECTED] wrote:
> I have custom 404 error handling setup on my linux apache
> box, however, there's a problem with files that have a PHP
> extension. it seems that apache itself does not check for the
> existence of the requested .php file and fires u
I have custom 404 error handling setup on my linux apache
box, however, there's a problem with files that have a PHP
extension. it seems that apache itself does not check for the
existence of the requested .php file and fires up PHP no matter
what. if PHP does not find the requested file, it'll
Try this : $st = ereg_replace ("\+is", "and_is", $st);
you have to escape the + sign it mean other things then just literal
André Weidemann wrote:
>
> The ereg_replace for some reason doesn't always work.
> I tried this:
>
>
> $st = " This +is a test";
> $st = ereg_replace ("=+is", "and_is",
Lazy me, after a short break, alway's helping, I found out wthat it has
to be:
/\<(?!\?xml|\!DOCTYPE|\!ENTITY|image|item|\/item)/
the ?! negate this text, I though that I could put it in every value
like this (?!\?xml|?!\!ENTITY ... but no by putting in first he do it
for all (k.i.s.s. Francis)
The ereg_replace for some reason doesn't always work.
I tried this:
..and got:
REG_BADRPT in /usr/local/httpd/htdocs/test.php on line 5
What is wrong and how can I do what I want to?
Thanx a lot in advance,
André.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
some questions ;)
have you tried accessing the script non-secure?
is php properly installed and running on your server?
did you restart the server after installing PHP?
are you using a different server to handle secure queries?
does that server have php installed and configured properly?
> -
I am having a problem - hopefully someone can help me :o)
I am trying to use a php document on a secure server, but instead of displaying output
from the script, it tries to download the file. Even code this simple does it:
Thanks!!
libmcal is a pain in the butt to set up, but once it's set up, it has
some great features... I had to write a PHP page that handled
scheduling of appointments, and mcal saved me a lot of time, after I
spent the initial 2 hours pulling my hair to set it up. :)
-Original Message-
From: R
Same here... I run MySQL on Win2k as well as Linux machines, and use
Mysql-Front for things like table creation, user management, etc.
It's also a great tool for EXPLAINing massive queries to find the most
efficient.
-Original Message-
From: scott [gts] [mailto:[EMAIL PROTECTED]]
S
> Jorge Inti Benites RocheHi!
> i'm trying to compile php4.0.6 for it i do:
>
>
./configure --with-zlib --with-mm --with-mysql --with-mcal=../libmcal --with
> -ldap --with-imap=/usr/lib --with-gettext --enable-ftp --with-db3=/usr/loc
al
> /BerkeleyDB.3.2 --with-apache=../apache --with-mcrypt
>
>
If you use the documented mechanism for handling file uploads, then there
is no such security problem. See
http://www.php.net/manual/en/features.file-upload.php
ie. use the move_uploaded_file() function.
-Rasmus
On Thu, 12 Jul 2001, Toby Goldstone wrote:
> Hi.
>
> I've (or rather the company
i know that i am always interested to see code posted
on this list... even if i cannot personally use the code,
i'm always curious to see how people write code.
> -Original Message-
> From: Inércia Sensorial [mailto:[EMAIL PROTECTED]]
> Subject: Re: [PHP] Re: $HTTP_REFERER < 10
>
> Than
Not quite live yet. You'll see it when it goes live.
By the way, there is a very complete date class in PEAR that has pretty
much everything you would need to build a calendar app. See
pear/Date/Calc.php
-Rasmus
On Thu, 12 Jul 2001, Reuben D Budiardja wrote:
> Great, I'd like to steal it too
Great, I'd like to steal it too then :). I just check php.net, but
couldn't find it.
In what section would you put it?
Thanks.
Reuben D. Budiardja
On Tuesday 10 July 2001 05:34 pm, Rasmus Lerdorf wrote:
> > Have any of you seen those calendar applications that let you program
> > events that r
Thank you Scott for the various ideas. I am preventing an eventual 'no
referer' situation with a default url provided by who opens an account.
I am getting (and trying to give :)) help on this list, so I will ask
first before doing... Is it normal to announce personal projects here? This
one
i manage the production mysql database on a linux server
from my windows desktop at work
it's an extremely nice program. :)
many compliments to the authour, if he reads this list.
> -Original Message-
> From: Alexander Skwar [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 12, 200
After a little investigation, I figured out what was wrong - for whatever
reason the server is requiring /index.php as part of the url. But thanks
guys, I'll definitely look into MYSQL- Front!!
-Original Message-
From: Matthew Loff [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 12, 2001
So sprach »Matthew Loff« am 2001-07-12 um 14:07:16 -0400 :
>
> I second that recommendation-- MySQL-Front is downright excellent!
>
> http://www.mysqlfront.de/
Well, but how is that going to work, if Steph wants to manage his
databases on his providers server?
Besides, mysqlfront is a Windows
I'd like to cast my vote for Webmin :-)
www.webmin.com
Clayton Dukes
CCNA, CCDA, CCDP, CCNP
(c) 904.477.7825
(h) 904.292.1881
Download Free Essays, Term Papers and Cisco Training from http://www.gdd.net
- Original Message -
From: "Matthew Loff" <[EMAIL PROTECTED]>
To: "'Steve Brett'" <
I second that recommendation-- MySQL-Front is downright excellent!
http://www.mysqlfront.de/
-Original Message-
From: Steve Brett [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 12, 2001 6:47 AM
To: Steph; [EMAIL PROTECTED]
Subject: RE: [PHP] Alternative to phpMyAdmin
mysql front is
On Thu, 12 Jul 2001 14:26:33 +0200 impersonator of [EMAIL PROTECTED] (Void)
planted &I saw in php.general:
>I am thinking of building a search engine with the grep command for our
>site.
>i have my information in a mysql db,
>but i am putting it back into text files.
>reoson being is that maybe t
http://www.htdig.org
-Original Message-
From: Navid A. Yar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 12, 2001 10:50 AM
To: 'scott [gts]'; 'php'
Subject: RE: [PHP] building a search engine ??
This sounds interesting. Where can I find htdig?
-Original Message-
From: scott
This sounds interesting. Where can I find htdig?
-Original Message-
From: scott [gts] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 12, 2001 12:20 PM
To: php
Subject: RE: [PHP] building a search engine ??
and to answer one of the previous questions,
yes... it is *very* resource inte
You might also take a look at:
http://www.php.net/manual/en/ref.mnogo.php
On Thu, 12 Jul 2001, scott [gts] wrote:
> and to answer one of the previous questions,
>
> yes... it is *very* resource intensive to scan an entire
> directory tree full of files every single time a user
> wants to search
and to answer one of the previous questions,
yes... it is *very* resource intensive to scan an entire
directory tree full of files every single time a user
wants to search
as far as i know, htdig indexes the information into one
big file, and just reads thru that... which will save you
load
a partial suggestion would be to try an fopen() on the
HTTP_REFERER if it was a static document like .html or .txt
but if someone is being redirected from a CGI script or
dyanmic page of any sort, it'll be virtually impossible
to find out exactly where they came from and if that
page is valid
hi. I am a newbie. We have a database server on the network along with an IIS (MS
Internet Information server)server. We have PhP installed on IIS. What would the db
connection parameters look like if I wanted to connect to our DB server. The database
server name is USABASE.
would it be.
"Elias" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> How you mean *in it's original form* ?
>
> "Lasse" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > ..Or call it a riddle.. Whatever... :-)
> >
> > What did the follo
I'm having problem with regular expression, not a good eek this week it
seen like I alway's get a wall of problem. I know that it surely been
ask a 1000 times, I look around, didn't find anythings, if you find
somethings please point me out.
So here what I want to do, I need to parse a xml docume
So sprach »Aral Balkan« am 2001-07-11 um 14:59:44 -0400 :
> Personally, I couldn't be happier that Netscape won't be making browsers
Ah, so Microsoft also stopped making "operating systems"?
> anymore and I wish that trouble-some bug of an excuse for a browser would
> just go away :)
Well, Nets
Hola everybody;
this is a simple form to send a mail via php, check if a field
was filled in and prompt an error msg (if not) is easy but
when the Submit button is presssed the text in the rest of
the fields dessapear.
How to avoid fields draining if one of them is no filled in?
thanks
Ani López
The way PHP works currently, $PHPSELF will point to your original file.
This is actually a problem, as it means that you cannot use relative
includes in the included file if its in a different directory. There's
currently discussion on the PHP-DEV list about changing this. Perhaps
there's going t
I have a PHP file that gets included by a lot of other files in a lot of
other directories. Among other things, this file needs to display a link
to that original page.
I know I could specify this in a variable in each original file before the
INCLUDE statement, but I'd like to do something more
http://www.securereality.com.au/studyinscarlet.txt
--
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-796-9023
email: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTEC
PHP PEOPLE,
Sorry this is way off topic but can anyone point me to a place where I can
find out how to mount/automount a tape drive in Linux? I need to know device
name mount commands and tape drive commands etc...Been searching on the net
for hours and the bits and pieces are not forming a whole
> -Original Message-
> From: Chris Cocuzzo [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 11, 2001 5:40 PM
> To: PHP General List (E-mail)
> Subject: [PHP]I'm puzzled. TEXTAREA related.
>
>
> hey-
>
> i have a page containing a form with a textarea field. The
> first part of the pa
I'm running into some unexpected behavior that I can't figure out. This is
with PHP version 3, where, to my knowledge, boolean is not built in.
The type of true is returned as an integer, while the type of false is
returned as a string. Even if I say (int) 0, it still returns its type as a
st
hi adrian,
many thanks for your tip. it works fine.
kind regards
martin
-Ursprüngliche Nachricht-
Von: Adrian Ciutureanu [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 12. Juli 2001 15:46
An: Martin Lucas
Cc: [EMAIL PROTECTED]
Betreff: RE: [PHP] associative arrays
$result = mysql_db
foreach($oldArray as $a)) {
list($key, $value) = each($a);
$newArray[$key] = $value;
}
> -Original Message-
> From: Michael Champagne [mailto:[EMAIL PROTECTED]]
> Sent: 12 iulie 2001 17:37
> To: PHP General Mailing List
> Subject: [PHP] Array problem in PHP. Please help.
Jorge Inti Benites RocheHi!
i'm trying to compile php4.0.6 for it i do:
./configure --with-zlib --with-mm --with-mysql --with-mcal=../libmcal --with
-ldap --with-imap=/usr/lib --with-gettext --enable-ftp --with-db3=/usr/local
/BerkeleyDB.3.2 --with-apache=../apache --with-mcrypt
ok
but when i tr
Dear php support !
Im using the fgets() command in a counter. Basically the counter opens
a txt-file gets the information from the previous query (see code
below). Later this information will be evaluated and be written back
into the txt-file (this is not in the code below).
$fn = "qrydata.txt"
1 - 100 of 143 matches
Mail list logo