@ 2:39:12 AM on 4/12/01, Brian Clark wrote:
...
> @ 2:13:10 AM on 4/12/01, midget2000x wrote:
...
>> //declare the array
>> $info_request = array (1 =>
>"firstname","lastname","email","howfound","optin","comments","request_type","request_bucket","date");
Sorry, I
Hi
For some reason this works for me, can even download .html files
$headertxt = "Content-Disposition: attachment; filename=\"".$filename."\"";
header("Content-Type: application/force-download");header($headertxt);
Tom
At 12:09 AM 12/04/01 +0500, Vikram Vaswani wrote:
>Hi!
>
>I have a script wh
$info_request = array (1 =>
"firstname","lastname","email","howfound","optin","comments","request_type",
"request_bucket","date");
$flds = implode(",", $info_request);
$sql = "INSERT INTO mytable($flds)"
mysql_query($sql)
hope it helps at least a little.
-elias
http://www.kameelah.org/eassoft
Hi midget2000x,
@ 2:13:10 AM on 4/12/01, midget2000x wrote:
...
> Obviously the code below is impossible, but illustrates what I want to do:
> //declare the array
> $info_request = array (1 =>
>"firstname","lastname","email","howfound","optin","comments","request_type","request_bucket","date")
another newbie programmer question...
is it possible to output the results of an array loop into a variable, or
directly into an SQL call?
Obviously the code below is impossible, but illustrates what I want to do:
//declare the array
$info_request = array (1 =>
"firstname","lastname","email","h
> I need to name a file like this
> $fp=fopen('echo $agentcode' .'CyberTrac.ctr', "w");
>
> the file gets named echo $agentcodeCyberTrac.ctr, now I want
> a real value in $agentcode, there is a value in there so it
> must be my syntax, anyone help?
$fp=fopen($agentcode.'CyberTrac.ctr', "w");
Hi
I need to name a file like this
$fp=fopen('echo $agentcode' .'CyberTrac.ctr', "w");
the file gets named echo $agentcodeCyberTrac.ctr, now I want a real value in
$agentcode, there is a value in there so it must be my syntax, anyone help?
TIA
Wade
"Michael Dickson" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On the server itself (to which I have root access) I type:
>
>someProgram arg1 arg2 arg3
>
> and it runs properly, returning the proper output to standard output (the
> screen). I can do this
[Andrei Zmievski <[EMAIL PROTECTED]>]
> On Tue, 10 Apr 2001, Derick Rethans wrote:
> > hrm,
> >
> > is it really needed to add 3.6MB of stuff to the PHP cvs?
>
> Grr, I agree. Maybe it can wait until PEAR is out of PHP's CVS.
Hey hey, take a closer look before reacting. This stuff _is_ out of
I have called from html a php form and passwd a value, but how can I
from PHP pass the value to an html for, without using php ?
Scenario
After searching a db, a list of valid part numbers gets displayd from
the Mysql db, the client picks part#2 and then that click would call the
html form which
I'm getting this: "Warning: error opening in /path/to/file.php on line 32"
Here's what I want to do, maybe I'm approaching it incorrectly? I need to
collect multiple files via a form and upload them via FTP (can't use HTTP
because I'm uploading to a different server). I collect them just fine
Apologies in advance if this has been discussed before or is a simple
fubar on my part. I can only search through the archives for so
long... :-)
Experiencing a frustrating problem on this end with slashes being added to
my template files. Here are the details:
Using PHP on a webhost that c
Hi Plutarck,
The 'mailing list' at MySQL _is_ very much like this one and is also very
active. Send mail to [EMAIL PROTECTED] to subscribe.
Regards,
@lvin
-Original Message-
From: Plutarck [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 12, 2001 11:40 AM
To: [EMAIL PROTECTED]
Subject:
It means your OS does not allocate enough resources.
Linux:
$ ipcs -l -s
FreeBSD:
$ ipcs -S
Refer to your OS manual to change them.
Regards,
--
Yasuo Ohgaki
""Philip Murray"" <[EMAIL PROTECTED]> wrote in message
002e01c0c20a$b17e9ba0$0201a8c0@sparlak">news:002e01c0c20a$b17e9ba0$0201a8c0@spar
Most PostgreSQL functions are wrapper functions for libpq. Reading documents
about libpq will help.
Answer to your question is, it does not read all data into memory. I think most
DB doesn't do that also.
Data will be buffered in PostgreSQL backend, size is depends on your
configuration.
I'm not
I had a similar question about case-sensitivity, and I was told that MySQL
is automatically case-insensitive! But it depends on your version of MySQL.
Go to the mysql manual and look at chapter 20.16 "Case sensitivity in
searches".
In the newest versions of MySQL, all searches are case-insensiti
I was looking at marc.theaimsgroup.com listing of message archives (which is
how I finally found the address to this newsgroup in the firstplace) to find
the MySQL group, however I noticed that the one at mysql.com is just a
"mailing list". (I prefer to preserve my inbox for personal messages and
I am writing a PHP script that operates on a MySQL database that uses the
e-mail address as the primary key. If the e-mail doesn't exist in the database
(when a form is submitted), I want to insert a new record. If it does, I want
to update the existing record.
How can I make the query that
I've been working on a way to strip invalid characters from user input with
little or no need to rip the hair out of my head, and I learned some
interesting things in the process.
For one thing, hair really is stuck in there good, man.
But the important thing is how to increase your global names
> I know how to do popups with Javascript, but what I want is
> to use purely PHP. Is there a way to spawn a browser window
> from a server-side action?
I'm afraid you'll have you use Javascript. The only way to make a new window
is to use window.open, or to have someone click a link with the ta
Better than the people who make a new thred by hitting Forward ;)
--
Plutarck
Should be working on something...
...but forgot what it was.
""Chris Lee"" <[EMAIL PROTECTED]> wrote in message
9b1rbb$mr3$[EMAIL PROTECTED]">news:9b1rbb$mr3$[EMAIL PROTECTED]...
Accually, Ive noticed in Outlook Expr
I'm guessing it's either for a Quiz script or an Auction script.
If you want to make it easy on yourself, use a database to store the
starting time (when the timer "starts") and what time the test/auction
should end. When someome makes a submission, get the time stored in the
database and see if
I believe foreach also works on a copy basis, not a pointer or reference. So
if you try and alter the array you are foreach'ing it won't work as
expected.
For instance this:
$array = array("var1", "var2", "var3");
foreach ($array as $val)
{
if ($val == "var2")
{
$val = "changed2";
}
}
pr
Hello,
Does anyone have ideas about this kind of scenario?
1) Load a php page, based on whether a user is currently
authenticated either:
a) if not authenticated: pop up a new browser window
or
b) if already authenticated, proceed
2) Based on the login id of t
> One apparent problem with foreach() is it can misbehave code as
> follows. (4.0.4pl1, 4.0.5RC6)
>
> function foo($a) {
> foreach ($a[0] as $k => $v) {
> echo $k.$v;
> }
> }
>
> $a = 'abc';
> foo($a);
>
> You'll get 'server not found' or browser waiting forever with this
> code. (If y
In article <000501c0c2f5$185e8e80$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] ("Duke") wrote:
> I'm trying to create the following array:
>
> $host_info = array(
> "hostname" => "localhost"
> "log" => "rocketbox_db.log"
> "username" => $username
> "pass
Dude, you need commas between your array items.
Gfunk - [EMAIL PROTECTED] - http://www.gfunk007.com/
- Original Message -
From: "Duke" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 12, 2001
I'm trying to create the following array:
$host_info = array(
"hostname" => "localhost"
"log" => "rocketbox_db.log"
"username" => $username
"password" => $password
"database" => "rocketbox"
"table" => $table
);
however when
Do you install Linux kernel source? and have correct symlink for kernel headers?
Sounds like it's the cause to me.
Regards,
--
Yasuo Ohgaki
""Plamen Slavov"" <[EMAIL PROTECTED]> wrote in message
002a01c0c276$32b005e0$98d209c0@plamensl2">news:002a01c0c276$32b005e0$98d209c0@plamensl2...
> Hi all,
If you are using Windows, no. (resolver does not work under windows)
Regards,
--
Yasuo Ohgaki
"Jochen Kaechelin" <[EMAIL PROTECTED]> wrote in message
NFBBLHGFAKNLFNPOHMPHCEENCGAA.jk@intern">news:NFBBLHGFAKNLFNPOHMPHCEENCGAA.jk@intern...
> What about this error:
>
> checkdnsrr() is not supported
*
--
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 PROTECTED]
I'll post you a simp
One apparent problem with foreach() is it can misbehave code as follows.
(4.0.4pl1, 4.0.5RC6)
function foo($a) {
foreach ($a[0] as $k => $v) {
echo $k.$v;
}
}
$a = 'abc';
foo($a);
You'll get 'server not found' or browser waiting forever with this code.
(If you don't, please let me know
Did you read PHP Manual? If you don't read online manual, I suggest to read it.
Annotated manual is very useful.
http://www.php.net/manual/en/language.variables.external.php
Regards,
--
Yasuo Ohgaki
"Phil Labonte" <[EMAIL PROTECTED]> wrote in message
1B5C7FA9D60DD511ABEF00508BFDEFDC106A@EXCHAN
Hi g0thic,
@ 8:17:24 PM on 4/11/2001, g0thic wrote:
...
> Fatal error: Call to a member function on a non-object in
> /home/httpd/www/g0thic/cawood_a4/edit_f.php on line 183
> 178- if($seditFileErr == "")
> 179- {
> 180-// Load primary key and form parameters
> 181-$fldf_id = get_par
One thing I forgot to mention, you can of course name the group: avail[$i]
(see below) so you will able to refer to it as an array in PHP file later
on.
--
So far as I know, the HTML does not support arrays. However, you
by this I mean, html code of the form:
INPUT TYPE="radio" NAME="radiobutton" VALUE="radiobutton">
INPUT TYPE="radio" NAME="radiobutton" VALUE="radiobutton">
INPUT TYPE="radio" NAME="radiobutton" VALUE="radiobutton">
INPUT TYPE="radio" NAME="radiobutton" ALUE="radiobutton"
radiobuttons
So far as I know, the HTML does not support arrays. However, you can make
simple code that adds number to each group so you can refer to them later
e.g.:
$i = 0;
while (your arguments) {
echo "name=\avail$i\";
$i++;
}
And afterwards you can refer to it the same way (per
Hi guys,
Below is the error message that I am receiving, and 3 or 4 lines around
the code that seems to be causing the issue. Lines are numbered so it gives
you a good idea of line 183. What I need to know, is in my context, what is
the error saying, and if there is a variable (or function
My question:
are the groups all within different forms? does each for have a different
name? don't know, something to try.
On 4/11/01 5:05 PM, "Peter Houchin" <[EMAIL PROTECTED]> wrote:
> even though i am putting them in an array?
>
> like
>
> 'CHECKED'; }?>>
>
> (i have another 2 radio bu
even though i am putting them in an array?
like
>
(i have another 2 radio buttons with this group)
Peter
-Original Message-
From: SED [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 12, 2001 10:05 AM
To: Peter Houchin
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] radio gro
I don't think you can. The browser groups them by the name, so you will have
to write some code (simple) to change the name...
SED
-Original Message-
From: Peter Houchin [mailto:[EMAIL PROTECTED]]
Sent: 11. apríl 2001 23:33
To: Php-General@Lists. Php. Net
Subject: [PHP] radio groups in l
What about this error:
checkdnsrr() is not supported in this PHP build
Any answers?
--
Jochen Kaechelin - Ihr WEBberater
Stuttgarter Str.3, D-73033 Goeppingen
Tel. 07161-92 95 94, Fax 07161-92 95 98
http://www.wa-p.de, mailto:[EMAIL PROTECTED]
--
PHP General Mailing List (http://www
hiya,
I have a script that repeats a form x number of times depending on how many records
there are, what's happening is when i go to update my radio buttons it sees every
radio button on the page as the ONE group when really it's x number of groups (again
depending on how many records there
If you look at their socket.h, they have a macro condition in the XPG4 compatibility
section that
renames all the socket functions to __xnet_whatever. The condition either calls
#pragma redefine extname, or #define. #define was
bad in this situation becuase PHP_FUNCTION(socket) would become
PH
On Wed, Apr 11, 2001 at 03:55:38PM -0600, Ashley M. Kirchner wrote:
> "Rodney J. Woodruff" wrote:
>
> > http://www.php.net/manual/en/function.msql-fetch-array.php
(snip)
> I need that result into the following:
> $items = array(0 => "Undefined", 1 => "Work", 2 => "Personal");
Here's a
Just curious. What does their pragma do?
Andi
At 03:16 AM 4/10/2001 +, Jason Greene wrote:
>jason Mon Apr 9 20:16:06 2001 EDT
>
> Modified files:
> /php4/ext/sockets sockets.c
> Log:
> Fix for PR #9729, 9664, 9656, 8667.
> All compilers on Solaris should build this e
> What I'm trying to do is specify a URL in a form, and then take that URL,
> put its contents into a variable, and mail it out in an e-mail message
with
> the body of the message being that URL. I haven't gotten anywhere so far,
> just getting blank messages for the body.. can anyone point me
This happened to me when I used _affected_rows instead of _count
make sure you're using the right function.
that drove me nuts before I got it working, AND I followed the durn directions.
chris
On Tue, 10 Apr 2001 09:02:32 -0700, elias wrote:
>can you show me some code?
>basically when you
I am trying to make a simple HTML menu system. I am having problems
displaying menu links under the correct submenu from a loop.
I have a database with two tables. One table holds menu and sub menu
headings and the other table holds the contents of each submenu (the
actual menu links and names).
I got it, I think:
and this at the beginning of file "B"
$selected == "$selected";
and placed this statement in file "A"
if (isset($selected[$cat]))
{
include ("cat_select.php");
}
I don't know why it works but it does, is there anything wrong with this method?
Gerry wrote:
>
> I hope yo
"Rodney J. Woodruff" wrote:
> http://www.php.net/manual/en/function.msql-fetch-array.php
Okay, call me dense. I can't figure this out. This is what I'm trying to
do:
$sql = "select p_id, project from proj where uid=$uid";
$result = mysql_db_query($database,$sql);
(the resulti
There are two stages here. Getting PHP installed and working and getting IIS
configured.
To tackle the first should be easy. If php.exe and phpts.dll are in the same
directory as each other (say C:\php) and php.ini is in the WINNT folder AND
you haven't done anything silly in php.ini, then PHP sh
Just out of curiosity, can anyone explain the mechanics behind accessing a
database query result set.
ie
$result_id = pg_execute( 'select * from my_table' );
when I call loop through pg_fetch_row( $result_id, $rom_num ) or
pg_fetch_object( $result_id, $rom_num )
has php read the entire result s
I hope you understand:
It is too long to include here so I'll give you an idea.
file.B
---
";
//-cats
$cats = explode(',',$all_cats);
//--values
$cats_vals = explode(',',$all_cats);
print html_options($cats, $cats_vals, $selected, "--Select one--");
echo"";
?>
---
try
";
print_r( $the_array_I_want );
echo "";
?>
Be aware that adding an element to $the_array_I_want will give it the next
sequential number which would look like an ID but have nothing to do with
the contents of your database.
Unless it is absolutely necessary I would reco
What are you using as a test ?
try saving this below as info.php
make sure you are saving this to your webroot
and calling it through your browser
http://localhost/info.php
Jerry Lake- [EMAIL PROTECTED]
Web Designer
Europa Communications - http://www.europa.com
Pacifier Online
Desperate and frustrated new php peep here. Trying to install php4 on
windows 2000 using IIS5. I have tried EVERYTHING. Last thing I tried was
the easyinstaller from the phpeverywhere people. No luck. Everytime I try a
test, I get a blank page???
Take pity on me please!!! If I cannot get this
Various things, but I finally hit upon something that worked. Thanks
anyway.
Chad
-Original Message-
From: Rodney J. Woodruff [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 11, 2001 5:03 PM
To: Chad Day
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Including a URL for mailing..
What hav
What have you tried so far?
-- Rodney
Chad Day wrote:
> What I'm trying to do is specify a URL in a form, and then take that URL,
> put its contents into a variable, and mail it out in an e-mail message with
> the body of the message being that URL. I haven't gotten anywhere so far,
> just get
http://www.php.net/manual/en/function.msql-fetch-array.php
Hope this helps.
"Ashley M. Kirchner" wrote:
> I need to convert an MySQL result into an Array...somehow. The
> query returns the following:
>
> ++---+
> | ID | Project |
> ++---+
> | 1 |
Hi,
I'm trying to configure in --with-ldap.
i have the iPlanet ldapsdk installed in
/usr/local/include
/usr/local/lib
php configures and compiles with out any complaints.
the problem happens when i try to start apache.
Syntax error on line 23 of /usr/local/apache/conf/httpd.conf:
Cannot load /u
I want to get the hostname from the browsers that access my site.
What is the syntax to use with the HTTP_ENV_VARS?
mysql_query("INSERT INTO weblog(ip, hostname, port, time) " . " \
VALUES('$REMOTE_ADDR', '$HTTP_ENV_VARS', '$REMOTE_PORT', \
'$time')");
Thanks!
--
PHP General Mailing
I am doing a basic mouseiver on a page where some php code also resides.
I basically dump the top of the web page through a function page_top()
which is just passing all the html & java through a string, then pull
some db stuff out, and finally call the page_bottom() which pulls in the
rest of th
Just guessing here. On our setup, PHP runs as nobody. Is there a permissions
problem around "someProgram"?
Kirk
> -Original Message-
> From: Michael Dickson [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 11, 2001 1:27 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] passthru
>
>
> On t
On the server itself (to which I have root access) I type:
someProgram arg1 arg2 arg3
and it runs properly, returning the proper output to standard output (the
screen). I can do this from anywhere on the server (for example, from the
same directory where my php scripts are located, /var/www/
What are the differences in these? I know with while() you have to reset() the
array afterwards, but foreach() you don't. Also foreach() appears to be quite
a bit faster.
My main question is there ANY difference in how these two loop through the
array.
--Joe
/***
On Tue, 10 Apr 2001, Derick Rethans wrote:
> hrm,
>
> is it really needed to add 3.6MB of stuff to the PHP cvs?
Grr, I agree. Maybe it can wait until PEAR is out of PHP's CVS.
-Andrei
* Ethernet n.: something used to catch the etherbunny. *
--
PHP CVS Mailing List (http://www.php.net/)
To uns
Hi!
I have a script which sends the following headers in order to get the
client to display a "file save" prompt.
> header ("Content-Type: application/octet-stream");
> header ("Content-Disposition: attachment; filename=$filename");
> readfile($filename);
This works well on Netscape/lynx. Ho
What I'm trying to do is specify a URL in a form, and then take that URL,
put its contents into a variable, and mail it out in an e-mail message with
the body of the message being that URL. I haven't gotten anywhere so far,
just getting blank messages for the body.. can anyone point me in the
r
ssb Wed Apr 11 11:26:51 2001 EDT
Modified files:
/CVSROOTloginfo
Log:
* send commit messages for "pear" and "pearweb" to [EMAIL PROTECTED]
Index: CVSROOT/loginfo
diff -u CVSROOT/loginfo:1.41 CVSROOT/loginfo:1.42
--- CVSROOT/loginfo:1.41Tue Ap
The quotes are indeed coming from a FORM. I'll look into
magic_quote_sybase. Thanks!
>> Original Message <<
On 4/11/01, 11:19:26 AM, "Johnson, Kirk" <[EMAIL PROTECTED]> wrote
regarding RE: [PHP] Single Quotes in Oracle Queries:
> Where are the strings comin
Where are the strings coming from? If from a , then
magic_quotes_sybase (in php.ini) is your friend. If from elsewhere, see
magic_quotes_runtime for possible help (also in php.ini).
Kirk
> -Original Message-
> From: Richard Crawford [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 11,
Before we go about writing new functions to handle single quotes for our
Phorum reengineering project, I need to know if there is a way for PHP to
easily handle the issue of passing strings to a PL/SQL script, which
requires that single quotes be doubled up: that "I don't know" is
properly tra
1.
I have a form that is used to upload articles to a site. The form works
well with windows IE. The mac IE won't take all the text! It seems to have
a cap on the amount of text a text area will allow. Any thoughts? We
updated the browser which seemed to increase the limit but still have
prob
http://developer.ez.no/filemanager/list/1/
There are installation doc files near the bottom of the page.
Seung-woo Nam
Peter Van Dijck wrote:
>
> Hi,
> I think I finally found a cms that does most of what I want it to:
> ezpublish ( http://developer.ez.no/article/archive/4/ )
> I'm try
Hi !
Does anyone have a fileupload script that works with Safe Mode ? In all
scripts I saw copy was used, so it didn't work. On the other hand, I don't
want to run my server without safemode any hints ?
thnx
Matthias
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-m
>Is it possible to do some arithmetic with time/date values in PHP?
> for example, to calculate:
>today + 1050 days.
>today - 7 days.
>etc.
> I mean, does PHP have functions to perform these operations?
$oneDay = 86400; // number of seconds in a day
Hello,
Is it possible to do some arithmetic with time/date values in PHP?
for example, to calculate:
today + 1050 days.
today - 7 days.
etc.
I mean, does PHP have functions to perform these operations?
Thanks,
Erich Reimberg.
PS. I'm new to PHP, and I didn't find anything like t
Hi, there.
We're looking for advanced PHP programmers to Work in Brazil. Catho
Online is the biggest job website in Brazil and possibly in Latin
America. We're looking for someone who's already experienced and willing
to learn even more with us.
The salary is 3000 reais (aproximately 1500 dollar
I need to convert an MySQL result into an Array...somehow. The
query returns the following:
++---+
| ID | Project |
++---+
| 1 | Home |
| 2 | Work |
| 3 | Family |
| 4 |Misc. |
| . | ... |
| . |
Hi,
I think I finally found a cms that does most of what I want it to:
ezpublish ( http://developer.ez.no/article/archive/4/ )
I'm trying to install it, I'm on a apache server, and having some problems.
Where can I find help to install this? I've checked the entire website,
there's no
Hi,
PHP provides a number of array-related functions which rely on a relation
existing between each array element. This is easy to understand for
primitive types (integers, strings and so on) but how does it work for
objects?
For example, I have a class Person. I have a number of Person objects
thies Wed Apr 11 08:48:07 2001 EDT
Modified files: (Branch: PHP_4_0_5)
/php4/ext/oci8 oci8.c
Log:
MFH - never initialize OCI in OCI_THREADED mode
Index: php4/ext/oci8/oci8.c
diff -u php4/ext/oci8/oci8.c:1.113 php4/ext/oci8/oci8.c:1.113.2.1
--- php4/ext
Thanks to all who suggested using include_once. Maybe it is just me (long
FORTRAN background), but the very idea of include_once makes me nervous, and
I don't use it. It violates my sense of acceptable design. I would rather
design my code such that a file is *really* only included once, if that i
thies Wed Apr 11 08:46:04 2001 EDT
Modified files:
/php4/ext/oci8 oci8.c
Log:
never initialize oci in OCI_THREADED mode. seems to break win32.
Index: php4/ext/oci8/oci8.c
diff -u php4/ext/oci8/oci8.c:1.113 php4/ext/oci8/oci8.c:1.114
--- php4/ext/oci8/
Viva,
Carlos Serrão wrote:
>
> Hi all,
> just to announce that a new PHP local users list is born.
>
> It is called PHPemPT and it is dedicated to Portuguese users.
>
> This list is useful both for new users as well as for advanced
> users too.
>
> You can find this list at:
>
> http://group
"Keyur Kalaria" <[EMAIL PROTECTED]> wrote:
> I recently developed this site : http://www.goodlookingindia.com .
> I am adding many more sections in it.
>
> Pl. let me know how can i improve the performance of this site.
> Your reviews will be very helpful to me.
It's difficult to improve to sug
better yet, try include_once() instead of all instances of include(). It
will only include a file once, rather than every time you call include() on
that path.
Nifty feature.
-j
At 11:17 AM 4/11/2001, Johnson, Kirk wrote:
>The function in question is defined in an included file, right? Thi
If you're using php4 you can say include_once("include_file_name.php");
(there's also require_once() )
oktay
-Original Message-
From: Johnson, Kirk [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 11, 2001 11:18 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Can't redeclare already declar
The function in question is defined in an included file, right? This
function definition file is most likely being included twice. The best bet
is that it is being included from another included file (at least, that's
how I usually manage to produce this error :) ). Check all your included
files f
Patrick Dunford, Christchurch, NZ - http://pdunford.godzone.net.nz/
If only for this life we have hope in Christ, we are to be
pitied more than all men.
-- 1 Corinthians 15:19
http://www.heartlight.org/cgi-shl/todaysvers
Problem solved, it turned out I had two php.ini files, one for PHP3 on my c
drive and one for PHP4 on my d drive.
Many thanks to all who replied
Alexis
-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
p.net]On Behalf Of Jon Haworth
Sent: 11 April 2001 14:14
To: Php-G
Hello everybody,
I recently developed this site : http://www.goodlookingindia.com .
I am adding many more sections in it.
Pl. let me know how can i improve the performance of this site.
Your reviews will be very helpful to me.
Thanks in advance.
Keyur
$$$
--
PHP General Mailing L
Accually, Ive noticed in Outlook Express
Ctrl - N = new message
Ctrl - R = relpy to user directly, does not get posted to newsgroup/mailling list
Ctrl - G = relpy directly to newsgroup, in turn gets posted to the mailing list
On another note, good post, I see alot of people posting 'new' threads
there is no sure way, but using cookies/sessions you can make something that will
*work* . assign the user a session_id, every time the user makes an entry add a value
to the db,
session_id = $SessionID
next_time = time() + 120
every time you make an entry, check to make sure that next_time <
hi,
I have a page with some layers ( tags) and one layer's content is built
by a PHP script which gets its content from a database.
What I want is: when the database content should change, I'd like to see
that immediately on my page. I dont thinks theres a command to do this?
I thought about an au
>And, I read a book saying that you can open a word document on the client
>side and insert words in it.
Are you sure this was done on the client side and not on the server side?
Here is a common example used to show a simple use of COM and PHP:
$word=new COM("word.application") or die("Cannot s
Well, first off all, what I'm taking about has nothing to do with COM object.
Word will format HTML very nicely, keep it simple with only , ,
tags.
All you need to do is put this on top of your page,
that is, before you send anyting to the client.
header("Content-Type: application/vnd.ms-word")
[EMAIL PROTECTED] wrote:
>
> Hi all,
>
> I got a problem comparing the string "inf" with another in PHP3. It is
> used as File-Extention for information-files on our system. When
> comparing the following all works fine and the expected result is given:
>
> "otto" = "karl" =>0
> "otto" = "o
Jeffrey Greer wrote:
> Is 1/2 per
> year too much down time?
Half a year downtime? Yes, I would have a BIG problem with that.
AMK4
--
W |
| I haven't lost my mind; it's backed up on tape somewhere.
|
1 - 100 of 141 matches
Mail list logo