Hi Everyone,
I am having a little trouble getting a memory variable and a session variable to
compare correctly
I have an if statement as below:
if ($id=='{$SESSION["id"]}') {
echo "working";
}
ID is a memory variable that is equal to five, and the session variable id is also
equal to fi
On Sat, 13 Jan 2001, RealGM Webmaster wrote:
> Hi Everyone,
>
> I am having a little trouble getting a memory variable and a session variable to
>compare correctly
>
> I have an if statement as below:
>
> if ($id=='{$SESSION["id"]}') {
if($id == $SESSION['id']) {
-Rasmus
--
PHP General Ma
venaas Sat Jan 13 01:16:35 2001 EDT
Modified files:
/php4/ext/openssl openssl.c
Log:
Realized that emalloc() never returns NULL, simplified code
Index: php4/ext/openssl/openssl.c
diff -u php4/ext/openssl/openssl.c:1.6 php4/ext/openssl/openssl.c:1.7
--- ph
Hi,
I would like to know the method to refresh one window when closing
another windows.
Thank you
Mark Lo
--
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-
venaas Sat Jan 13 02:00:31 2001 EDT
Modified files:
/php4/ext/ldap ldap.c
Log:
Fixed memory leaks that could happen in some error situations. Also removed
some unnecessary code in ldap_set_option()
Index: php4/ext/ldap/ldap.c
diff -u php4/ext/ldap/ld
sas Sat Jan 13 02:02:09 2001 EDT
Modified files:
/php4/pear Makefile.in
Log:
Fix make install in VPATH builds
Index: php4/pear/Makefile.in
diff -u php4/pear/Makefile.in:1.62 php4/pear/Makefile.in:1.63
--- php4/pear/Makefile.in:1.62 Fri Jan 12 07:24:21
sas Sat Jan 13 02:19:17 2001 EDT
Modified files:
/php4/main rfc1867.c
Log:
arr_index errorneusly included the trailing ']' character, so that
variable names like Data_name[Image]] were passed to the register functions.
Index: php4/main/rfc1867.c
diff
Hi to all:
I want to put data in a database that i access by a odbc connect. I
can obtain data of the odbc connect, but i can't put data in it.
How i can do it?.
Thanks.
Best Regards,
Diego
--
PHP General Mailing List (http://www
hi list,
sorry, but we cant manage
a Load Data Infile
cause we always get:
Can't get stat of '/tmp/phpNNAQSM' (Errcode: 2)
OUR Code is working fine in different project where safe_mode = OFF
=
heres the line where we try to move the file to a webfolder in our d
venaas Sat Jan 13 03:48:47 2001 EDT
Modified files:
/php4 configure.in
/php4/main network.c
Log:
Simplified code a bit, added detailed error reporting, and fixed a bug
when getaddrinfo returned a non-IP family before IP families
Index: php4/co
Hello,
I have installed an mandrake 7.2 with apache.
I write a simple script in PHP that use the ImageTTFtext function.
With the normal libphp4.so it tell me that not found the function.
So i recompile the PHP with the gd support but I receive a segmentation
fault when I run the script.
I try with
All those EAI things, where are they coming from? They don't exist in
Windows (apparently)
At 13:48 13/1/2001, Stig Venaas wrote:
>venaas Sat Jan 13 03:48:47 2001 EDT
>
> Modified files:
> /php4 configure.in
> /php4/main network.c
> Log:
> Simplified code a bit, ad
zeevSat Jan 13 05:02:19 2001 EDT
Modified files:
/php4/ext/standard http_fopen_wrapper.c
/php4/main network.c
Log:
Fix Windows & thread-safe build
Index: php4/ext/standard/http_fopen_wrapper.c
diff -u php4/ext/standard/http_fopen_wrapper.c:1.4
ph
zeevSat Jan 13 05:10:50 2001 EDT
Modified files:
/php4/main main.c php_ini.c
Log:
Remove stale code
Index: php4/main/main.c
diff -u php4/main/main.c:1.346 php4/main/main.c:1.347
--- php4/main/main.c:1.346 Sun Jan 7 10:38:38 2001
+++ php4/main/main
zeevSat Jan 13 05:14:50 2001 EDT
Modified files:
/php4/main main.c
Log:
Remove some more useless code
Index: php4/main/main.c
diff -u php4/main/main.c:1.347 php4/main/main.c:1.348
--- php4/main/main.c:1.347 Sat Jan 13 05:10:50 2001
+++ php4/main/ma
zeevSat Jan 13 05:16:57 2001 EDT
Modified files:
/php4/main main.c
Log:
cleanup time...
Index: php4/main/main.c
diff -u php4/main/main.c:1.348 php4/main/main.c:1.349
--- php4/main/main.c:1.348 Sat Jan 13 05:14:49 2001
+++ php4/main/main.cSat Ja
zeevSat Jan 13 05:59:23 2001 EDT
Modified files:
/php4/ext/standard exec.c file.c file.h fsock.c fsock.h
Log:
- Fix exec() bug
- Merge fsock and file globals
Index: php4/ext/standard/exec.c
diff -u php4/ext/standard/exec.c:1.45 php4/ext/standard/exec
Hello!
I am workingn with a compiled software, but I need to integrate it
with a PHP code.
I need to send an Authorization: user/pass header to the software
listening a HTTP/1.0 protocol. I already know that the user/pass must be
base64 encoded, but how's the sintax? user/pass, user:pa
php-general Digest 13 Jan 2001 14:02:18 - Issue 452
Topics (messages 34331 through 34359):
Re: Dir Help PLEASE
34331 by: nospam
Re: mixing HTML and PHP code
34332 by: Tim Zickus
34334 by: Tim Zickus
34336 by: Alexander Wagner
34338 by: Alexander Wagn
hello people
this might be a very silly question, but folks in my
company have now started asking some enterprise
questions like "sure, we'll do php but how about load
balancing?" i have a feeling that this can be achieved
with some caching on apache? how can i achieve this?
thanks/erick
__
hey guys...
my dumb isp has turned on ' --enable-trans-sid ' for all of the users on their
webserver without telling them.
while i am sure this feature has some benefits, it is breaking my code, big time.
besides sticking the session value onto the end of every suspected server request, it
is
this is a bug in PHP (several reports in bug db). either ask
your ISP to disable trans-sid in your virtual host, or do it
yourself in .htaccess
At 15:52 13.1. 2001, Jamie Burns wrote the following:
--
>hey guys...
>
>my dumb isp has
As a note, you can also place:
And that will solve your problem...
-Sterling
Cynic wrote:
>
> this is a bug in PHP (several reports in bug db). either ask
> your ISP to disable trans-sid in your virtual host, or do it
> yourself in .htaccess
>
> At 15:52 13.1. 2001, Jamie Burns wrote the f
thanks!
what do i need to put in my apache config?
j
- Original Message -
From: "Cynic" <[EMAIL PROTECTED]>
To: "Jamie Burns" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Saturday, January 13, 2001 3:06 PM
Subject: Re: [PHP] Guru Needed - the parser is corrupting my html!!
> this is
php_flag session.use_trans_sid 0
At 16:08 13.1. 2001, Jamie Burns wrote the following:
--
>thanks!
>
>what do i need to put in my apache config?
>
>j
>
>- Original Message -
>From: "Cynic" <[EMAIL PROTECTED]>
>To: "Jamie Burns"
hi list,
sorry, but we cant manage
a Load Data Infile
cause we always get:
Can't get stat of '/tmp/phpNNAQSM' (Errcode: 2)
OUR Code is working fine in different project where safe_mode = OFF
=
heres the line where we try to move the file to a webfolder i
> Any help appreciated - otherwise I have to go look at postgresql :(
:)
--
-Michael
--
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 want to let PHP create/render a line and bar graph from inputted numbers.
I now all the PHP basics but I don't know how to let PHP make the graphs
from the variables.
Can anyone point me to a solution or a resource-site?
Regards,
Sumarlidi Einar Dadason
SED - Graphic Design
Go to http://www.mysql.com
You'll see a 'Search' field near the top left. Type the string:
Lost connection to MySQL
..into it. It brings up about 50 results
Also, load up
http://www.mysql.com/documentation/mysql/bychapter/manual_Problems.html#Prob
lems
jason
>
> > Any help appreciated - othe
A bit of an embarrassing question this,
and a long shot too. Please don't laugh.
Does anyone know if there is a php program
that I can use to replace the discussion group in frontpage 2000.
I want something that can read the existing discussion files generated
by FP200 so that I don't have to s
Hello,
running the following script (exec.php) on telnet account i get this error:
Warning: Supplied argument is not a valid file handler resource in exec.php on line 21
Can anybody tell me whats wrong with it? Normally it should fetch the newsgroups on my
local news server and insert them into r
My Apache 1.3.12 server with PHP 4.0.4 and MySQL 3.23.27, occationally spits
out a Segmentation fault in the error_log. I'm not entirely sure which page
is being loaded at the time, and I'm not sure of what exactly is being done,
so I thought I'd try to do some tracing with gdb, which I have never
This is a matter of figuring out why the variable isn't a
valid file handle resource. To do so, find where it should
be made such a resource (the line that says $fp =
fsockopen...etc... is probably it), and add some error
checking. I believe this function has its own way of
returning what's wrong;
We use Cisco LocalDirector to do load balancing in our web cluster. It's
very configurable and has worked very well (so far!).
- Tim
> this might be a very silly question, but folks in my
> company have now started asking some enterprise
> questions like "sure, we'll do php but how about load
>
Toby Butzon wrote:
>
> This is a matter of figuring out why the variable isn't a
> valid file handle resource. To do so, find where it should
> be made such a resource (the line that says $fp =
> fsockopen...etc... is probably it), and add some error
> checking. I believe this function has its
> this might be a very silly question, but folks in my
> company have now started asking some enterprise
> questions like "sure, we'll do php but how about load
> balancing?" i have a feeling that this can be achieved
> with some caching on apache? how can i achieve this?
Surely they don't expect
> http://www.linuxvirtualserver.org/
We use LVS on our website - it works great! We have 2 load balancers with the
HA package and 6 PHP webservers running behind it (with a central DB server).
In short, it's possible and works quite well. BTW We user FreeBSD for webservers
if that's any help (th
> > http://www.linuxvirtualserver.org/
>
> We use LVS on our website - it works great! We have 2 load balancers with the
> HA package and 6 PHP webservers running behind it (with a central DB server).
Yes, I have heard very good things about LVS. Haven't had a chance to set
it up myself yet. D
hi,
our problem that changing the upload_tmp_dir in php.ini has NO effect !!!
yes we restarted apache
greetings
andreas
> Your infile must be world readable, or at least MySQL must have read
> prviledges on it.
> Maybe it is a function of directory permissions.
>
> - Scott
>
How does it deal with sessions? Or do use store sessions in the database?
Cal
-Original Message-
From: Joe Stump [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 13, 2001 11:22 AM
To: Rasmus Lerdorf
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] load balancing with php/apache?
> http://www
If I create an office calendar using PHP & mySQL, how can I program
normal days off for (U.S.) holidays like Christmas, Fourth of July,
Easter, etc.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
i have a problem with the quality of the output picture...
you can have a look yourself..
http://tooltime.dyndns.org/~georg/test/
this is the code that creates the pic...:
so as you can see the pictures isn't modified.
my system:
linux-box: 2.2.18
i the jpeg/png/gd/tiff libaries installed
than
GD library only support PNG 256 color your PNG have more colors!
With Best Regards
Johan
- Original Message -
From: "Georg Buschbeck" <[EMAIL PROTECTED]>
To: "PHP-Liste (general)" <[EMAIL PROTECTED]>
Sent: Saturday, January 13, 2001 7:10 PM
Subject: [PHP] graphic problem...
i h
On Saturday 13 January 2001 00:36, jeff fitzmyers wrote:
> The code below does not work. What could be causing
> Please enter user name here:
>
Pull out your favourite HTML documentation and read again through the
discussion of the tag
--
Christian Reiniger
LGDC Webmaster (http://sunsite.d
i'dve waited for your reply but i'm going home now so check the RFC :
http://www.freesoft.org/CIE/RFC/index.htm
look for Hypertext transfer protocol, v 1.0
in that look for a chapter called client authentication or somehting like
that.
that should do it.
Hrishi
--
PHP General Mailing List (
We've used local director in the past, as well as the 'f5' product
(big IP? - I forgot the company name). Maybe it's 'big ip' from f5.
Shows you how much we think about it - it just does it's job.
As others pointed out, you can go with a software version under
Linux, and I think W2k enterprise h
The session id is not an issue, but yes, obviously you will need to store
the session data itself somewhere where all the machines can get at
it. So either on a common NFS share, ldap or some sort of
database. PHP's session handling allows you to write your own backend
session datastore function
Within your configurations, is register_globals on? I try this code and
it works just fine. Although if register_globals setting in php.ini is
off it will not, try replacing :
echo ($name);
with
print $HTTP_GET_VARS["name"];
And see what happens. If you want
You might check out: http://www.advgraph.regiocom.net/
In article <[EMAIL PROTECTED]> you write:
>Hi,
>
>I want to let PHP create/render a line and bar graph from inputted numbers.
>I now all the PHP basics but I don't know how to let PHP make the graphs
>from the variables.
>
>Can anyone point m
Greetings all,
I left the php list a few years ago when I lost the clients who wanted
(could afford) php scripts (I'm still using 2.12b..lol). Several
scripts are still running well after all these years.
Now, I'm building an online programming resume for myself and using
php/msql to track pote
On Sat, 13 Jan 2001, Mark Lo wrote:
> Hi,
>
> I would like to know the method to refresh one window when closing
> another windows.
That'd be a Javascript thing. onClose one window, refresh the other.
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAI
Georg,
If you're running Apache/Unix, php_imlib would allow you to manipulate
png's with more than 256 colors.
http://mmcc.cx/php_imlib/
Matt
On Sat, 13 Jan 2001, Johan Holst Nielsen wrote:
> GD library only support PNG 256 color your PNG have more colors!
>
> With Best Regards
>
> Joha
I have noticed that 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]
Can someone point me to the documentation of ' -Original Message-
> From: Arcady Genkin [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, January 13, 2001 8:48 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Use
>
> I have noticed that in documentation, how safe is it to use it?
>
> Many thanks,
I was always using pws until recently when I got Apache for windows. Unfortunately
when apache gets to a php file it doesnt parse it, it thinks its a file to download. I
uncommented the php lines in the http.conf file but still no use. Does anyone know how
to fix this?
"mOrP" <[EMAIL PROTECTED]> writes:
[badly formatted message fixed]
> > I have noticed that > in documentation, how safe is it to use it?
>
> Can someone point me to the documentation of ' know what it does.
See http://www.php.net/manual/en/language.basic-syntax.php
--
Arcady Genkin
Don't read
Take a look at
http://www.php.net/manual/en/language.basic-syntax.php.
Regarding the use of . (The .)
The use of <%= is discouraged (as is <%) because it was only
added to make things easier for ASP devels and people
working in FrontPage.
The use of
> Can someone point me to the documentation
> > We use LVS on our website - it works great! We have 2 load balancers with the
> > HA package and 6 PHP webservers running behind it (with a central DB server).
>
> Yes, I have heard very good things about LVS. Haven't had a chance to set
> it up myself yet. Definitely something for the TODO
Arcady Genkin wrote:
> I have noticed that in documentation, how safe is it to use it?
Pretty safe, I think. Possibly even safer than those asp-style tags,
regarding possible changes in the future.
Wagner
--
Sanity is calming, but madness is more interesting.
--
PHP General Mailing List (h
We have a centralized DB server. Sessions are handled by us, the
programmers, not the cluster.
Jeremy
Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED]
http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more
Get your own Free, Private email at http://www.sma
My understanding is :
1. http://www.php.net/manual/language.basic-syntax.php
http://www.php.net/manual/en/configuration.php#ini.asp-tags
http://www.php.net/manual/en/configuration.php#ini.short-open-tag
I've personally never tried asp tags. Earlier within this thread , the
following php interna
Please note that php-dev is for the developers of PHP, not
scripting in PHP.
With that said, you have posed a good question. To keep my
description brief, comments do not hinder source code
processing time enough to be considered detrimental.
My limited explaination:
They save enough time otherw
When you say "handled by us" do you mean you:
1) Write the sess_* files to a shared drive
2) Store them in the database
3) ignore them totally, who needs users anyhow?
4) some other option?
Cal
http://www.calevans.com
-Original Message-
From: jeremy brand [mailto:[EMAIL PROTECTED]]
Sen
Any of the above. It's up to you. Most people probably store the session info in a
database. But you could also do it in a shared drive. But I got a little static a
while ago when I suggested storing shared session data on an NFS mounted drive. NFSes
are too slow I guess.
Michael
On Satur
cmv Sat Jan 13 12:33:55 2001 EDT
Modified files:
/php4/pear/CryptCBC.php
Log:
Cre
PR:
Submitted by:
Reviewed by:
Obtained from:
Index: php4/pear/Crypt/CBC.php
diff -u php4/pear/Crypt/CBC.php:1.1 php4/pear/Crypt/CBC.php:1.2
--- php4/pear/Crypt
I work with Jer - we use DB based session management. You log in - get a cookie
and everything is handled with that session id.
--Joe
On Sat, Jan 13, 2001 at 02:43:19PM -0600, Cal Evans wrote:
> When you say "handled by us" do you mean you:
>
> 1) Write the sess_* files to a shared drive
> 2) S
cmv Sat Jan 13 12:34:36 2001 EDT
Modified files:
/php4/pear/CryptCBC.php
Log:
Credit
Index: php4/pear/Crypt/CBC.php
diff -u php4/pear/Crypt/CBC.php:1.2 php4/pear/Crypt/CBC.php:1.3
--- php4/pear/Crypt/CBC.php:1.2 Sat Jan 13 12:33:54 2001
+++ php4/pear
cmv Sat Jan 13 12:55:15 2001 EDT
Modified files:
/php4/ext/mcryptmcrypt.c
Log:
Support for perl-compatible blowfish encryption (in libmcrypt CVS and
versions later than 2.4.8)
Index: php4/ext/mcrypt/mcrypt.c
diff -u php4/ext/mcrypt/mcrypt.c:1.43 ph
> Any of the above. It's up to you. Most people probably store the session info in a
>database. But you could also do it in a shared drive. But I got a little static a
>while ago when I suggested storing shared session data on an NFS mounted drive. NFSes
>are too slow I guess.
Whoever said
You have to call setcookie() before anything is outputtedthat was it sounds like.
SL.
we store the sessions in the DB.
Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED]
http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more
Get your own Free, Private email at http://www.smackdown.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Oh, BTW, we don't use PHP sessions, we use our own.
Jeremy
Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED]
http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more
Get your own Free, Private email at http://www.smackdown.com/
- - - - - - - - - - - - - - -
derick Sat Jan 13 13:52:09 2001 EDT
Modified files:
/php4/ext/standard exec.c
Log:
- There was one ret left, changed it to FG(pclose_ret), this fixes the
build
Index: php4/ext/standard/exec.c
diff -u php4/ext/standard/exec.c:1.46 php4/ext/standard/exec
> Date: Thu, 11 Jan 2001 19:41:34 -0500 (EST)
> From: Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
>
> emacs sucks! vi forever! :P
>
> --
> Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
Hey, guy, please, be delicate, I love it, it's my wife.
vi is my brother
--
-Michael
--
PHP General Mailing
Yo,
Anyone know of a cfg option that would make files written by php be a different
user/group than the apache server user/group?
With my current setup, the only way to give php write access also allows any surfer
write access to that same folder...which is "not a good thing".
Thanks,
create a dir called tmp in de dir where de script runs chmod 777 that dir
and the run the script again ..
--
If it can be dreamt, it can be build
"andreas (@work)" <[EMAIL PROTECTED]> wrote in message
003501c07ce5$41a15120$fe78a8c0@devel01">news:003501c07ce5$41a15120$fe78a8c0@devel01...
hi list,
"Mark Maggelet" ...
> I think you missed something:
>
> while (fetch_row_from_query()){
>$output = data_from_fetched_row();
>$more_output = more_data_from_fetched_row();?>
>
>
>
>
>
>
> tell me that's not easier on your eyes :)
Yes, but i wrote that because the w
"Alex Black" ...
> > > connect_to_database();
> > parse_query();
> > execute_query();
> >
> > echo "";
> >
> > while (fetch_row_from_query())
> > {
> > $output = data_from_fetched_row();
> > $more_output = more_data_from_fetched_row();
> >
> > echo " $output $more_output ";
> >
> > }
> > echo ""
derick Sat Jan 13 14:00:23 2001 EDT
Modified files:
/php4/ext/standard fsock.c
Log:
- Removed a stale var that broke the build
Index: php4/ext/standard/fsock.c
diff -u php4/ext/standard/fsock.c:1.58 php4/ext/standard/fsock.c:1.59
--- php4/ext/standard/fsoc
> I was always using pws until recently when I got Apache for windows. =
> Unfortunately when apache gets to a php file it doesnt parse it, it =
> thinks its a file to download. I uncommented the php lines in the =
> http.conf file but still no use. Does anyone know how to fix this?
Make sure to
zeevSat Jan 13 14:47:44 2001 EDT
Modified files:
/php4/ext/sybase_ct php_sybase_ct.c
Log:
Add sybase_get_last_message() from Jan Fedak <[EMAIL PROTECTED]>
@- Added sybase_get_last_message() to the Sybase CT module (Jan Fedak)
Index: php4/ext/sybase_ct/
Hi..
How can I send a browser a "404 not found" page?
I tried putting this in a script:
header("Status: 404 Not Found");
exit;
before any other output, but i keep getting the standard page:
from php. any ideas?
jamie burns.
Hi,
I'm having a problem with one of the PHP scripts I've written and I'm
hoping someone can point me in the right direction. The portion of
the script that is giving me trouble is the locking of, and writing to,
a logfile (plain text). I'm using flock() as I understand it and have
looked at th
[EMAIL PROTECTED] wrote:
> I looked around the web for templates and founf FastTemplates. Not exactly
> what i was looking for thoug
> lets say I have
> $file = "111"
> and there is a template "template.txt"
> and it contains
> "file #$file is blahlah"
>
> how can I make that a template?
>
> Th
Do you have in your .inc file?...
- Original Message -
From: Ted Goranson <[EMAIL PROTECTED]>
Newsgroups: php.general
Sent: Saturday, January 13, 2001 12:35 AM
Subject: [PHP] ereg works in .php, not in .inc
> Friends--
>
> I have a script that processes another script for display. I ch
If you're smart enough to edit a spec file, you could just compile from
source... :-)
- Original Message -
From: "Michael A. Peters" <[EMAIL PROTECTED]>
Newsgroups: php.general
Sent: Saturday, January 13, 2001 12:36 AM
Subject: [PHP] Problem building php 3.0.18
> Howdy-
>
> I'm having a
You do it just like you would do a select:
$query = "insert into blah(field1, field2) values($value1, '$value2')";
odbc_exec($connection,$query) or die(odbc_error());
There's nothing special about any particular kind of query you send to the
database.
Disclaimer: I don't know that I got the fu
I dunno about importing the data, but Phorum is a pretty darned good PHP
discussion group program...
Hopefully, FP just stores all the stuff in some tables and you can export
the data as CSV or tab-delimited.
- Original Message -
From: "Cybercandy Ltd" <[EMAIL PROTECTED]>
Newsgroups: php
For the most part, you probably have to have some custom code to handle
them.
I suspect there are authoritative sources of the legal holidays online
somewhere that you can query dynamically...
What exactly do you want to *do* with the holidays and your calendar is
probably the first question you
zeevSat Jan 13 15:49:45 2001 EDT
Modified files:
/php4/ext/standard basic_functions.c file.c file.h fsock.c fsock.h
Log:
Both thread-safe and thread-unsafe builds should be ok now
Index: php4/ext/standard/basic_functions.c
diff -u php4/ext/standard/basi
> I left the php list a few years ago when I lost the clients who wanted
> (could afford) php scripts (I'm still using 2.12b..lol). Several
> scripts are still running well after all these years.
You probably should consider upgrading...
> Now, I'm building an online programming resume for myse
>Anyone know of a cfg option that would make files written
>by php be a different user/group than the apache server user/group?
You could run PHP as a CGI wrapped by suExec (http://apache.org) -- Be sure
not to use --with-safe-mode, as suExec and Safe Mode do mostly the same
thing, but they fight
Hello 10,000 Screaming Monkeys,
(Sorry, I couldn't resist!)
You should test the return value of flock(), not just run it. It is
designed to tell you whether or not something is safe to do, and since
you are not testing the result, you are simply ignoring what it is
trying to tell you.
I have a
Michael,
Wouldn't a benefit be that you could pass a database query in via that
variable, either via form submit or value of a clicked link?
I know PHP can do this without a separate templating engine, but if you do
use one then you can submit an array to a specific template. Is there a way
I'v run into a wall when trying to build php_gd.dll.
I have built gd.lib (gd-1.8.3) with PNG support (libpng-1.0.8):
% nmake gd.lib /f makefile.nt
and except two warnings, all seemed well:
gd_io.c(145) : warning C4028: formal parameter 2 different from declaration
gdkanji.c(385) : warning C4033
ahhh, cracked it ;)
header("HTTP/1.1 404 Not Found");
echo('');
exit;
will produce the nice IE 404 error document... in fact, echoing anything
under a certain size, after the header, seems to get IE to do its thing.
Jamie Burns.
- Original Message -
From: "Jamie Burns" <[EMAIL PR
I thought I understood your question, but I think I need a clarification.
Can you elaborate a bit? I think I have an answer, but I'm not 100% what
you're meaning here.
Thanks.
andrew wrote:
> Michael,
>
> Wouldn't a benefit be that you could pass a database query in via that
> variable, eithe
Sure,
My understanding of templating engines
1.array or item is assigned to a variable
2.php placeholders in a html page match in name to above variable.
3.a parser separate from php subsitutes the variable values set in (1)
into (2)
I've seen plenty of examples where there is a file
ssb Sat Jan 13 16:30:02 2001 EDT
Added files:
/php4/pear/DB/tests/ibase .cvsignore 001.phpt 002.phpt 003.phpt
004.phpt 006.phpt 010.phpt connect.inc
mktable.inc skipif.inc
Log:
* defined so
I need to create files and reports for importation into QuickBooks, but they
need to be in the IIF file format that QuickBooks supports where can I
find information for creating these files?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi
1 - 100 of 131 matches
Mail list logo