Sorry Rick. Thanks.
I could not understand your question. Are you asking for more of the code? I did not
include that as I thought it would be too long in the mail.
Thanks
Denis
--- Rick Emery [EMAIL PROTECTED] wrote:
so where is $rowe set?
Show us code that calls this page
-
Hi,
I was playing around with error handlers, and tried this:
?php
error_reporting(E_ALL ^ E_NOTICE);
function ErrorHandler($_ErrorNumber_, $_ErrorString_, $_ErrorFile_,
$_ErrorLine_, $_ErrorContext_)
{
mail([EMAIL PROTECTED], Error, Blah blah blah);
}
set_error_handler(ErrorHandler);
you're not differentiating between form elements on different rows.
all the hidden elements have the same name and are in the same
form so only the last one will be available as all the submit buttons
are in the same form.
you need to put form ../form tags around each submit/hidden
pair.
Tim
surely you can post the part of the code that checks
the e-mail is blank or not?
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: Mike Bowers [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 14, 2003 12:04 AM
Subject: [PHP] Weird Errors
Hi Anthony!
Have you tried giving the full path of 'data.txt' to fopen? Like this:
$file = fopen(d:\\inetpub\\www.blahblah.org\\formtest.php, a+);
Is it you or your ISP that uses win98?
Kindly
/Lars Olsson ([EMAIL PROTECTED])
Anthony Ritter wrote:
Using MS Win98 / php 4:
Any ideas on
Hi!
It could be a permission problem. What OS are you using? Win98? Win2000?
WinXP?
Kindly
/Lars Olsson ([EMAIL PROTECTED])
Harald Mohring wrote:
isn't it possible to get image informations from the local harddrive?
$fotoinfo=getimagesize(C:\\Files\\Temp\\Image.jpg);
if i use that code,
Hi!
Shouldn't it be:
$pop_inbox = imap_open({$mailserver:110/pop3}INBOX, $login, $password);
(as on http://www.php.net/manual/en/function.imap-open.php)
Kindly
/Lars Olsson ([EMAIL PROTECTED])
Jeff Schwartz wrote:
I'm using imap_open in PHP 4.3.0 to successfully access every pop server
hi,
i wrote a regular expression to match email adresses:
$text = preg_replace(/([a-z0-9_]|\\-|\\.)+@([^[:space:]]*)([[:alnum:]-])/i, a
href=\mailto:\\1\;\\1/a, $text);
unluckily also things like ftp:[EMAIL PROTECTED] were matched.
so i rewrote it to:
$text =
Hi,
No, I wouldn't rely on it at all, I couldn't find a browser that *does* have
that mime-type in it's header! - Here's what IE6 sends :
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/msword, */*
Accept-Language: en-gb
Accept-Encoding: gzip, deflate
Flash, along with
Hi,
I have currently working a Red Hat 7.2 system that installs PHP 4.0.6
from the CD and it works fine. I want to upgrade to ver 4.3.0 what would be
the simplest way to do this without breaking any of the old modules etc. I
wont mind making changes to my scripts in case of changes between
At 10:49 14-1-03, you wrote:
hi,
i wrote a regular expression to match email adresses:
$text =
preg_replace(/([a-z0-9_]|\\-|\\.)+@([^[:space:]]*)([[:alnum:]-])/i, a
href=\mailto:\\1\;\\1/a, $text);
unluckily also things like ftp:[EMAIL PROTECTED] were matched.
so i rewrote it to:
$text =
Gamin wrote:
I have currently working a Red Hat 7.2 system that installs PHP 4.0.6
from the CD and it works fine. I want to upgrade to ver 4.3.0 what would be
the simplest way to do this without breaking any of the old modules etc. I
wont mind making changes to my scripts in case of changes
Hi.
Would it be possible to use PHP to communicate with
a serail device e.g. a modem.
I would like to send AT commands to a GSM modem
be able to read the resulting output.
I know PHP may not be ideal for this, but I think if
it's possible, it would be the quickest way of knocking something
Hi, all!!!
I've such trouble:
( register_globals = off )
in function i call to $smarty variable
function showLoginForm(){
global $db, $smarty; // $smarty = new Smarty in main code
$smarty-assign(message, $message); //
and i receive this error message
Fatal error: Call to a
Hello Tim.
Could you help me a little further and tell me exactly where to put this?
Thanks
Denis
- Original Message -
From: Tim Ward [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, January 14, 2003 5:16 PM
Subject: Re: [PHP] Error in variable when looping
On Tuesday 14 January 2003 18:46, Michael Bevz wrote:
I've such trouble:
( register_globals = off )
The register_globals setting in php.ini has ...
in function i call to $smarty variable
function showLoginForm(){
global $db, $smarty; // $smarty = new Smarty in main code
...
print form ...;
printINPUT TYPE='submit' value='View details' Name='Details';
printinput type='hidden' name='SelectedItemNumber' value='{$row[Id]}';
print /form;
you'll then have as many forms as you have rows and which
one is submitted will depend on which button is pressed.
Tim Ward
in function i call to $smarty variable
function showLoginForm(){
global $db, $smarty; // $smarty = new Smarty in main code
Fatal error: Call to a member function on a non-object in
Are you sure
$smarty = new Smarty
is in the main code?
Can it be in another function?
Try setting
I'm creating an e-commerce website, and I just need clarification as to
whether a MySQL query is considered as browser output. I ask because
I have the following code, but the cookie isn't being set:
if ($op == login) {
if (!isset($username) !isset($userpass)) {
} else {
On Tue, 14 Jan 2003 01:20:54 -0700, you wrote:
Hi,
I was playing around with error handlers, and tried this:
[...]
Which worked just fine. A little too good, in fact.
I got over 1,200 emails in a matter of minutes (high traffic site).
I'm not sure whey restore_error_handler() isn't working,
Hi all !
I am currently writing some kind of Document/File-Library in a LAMP
environment.
As the library should be able to handle various file types, and most file
types have to be handled differently internally, I would like to use
Objects/Classes to make the code for the Library iself
A pretty easy way of doing it is to add a size field to the table.
Whenever you INSERT INTO or UPDATE the table, update this field to
contain the size of the data for the current record. Then, whenever you
need to check the amount of data for a particular user, just use this query:
SELECT
php-general Digest 14 Jan 2003 13:36:55 - Issue 1822
Topics (messages 131498 through 131543):
Re: forms
131498 by: Rick Emery
131499 by: Cal Evans
131500 by: cj
131502 by: David Freeman
131505 by: Chris Shiflett
131507 by: cj
131509
Thanks Lars.
Sorry, then I have another question. How do I find the size of the record?
Thanks
Denis
- Original Message -
From: Lars Olsson [EMAIL PROTECTED]
To: Denis L. Menezes [EMAIL PROTECTED]
Cc: PHP general list [EMAIL PROTECTED]
Sent: Tuesday, January 14, 2003 9:36 PM
Subject:
Does anyone know any reliable php/mysql mail-clients with support for pop3?
Yours
Henning
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
cookies?
- Original Message -
From: Mathias Rockel [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 14, 2003 7:33 AM
Subject: [PHP] Persistent global data ?
Hi all !
I am currently writing some kind of Document/File-Library in a LAMP
environment.
As the library should
Hi!
I'm not sure if that would be a good idea in respect to performance, also
AFAIR cookies cannot save objects (can they?), and there are size
limitations on cookies, so I probably cannot use them because they could not
contain all the data ... and also, if I have the complete file structure
Hello again!
Basically...you can't. What I meant was that when you insert the data
into the table, you need to store the size as well.
Consider the following table (called files):
dataID user filename size filedata
[int, autoincremented] [int] [varchar] [int] [blob]
Now, let's say user 3
Hello -
I am trying to use a simple email script. When the php file is called, the
browser just hangs. If I look in Task Manager, the php.exe has stopped -
shows no activity. I am a PHP novice, so have tried several email scripts
from the 'Net. Currently trying the PHP Email Responder from
I used mktime to make 1040601600 this stirng but I want to go back to
human readable time how should I do that?
Thanks, David
Ok, I know I have asked this question before and I have asked it on the db
forum, on asp forums, java applet forums, searched google, etc but can't
really seem to find anything. I have to come up with a way to move data
from an access db to the mysql db on the webserver. If I have to, I can
I used mktime to make 1040601600 this stirng but I want to go back to
human readable time how should I do that?
date();
The first argument is the format specifier and the second argument is a
unix timestamp (ie, what mktime() returns).
Chris
--
PHP General Mailing List (http://www.php.net/)
On Tuesday 14 January 2003 22:16, Davíð Örn Jóhannsson wrote:
I used mktime to make 1040601600 this stirng but I want to go back to
human readable time how should I do that?
strftime()
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design
Write persistent data to a file on server side
- Original Message -
From: Mathias Rockel [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 14, 2003 8:12 AM
Subject: Re: [PHP] Persistent global data ?
Hi!
I'm not sure if that would be a good idea in respect to performance,
try GOOGLE: access mysql php conversion
I did
- Original Message -
From: Edward Peloke [EMAIL PROTECTED]
To: PHP general list [EMAIL PROTECTED]
Sent: Tuesday, January 14, 2003 8:48 AM
Subject: [PHP] data move, Please Help..
Ok, I know I have asked this question before and I have asked
Hi!
Yeah I know, but as I wrote below then I would need to put the complete file
library into each users session, which first blows that up considerably, and
scond probably is also slower as it is still read by each single script from
hard disk (session data file) and the objects are recreated
Hi all !
It seems I did not state exactly enough what I need ... if I use the
$_SESSION functions or write the stuff myself makes no difference, actually
then I can just leave it in the database and read it every time ... but that
is just slow ... I want to create it persistant in the system
I used mktime to make 1040601600 this stirng but I want to go back to
human readable time how should I do that?
strftime()
Wow, that's pretty cool. I never knew about that function. I just always
used date().
There are so many different ways to do something and one of the main
reasons I
I use and recommend Squirrelmail.
http://www.squirrelmail.org/
Steven Balthazor
-Original Message-
From: Henning Olsen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 14, 2003 7:03 AM
To: [EMAIL PROTECTED]
Subject: [PHP] mail client?
Does anyone know any reliable php/mysql
Lars,
I use Win98 and Apache to test the .php script.
My ISP has IIS.
TR
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
thanks Rick, I did that and did find more stuff. I guess I need to find
more odbc info so that I can use that to move the data over. After I have
uploaded the file, can I create an odbc connection in php and then use php
also to move data from access to the mysql db?
Thanks,
Eddie
On Tuesday 14 January 2003 22:45, Steven Balthazor wrote:
I use and recommend Squirrelmail.
http://www.squirrelmail.org/
Squirrelmail doesn't support POP3 on it's own which is what the OP wanted.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
*
Does anyone know any reliable php/mysql mail-clients with support for pop3?
IMP perhaps ?
Have a look over at http://www.horde.org/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tuesday 14 January 2003 22:38, Chris Boget wrote:
I used mktime to make 1040601600 this stirng but I want to go back to
human readable time how should I do that?
strftime()
Wow, that's pretty cool. I never knew about that function. I just always
used date().
There are so many
Chris Hayes [EMAIL PROTECTED] ïèøåò â
ñîîáùåíèè:[EMAIL PROTECTED]
in function i call to $smarty variable
function showLoginForm(){
global $db, $smarty; // $smarty = new Smarty in main code
Fatal error: Call to a member function on a non-object in
Are you sure
$smarty = new
--- Danny Shepherd [EMAIL PROTECTED] wrote:
No, I wouldn't rely on it at all, I couldn't find a
browser that *does* have that mime-type in it's
header!
Danny is right. The reason you cannot depend on the Accept
header is that most browsers will include */* as an
acceptable type (which
--- J. Alden Gillespy [EMAIL PROTECTED] wrote:
I'm creating an e-commerce website, and I just need
clarification as to whether a MySQL query is
considered as browser output.
It is not. However, a MySQL error is indeed output. Make
sure your query is successful.
My suggestion would be to
On Monday 13 January 2003 18:09, Scott Fletcher wrote:
It's no problem. We're all very interesting in finding out what can work.
Maybe I can help with one of this problem. The Gecko browser does have the
option of blocking the opening of hte unrequest window which is maybe why
yours doesn't
Me too. I alway try to avoid javascript. I have one workaround to the
problem that keep me from having a headache with the browser
incompatibilities. Since I already have a table in the database that deal
with the session number, timestamp and user id. All I have to do is to
detect the
I can't get my head around dealing with all the magic that PHP does to my
data. I'm trying to do the following (in C++):
char a = 'a';
a = a + 13;
The resulting value of a is 'n'. If I do the equivalent in PHP ($a = a;
$a += 13;) the resulting value is 13. I tried (int)$a += 13;, but
Hi, I'm having a big problem with php and Oracle.
I'm using Oracle 8.1.6 and PHP 4.2 with the Oracle component in a Solaris
server, I can not recompile apache and php to install the oci8 component
and I'm having lot of problems with CLOBs, I'm receiving this error:
Warning: Ora_Exec failed
Hi Peter,
you're looking for ord();
cu,
Bastian
Is there some way to make PHP add an int to the ASCII value of a single
character string (since there seems to be no char type)?
Thanks,
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Allen Byington mailto:[EMAIL PROTECTED] scribbled;
[snip]
*** Error Begins ***
Fatal error: Failed opening required 'includes/config.inc.php'
(include_path='/usr/local/lib/php') in
/opt/apache/htdocs/admin/includes/auth.inc.php on line 24
*** Error Ends ***
You don't seem to have . in
I'm new to PHP and am slowly learning it. I have the following code that is
giving me errors could someone take a look and suggest a fix?
Parse error: parse error in /home//public_html/Info/datain.php on
line 7
HTML
?php
$db = mysql_connect(localhost, ,xx);
Try this...
$sql = INSERT INTO personnel (firstname, lastname, nick, email, salary)
VALUES ('$first','$last','$nickname',);
- Original Message -
From: Brent Lee [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 14, 2003 10:02 AM
Subject: [PHP] Parse error
I'm new to PHP
For those who don't mind working with Javascript I have found a method of
maintaining the sessions to a minimum length. According to the Javascript
list there is no way to get the url of the site the user is going to next so
there is no way to tell if the onunload is due to a site change or the
okay guys i have this script to use the first exploded part as the trigger
then the rest sent in a msg, ive got the trigger but its just the message
part im having probs with, how do i make it so anything after x is sent; in
this i need $text to be set as it, any sort of help is greatly
Given:
PHP 4.x
PostgreSQL 7.3.x
In 'psql' monitor:
declare foo cursor for select * from humongous_table;
move forward all in foo;
The second query will print out a number which informs one of the actual
number of rows that are in the cursor's query's result set, if one were to
actually fetch
http://www.php.net/manual/en/ref.shmop.php
On Tue, 14 Jan 2003, Mathias Rockel wrote:
Hi all !
It seems I did not state exactly enough what I need ... if I use the
$_SESSION functions or write the stuff myself makes no difference, actually
then I can just leave it in the database and read
I'm new to PHP and am slowly learning it. I have the following code that is
giving me errors could someone take a look and suggest a fix?
Parse error: parse error in /home//public_html/Info/datain.php on
line 7
HTML
?php
$db = mysql_connect(localhost, ,xx);
Everything works great now. Thanks for the quick responses everyone.
Brent Lee [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I'm new to PHP and am slowly learning it. I have the following code that
is
giving me errors could someone take a look and suggest a
Here is another error I'm getting while trying to view my db. I copied
and pasted these statements from a pdf file I'm using to learn PHP but they
keep creating errors.
I am writing all your tips into my notes to try to keep my questioning
to a minimal.
Warning: mysql_fetch_array():
Hi!
So this is the only way I guess ...
Do you propose to serialize() the objects in the tree and write that data
into a shared memory block, and then deserialize them at the beginning of
each script that needs the data back into objects ? I would think that that
would impose the same
So this is the only way I guess ...
Do you propose to serialize() the objects in the tree and write that data
into a shared memory block, and then deserialize them at the beginning of
each script that needs the data back into objects ? I would think that that
would impose the same
Hi folks
I am having trouble writing a script to dump the data from tables in MYSQL.
Can anyone provide help on how to use the mysqldump command within PHP
(4.2).
Many thanks
Don
www.complementarymedicines.com
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system
On Wednesday 15 January 2003 00:53, Brent Lee wrote:
Here is another error I'm getting while trying to view my db. I copied
and pasted these statements from a pdf file I'm using to learn PHP but they
keep creating errors.
I am writing all your tips into my notes to try to keep my
On Wednesday 15 January 2003 00:50, Don Mc Nair wrote:
Hi folks
I am having trouble writing a script to dump the data from tables in MYSQL.
Can anyone provide help on how to use the mysqldump command within PHP
(4.2).
To execute shell commands from php use shell_exec() and friends.
--
At 17:50 14-1-03, you wrote:
I am having trouble writing a script to dump the data from tables in MYSQL.
Can anyone provide help on how to use the mysqldump command within PHP
(4.2).
Many thanks
Don
Have a look at my wonderful script :) to use mysqldump to get yourself an
email attachment of a
Hi,
I wonder which is the better way to store data into database?
1. stor the data after we call htmlspecialchars with the data (means we
store as quote; in database)
2. stor the data in non encoded form and call htmlspecialchars whenever we
want to display it.
Foong
--
PHP General Mailing
Hi, I'm having a big problem with php4 and Oracle 8.1.6 and I'd like to
know if anybody knows how to handle CLOB fields using oracle's functions.
Thanks.
Jadiel Flores
-
http://www.abargon.com
[EMAIL PROTECTED]
(52-55) 52-29-80-34
--
PHP General Mailing List
I've got an array of values, that I need to query against a database to see if any
records have any of the values in the array - the array is a list of zip codes, and
the database contains a list of stores. Basically i need to find what stores have zip
codes in the array.
I know that mysql
-Original Message-
From: Peter Hutnick [mailto:[EMAIL PROTECTED]]
Sent: 14 January 2003 15:49
I can't get my head around dealing with all the magic that
PHP does to my
data.
You need to read, very carefully, several times, the PHP manual section on
Type Juggling:
On Wednesday 15 January 2003 01:47, Kelly Meeks wrote:
I've got an array of values, that I need to query against a database to see
if any records have any of the values in the array - the array is a list of
zip codes, and the database contains a list of stores. Basically i need to
find what
--- Foong [EMAIL PROTECTED] wrote:
I wonder which is the better way to store data into
database?
1. stor the data after we call htmlspecialchars with the
data (means we store as quote; in database)
2. stor the data in non encoded form and call
htmlspecialchars whenever we want to display
On Wednesday 15 January 2003 01:24, Foong wrote:
I wonder which is the better way to store data into database?
1. stor the data after we call htmlspecialchars with the data (means we
store as quote; in database)
2. stor the data in non encoded form and call htmlspecialchars whenever we
want
Pretty much of a newbie so please bear with the stupidity.
I have PHP 4.0.6 installed from rpm as part of RH 7.2. phpinfo() shows the
configure command having --without-mysql. But my php scripts seeem to be
able to run mysql commands happily.
Could anybody point out why ? Doin rpm -aq | grep php
On Tuesday 14 January 2003 19:16, gamin wrote:
I have PHP 4.0.6 installed from rpm as part of RH 7.2. phpinfo() shows the
configure command having --without-mysql. But my php scripts seeem to be
able to run mysql commands happily.
Could anybody point out why ? Doin rpm -aq | grep php shows me
hope this help
// array of zip codes
$zips = array(...);
// can use implode() here if you want
foreach($zips as $zip) {
$zip_list = ,'.$zip.';
}
// take away the first comma
$zip_list = substr( $zip_list, 1);
$sql = SELECT stores FROM store_table WHERE zip_code IN('$zip_list');
$hdl =
put the following line after you call mysql_query(..), you should be able to
see the error:
echo mysql_error();
this line is very handy to see what's wrong with mysql related operation.
Remember to delete it after debugging for security reasons
Foong
Brent Lee [EMAIL PROTECTED] wrote in
Hi all,
I want to develop a script that can read an e-mail from a pop account,
and then perform actions on that e-mail based on characteristics of the
e-mail (e.g. header information, attachments, etc)
Does anyone know of a way to receive e-mails via php, and then to parse
them easily. My
instead of:
global $smarty;
$smarty]-assign(message, $message);
try:
$_GLOBAL['smarty']-assign(message, $message);
Foong
Michael Bevz [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi, all!!!
I've such trouble:
( register_globals = off )
in function i
Johannes Schlueter [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Yes, the last part is the imortant ;-) The PHP-MySQL-Extension was compile
as
shared extension. It is included in your php.ini file with a command sth.
like extension=php_mysql.so
johannes
Thx
Thank you guys
Foong
Foong [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi,
I wonder which is the better way to store data into database?
1. stor the data after we call htmlspecialchars with the data (means we
store as quote; in database)
2. stor the data
On Tuesday 14 January 2003 19:54, gamin wrote:
Thx Johannes for pointing this out. In the php.ini file i have
Your welcome ;-)
extension=mysql.so Now i have another webserver running PHP where the
configure command has --with-mysql=shared. I guess this means the same
thing. Please could you
Johannes Schlueter [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On Tuesday 14 January 2003 19:54, gamin wrote:
Thx Johannes for pointing this out. In the php.ini file i have
Your welcome ;-)
extension=mysql.so Now i have another webserver running PHP where
Tyler BIRD mailto:[EMAIL PROTECTED] scribbled;
I'm trying to include
'http://www.myserver.com/conted/me.inc';
portably on several mirrored servers like include
'/conted/me.inc'
, I was wondering if there was someway I could include
files and have the implicity connect
and down the load
Hi,
I'm about to start a new project which will require a login system. The system
should allow for different types of access on a per page basis. I'm going to
achieve the login system using sessions, which I have done before.
My problem is that I don't want to have to do much login checking on
Has anyone uploaded a file and then used php to transfer the data between
the two databases??
-Original Message-
From: Edward Peloke [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 14, 2003 10:27 AM
To: PHP general list
Subject: RE: [PHP] data move, Please Help..
thanks Rick, I did
Devarticles has a series of Authentication tutorails and the a tutorial on
OOP itself. Here are the links:
http://www.devarticles.com/art/1/349
-- Member Script Tutorial: --
-- There are 6 parts --
http://www.devarticles.com/art/1/241
http://www.devarticles.com/art/1/245
Hi
I just installed MySQL and PHP on Windows, and I have found that I am
getting all sorts of errors (in both) when I try to use some of the same
commands I use in the Linux versions. Are their a lot of differences in the
two, and where can I find out what these are - I just got used to using
How to do the proper way of emptying hte array??
Example...
$a[0] = test1;
$a[1] = test2;
$a[2] = test3;
$a[3] = test4;
$a = ;-- Is this hte proper way to do it
I would like the array to be cleared before being it get to be use over and
over
Thanks...
--
PHP General Mailing
Got an email... The answer to this question is ...
--clip--
$a = array();
--clip--
Scott Fletcher [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
How to do the proper way of emptying hte array??
Example...
$a[0] = test1;
$a[1] = test2;
$a[2] = test3;
From previous experience with this problem - the most 'relaible' method for me
was to
(1) use the access/xls/whatever application to dump a CSV-type file
(2) upload the file to the appropriate location on your MySQL server
(3) write a PHJP script that use a standard LOAD DATA INFILE query.
The php.ini in both are whatever the default settings for these files are. If the
defaults are different, then maybe - but I have no idea about these files, and really
don't want to get into it. If the default doesn't work on Windows I will just scrap
it. Not worth the head aches. Same with
Hi,
I have a PHP file that displays a form and submits for processing. The processing
script redirects to a results page. I am using formmail.php to process.
In my PHP page, the FORM line reads as:
echo 'form method=POST name=accountedit
action=..\phpscript\general\formmail.php' . \n;
When
--- Don [EMAIL PROTECTED] wrote:
In my PHP page, the FORM line reads as:
echo 'form method=POST name=accountedit
action=..\phpscript\general\formmail.php' . \n;
When I try in I.E., it works fine.
When I try in Netscape 7, I get a page not found error.
This is something I refer to as
- Original Message -
From: Chris Shiflett [EMAIL PROTECTED]
To: Don [EMAIL PROTECTED]; php list [EMAIL PROTECTED]
Sent: Tuesday, January 14, 2003 4:24 PM
Subject: Re: [PHP] Why is my URL encoding itself?
--- Don [EMAIL PROTECTED] wrote:
In my PHP page, the FORM line reads as:
echo
You could use fetchmail to get the mail and pipe it into your php script
which would see it as standard input...
Or look on zend.com for a POP class...
On Tue, 14 Jan 2003, David Russell wrote:
Hi all,
I want to develop a script that can read an e-mail from a pop account,
and then perform
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 14, 2003 1:09 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP]
Hi!
I'm trying to connect to my mysql database using something like
mysql_connect( 'localhost', 'root', 'thepassword' )
or die ( 'Unable to connect to server.' );
But I get the error message:
Fatal error: Call to undefined function: mysql_connect() in
1 - 100 of 143 matches
Mail list logo