uw Fri Mar 16 00:40:40 2001 EDT
Modified files:
/php4/pear/CacheOutput.php
Log:
Usage example changes should answer peoples FAQs.
Index: php4/pear/Cache/Output.php
diff -u php4/pear/Cache/Output.php:1.12 php4/pear/Cache/Output.php:1.13
---
eschmid Fri Mar 16 00:50:39 2001 EDT
Modified files:
/php4/pear/CacheOutput.php
Log:
Ulf, you have a conflict.
Index: php4/pear/Cache/Output.php
diff -u php4/pear/Cache/Output.php:1.13 php4/pear/Cache/Output.php:1.14
--- php4/pear/Cache/Output.php:1.13
strange that they don't use their own domain name...
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: 16 March 2001 04:14
To: [EMAIL PROTECTED]
Subject: [PHP] Website, Design, hosting and maintenance for only $999.00
per year
Website, Design,
Manuel Lemos wrote:
Hello,
Mathieu Arnold wrote:
Hi
The actual implementation of the mail fonction use sendmail -t and
relies on sendmail to parse the headers to get the recipients.
It would be great if it was possible to switch from this way of using
sendmail to a more
Hello everyone!
Could anyone help me? My problem is the following:
I have to insert an image from a PostgreSQL database(Large Object), into
a web- page.
How can I make it?
Thanks, bye!
Istvan Kassai
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
Hi,
I have been playing around trying to build a 'perfect' shopping cart. A brief
as possible feature list: database driven, fully indexable by search engines,
and can operate without cookies.
I decided to use Apache's mod_rewrite to change a standard looking URL into
something php can use
On Thursday 15 March 2001 17:22, you wrote:
people wouldnt use an FAQ, when you see three people ask the exact same
question on one single day, you know they dont read the other post, or
care. if they wont read the posts on the same day they wont read an
FAQ, they keep posting.
Yep. But if
Hello Alain,
from my point of view, the easiest way would be to use Apache on Win2k ( I got
1.3.17 installed and running very fine) and use Apache to control access to user
home directories which would be restricted realms. As for PHP, sapi module seems
to be stable for me. Download the full php
I have some scripts to build pages that will be sent to a production server.
Is is possible to redirect the page to a file with an html extention that
could be sent via the ftp functions to the production server.
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Hello,
Try the following code:
?php
$gGlobal = 1;
function ChangeGlobalValue()
{
global $gGlobal;
$local = 55;
$gGlobal = $local;
print "Value:Global=$gGlobalBR";
}
function ChangeGlobalRef()
{
global $gGlobal;
$local = 99;
$gGlobal = $local;
print "Ref:Global=$gGlobalBR";
}
print
On Thursday 15 March 2001 16:51, you wrote:
ok, this is what you asked for
?php
function depth()
{
global $PHP_SELF;
$count = count_chars($PHP_SELF);
for($c = 0; $c $count[ord('/')]; $c++)
$return[] = "..";
if (isset($return))
return implode('/', $return);
}
Hey! What the hell is happening? That's my company's domain name!!
Please don't anybody bother to reply to this posting by "Netmark.Desing" - its
an obvious fake. A visit to www.pspl.co.in will prove to you that we're not into
anything even remotely connected with this posting.
[EMAIL
On Friday 16 March 2001 06:04, you wrote:
Hi,
Chris Lee wrote:
ok, this is what you asked for snip/
Thanks! I haven't tried it, but I am sure it will work.
but why cant you just do this.
echo "
img src='/image/back.gif'
";
I don't want to do that because that sort
[EMAIL PROTECTED] wrote:
too bad they can't even spell their own email address
M@
--
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]
Hi,
My configuration: w2kserver (1GB RAM etc.), last stable Apache, last
stable PHP4.
I installed Servicepack 1 to my clean w2k Server. After that PHP4.0.4pl1
generates a "FATAL: emalloc(): Unable to allocate 2147483599 bytes"
errormessage when I tried to call the function odbc_execute().
On Friday 16 March 2001 08:09, you wrote:
I recently asked a pretty simple question on this list ("Finding the
depth"). I could have found out the answer to it in about 10-15 minutes
on my own, thanks to my experience with programming. Still, I posted
the question to this list. Why?
What
Is it possible to use odbc to connect to a mysql database.
If not which database functions should i use
--
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:
Hi,
Yep I do. I just figured out that it was because I had session_start() inside
another function ;-)
Thanks anyway,
Jord
On Friday 16 March 2001 10:43, you wrote:
Did you declare $LOGGED_IN as a global variable in your function?
e.g.
global $LOGGED_IN;
_
~ Richard
This is expected behavior of PHP's reference. Reference works like a pointer,
but it dose NOT works like a pointer. This is case that reference does not
works as many programmer expected.
I think this is in manual.
Hint: when programmer use 'global $var'. It is the same as do '$var =
Thanks Yasuo,
That might explain why $gGlobal is not permanently set to 99,
but that doesn't explain why $gGlobal is set to 55 in ChangeGlobalValue()
permanently. So are you or am I missing something?
Bye, John
""Yasuo Ohgaki"" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL
sas Fri Mar 16 04:23:32 2001 EDT
Modified files:
/php4/ext/pdf config.m4
Log:
Don't do anything, if the user wants no PDF.
Index: php4/ext/pdf/config.m4
diff -u php4/ext/pdf/config.m4:1.15 php4/ext/pdf/config.m4:1.16
---
Posted in a discussion on Slashdot today was a this link:
http://www.perlmonth.com/features/benchmarks/benchmarks.html?issue=4id=9351
4159
A performance comparison of various web scripting languages. PHP does rather
well!
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
Keith Vance wrote:
The Zend encoder seems cool, but for $2400? What happened to the Zend
Compiler, is that what the Zend Encoder is? The Zend Encoder would
definetly be worth it if you were selling your code, but I haven't tried
it out.
Yes, the Zend Encoder is the Zend Compiler, it just
On 12 Mar 2001 03:51:13 -0800, [EMAIL PROTECTED] (Nick Davies) wrote:
How about linux ones?
I just tend to use vim or emacs but i'm sure there are some out there.
I've used Xemacs. Do you know if there is a PHP mode for it?
Otherwise you could check out Screem (www.screem.org) or Quanta
sas Fri Mar 16 04:25:26 2001 EDT
Modified files: (Branch: PHP_4_0_5)
/php4/ext/pdf config.m4
Log:
Don't do anything, if the user wants no PDF.
Index: php4/ext/pdf/config.m4
diff -u php4/ext/pdf/config.m4:1.15 php4/ext/pdf/config.m4:1.15.2.1
---
sniper Fri Mar 16 05:17:55 2001 EDT
Modified files:
/php4/ext/imap php_imap.c
Log:
Make compile again when ZTS is enabled and imap-2000 is used. Bug #9762
Index: php4/ext/imap/php_imap.c
diff -u php4/ext/imap/php_imap.c:1.62 php4/ext/imap/php_imap.c:1.63
- Original Message -
From: "John" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 16, 2001 9:12 PM
Subject: Re: [PHP] Strange PHP Reference behaviour with globals
Thanks Yasuo,
That might explain why $gGlobal is not permanently set to 99,
but that doesn't explain why
Hi Yasuo,
Thanks for taking the trouble to explain everything in such detail.
Actually I understood your first message. What it doesn't explain is why:
$gGlobal == 1 is changed permanently to $gGlobal == 55.
in the following code:
?php
function ChangeGlobalValue()
{
global $gGlobal;
php-general Digest 16 Mar 2001 14:05:25 - Issue 570
Topics (messages 44195 through 44261):
Re: $REDIRECT_ERROR_NOTES
44195 by: Paul R. Jackson
44197 by: Yasuo Ohgaki
Re: how fast is php
44196 by: David Robley
44210 by: Chris Adams
Re: Has anyone got
I just tried out
http://sourceforge.net/projects/phpmyedit/
it's like Paul's dbadmin script for generating admin, but seems bettter
(has paging, ...).
Peter
~~
http://liga1.com: building multiple language/culture websites
--
PHP General Mailing List
kalowskyFri Mar 16 05:24:06 2001 EDT
Modified files: (Branch: PHP_4_0_5)
/php4/ext/imap php_imap.c
Log:
This is to correct bug #9762, patch submitted by Bug reporter.
Index: php4/ext/imap/php_imap.c
diff -u php4/ext/imap/php_imap.c:1.62
sniper Fri Mar 16 06:45:46 2001 EDT
Modified files:
/php4/ext/standard dns.h
Log:
Missed this one.
Index: php4/ext/standard/dns.h
diff -u php4/ext/standard/dns.h:1.8 php4/ext/standard/dns.h:1.9
--- php4/ext/standard/dns.h:1.8 Sat Mar 10 19:49:21 2001
+++
- Original Message -
From: "John" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 16, 2001 11:09 PM
Subject: Re: [PHP] Strange Behaviour in non-reference globals?
Hi Yasuo,
Thanks for taking the trouble to explain everything in such detail.
Actually I understood your
I'm looking to move from an old Web host (stormweb.net) that has
entirely stopped responding to customer support emails. I liked what
they had to offer, before they became unresponsive, so I'm looking for
a similar ISP with:
*PHP4
*MySQL
*Telnet access
*Decent Support
*Preferably a Cobalt server
Here's an interesting problem.
The following only prints the first letter of the name
for ($i=0; isset($empid[$i]); $i++) {
echo "$empid[$i] $name[$i]br";
}
But if I change the variable $name to $employeename throughout the script it
displays fine.
$empid[] and $name[] are both assigned
there is an article on devshed.com thats details this
--
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]
The message isn't actually from www.pspl.co.in, or in your case from your
smtp host.
I forget exactly what header you leave out to result in an email appearing
to be from string@yourhost.com
Or maybe its when the from: header is a non email string.
-Original Message-
From: Harshdeep S
On 16 Mar 2001 04:39:06 -0800, Phil Driscoll [EMAIL PROTECTED] wrote:
http://www.perlmonth.com/features/benchmarks/benchmarks.html?issue=4id=9351
4159
A performance comparison of various web scripting languages. PHP does rather
well!
It's also important to note that their comment that PHP
well, you try to send mail without a program to do it, you need a program like
sendmail to send mail on your windows machine, I use it on linux and works very
well...try to find sendmail for windows and confugure the php.ini on the line to
send mail...
Nilesh Parmar wrote:
Hi
I have
www.avidhosting.com
check out the download for the manual to their "control panel"
I have been _very_ impressed with their service and scalability.
mal
-Original Message-
From: Jamie Jackson [mailto:[EMAIL PROTECTED]]
Sent: 16 March 2001 15:45
To: [EMAIL PROTECTED]
Subject: [PHP] Can
Hi,
I am building a contact form, which goes into a db I them pull the
information out and display it, then I pass the values to another page using
hidden fields but for some reason even though it displays the full thing on
the first page when I pass a variable to the next page it only
Hello!
I have been bashing my head trying to figure this out, and I'm hoping
somebody can show me the correct way to do this:
A PGP signed set of variables is passed to our URL via GET.
I use HTTP_GET_VARS to grab the PGP string, which is contained in a variable
called "trnResponse".
I run that
You mention a large desire for a good web based administrator. I wonder if
there is a version of a web based system administrator available that works
like Cobalt, but can be installed on any hosting setup. Have you folks
heard of such a thing? I am aware of Webmin, but am not too impressed
I am not sure exactly what you are asking but by this do you mean ..
page1
process_statements
...
...
Header("Location:http://www.some.net?id=$row-ID");
/page1
page2
then use the string in $QUERY_STRING to retreive/parse your data.
/page2
Yes, more or less. However, I'm trying
I am trying to build PHP 4.0.2 on a box running SYSV Unix and am getting
a number of errors. I'm using gcc 2.6.0. The OS is version 4.0.
1) In ext/standard/mail.c, the include file, sysexits.h, doesn't exist.
I did a little hunting. mail.c is looking for EX_TEMPFAIL, so I replace
sysexits.h
urldecode it first. Then explode it.
Cal
http://www.calevans.com
-Original Message-
From: Shawn Pritchard [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 16, 2001 10:16 AM
To: [EMAIL PROTECTED]
Subject: [PHP] How do I get Variables out of a string?
Hello!
I have been bashing my head
Have you looked at www.webmin.com?
Cal
http://www.calevans.com
-Original Message-
From: John Huggins [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 16, 2001 10:16 AM
To: Jamie Jackson; [EMAIL PROTECTED]
Subject: RE: [PHP] Can you recommend an ISP with the following?
You mention a
emile Fri Mar 16 07:01:35 2001 EDT
Modified files:
/php4/ext/midgard article.c
Log:
String used as long.
Index: php4/ext/midgard/article.c
diff -u php4/ext/midgard/article.c:1.16 php4/ext/midgard/article.c:1.17
--- php4/ext/midgard/article.c:1.16
Hi all -
I am using php/MySQL on an ISP in which there are other users. Everyone has
SSH access and can therefore enter everyone else's directories and read any
world-readable files. I have a config.inc file which contains my MySQL
username and password. This file is located outside of my web
I agree with everything you have said. I just don't think there is a good
way to get people from asking these types of questions, without someone
sitting there reading every message and filtering them according to topic.
We are stuck with a high-volume list where lots of newbies come to ask us
how could I send a .doc file truh mail() function???
if anybody know, send me the way...
--
--
Romeo Manzur
Web Application Developer
iSilicom
Av. 27 de Febrero 904-A Desp 1, Centro
C.P.:86000
Villahermosa, Tabasco, Mexico
Tel.:(52)(9)3-12-4790
your not putting it in quotes.
echo "
input type=hidden name=people_name value=$people_name
";
change to
echo "
input type='hidden' name='people_name' value='$people_name'
";
quotes are your friend :)
--
Chris Lee
[EMAIL PROTECTED]
""george"" [EMAIL PROTECTED]
please post more code, ie where $name is set.
in the mean time try this, shouldnt help but might
foreach($empid as $pos = $val)
{
echo "{$empid[$pos]} {$name[$pos]}br";
}
--
Chris Lee
[EMAIL PROTECTED]
""Tom Harris"" [EMAIL PROTECTED] wrote in message
98tcfg$bn3$[EMAIL
Although I somewhat agree with the webmin sentiment,
after having tried to do simple maintenance on a cobalt for someone,
it seems a real dog for anything outside the normal scope of what
they want you to do. We needed to edit an httpd.conf file,
but there doesn't seem to be a way to do it.
The biggies are:
*An intuitive email config interface, with list management, aliases,
etc.
*Ability to "sub-let" out webspace/ftp area to people ("users"
directories)
*Web-space administration and monitoring (to regulate "sub"-users'
webspace)
*Good backup system. (RAQs let you download a
derick Fri Mar 16 07:59:46 2001 EDT
Modified files:
/php4/ext/mcryptmcrypt.c
Log:
- Fixed mem leak
Index: php4/ext/mcrypt/mcrypt.c
diff -u php4/ext/mcrypt/mcrypt.c:1.45 php4/ext/mcrypt/mcrypt.c:1.46
--- php4/ext/mcrypt/mcrypt.c:1.45 Sun Feb 25
I'm at a lossI've searched throught the knowledgebase, archives, docs,
etc but I can't figure out what's going on. The problem is when using the
mail() function nothing gets send and I don't get any error messages either.
It's like the message gets eaten by a black hole.
I'm running PHP4 on
Do you have the switches for sendmail in your path?
Our installs have: /usr/sbin/sendmail -t -i for the path information...
Sincerely,
Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.210.7145
Fax: 816.753.1952
Damn, the "-t -i" did the trick I can't believe the fix was so easy and
I spent DAYS (really) trying to figure out what's wrong! Thanks so much,
Robert. :)
---Marius
-Original Message-
From: Robert Covell [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 16, 2001 11:41 AM
To:
Thanks Chris.
George
--
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]
Hi,
I've used PHP scripts in my HTML to provide dynamic content but I was
wondering if I can also use PHP to create standalone scripts on my UNIX
box. If so, where is the PHP interpreter and how do I invoke it?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
sniper Fri Mar 16 09:10:46 2001 EDT
Modified files:
/php4/tests .cvsignore
Log:
.php files should not be ignored. Typo?
Index: php4/tests/.cvsignore
diff -u php4/tests/.cvsignore:1.1 php4/tests/.cvsignore:1.2
--- php4/tests/.cvsignore:1.1 Tue Nov 21
Hi!
I noticed when using $PHP_SELF in the script, you can use only the
variables. So, I tried it with the arrays or functions and found that it
does not work. So, is $PHP_SELF limited to variables only?
Scott
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
Hi Scott,
Good question! $PHP_SELF is a global variable, so you need to declare it in
functions:
function a()
{
global $PHP_SELF;
print $PHP_SELF;
}
John
"Scott Fletcher" [EMAIL PROTECTED] wrote in message
98tjgv$40e$[EMAIL PROTECTED]">news:98tjgv$40e$[EMAIL PROTECTED]...
Hi!
I
I'm looking to move from an old Web host (stormweb.net) that has
entirely stopped responding to customer support emails. I liked what
they had to offer, before they became unresponsive, so I'm looking for
a similar ISP with:
I would do a search on google for cobalt virtual hosts. If you
I have this page where I am printing some items that are defined by size
and color which all the info is pulled from a database.
in the first item loop
PRINT ("tdinput type=\"text\" name=\"$Color$Temp[$f]\" size=\"3\"/td\n");
translated looks like this.
tdinput type="text" name=\"WhiteS"
http://www.php.net/manual/en/ref.funchand.php
This page must be your friends.
I took a look at this page (and all the functions referenced
therein). While there must be a use for these functions
otherwise they wouldn't have been included in PHP, I'm at
a total loss as to why anyone would ever
In a message dated 3/16/01 9:39:16 AM Eastern Standard Time,
[EMAIL PROTECTED] writes:
I thought Search engines couldnt spyder dynamic pages such as
"1.php?foo=bar"
True - but with the magic of Apache's mod_rewrite -- you can make a URL
appear to a browser as:
or you can use Apache to ForceType bar to use PHP.
then just write a generic URL parsing script and you're done.
if you want it for all of your URL's, make DocumentRoot a PHP script.
you might tricky problems with images and other non-script files, but
that's ok because you can just check for
YES!
The only "problem" will be that these .php pages will be
maybe 5% slower since PHP is "parsing" them.
That and all the links pointing to the old .html files will be
broken...
So if you mix PHP and HTML in a file, PHP will be slower
to parse those files? I thought it was smart enough
Ian, I think what you want is a variable variable - have a look at
http://www.php.net/manual/en/html/language.variables.variable.html
I think you might want something like this:
${$Color$Temp[$f]}
HTH.
--
Hardy Merrill
Mission Critical Linux, Inc.
http://www.missioncriticallinux.com
I'va migrated from apache 1.3.12 + php 3.0.16
to apache 1.3.19 + php 4.0.2.
but
? phpinfo(); ?
still displaying old info like :
Configure Command : ./configure' '--with-mysql=/usr/local/mysql'
'--with-apache=../apache_1.3.12'
Apache Version : Apache/1.3.12
some informations displayed
I've migrated from apache 1.3.12 + php 3.0.16
to apache 1.3.19 + php 4.0.2.
but
? phpinfo(); ?
still displaying old info like :
Configure Command : ./configure' '--with-mysql=/usr/local/mysql'
'--with-apache=../apache_1.3.12'
Apache Version : Apache/1.3.12
some informations displayed
Are you sure $name is an array. t appears to be a string and the $name[$i]
references one character in that string
mal
-Original Message-
From: Tom Harris [mailto:[EMAIL PROTECTED]]
Sent: 16 March 2001 15:50
To: [EMAIL PROTECTED]
Subject: [PHP] echo only displays first character
I've migrated from apache 1.3.12 + php 3.0.16
to apache 1.3.19 + php 4.0.2.
but
? phpinfo(); ?
still displaying old info like :
Configure Command : ./configure' '--with-mysql=/usr/local/mysql'
'--with-apache=../apache_1.3.12'
Apache Version : Apache/1.3.12
some informations
steinm Fri Mar 16 09:40:38 2001 EDT
Modified files:
/php4/ext/hyperwave hg_comm.c hg_comm.h
Log:
- Inserting links without any delimiters is now possible
Index: php4/ext/hyperwave/hg_comm.c
diff -u php4/ext/hyperwave/hg_comm.c:1.39
Can this be used via .htaccess in a shared hosting situation?
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 16, 2001 10:15 AM
Subject: Re: [PHP] Shopping Carts and Sessions
In a message dated 3/16/01 9:39:16 AM Eastern Standard Time,
[EMAIL
sniper Fri Mar 16 10:18:02 2001 EDT
Modified files:
/php4/ext/standard basic_functions.c
Log:
This has got to be the last one..
Index: php4/ext/standard/basic_functions.c
diff -u php4/ext/standard/basic_functions.c:1.315
Check out :
http://www.weberdev.com/index.php3?GoTo=phenominet/prices.htm
This is your one stop shop for hosting. WeberDev.com is hosted there
and I can tell you that their service is amazing. They are fast, reliable
and more than anything, very professional (specially in PHP / MySQL).
One solution:
You set up a separate table:
user_level { level_id (unsigned int), level_description (varchar 100 )}
it looks like this:
level_idlevel_description
100 admin
200user
In your user table you add level_id as a field.
After a good validation of the user (username
Hi! Ok, this is not a question about PHP, but since this is such a great
discussion forum, I am certain it is a good place to get started with a new
technology.
The thing is I have a DTD specification and I want to translate it into a DB
schema, and then create an "add-delete-modify"
Hi! Ok, this is not a question about PHP, but since this is such a great
discussion forum, I am certain it is a good place to get started with a new
technology.
The thing is I have a DTD specification and I want to translate it into a DB
schema, and then create an "add-delete-modify"
Hi all,
I've recently discovered the extract function (thanks to the poster
regarding it), and have found it to save lots of time.
I'm having a problem though. 99 times out of 100 when someone thinks
they've found a "bug" it's actually their misuse of the function, so i'm
pretty sure this is
andrei Fri Mar 16 11:29:23 2001 EDT
Modified files:
/php4/ext/standard array.c
Log:
@- Fixed all relevant array functions to avoid moving the internal array
@ pointer during operations. (Andrei)
Index: php4/ext/standard/array.c
diff -u
Is there a workaround under php3 for include_once ?
Thanks
___
Jack Sasportas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
Is there a workaround under php3 for include_once ?
if( !$this_include_file_only_variable_declared ) {
$this_include_file_only_variable_declared = 1;
// your include script here
}
And if you attempt to include the file more than once
in a script, the IF() will resolve true and skip past
there's a few worthy notes within user comments under include() in manual,
have a look here :
http://www.php.net/manual/en/function.include.php
regards,
philip
On Fri, 16 Mar 2001, Jack Sasportas wrote:
Is there a workaround under php3 for include_once ?
Thanks
try something like
define("CONFIGURATION", "YES");
in xyz-inc-1.php
if (CONFIGURATION != "YES") {
include("/xyz-inc-1.php");
in the script
--- Jack Sasportas [EMAIL PROTECTED]
wrote:
Is there a workaround under php3 for include_once ?
Thanks
Hello,
(Using both 4.0.4pl1 and latest CVS as of today.) I have been having
similar problems with defining my own session handling routings and
register_globals. If register_globals is off, a new session doesn't seem to
call the "write" handler, thus the session never gets stored. With
I am attempting to create a dynamic url from a field that has the value of
the dynamic url.
Here is the scenario:
1 - Field in MySql database = $logo_link_var =
page.php3?afl=$aflsite=$sitepage=contactad=$ad_type
2 - Select logo_link_var from database and assign to $logo_link -- code is:
Helloppl,
a problem with a file_upload form :-( Here is what I've done so far:
File test.php which has the form is this:
HTML
BODY
?php include("handle_upload.php"); ?
FORM ENCTYPE="multipart/form-data" ACTION="?php print $PHP_SELF ?" METHOD="POST"
INPUT
Hello, I want to thank Kathleen and other people for ideas about uploading /
displaying images using PHP and Mysql.
I checked these ideas and they work very well, so I will use them into my program. For
storing and retrieving image streams, I used addslashes and stripslashes PHP functions.
The
In a message dated 3/16/01 2:02:07 PM Eastern Standard Time,
[EMAIL PROTECTED] writes:
Can this be used via .htaccess in a shared hosting situation?
I believe it can -- never done it personally though...
don
Hello, i'm working with PHP, and i need use a classes that this company have developed
in java, can i use it from php?
...yes, i know that i can, but, when i make the configuration of the php.ini, run the
hello example, all rights, but, when i make a class
that use a frame of awt, for show a
fmk Fri Mar 16 11:48:40 2001 EDT
Modified files:
/php4/ext/standard array.c
Log:
Fixing build on Win32 by adding missing BLS_FETCH();
Index: php4/ext/standard/array.c
diff -u php4/ext/standard/array.c:1.102 php4/ext/standard/array.c:1.103
---
Can a defined()'d CONSTANT be made persistent between pages? According to my
experiments, the answer is "no". Am I missing something?
TIA
Kirk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
put your defines in an include that all your pages include.
-aaron
At 2:28 PM -0700 3/16/01, Johnson, Kirk wrote:
Can a defined()'d CONSTANT be made persistent between pages? According to my
experiments, the answer is "no". Am I missing something?
TIA
Kirk
--
PHP General Mailing List
Don't know how to do this, but basically I beleive Java will be the only way to
execute on the fly and load the image in question so it can be approved so to speak
which is what I beleive you are trying to do
Good Luck...
Mig wrote:
Hello, I want to thank Kathleen and other people for
Is there a way to determine if an array is associative or not? Maybe something
similar to the is_array() function ??
Thanks,
JOE
andrei Fri Mar 16 11:51:08 2001 EDT
Modified files:
/php4/ext/standard array.c
Log:
All user callbacks should be to EG(function_table).
Index: php4/ext/standard/array.c
diff -u php4/ext/standard/array.c:1.103 php4/ext/standard/array.c:1.104
---
1 - 100 of 148 matches
Mail list logo