Are you still encountering the error? I don't see it.
--zak
- Original Message -
From: "Yasuo Ohgaki" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, March 07, 2001 8:06 PM
Subject: [PHP-QA] Error in www.php.net (To site admin)
> There is a error on w
Mike
The purpose of setting the basedn is to say "search in this branch of the
directory".
The only person who can really tell you what basedn to use is whoever
designed or manages the structure of your LDAP server. Having said that, a
base dn is commony something like ...
o=Your Organisation,c
On Thursday 08 March 2001 06:42, you wrote:
> Assuming that you do have a primary key, how can you grab the last
> record you inserted? Can you use @@IDENTITY, or something like that?
For that I'd add another field - type "timestamp".
In MySQL, timestamp fields are automatically set to NOW() on
Hi,
I wrote php-lib-htmlparse
doesn't do they arguments stuff, but should be easily
added (code is there already although not functioning)
go to www.phpbuilder.com for the code snippets
Bolke
-Oorspronkelijk bericht-
Van: Nathaniel Hekman [mailto:[EMAIL PROTECTED]]
Verzonden: Wednesday
> On Thursday 08 March 2001 06:42, you wrote:
> > Assuming that you do have a primary key, how can you grab the last
> > record you inserted? Can you use @@IDENTITY, or something like that?
>
> For that I'd add another field - type "timestamp".
> In MySQL, timestamp fields are automatically set
On Thursday 08 March 2001 09:19, you wrote:
> I'm putting together a regex to pull all of the urls out of a web page.
> Not the href tag, but just the url part of that tag.
>
> Here's what I've come up with:
>
> preg_match_all('/<.*href\s*=\s*(\"|\')?(.*?)(\s|\"|\'|>)/i', $html,
> $matches);
> for
On Thursday 08 March 2001 10:31, you wrote:
> > On Thursday 08 March 2001 06:42, you wrote:
> > > Assuming that you do have a primary key, how can you grab the last
> > > record you inserted? Can you use @@IDENTITY, or something like
> > > that?
> >
> > For that I'd add another field - type "tim
I fixed the problem I had with Netscape not working well with sessions
(whereas MSIE worked fine for me). Apparently, Netscape works well with
cookies (and ironically, MSIE doesn't). Of course, many would probably
disagree, but I'm ONLY speaking from MY recent experience and specifically
on the
We send SMS messages from Oracle, but the method could be used in php I think. We use
www.quios.com. They accept SMS messages as XML documents which you simply post to
their site using http. The response, also by http, is an xml document. It is very easy
to build your outgoing xml document, and
Thanks Lance. The file is there, though I didn't put it there!
-Original Message-
From: Lance Koh [mailto:[EMAIL PROTECTED]]
Sent: 07 March 2001 14:20
To: Greig, Euan
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP dll on NT - more reliable with Apache than IIS?
did you copy this file "ph
I included definition files using require_once(), I noticed the last
definition file is not included w/o any error messages.
I tested with include() and require(), it worked fine but not with
require_once() or include_once(). Require_once() and include_once() silently
fails to include files.
I'v
Thanks Paulo, that is very interesting and useful. I will give apache a try.
Euan
-Original Message-
From: Paulo Parola [mailto:[EMAIL PROTECTED]]
Sent: 07 March 2001 20:18
To: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP dll on NT - more reliable with Apache than IIS?
We have started usin
Hi all,
I have a timeout problem with sessions. I use the PHP session handling
(4.0.4pl1). It works, but it times to fast out.
I've set:
ini_alter("session.gc_maxlifetime", "172800");
and
phpinfo() says:
session.cache_expire: local=172800, global=180
session.gc_maxlifetime: local=172800, glo
in what way did the previous responses not answer this?
if you really want a loop then foreach($arrLoginName as $element) or for($x
= 0; $x < sizeof($arrLoginName); $x++) will do, but why not just use
if(in_array())? Are you really holding all of your user names in a single
"@" delimited string?
I guess your clients PC's clock is not accurate. How about set timeout to 0?
Then session cookie will not timeout until browser is closed.
You can compile PHP with trans-sid to add session id automatically.
http://www.php.net/manual/en/ref.session.php
I've posted PHP session helper HTML file tha
I honestly can't remember when and where I found this happening, but since
then I've decided not to rely on submit buttons being posted so I haven't
seen them working or not working.
Tim Ward
Senior Systems Engineer
Please refer to the following disclaimer in respect of this mess
On Thursday 08 March 2001 11:14, Yasuo Ohgaki wrote:
> I guess your clients PC's clock is not accurate. How about set timeout to
> 0? Then session cookie will not timeout until browser is closed.
Actually the server and client clock only differs with about 1 minute.
The 0 timeout will not work.
davidg Thu Mar 8 02:25:15 2001 EDT
Added files:
/php4/ext/midgard session.c mgd_session.h session.sql
Modified files:
/php4/ext/midgard article.c
Log:
Session management (experimental code)
Index: php4/ext/midgard/article.c
dif
> On Thursday 08 March 2001 11:14, Yasuo Ohgaki wrote:
> > I guess your clients PC's clock is not accurate. How about set timeout
to
> > 0? Then session cookie will not timeout until browser is closed.
>
> Actually the server and client clock only differs with about 1 minute.
Then how about check
php-general Digest 8 Mar 2001 11:43:55 - Issue 554
Topics (messages 42959 through 43025):
Re: on the list yesterday regarding mysql time
42959 by: Jerry Lake
42960 by: John Huggins
42967 by: Jerry Lake
Oracle Function Calls
42961 by: Richard S. Crawford
Re:
davidg Thu Mar 8 02:39:32 2001 EDT
Added files:
/php4/ext/midgard session.modules.c README.session
config.m4.session
Log:
More on session installation.
Index: php4/ext/midgard/session.modules.c
+++ php4/ext/midgard/session.mo
davidg Thu Mar 8 02:42:33 2001 EDT
Modified files:
/php4/ext/midgard README.session
Log:
Corrected the README.session
Index: php4/ext/midgard/README.session
diff -u php4/ext/midgard/README.session:1.1 php4/ext/midgard/README.session:1.2
--- php4/ext/midg
zeevThu Mar 8 02:43:52 2001 EDT
Modified files:
/php4/win32 README.txt
Log:
Point people to the Windows mailing list...
Index: php4/win32/README.txt
diff -u php4/win32/README.txt:1.4 php4/win32/README.txt:1.5
--- php4/win32/README.txt:1.4 Fri Jul 14 1
davidg Thu Mar 8 02:44:27 2001 EDT
Modified files:
/php4/ext/midgard README.session
Log:
Forgot to talk about the session table
Index: php4/ext/midgard/README.session
diff -u php4/ext/midgard/README.session:1.2 php4/ext/midgard/README.session:1.3
--- php
davidg Thu Mar 8 02:49:18 2001 EDT
Modified files:
/php4/ext/midgard config.m4
Log:
Midgard experimental functions support was not displayed correctly in ./configure
Index: php4/ext/midgard/config.m4
diff -u php4/ext/midgard/config.m4:1.10 php4/ext/midga
shouldn't that be php-windows-subscribe?
On Thu, 8 Mar 2001, Zeev Suraski wrote:
> zeev Thu Mar 8 02:43:52 2001 EDT
>
> Modified files:
> /php4/win32 README.txt
> Log:
> Point people to the Windows mailing list...
>
>
> Index: php4/win32/README.txt
> diff -u php4/win3
zeevThu Mar 8 03:21:18 2001 EDT
Modified files:
/php4/win32 README.txt
Log:
Index: php4/win32/README.txt
diff -u php4/win32/README.txt:1.5 php4/win32/README.txt:1.6
--- php4/win32/README.txt:1.5 Thu Mar 8 02:43:52 2001
+++ php4/win32/README.txt
Yep :)
At 13:10 8/3/2001, David Croft wrote:
>shouldn't that be php-windows-subscribe?
>
>
>On Thu, 8 Mar 2001, Zeev Suraski wrote:
>
> > zeev Thu Mar 8 02:43:52 2001 EDT
> >
> > Modified files:
> > /php4/win32 README.txt
> > Log:
> > Point people to the Windows mailing
chregu Thu Mar 8 03:57:16 2001 EDT
Modified files:
/php4/pear/CacheContainer.php Output.php
/php4/pear/Cache/Container db.php file.php phplib.php
Log:
Introduced getExpiresAbsolute($expire) function, which translates
relative/human readable/unixtime
Wow - it is much faster, good job, although the previous version was
wonderfully exotic. Loved the popups for Quick Reference and Mirror Sites.
I would like to see one backward step --- ability to resize the font. In
Netscape 4.7 and Internet Explorer 5 changing the font size doesn't work.
In
Christian Stocker wrote:
> chregu Thu Mar 8 03:57:16 2001 EDT
>
> Modified files:
> /php4/pear/CacheContainer.php Output.php
> /php4/pear/Cache/Container db.php file.php phplib.php
> Log:
> Introduced getExpiresAbsolute($expire) function, which translates
> relative
Dear's partners...
I download the source of the Mcal library and Drivers, and i have found a
doubt, because when i compile it, ever, show an error that can't give me
compile, then, i cant have correctly installed this library...
..I make the SF (structure of files), that this describe in its RE
On Wed, 7 Mar 2001, Todd Cary wrote:
> I want to check the time for queries. I have
>
> $starttime = getmicrotime();
> $endtime = getmicrotime();
> $delta = $endtime - $starttime;
There is no such function as "getmicrotime". You're probably trying to
use "microtime". Second of all, microtime
Friends,
i get the source of the GTK-PHP module, or library, as you want to say,
but, when i going to do, the steps that describe in their
ebpage( http://gtk.php.net/), i do
phpize
./configure
make (This failed)
make install (obviously failed)
When i do the make, this say that the function php
I saw the post about
exec("nohup mp3123 -y -Z --all 1>/dev/null/ 2>&1 > &");
I decided to do a little test of my own because I would like to add this
functionality to some of my sites.
Here is my env:
Redhat 6.3
Apache 1.3.12
PHP 4.0.3
I wrote a little shell script to test with called sleep.
> Then how about check the server's response headers that sent to client? You
> can view headers using wget or like. PHP might be sending global ini
> var(which is set to small number) to client for some reason.
Ok, this is the header information I get.
HTTP/1.1 200 OK
Date: Thu, 08 Mar 2001 11
Is there a way as a server admin to kill all sessions to a site. I need a
way to logout all members to a site.
thanks
randy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list admin
>> Modified files:
>> /php4/pear/CacheContainer.php Output.php
>> /php4/pear/Cache/Container db.php file.php phplib.php
>> Log:
>> Introduced getExpiresAbsolute($expire) function, which translates
>> relative/human readable/unixtime expire-times in unixtime-format.
>
>
> C
Anyone know of a support forum for phpHoo2 (from http://www.cable-modems.org/phpHoo/)?
I'm having two problems.
Working version where I installed it is at: http://dev.crnaworld.com
1) Admin mode is not working properly. Says it cannot set the cookie.
2) Cannot add link to "Top" catego
Hi,
Since there is no Date type in php, is there a way to compare dates?
Something like:
if ((3/8/2001) < (3/9/2001)){
// Date is newer
}
Thanks,
Chris
I keep getting:
qmail-inject: fatal: read error
I've tried everything.
Sendmail is symlinked to /var/qmail/bin/sendmail wrapper
$ ls -l /usr/lib/sendmail
lrwxrwxrwx 1 root root 28 Aug 25 2000 /usr/lib/sendmail
-> ../../var/qmail/bin/sendmail
$ ls -l /usr/sbin/sendmail
lrwxrwx
If you put the date in MMDD format you can compare
the numbers.
http://www.php.net/manual/en/function.date.php
Jeff Oien
> Hi,
> Since there is no Date type in php, is there a way to compare dates?
>
> Something like:
>
> if ((3/8/2001) < (3/9/2001)){
>// Date is newer
> }
>
> Thanks,
You might try converting these dates to Unix time and then compare the
numbers as integers.
Let's see, here is a function that converts the data from a MySQL date field
to a Unix timestamp...
function mysql_to_epoch ($datestr)
{
list($year,$month,$day,$hour,$minute,$second) =
split("([
Ok, I understand that the epoch is a point in time that's static, but what
exactly is the epoch? I've heard it mentioned a lot on the list, but I have
no idea what it really is. :)
Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Make sure you're building against a 4.0.5 build of PHP. I tried this
afternoon with the latest PHP from snaps.php.net and the GTK bindings, and
it worked flawlessly.
adamw
- Original Message -
From: "Celestino Roberto Alejandro" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday,
If it is on a Unix box, it most likely is the Unix time value; It is the
number of seconds since the UNIX Epoch which I believe starts at 0 seconds
in January 1970. I am not quite sure about that date, but it is close.
It also reveals the problem if you are dealing with dates before 1970 and
aft
stasThu Mar 8 09:11:57 2001 EDT
Modified files:
/php4/ext/recoderecode.c
Log:
Better use buffer_to_buffer, since zval is really buffer, not string (it can
contain \0's and not end in \0).
# and recode_string is recode_buffer_to_buffer internally anyw
I am attempting to take a line of text (a list) that has been entered into
a form and split it into the appropriate parts, placing them into an
array. I am splitting the input on commas, semi-colons, and spaces.
Problem 1: Is with "white space". If the input has spaces after a comma,
it spl
Anyone know offhand a way to organize the output from a query by week? I'm
writing a work log app and I want the admin to see everyone's work ordered
first by lastname, and then by date. But only want that week's data to show
up, and maybe a dropdown with previous weeks available. Don't go thin
Your regex is incorrect. You've written:
/[\,\;\s*]/
That * means "match a *" because it's inside the brackets. Put it outside,
like this (actually use a + instead):
/[\,\;\s]+/
to match 1 or more of any of those characters.
That may not be exactly what you want, since that
Hello,
How can I format a date stored in the database in a Date field. It's in this
format:
-mm-dd
I understand that date() function only works for current system date/time. I
am looking for something like this:
dateformat($date, "mask"),
sort of like the one in ColdFusion. Thanks much!
On Thursday 08 March 2001 03:45, you wrote:
> Is there a way as a server admin to kill all sessions to a site. I
> need a way to logout all members to a site.
Well, usually you'd keep the session data in a database, so you can just
empty the sessioninfo table.
--
Christian Reiniger
LGDC Webma
By not using cookies, each browser window would have it's own session,
propagated through the URL. Which I don't think you would want users
with multi sessions in an intranet app.
You didn't mention how you are storing your session data, but I'll
assume it's the defualt (files). I would furthe
Ok, I am using this modified code from the
manual. It works great, but how do I modify
it further to only show .jpg files ?
";
while (false!==($file = readdir($handle))) {
if ($file != "." && $file != "..") {
echo "";
echo $file;
echo "\n\r";
}
}
echo "
As a quick caveat you need to be *very* careful you're not obfuscating the
target site copyright infringement, anyone?
-Original Message-
From: Richard S. Crawford [mailto:[EMAIL PROTECTED]]
Sent: 08 March 2001 00:02
To: Ashwin Kutty; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: R
You could use the mySQL function DATE_FORMAT() in your query string..
SELECT DATE_FORMAT( DateAdded, '%m/%d/%Y' ) as d_Added FROM myDB
At 12:52 PM 1/8/01 -0500, stas wrote:
>Hello,
>
>How can I format a date stored in the database in a Date field. It's in this
>format:
>
>-mm-dd
>
>I under
Hello,
to refresh a site I use this ( ), but, now I
make some updates im my right page and I want to refresh other page( left page of
frameset ).How can I do it?
T.Y.
Best Regards
Miguel Loureiro <[EMAIL PROTECTED] >
Does anybody know where I could get more info on storing session data in a
database rather than the default way?
thanks
randy
-Original Message-
From: Christian Reiniger [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 08, 2001 12:58 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Sessions
";
while (false!==($file = readdir($handle))) {
// new code here
$cExt = explode( ".", $file );
// and here
if ($file != "." && $file != ".." && ( strtolower( $cExt[1] ) == "jpg" ) {
echo "";
echo $file;
e
On Thursday 08 March 2001 18:43, you wrote:
> I am attempting to take a line of text (a list) that has been entered
> into a form and split it into the appropriate parts, placing them into
> an array. I am splitting the input on commas, semi-colons, and spaces.
>
> Problem 1: Is with "white spac
Greetings,
I keep getting the message that I cannot get results. I have a simple
user authentication code that uses a mysql database to authenticate
from. Initially I had the code working when I had the mysql_connect
variables in the code itself. When I moved the connection variables to
an inc
Greetings,
I keep getting the message that I cannot get results. I have a simple
user authentication code that uses a mysql database to authenticate
from. Initially I had the code working when I had the mysql_connect
variables in the code itself. When I moved the connection variables to
an inc
On Thursday 08 March 2001 18:49, you wrote:
> Anyone know offhand a way to organize the output from a query by week?
> I'm writing a work log app and I want the admin to see everyone's work
> ordered first by lastname, and then by date. But only want that week's
> data to show up, and maybe a dr
Thanks, that works great.
Jerry Lake- [EMAIL PROTECTED]
Web Designer
Europa Communications - http://www.europa.com
Pacifier Online - http://www.pacifier.com
-Original Message-
From: Joe Sheble (Wizaerd) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 08, 2001 10:13 AM
T
On Thursday 08 March 2001 07:17, you wrote:
> Does anybody know where I could get more info on storing session data
> in a database rather than the default way?
Hmm, perhaps phpbuilder.com has an article on it. Alternatively I could
send you some of my code
--
Christian Reiniger
LGDC Webmaster
I'd start by adding the mysql_error() function in your die() statement...
$result = mysql_query($sql,$connection) or die ("Couldn't get results: " .
mysql_error());
it might give more information to help you find the problem...
At 10:15 AM 3/8/01 -0800, Nicole Lallande wrote:
>Greetings,
>
>I
Hi
The case In Israel is different. It's not that we chose this browser
over another... Netscape wouldn't support Hebrew and IE did.
So there was no actual war.
The data about the 3% is pretty accurate and is collaborated by
all 3 major portals in Israel.
Sincerely
berber
Visit http://
Thanks Joe - that showed me right away!! all better now -- on to the
next step..
Nicole
"Joe Sheble (Wizaerd)" wrote:
>
> I'd start by adding the mysql_error() function in your die() statement...
> $result = mysql_query($sql,$connection) or die ("Couldn't get results: " .
> mysql_error());
>
It's a PHP class that's included at the top of every page that needs
session/authentication. It's cookie based only, no option for URL
propagation.
PHPLib can do the same, as well as some other classes floating around.
Chris
On Thu, 8 Mar 2001, Bill Rausch wrote:
> Date: Thu, 8 Mar 2001 10:21
Hi, My name is Bruno, From Brazil.
Yes...it's me again...hehehe
Look...my problem is..
I wanna make something like this:
(10 november 2001) - (5 November 2001) = 5 days
(10 november 2001) - (10 December 2001) = 30 days
How can i do this
Thanks for any help
Your friend, Bru
I'm having some problems with using addslashes($string) for preparing a text blob for
a MySQL database. The $string can have single or double quotes in it, and depending on
how I pass it on to the insert, it seems to work only for either single or double, but
not for both.
Input can be:
We wont.. Their banners, logos, URL's etc. appear on the pages, so even if it is
in the frameset, it will be fine..
Jon Haworth wrote:
> As a quick caveat you need to be *very* careful you're not obfuscating the
> target site copyright infringement, anyone?
>
> -Original Message-
> F
> > As a quick caveat you need to be *very* careful you're not
> > obfuscating the target site copyright infringement, anyone?
> We wont.. Their banners, logos, URL's etc. appear on the
> pages, so even if it is in the frameset, it will be fine..
Yes, but their URL won't be in the address l
Yes, I should have mentioned... we actually do develop contracts outlining
co-branding agreements with our partners before we establish a frameset.
I should also mention that we don't use PHP for session tracking; we use a
home-grown Perl/Oracle hybrid for session tracking. But I imagine that
> We send SMS messages from Oracle, but the method could be used in php I
think. We use www.quios.com. They accept SMS messages as XML documents
which you simply post to their site using http. The response, also by http,
is an xml document. It is very easy to build your outgoing xml document,
and
Hello,
this is a function I use on my site, you can problably find
your answer,
py
// =
// This function returns the difference between a dates
// and the current date.
// arg1: separator
// arg2: startdate date dd mm
// return number of d
sas Thu Mar 8 10:43:52 2001 EDT
Modified files:
/php4/ext/ircg ircg_scanner.re
Log:
Add handling for underline/bold control sequences
Index: php4/ext/ircg/ircg_scanner.re
diff -u php4/ext/ircg/ircg_scanner.re:1.6 php4/ext/ircg/ircg_scanner.re:1.7
-
OK now I'm pissed. I consider myself to be an above average
programmer with extensive skill in PHP (amongst other things).
NOW... I am not going to go jumping through hoops just because some
ignorant/illiterate HR Recruiter/IS Head thinks that if you're not PHP
certified by som
sas Thu Mar 8 10:59:46 2001 EDT
Modified files:
/php4/ext/ircg ircg_scanner.c
Log:
Add handling for underline/bold control sequences
Index: php4/ext/ircg/ircg_scanner.c
diff -u php4/ext/ircg/ircg_scanner.c:1.5 php4/ext/ircg/ircg_scanner.c:1.6
---
I'm using the SetTimeOut function of JavaScript to refresh an image every 3
seconds. The SRC for the image is a PHP page which constructs a valid image
with some text added to the image and returns the image to the colling
Image. This works fine, however the information should be changing every
sas Thu Mar 8 11:29:33 2001 EDT
Modified files:
/php4/ext/ircg ircg_scanner.c ircg_scanner.re
Log:
Fix underline handling
Index: php4/ext/ircg/ircg_scanner.c
diff -u php4/ext/ircg/ircg_scanner.c:1.6 php4/ext/ircg/ircg_scanner.c:1.7
--- php4/ext/ir
never mind... 'or - i fixed my own problem! i enabled cacheing on both PHP
pages, the page with the image who's source calls the PHP page that creates
the image.
- Original Message -
From: "Karl J. Stubsjoen" <[EMAIL PROTECTED]>
To: "PHP Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday,
uw Thu Mar 8 12:39:17 2001 EDT
Added files:
/php4/pear/CacheError.php
Modified files:
/php4/pear Cache.php
/php4/pear/CacheContainer.php
/php4/pear/Cache/Container db.php file.php phplib.php
Log:
Added a basic Cac
1.3.1pl1 fixed a bug with a missing function _syntax_error.
Monte Ohrt wrote:
>
> Homepage:
> http://www.phpinsider.com/php/code/Smarty/
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact t
I am building a site which pulls FAQ's out of the database onto a page,but
having just finished reading the FAQ's I realise that they will have to be
spread over a few pages,
how to I get the new page to take over where the old page finished.
TIA
george
--
PHP General Mailing List (http://ww
Hi,
I've been trying to figure this out all night, and need some
assistance.
I have a form that takes input, and I'm trying to read the variables
directly into a MultiDim array ie:
http://www.email.com">
Now upon the form's submission, these variables are only accessible in
$HTTP_GET_VARS (reg
uw Thu Mar 8 12:41:40 2001 EDT
Modified files:
/php4/pear Cache.php
/php4/pear/CacheContainer.php
Log:
Formatting and minor inline doc changes.
Index: php4/pear/Cache.php
diff -u php4/pear/Cache.php:1.6 php4/pear/Cache.php:1.7
--- php4/pea
I dont want to get into a long drawn out debate about the copyright
infringements since we have already established our agreements with the
companies..
You are right of course, sometimes the URL does tell it all, and as I
mentioned, and if you read my note carefully, "Their banners, logos,
URL's
Please can you help:
I can't send duplicate input types to $HTTP_POST_VARS
For example:
---HTML---
First person:
NAME
Phone No.
Second Person:
NAME
Phone No.
---
Then when I use :
You're not setting a value for the first variable ie.."Name"
unless you put something in the text box to represent the variable
it will come across as empty.
Jerry Lake- [EMAIL PROTECTED]
Web Designer
Europa Communications - http://www.europa.com
Pacifier Online - http://www.pacif
Explained here:
http://www.php.net/manual/en/language.variables.external.php
Basically name the variables with []. For example:
In your example, the second is actually overwriting the first.
Nate
-Original Message-
From: mat t [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 08, 20
Hello,
I should probably know the answer to this but I do not. I was hoping someone
here could offer me some incite.
I recently changed my upload_tmp_dir from the apache default; actually it
wasn't set at all, to another directory which I created for this purpose.
The directory is outside of the
My goal..
Take an image (gif,jpg) from a remote server, resize it into 200x150 and then
save it on my local server.
My friend gave me a premade script but that doesnt work. Anyone have
something like this already done or know where to find it?
- Thanks
--
PHP General Mailing List (http://www
figured out the logic,
but still cant make it run
i put this command :
echo diff_date("/", "05/03/2001") ;
to test the function. but it doest seem to work :(
any help ?
btw i believe it must be 24*60*60 inorder to 24*24*60 :)
""Pierre-Yves Lemaire"" <[EMAIL PROTECTED]> wrote in message
01c301
Hi,
I have one question, please. Can anybody help me with external data saving?
I require to save the user data (I suppose data will be in the text format)
from user (from his computer) to a database server. And I want not use
ActiveX technology because it must run even under Netscape. Are there
I do an insert using phpadmin, and i get back the error message (or
maybe it's a warning?) The insert is of a duplicate on a unique field. I
expected an error, but when I do mysql_error() or mysql_errno(), nothing
comes back(and I do it the next line in the script). the
'mysql_query($sql, $link)'
<<< No Message Collected >>>
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
ok here is the right one working : smt was wrong with the arrays i beleive :
this one works :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL
Petr:
I'm not exactly clear about what you want to do, but ...
PHP can process user data and save it to databases. This is probably what
PHP does best. Javascript has nothing to do with this process (but you
can use it in your PHP pages if you want).
All I know about ActiveX is that it is a M$
Hello all,
I have an order form where I am trying to load an option button with a
field column from a database file:
This part works fine (actually Professional PHP has an example using the
do...while statement - I wonder which is better?):
$len = mysql_num_rows($result);
for ($i=0; $i<=$len;
1 - 100 of 136 matches
Mail list logo