I've got mysql & php running in a windows millenium
system (yes, sad, I know), and I'm running phpmyadmin 2.1.0
Anyway, I have a database with three cells of information:
item_name
item_list
item_description
Each cell contains numerous pieces of data seperated
by a ¤ symbol (for exploding into
sniper Sun Mar 18 00:00:10 2001 EDT
Modified files:
/php4/main SAPI.c
Log:
Fix possible crash if content-type is not set.
Index: php4/main/SAPI.c
diff -u php4/main/SAPI.c:1.101 php4/main/SAPI.c:1.102
--- php4/main/SAPI.c:1.101 Sat Mar 17 18:32:04 2001
++
Hi,
Anyone able to tell me where i can get a traceroute php script from?
--
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 have set up a form to register the users to the site. The users are
allowed to register only once. When the user submits the form the same
script will check the validity of the form and displays error messages and
if okay, updates the database.
I want to set up an option in the form in w
sniper Sat Mar 17 21:52:41 2001 EDT
Modified files:
/php4/ext/fdf fdf.c
Log:
Fix the fix. Plus killed some compile warnings.
Index: php4/ext/fdf/fdf.c
diff -u php4/ext/fdf/fdf.c:1.40 php4/ext/fdf/fdf.c:1.41
--- php4/ext/fdf/fdf.c:1.40 Sat Mar 17 18:3
I though in flipping through the manual that I had come across a command
that gives the location of where the script is being run from, but I
have been searching for half an hour and can't find it now. Isn't it
something like $php_self? Anyone kow what I am talking about?
Thanks,
Andrew V. R
Sorry, its magic_quotes_gpc -- i got confused. The magic_quotes_runtime one
is for databases.
Regards, John
"Richard Kirk" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> No, its set to "off".
>
>
> -Original Message-
> From: John Lim [mailto:[EMAIL PR
I'm trying to create a form whereby I can edit the variables with just the form.
It will be something like a form for me to change the database
details(username,server,password) in a .inc I'm using.
Is there anyway for me to pass information into another file's variable and have it
saved in th
[Chris]
> I know php can't do this but I hoped somehere would know how. I have a page with
>many select boxes(drop downs). I want it so that if someone selects a value, it is
>removed from all the others. And
> if they change it, the old value is returned to the other boxes. Any help would be
>
>I know php can't do this but I hoped somehere would know how. I have a page
>with many select boxes(drop downs). I want it so that if someone selects a
>value, it is removed from all the others. And if they change it, the old
>value is returned to the other boxes. Any help would be appreciatedI t
zeevSat Mar 17 18:36:27 2001 EDT
Modified files: (Branch: PHP_4_0_5)
/php4/main SAPI.c SAPI.h
Log:
MFH
Index: php4/main/SAPI.c
diff -u php4/main/SAPI.c:1.100 php4/main/SAPI.c:1.100.2.1
--- php4/main/SAPI.c:1.100 Sun Feb 25 22:07:30 2001
+++ php4/mai
php-general Digest 18 Mar 2001 02:35:17 - Issue 573
Topics (messages 44389 through 44421):
Re: How no-cache some object?
44389 by: Boaz Yahav
Re: Classes and Object Oriented Programming
44390 by: Derek Sivers
Re: header:(location) error
44391 by: Stas Newdel
OK - this one really is stumping me.
I have a shell script that I'm running through bash on my linux server
it includes:
./configure \
--with-apache=../apache_1.3.17 \
--with-gd \
--with-mysql \
--with-gdbm \
--with-mhash \
zeevSat Mar 17 18:35:10 2001 EDT
Modified files:
/php4/ext/fdf fdf.c
Log:
Fix reference to nuked function
Index: php4/ext/fdf/fdf.c
diff -u php4/ext/fdf/fdf.c:1.39 php4/ext/fdf/fdf.c:1.40
--- php4/ext/fdf/fdf.c:1.39 Sun Feb 25 22:06:54 2001
+++
zeevSat Mar 17 18:32:04 2001 EDT
Modified files:
/php4/main SAPI.c SAPI.h
Log:
These functions are not necessary - that's what sapi_register_post_entry()
and sapi_unregister_post_entry() are for...
Also, please maintain K&R code layout, it's very messy
On 18-Mar-01 phpman wrote:
> hello all,
>
>
> and i want to find out if $tmp[1] is a string or an integer (that's really
> all I need to determine
gettype($foo) ?
> so i can put
> together an SQL statement that puts single quotes around strings and none
> around i
Hi, I was wondering if anyone has some links about
articles, code snippets or tips regarding the use of
oracle as rdbms and php.
I have experience with mysql so I am considering the
use of an abstraction layer to access so I could
easily por existing apps.
BTW. Does anybody know If the latest 8.
hello all,
let's say i have this:
$a="varone=hello world|vartwo=2.44|varthree=100|";
now i do this:
$b=explode('|',$a);
$z=count($b);
for ($x=0;$x<$z;$x++) {
$tmp=explode('=',$b[$x]);
and i want to find out if $tmp[1] is a string or an integer (that's really
all I need to determine
I know php can't do this but I hoped somehere would know how. I have a page with many
select boxes(drop downs). I want it so that if someone selects a value, it is removed
from all the others. And if they change it, the old value is returned to the other
boxes. Any help would be appreciated
On 18-Mar-01 Steve Wardell wrote:
> Say you have index.php and 20 lines into index.php you include file.inc and
> there's an error on line 30 of file.inc, but I'm pretty sure PHP would say
> there was an error on line 50 of index.php and not like 30 of file.inc. It
> doesn't keep track of include
rasmus Sat Mar 17 16:37:01 2001 EDT
Modified files:
/CVSROOTavail cvsusers gen_acl_file.m4
Log:
CVS account for Fredrik Öhrn
Index: CVSROOT/avail
diff -u CVSROOT/avail:1.119 CVSROOT/avail:1.120
--- CVSROOT/avail:1.119 Thu Mar 15 17:15:02 2001
+++ CVSRO
ssb Sat Mar 17 16:34:31 2001 EDT
Modified files:
/pear/PEAR pear.c
Log:
* whoops, zend_is_callable suddenly got two more args
Index: pear/PEAR/pear.c
diff -u pear/PEAR/pear.c:1.4 pear/PEAR/pear.c:1.5
--- pear/PEAR/pear.c:1.4Thu Mar 15 20:57:02 2
zeevSat Mar 17 16:11:16 2001 EDT
Modified files: (Branch: PHP_4_0_5)
/php4/main main.c php_ini.c php_ini.h
Log:
MFH
Index: php4/main/main.c
diff -u php4/main/main.c:1.356 php4/main/main.c:1.356.2.1
--- php4/main/main.c:1.356 Wed Mar 7 08:33:13 200
Say you have index.php and 20 lines into index.php you include file.inc and
there's an error on line 30 of file.inc, but I'm pretty sure PHP would say
there was an error on line 50 of index.php and not like 30 of file.inc. It
doesn't keep track of included files as separate files that are called b
zeevSat Mar 17 15:35:32 2001 EDT
Modified files:
/php4/main main.c php_ini.c php_ini.h
Log:
Recode delayed loading in a much simpler way (switched back to php_ini.c 1.49)
Index: php4/main/main.c
diff -u php4/main/main.c:1.356 php4/main/main.c:1.357
---
On 17-Mar-01 Steve Wardell wrote:
> I didn't know where else to post feature requests so I'll post it here.
> Could we get included files to not merely be sucked in to the file that is
> including it but still think of it as a distinctive file in terms of getting
> debug output for errors. The re
Has anyone heard of calling Perl libraries from PHP? I have seen it done with Java
classes
but it would be great if there was a way to do it with Perl.
Thanks!
Matthew Hanna
[EMAIL PROTECTED]
Hey!
Shaun, I'm really glad to say that I finally solved the problem I had with
"executing a string
that contains both HTML and PHP inside it", and it's all thanks to you!
Thank you very much -
Aviv Revach
At 10:37 15/03/01 -0500, you wrote:
>Hey, I glanced over your message, and you can
Hi :-)
How can I convert from this:
...snip
} elseif ($pathinfo == "/approve") {
do something...
to something that posts to itself without altering
the path?
My problem is, I'm using themes which are dependent
on the path, so if I post using the method above, the path changes and screw
No - PHP has it's own drivers, just like perl has it's own (DBI), and java
has it's own (JDBC). As for PHP's abstraction layer, PHP comes built with
one for dbm style db's (http://www.php.net/manual/en/ref.dba.php), but not
for sql type db's. Several abstraction layer projects for sql db's have b
svanegmond Sat Mar 17 12:35:38 2001 EDT
Modified files:
/php4/ext/standard php_string.h
Log:
fixed a (C++) warning about implicit conversion from void*
Index: php4/ext/standard/php_string.h
diff -u php4/ext/standard/php_string.h:1.36 php4/ext/standa
I didn't know where else to post feature requests so I'll post it here.
Could we get included files to not merely be sucked in to the file that is
including it but still think of it as a distinctive file in terms of getting
debug output for errors. The reasons for this are 2 fold:
1) You could se
actually, just wondering if PHP can use JDBC drivers to connect to
databases. what is the 'abstracted db layer' that you mention?
regards,
andrew
On 3/17/01 2:52 PM, "Julian Wood" <[EMAIL PROTECTED]> wrote:
>
> I'm not quite sure what you mean. You use a JDBC driver to connect your java
> pro
I'm not quite sure what you mean. You use a JDBC driver to connect your java
program to an sql db. PHP has an abstracted db layer which parallels the
function of JDBC for the php environment. PHP also has db-specific API's,
which tend to be somewhat faster and can take advantage of specific db
fe
No, its set to "off".
-Original Message-
From: John Lim [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 17, 2001 5:14 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] urlencode
You have magic_quotes_runtime enabled which causes this behaviour. You can
disable it by turning it off in your P
You will have to use JavaScript.
Use the following:
document.poster.action.disabled=true; // Disable Submit & Preview
button
Or, if you aren't having it within a form, put the javascript in the end of
the page and write:
document.btnSend.disabled=true;
Note that the first code disab
>From memory, 3 will delay 3 seconds before redirect. Change to :
printf ("http://coolsite/test/newfile.html\">");
mat t <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have a form that allows user to either upload a file from the client to
the server or t
I don't mean to be argumentative, but why would you need to do this? A key
field is usually intended to uniquely identify a row and nothing more, the
actual value of the key (whether the id is 1 or 2) *should* be immaterial.
I'm probably over simplifying this, but are you sure you really need
You have magic_quotes_runtime enabled which causes this behaviour. You can
disable it by turning it off in your PHP.ini.
See http://php.net/manual
"rkirk.com Mail" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Help - I've a problem when using urlencode/deco
Help - I've a problem when using urlencode/decode functions (same with
rawurl...).
If I encode :
mnemonic = "lnkphoto"
I get:
mnemonic+%3D++%22lnkphoto%22
And if decode it during the same script execution it converts back to
exactly:
mnemonic = "lnkphoto"
which is what I'd expect.
However, if I
stripslashes should work in most cases, something like
$text=stripslashes($text);
before it goes to email
rm
__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
--
PHP General Mailing List (http://w
I have heard that the new standard for URLS is ...test.php?op=3;op2=6...
using the semi colon as a seperator. Is this currently supported by php 4.0.3?
Cheers
Dave Smith
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
There must be an easy way, but it escapes me.
How can I switch the data in a feild of one row with the data in that field of
another row?
example:
row: id=1 fname=John lname=Doe
row: id=2 fname=Mary lname=Poppins
to:
row: id=2 fname=John lname=Doe
row: id=1 fname=Mary lname=Poppins
Thanks...
I've started using javapie.com. Weird name and terrible site design.
But they are cheap and provide all you're asking for below.
Their tech support is responsive. They have always responded within a day.
You have to send the a picture id to get ssh access.
>I'm looking to move from an old Web ho
IS there a way of making sure that a submit button cant be pressed twice.I
am using a form to send an email and dont want two emails showing up.
TIA
george
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PRO
chregu Sat Mar 17 08:07:42 2001 EDT
Modified files:
/php4/pear/Cache/Container file.php
Log:
GarbageCollection didn't work properly (wanted to delete files, relative
paths don't work in deconstructors)
Index: php4/pear/Cache/Container/file.php
diff -u ph
chregu Sat Mar 17 08:06:31 2001 EDT
Modified files:
/php4/pear Cache.php
/php4/pear/CacheOutput.php
Log:
GarbageCollection was moved into a PEAR-Deconstructor
Index: php4/pear/Cache.php
diff -u php4/pear/Cache.php:1.7 php4/pear/Cache.php:1.8
---
Hi all,
I am currently having problems with my PHP form I have made. The form is
working fine, and does everything I want it to, except for one minor problem
that only I can see.
The output to the user is fine, but when I recieve the contents of the users
data from the form, and they have th
> Brett, I only have conditional logic above my header() call... this page
is
> processing form input and does a redirect based on the result? Will this
not
> work?
>
If there is a single empty line above your first http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com
Do you have any white space outside of your tags? That is
considered as output by the parser.
- Original Message -
From: Stas Newdel <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 17, 2001 6:56 AM
Subject: Re: [PHP] header:(location) error
> Brett, I only have condit
Thanks :-)
Clayton Dukes
- Original Message -
From: "Brett" <[EMAIL PROTECTED]>
To: "PHP" <[EMAIL PROTECTED]>
Sent: Saturday, March 17, 2001 9:17 AM
Subject: Re: [PHP] Headers
> > How do I do something like:
> > if headers_sent=false
> > include header.inc
> >
>
> if (headers_sent(
Brett, I only have conditional logic above my header() call... this page is
processing form input and does a redirect based on the result? Will this not
work?
Thank you
[EMAIL PROTECTED] ("Brett") wrote in <02b401c0aea2$34676460$e1214ed8@bcnu>:
>
>> I am receiving the following error from m
derick Sat Mar 17 06:55:24 2001 EDT
Modified files: (Branch: PHP_4_0_5)
/php4/ext/mcryptmcrypt.c
Log:
- MFH (memleak fix)
Index: php4/ext/mcrypt/mcrypt.c
diff -u php4/ext/mcrypt/mcrypt.c:1.45 php4/ext/mcrypt/mcrypt.c:1.45.2.1
--- php4/ext/mcrypt/mcrypt.c
>Is there a good tutorial on Classes?
http://www.zend.com/zend/tut/class-intro.php
That's a really good one.
--
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-
Hi
Check out :
http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=62
Sincerely
berber
Visit http://www.weberdev.com Today!!!
To see where PHP might take you tomorrow.
-Original Message-
From: Brett [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 17, 2001 4:3
php-general Digest 17 Mar 2001 14:29:15 - Issue 572
Topics (messages 44352 through 44388):
Re: Associative vs normal arrays
44352 by: Alexander Wagner
44380 by: Yev
Zend?
44353 by: Chris Anderson
44379 by: Alexander Wagner
PSpell?
44354 by: Jonathan
> Hello, this probably no related to PHP, but I don't know where to ask.
>
> When retrieving and updating images from MySql record, I noticed Netscape
sometimes fooled by cache values, then it won't show correct image but
previous image instead.
>
> How can say to browsers 'hey, please don't cache
Hello, this probably no related to PHP, but I don't know where to ask.
When retrieving and updating images from MySql record, I noticed Netscape sometimes
fooled by cache values, then it won't show correct image but previous image instead.
How can say to browsers 'hey, please don't cache this
> How do I do something like:
> if headers_sent=false
> include header.inc
>
if (headers_sent() == false)include 'header.inc';
be sure and check the manual to make sure that "header_sent()" is the
correct format.
Brett
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
Thanks,
How do I do something like:
if headers_sent=false
include header.inc
else
some other thing
Please forgive my inexperience, I'm still learning :-)
Clayton Dukes
- Original Message -
From: "Gianluca Baldo" <[EMAIL PROTECTED]>
To: "Clayton Dukes" <[EMAIL PROTECTED]>
Cc: <[EM
Clayton,
PHP has a function for that:
headers_sent
(PHP 3>= 3.0.8, PHP 4 >= 4.0b2)
headers_sent -- Returns true if headers have been sent
Description
boolean headers_sent (void)
This function returns true if the HTTP headers have already been sent, false otherwise.
See also header()
Cheers,
I'm sure everyone's seen the
following:
Warning: Cannot add header information - headers already
sent by (output started
But,
How can I add check to see if the header
information has not been sent and add it if it hasn't (else just print
without the header info)?
TIA!
Clayton Dukes
Hi there,
I get this error every time I try to use a variable that has not been
declared. Is this new to PHP4? I do not recall this error in the past, echo
$MYVAR echoed nothing if $MYVAR was not set but no error was raised.
How can I revert PHP behavior to 'no-error' with undeclared variables?
avsmSat Mar 17 05:13:56 2001 EDT
Modified files: (Branch: PHP_4_0_5)
/php4 ltconfig
Log:
Update libtool to support OpenBSD 2.8+ wrt shared libraries and
library dependencies. Tested on i386/sparc.
Index: php4/ltconfig
diff -u php4/ltconfig:1.20
dbeuSat Mar 17 04:30:28 2001 EDT
Modified files:
/php4/win32 php4ts.dsw
Log:
fix dependencys
Index: php4/win32/php4ts.dsw
diff -u php4/win32/php4ts.dsw:1.6 php4/win32/php4ts.dsw:1.7
--- php4/win32/php4ts.dsw:1.6 Thu Nov 23 06:34:09 2000
+++ php4/win32/php
jmoore Sat Mar 17 04:21:28 2001 EDT
Modified files: (Branch: PHP_4_0_5)
/php4/ext/standard credits.c credits.h info.h
Log:
MFH for website team credits.
Index: php4/ext/standard/credits.c
diff -u php4/ext/standard/credits.c:1.5 php4/ext/standard/credits.c:1.5.
Michael Kimsal wrote:
>
> 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
what do you mean? all arrays are associative. even the simple
$arr = array(1,2,3,4,5); has key/value pairs associated with it..
similar to doing: $arr = array(0=>1,1=>2,2=>3,3=>4,4=>5);
--- Joe <[EMAIL PROTECTED]> wrote:
> Is there a way to determine if an array is associative or not? Maybe
Chris Anderson wrote:
> I've heard alot about the Zend Encoder.
[..]
> Does it require
> any extra server settings etc?
It requires the Zend Optimizer to be installed.
regards
Wagner
--
Assumption is the mother of all fuck-ups.
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
Hi
Check out :
http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=22
Sincerely
berber
Visit http://www.weberdev.com Today!!!
To see where PHP might take you tomorrow.
-Original Message-
From: NGUYEN DINH Quoc Huy [mailto:[EMAIL PROTECTED]]
Sent: Saturday, Mar
Thanks for all your help. I've settled for an enum field for the time being.
I'm going to try something more complex at a later stage.
Thanks again,
Cheers,
Jord
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Is there a good tutorial on Classes?
I looked at countless class codes but I don't understand how they are implemented (not
to mention countless books too).
Can someone point me to a good tutorial or explain to me whats going on ?
---
David Chua
---
Hi!
I have a quite big form to fill out a calendar. The form has six fields for
every day in a month to make it possible to set up tree apointments (the
target of the meeting and Locataion), this makes a total of about ~180
fields so I created them with a for-loop.
Now I got this 180 fields named
Hi, this is a repost and nothing i've tried is working. Basically, I
allow people to upload pictures and they all go to the proper
directories but I can't see the picture. I can see the pictures great
on my windows server but no one else can see it. Obviously the path to
the images is screwed
74 matches
Mail list logo