Hi
I run linux red hat 6.2 with apache 1.3.12, php4 and mysql 3.22.32
The first time my problem was Call to undefined function: mysql_connect(), and I add
the line dl("mysql.so");
and then bring me:
Warning: Unable to load dynamic library '/usr/lib/php4/mysql.so' - undefined symbol:
Perl
On Wed, 10 Jan 2001 12:13:26 +0530, "Hrishi" <[EMAIL PROTECTED]>
wrote:
>try adding a header("Expires: 0"); line at the top of the script. this will
>provide an 'already expired' page to the user. i.e., the browser will not
>store the page in cache at all.
>other headers are:
>
>Cache-Control: ma
david Tue Jan 9 22:48:06 2001 EDT
Modified files:
/php4/ext/standard datetime.c
Log:
fixed swatch internet time (bugs#8242,7106)
Index: php4/ext/standard/datetime.c
diff -u php4/ext/standard/datetime.c:1.61 php4/ext/standard/datetime.c:1.62
--- php4/ext/
try adding a header("Expires: 0"); line at the top of the script. this will
provide an 'already expired' page to the user. i.e., the browser will not
store the page in cache at all.
other headers are:
Cache-Control: max-age=0
Cache-Control: no-cache
these will make sure any proxies/ISP caches w
Using $PHP_SELF, I have a form that calls itself until the user gets
all the input right. Each time the user corrects some field and
resubmits, the browser builds a cache of pages, as you can see with
the browser back button.
Is there a way to make the browser clear the cache on every submission
File uploading is not working for me on my server,
it is a windows 2000 box running php 4.02
this is my code
");
?>
--
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 a
Hello,
class a {
var $somevar;
function b(){
if (!isset($this->somevar))
echo "Not set";
if (empty($this->somevar))
echo "empty";
}
}
$d = new a;
$d->b();
The above returns:
Not set
empty
What in the world is reason for declaring the following in th
no particular errors or anything show up. page uses php & mysql
--
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]
list,
ok her is the problem. i have a page taht works fine in one dir, but in a sub
dir, it doesnt even show up. here is my dir structure.
public_html/|
|website/|
||index.php
||admin/|
|| |admin.php
|
Uhh not really, the table has about 3 entries. Don't really want to
risk anything.
I want to know how to do it through a MySQL statement, not a php script.
-Original Message-
From: Jason Brooke [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 10 January 2001 2:39 PM
To: Matt Stone; PHP
Hello,
I have a question regarding the following 3 one line .php files:
The first script prints the famous words correctly but what baffles
me is the second script which should be the same as the third script
since $a is not set and hence should evaluate to nothing, but PHP 3.0.15
is eval
one simple way would be to make a duplicate, empty table and then do:
insert into newtable select distinct * from oldtable
then try adding a uniqueness constraint if you don't want duplicates in the
future
jason
> Hi,
> Is there a way to go through a table and remove all duplicate entries s
On Tue, 09 Jan 2001, jeremy brand wrote:
> why not this?
>
> $year = date('Y');
> $month = date('m');
> $day = (int)date('d');
>
> if ($day >= 1 && $day < 8)
> $week = 1;
> else if ($day >= 8 && $day < 15)
> $week = 2;
> else if ($day >= 15 && $day < 22)
> $week = 3;
> else if ($day >= 22
Hi,
Is there a way to go through a table and remove all duplicate entries so
that there is only one? The way I am doing it now is taking FOREVER. Thanks,
Matt Stone
___
This email may contain confidential and/or privileged information for the
sole use of the intended
Toby -
The query is done in another function
$row = db_get_questions($dbh, $course);
Then I want to move to a record by row number, so I have the function for doing
that. I will need to move to acsending rows since my client needs to obtain
random records. I have already created my array o
Correction : I was going to say 'browse for more' , not 'browse for me'
below ...hehe.
I have come across few topics/links which I thought might be of interest to
you:
http://www.findtutorials.com/search.asp?action=search&category=&boolean=+OR+
&kywrds=php+ping&curpage=2
You can also browse fo
I don't see a query anywhere... you might want to take a look at
http://php.net/manual/function.ibase-fetch-row.php and
http://php.net/manual/function.ibase-query.php and reply back to us if it's
still unclear & not working...
Regards,
Toby Butzon
[ criticism spurs improvement ]
- Original
I have come across few topics/links which I thought might be of interest to
you:
http://www.findtutorials.com/search.asp?action=search&category=&boolean=+OR+
&kywrds=php+ping&curpage=2
You can also browse for me following the NEXT and BACK bottom at the bottom
of that page.
NOBBY
- Origin
david Tue Jan 9 20:01:02 2001 EDT
Modified files:
/php4/ext/standard datetime.c
Log:
Allocate buffer in date() for the actual length of the timezone (bug#8292)
Index: php4/ext/standard/datetime.c
diff -u php4/ext/standard/datetime.c:1.60 php4/ext/standar
Whoops! I forgot the code!!
function db_get_n_row($dbh, $row, $currentRow, $nextRow) {
while (($row) && ($currentRod != $nextRow)) {
ibase_fetch_row($row);
$currentRow++;
if ($currentRow == $nextRow) {
return $row;
} else {
return 0;
};
};
Toby -
This is an Interbase DB...
Todd
Toby Butzon wrote:
> Working with what sort of database?
>
> Toby Butzon
> [ criticism spurs improvement ]
>
> - Original Message -
> From: "Todd Cary" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, January 09, 2001 10:47 PM
I also had similar problems installing PHP. I followed the instructions by
Edward (http://www.net-language.com/workshops/Default.asp?workshop=21).
Strange, but true to me that the installation only worked with earlier
releases of PHP (it was 4.0.0 for me) and not the latest. Did you try
installing
Working with what sort of database?
Toby Butzon
[ criticism spurs improvement ]
- Original Message -
From: "Todd Cary" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 09, 2001 10:47 PM
Subject: [PHP] Passing a query result
: I need to pass a query result to a func
I need to pass a query result to a functionas demonstrated below. I get
the error message that $row is not a result type. Is there a way around
this?
Todd
--
Todd Cary
Ariste Software
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECT
Yes, we're subscribed to their beta mailing list. The URL to their mailing
list is on their site.
--
Jeff (FurBall)
WebOverdrive Newbie Tech Board
http://www.topniche.com/tech/
[EMAIL PROTECTED]
-Original Message-
From: Josh G [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 09, 2001 8
Hello PeterOblivion,
(Pac == "[EMAIL PROTECTED]") [EMAIL PROTECTED] writes:
Pac> since im too busy to write my own script, does anyone know of a
Pac> FilePlanet (fileplanet.com) or Download.com type indexing script,
Pac> where when you click on a link it will take you to the details of
Pac> th
since im too busy to write my own script, does anyone know of a FilePlanet
(fileplanet.com) or Download.com type indexing script, where when you click
on a link it will take you to the details of the file, and etc.
- Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-
Well, do you have the t1 library? If not, don't specify --with-t1lib
On Tue, 9 Jan 2001, Dan Phoenix wrote:
>
> [root@new php4-200101080945]# more debug.log
> CONFIGURE: './configure' '--with-mysql=/usr/local/mysql'
> '--with-gd=/usr/local/gd' '--enable-inli
> ne-optimization' '--with-gnu-ld'
ssb Tue Jan 9 17:34:40 2001 EDT
Modified files:
/php4 configure.in
Log:
* renamed PEAR scripts
* set localstatedir
Index: php4/configure.in
diff -u php4/configure.in:1.208 php4/configure.in:1.209
--- php4/configure.in:1.208 Sun Jan 7 13:21:
I went to their homepage, and couldn't find a link to download
the actual program, just some example stuff, and it says "coming
soon"... Is it out there somewhere and I'm just retarded, or are
you mob on a beta list or something???
Gfunk
My name was Brian McGee,
I stayed up listeni
[root@new php4-200101080945]# more debug.log
CONFIGURE: './configure' '--with-mysql=/usr/local/mysql'
'--with-gd=/usr/local/gd' '--enable-inli
ne-optimization' '--with-gnu-ld' '--with-apache=../apache_1.3.14'
'--enable-track-vars' '--disable-
debug' '--with-ttf' '--with-t1lib'
'--with-config-f
> Or you could regex it with something like this:
>
> ereg("^([^a-zA-Z0-9]*)(.*)$", $inStr, $resultArr);
Thanks to all who responded! The above is working as described, and is now
implemented in my code thanks!
==
Murray Shields
Nope! CodeCharge!
--
Jeff (FurBall)
WebOverdrive Newbie Tech Board
http://www.topniche.com/tech/
[EMAIL PROTECTED]
-Original Message-
From: Brad Hubbard [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 09, 2001 6:11 PM
To: Jeffrey A. Stuart; PHP is not a drug .
Subject: Re: [PHP] looki
ssb Tue Jan 9 17:21:04 2001 EDT
Added files:
/php4/pear/scripts .cvsignore
Log:
added .cvsignore file
Index: php4/pear/scripts/.cvsignore
+++ php4/pear/scripts/.cvsignore
Makefile
deps
phpize
run-tests
php-config
pear
--
PHP CVS Mailing List (http
"Sabina Huang" <[EMAIL PROTECTED]> writes:
> Yes, there is.
> I was recently testing CodeCharge (www.codecharge.com) and it is the best
> (or maybe the only :-) tool that creates PHP automatically, so you don't
> need to code :-)
LOL!
Their website comes up with a huge horizontal scroll-bar, an
I can successfully make a standalone executable of php4.0.4 on my linux
system.
However, when I try to make a DSO, I get the following error message:
make[1]: Entering directory `/usr/download/php-4.0.4'
/bin/sh /usr/download/php-4.0.4/libtool --silent --mode=link
gcc -I. -I/usr/download/php-4
"Carsten Gehling" <[EMAIL PROTECTED]> writes:
> From: "Teodor Cimpoesu" <[EMAIL PROTECTED]>
> Sent: Tuesday, January 09, 2001 10:40 AM
>
> > as for assembly, it's a good start in understanding PHP, really. Start
> from
> > the bottom.
>
> Real programmers do "copy con >filename.exe" (well at le
ssb Tue Jan 9 17:02:00 2001 EDT
Added files:
/php4/pear/scripts pear.in php-config.in phpextdist phpize.in
Removed files:
/php4/pear pear.in php-config.in phpextdist phpize.in run-tests.in
Modified files:
/php4/pea
I've setup apache 1.3.14 with php 4.0.4. I'm getting an error when trying to
include/require files.
Failed opening 'tcalendar2.inc' for inclusion (include_path='./') in
c:/apache/htdocs/caltest2.phtml
I tried changing the include path in php.ini to 'c:/Apache/htdocs' to
'c:\Apache\htdocs' to '
Please help! Perhaps you have an idea what to do:
I want to get information directly from sendmail,
like the body of the message and, very important,
the receipients address.
So if someone sends an email to [EMAIL PROTECTED]
I want to see who it was sent to.
Currently I am using a script
I have a PHP Script that runs in cron and does some database searches. Every
now and then
I notice that my FreeBSD box bitches about the following:
chsh: updating the database...
chsh: done
msql: not found
that is coming from my script. My script doesn't do anything with chsh so
not sure
why it
Hi all,
I'm trying to work out how to replace '^@' characters with 0's. I've even
tried replacing them with another character, and back to 0's again.. it
still comes out as '^@' (which I'm guessing is null). The '^@'s only appear
when a 0 is the first character in $value, the rest are ok.
I'v
Or you could regex it with something like this:
ereg("^([^a-zA-Z0-9]*)(.*)$", $inStr, $resultArr);
Then $resultArr[0] will be the original input, $resultArr[1] will be
everything up until an unacceptable character was encountered (not including
the unaccepted character), and the last part would
rasmus Tue Jan 9 15:46:44 2001 EDT
Modified files:
/CVSROOTavail gen_acl_file.m4
Log:
Add some karma
Index: CVSROOT/avail
diff -u CVSROOT/avail:1.26 CVSROOT/avail:1.27
--- CVSROOT/avail:1.26 Tue Jan 9 14:50:12 2001
+++ CVSROOT/avail Tue Jan 9
Hello Murray,
(MS == "Murray Shields") [EMAIL PROTECTED] writes:
MS> I have written my first regex's, which are simply used for
MS> validation of input into a web form. Basically, they check to see
MS> if an invalid characters are being entered, and is working
MS> perfectly. A different regex
On Wed, 10 Jan 2001, Murray Shields wrote:
> Hi all.
>
> I have written my first regex's, which are simply used for validation of
> input into a web form. Basically, they check to see if an invalid characters
> are being entered, and is working perfectly. A different regex is used to
> different
Hi all.
I have written my first regex's, which are simply used for validation of
input into a web form. Basically, they check to see if an invalid characters
are being entered, and is working perfectly. A different regex is used to
different types of input.
They are as follows
$Status = (ereg("
Anyone have played with Afterburner PHP cache (
http://bwcache.bware.it/ )? I'm curious the resutls ;)
Regards,
--
You mean you have Windows98 and still have available memory?!?
Marcin http://wfmh.org.pl/~carlos/
mailto:[EMAI
Hi Rasmus-
Usernames jdonagher and david belong on the ext/pfpro avail list. I'd also like to be
in the phpdoc list since there is still more documentation to be written for pfpro, at
some point.
What is the procedure for enhancements to ext/standard now that we have acl's? And did
you have
php-general Digest 9 Jan 2001 23:21:12 - Issue 445
Topics (messages 33429 through 33586):
Re: php and shell scripting
33429 by: Toby Butzon
1114 : The table 'SQL43ec4_0' is full
33430 by: Daniele Cesarini
33447 by: Cynic
Re: database collision?
33431 by: ma
Hello Sebastian,
(SS == "Sebastian Stadtlich") [EMAIL PROTECTED] writes:
SS> I switched my provider and now i often get this error message when
SS> using mysql from my php-skripts:
SS> "Warning: MySQL Connection Failed: Can't create a new
SS> thread (errno 11). If you are not out of available
> Or you could just look at the phpbuilder.com column on using COM objects
in php, or you could RTFM at the php.net site. >just type in php.net/com and
see what happens.
>
> We use php and com here a lot, and while the implementation lacks a few
features of the asp/vb implementation it's handy >wh
> It's even better than sex... (Well... maybe LOL) I got it myself and have
fallen in love with it in about 3 days!
>
What is it? HTML-Kit?
Cheers,
Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECT
"Robert Collins" <[EMAIL PROTECTED]> wrote:
> There was an encrypt() and a decrypt() function available in php3 was this
> removed from php4? if not how can I use it? I cant seem to find any info
on
> php.net on usage and I get an undefigned function error when I try to use
> it.
try http://www.p
> Anyways, I want a new line but when I use the to do it makes a gap
> between the last line. does anyone know how to make the or any new line
> in html for that matter to only make a small gap?
should just make a new line with the current font size.
First check the output HTML:
Are you i
To: [EMAIL PROTECTED]
From: "Tom Harris" <[EMAIL PROTECTED]>
Date sent: Tue, 9 Jan 2001 09:34:32 -0500
Subject:[PHP] PATH_INFO in Windows/IIS
> I've been using $PATH_INFO to get variables passed without using a "?" in the
> URL
Hello Jason,
(JJ == "Jason Jacobs") [EMAIL PROTECTED] writes:
JJ> Does anyone know how I can sign into a site through a shell
JJ> (Telnet, FTP program, etc) with the PHP user?
$ ps aux | egrep '([w]ww|[n]obody)' | su `awk '{ print $1 }'`
or
$ which php | ls -l `awk '{ print $1 }'`
..And lo
Check out PHPTriad. It should get you up and running quickly.
Cheers,
Brad
- Original Message -
From: "Saied Gerami" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 08, 2000 08:57
Subject: [PHP] installing PHP4 on Apache on Win2000
> Dear Sir/Madam,
>
> I followed yo
Hi all,
the problem was just register_global set to off. Now also phpMyAdmin
works well again.
Thanks everybody (special tanks to Ignacio)
antonio
>On Tue, 9 Jan 2001, Antonio Guerrieri wrote:
>
>> Hi all,
>> I have a very simple form with a text field but when I submit it the
>> parameter is
Hi,
the program "main" produces x times an output with an delay of 1 second
between each output.
I want to show this output in "realtime" on a website (this should become a
progress-bar).
The following code shows the output a f t e r the program ends:
CODE...
$fp = popen ("./main", "r");
Or you could just look at the phpbuilder.com column on using COM objects in php, or
you could RTFM at the php.net site. just type in php.net/com and see what happens.
We use php and com here a lot, and while the implementation lacks a few features of
the asp/vb implementation it's handy when m
I've searched high and low for a pre-
built cart that suites my needs, and
as of yet have been unsuccessful, so now
I am looking to build a shopping cart
using php3 and MySQL, I'd like to use
php4, but as of the moment, it isn't
an option. if anyone knows of any tutorials
or anywhere to get starte
62 matches
Mail list logo