> A lot of these can probably be shortened to:
Correct, whereby *.o and *.a are ignored by default.
>
> *.o
> *.lo
> *.slo
- Sascha
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact th
sas Sun Feb 18 00:30:12 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Add a new format string identifier 'r' which inserts the raw message.
Also port the ctcp copy function to the hash_ex API as per Andi's
suggestion.
Index: php4/ext/ir
Hi,
Try this :
You should call the script like this : scriptname.php?page_adress&email_adress
Here is an example :
http://10.116.1.133/script/email.php3?http://10.116.1.133/documen/php_nou/function.mail.html&[EMAIL PROTECTED]
HTH
Regards,
Sorin Ifrim
David Tandberg-Johansen <[EM
Can some one tell me how i would make a search engine, like what talbes
and how many fields and what the form should look like
--
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 admin
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Dhaval Desai) wrote:
> Can somebody enlighten me with regular expressions...
> like [^\-*] something like that. To me it appears as a
> code language..
>
> Can Anybody tell me what do the various characteers
> do?
> is there any good article on
emile Sun Feb 18 01:01:15 2001 EDT
Modified files:
/php4/ext/midgard .cvsignore
Log:
Simplifying .cvsignore (and losing some fat on the way)
Index: php4/ext/midgard/.cvsignore
diff -u php4/ext/midgard/.cvsignore:1.3 php4/ext/midgard/.cvsignore:1.4
--- ph
david Sun Feb 18 01:21:57 2001 EDT
Modified files:
/php4 header
Log:
add year 2001 to header
Index: php4/header
diff -u php4/header:1.5 php4/header:1.6
--- php4/header:1.5 Sun May 28 12:17:59 2000
+++ php4/header Sun Feb 18 01:21:57 2001
@@ -2,7
sas Sun Feb 18 01:32:29 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Close an apparent race which caused HTTP connections to stay open,
even though the IRC server refused to let us login.
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ir
hehe, And while they are at it, could that same person please tell me how
to achieve world domination with just a sponge, toothpick and some gum
hehe sorry Brandon I just couldn't resist... your going to have to get a
little more specific on your questions... we cant write th
sas Sun Feb 18 01:44:29 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
irc_write_buf_del() performs a final flush now, if the fd is not dead yet.
afterwards we perform a shutdown() on the socket, so that thttpd
notices that the socket is to be
Hi!
I'd like to do the following:
i have a page where the user chooses from a combo of a products, a combo of
charactersitics, the date when he wants it and the quantity!
he may not fill one of these inputs so the result will be the list of all
products, or he may choose the product and not the
sas Sun Feb 18 02:08:21 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Add code for user-quit hook
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.30 php4/ext/ircg/ircg.c:1.31
--- php4/ext/ircg/ircg.c:1.30 Sun Feb 18 01:44:29 2001
Hello !
Which is the name for the standard-output on Linux ?
The background: I want to use PGP (2.6.3.) to put the encrypted file out
on standard-output.
Regards
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
Hello everyone,
In perl, you can use 'print qq' to print a block of text. Like,
print qq~
my text block goes here, with " " or whatever...
my other line with more special characters...
~;
Is there something similar in PHP? I've tried the above, but it does not
work. I
yes, that will work... however, if you're trying to select from
a table that lacks an explicit AUTO_INSERT field, yet has an
incrementing field (DATETIME is one that comes to mind),
selecting the LAST_INSERT_ID wouldnt work...
> -Original Message-
> From: PHPBeginner.com [mailto:[EMAIL P
Hm, this is getting much more complicated as I thought.
I want to use PGP. This works fine with temporary Files: You say to PGP:
"Please take the file message.txt and encrypt it to the file
encrypt.txt". Ok.
But this could be a possible securety-hole, because the message-file is
available on the
php-general Digest 18 Feb 2001 10:59:55 - Issue 519
Topics (messages 40381 through 40414):
Re: Creative solution with XML,PHP,MYSQL
40381 by: Tim Frank
40392 by: Michael Stearne
Re: .php3 in PHP4?
40382 by: Tim Frank
HTTP Request - First line
40383 by: Javi
Hi...
How do I get an EOF character when echo'ing an web page which will be
written to an file.??
What I am trying to do is the following. I have an textstring (variable):
Then I do the following:
header("Content-disposition: filename=CLIEOP03");
header("Content-type: application/o
thies Sun Feb 18 03:10:30 2001 EDT
Modified files:
/php4/ext/oci8 oci8.c
Log:
- Fixed crash in OCI8 when using unitialized LOBs. (Thies)
Index: php4/ext/oci8/oci8.c
diff -u php4/ext/oci8/oci8.c:1.109 php4/ext/oci8/oci8.c:1.110
--- php4/ext/oci8/oci8.c
sas Sun Feb 18 03:20:25 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Set from for MSG_FMT_SELF_PART
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.31 php4/ext/ircg/ircg.c:1.32
--- php4/ext/ircg/ircg.c:1.31 Sun Feb 18 02:08:21 20
>
> if ((substr($imgName, -4) != ".jpg") || (substr($imgName, -4) != ".gif"))
this case, in plain english is :
if ext is not jpg, OR if ext is not gif, error
the ext will never be both jpg and gif at the same time, so you're looking
for the condition:
if ((substr($imgName, -4) != ".jpg") && (
I need to pass a array through a url.
Currently I'm assigning the array to the url like so
http://localhost/dir/page.php?checkbox_array=$checkbox_array
but when I want to sort through the array on the recieved page it is not possible
because the array seems to have been replaced with the string
I need to pass a array through a url.
Currently I'm assigning the array to the url like so
http://localhost/dir/page.php?checkbox_array=$checkbox_array
but when I want to sort through the array on the recieved page it is not possible
because the array seems to have been replaced with the string
well, if the only characters that you want to allow are
alphanum/space/underscore, you could use a
perl regexp to match against anything *other* than
those things...(a positive match would indicate that the
string being matched had invalid characters in it)
use this:
preg_match('/[^\w\s]/', $inp
any good .conf files?
...mine reads like a stephen king novel :)
it's easy... if you go to php.net and read thru their
installation documentation, there are about 4-5 lines
total that you need to add to your httpd.conf
(at least when you install php as a stanalone cgi)
to get apache to properl
it's not very elegant, but i havent come across any PHP
core function that will do what you asked, so here's a little
loop that will return the total length of a multidimensional
array
$total = 0;
for ($i=0; $i < count($myarray); $i++) {
$total += count( $myarray[$i] );
}
print $total;
i
hmmm... what i would do is set a cookie named
"cookies_enabled" in the very beginning of your site,
and check for the presense of that variable in places
that you need cookie functionality...
logically, if $cookies_enabled isnt set, it means that the
cookie doesnt exist (and thus cookie support
or, a bit more concisely, you could use a regexp...
to allow only jpg/gif/png file formats, setup the
regexp to match on those three formats, and
yell at people who submit anything other than
those three
$imgName = "one.jpg";
if (! preg_match('/\.(jpg|gif|png)$/', $imgName) ) {
print "fil
sas Sun Feb 18 04:44:35 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Remove unnecessary assignment which caused a segfault
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.32 php4/ext/ircg/ircg.c:1.33
--- php4/ext/ircg/ircg.c:1.32
well, CSS support in netscape 4 is abyssmal to begin with,
and it's a 5 year old browser, so i would venture to guess
that's why you cant get anything to look the way it should...
i never thought i'd see the day when MSIE was more
standards compliant and more stable than netscape...
(well, at lea
Martin,
you can either use the file 'php://stdout', which will open stadard
output independant of platform, or access /dev/stdout, which is a
symlink to the stdout stream of your process.
Also, any output that is printed from PHP will be printed to stdout.
Cheers,
Ben
Martin Thoma wrote:
>
>
Hi Christian,
>> function change_sess(&$html_code){
>> if(eregi("&flag=[0-9]{9}&PHPSESSID=[[:alnum:]]{32}",$html_code)){
>>
>> str_replace("&flag=[0-9]{9}&PHPSESSID=[[:alnum:]]{32}",">;?>", $html_code);
>str_replace doesn't know about regular expressions, so it tries to find
>the literal st
there's a much easier way to get rid of whitespace
and linebreaks at the end of a variable than using a
looped ereg_replace (as i previously suggested)
1) use trim()
2) use preg_replace('/\s*$/', '', $input)
both will cremate spaces and linebreaks
--
PHP General Mailing List (http://www.php.ne
On Saturday 17 February 2001 10:20, Jeff Oien wrote:
>So if I want to delete
>a record by title, I'll end up deleting all songs with
>that title.
just for the discussion, you can use a delete query like
"delete from song_list where song_title='title' and song_book='book'"
to delete only one re
did you check the value *before* writing it to a file?
before trying to solve any problem, you have to know
where to look perhaps the problem lies with the file
instead of the regexp.
the following code worked great for me:
Lnk';
$html = preg_replace('/&flag=(\d{9})&PHPSESSID=(\w{32})/', ap
uw Sun Feb 18 06:45:29 2001 EDT
Modified files:
/php4/pear/PHPDoc/parserPhpdocClassParser.php
PhpdocConstantParser.php
PhpdocFunctionParser.php
PhpdocModuleParse
Hello,
Does anyone know where I might find a good PHP script for analyzing apache
logs, with as much information as can be gathered?
I looked around on a few of the script sites, but didn't see any and I
thought this wierd.
- John Vanderbeck
- Admin, GameDesign
--
PHP General Mailing List (h
uw Sun Feb 18 07:03:06 2001 EDT
Modified files:
/php4/pear/PHPDoc/accessor PhpdocAccessor.php
PhpdocClassAccessor.php
PhpdocDocumentAccessor.php
PhpdocIndexAccessor
Thanks to all the replies to my previous email on arrays (passing arrays through URLs)
but I cannot seem to get serialize() to work correctly so I'm now trying to echo out
the array as a series of hidden elements in a form that when submitted will re-build
the array.
I've been driving myself ma
uw Sun Feb 18 07:19:15 2001 EDT
Modified files:
/php4/pear/PHPDoc/analyser PhpdocAnalyser.php
PhpdocClassAnalyser.php
PhpdocModuleAnalyser.php
Log:
Sorry, whitespace only changes to follow the
uw Sun Feb 18 07:29:29 2001 EDT
Modified files:
/php4/pear/PHPDoc/core Phpdoc.php PhpdocArgvHandler.php
PhpdocObject.php PhpdocSetupHandler.php
Log:
Sorry, whitespace only changes to follow the PEAR Coding conventions. Re
I'd like to achieve something like this:
I've made a form let say "a.php" and when user submitted it, the following
code display the thank you page:
// Form completed
echo "Thank you! Information entered.";
echo "Please click here to input another
product.";
echo "Or click here to input the
uw Sun Feb 18 07:36:33 2001 EDT
Modified files:
/php4/pear/PHPDoc/exceptionsPhpdocError.php
Log:
Sorry, whitespace only changes to follow the PEAR Coding conventions. Replaced tabs
with spaces.
Index: php4/pear/PHPDoc/exceptions/PhpdocError.php
uw Sun Feb 18 07:40:34 2001 EDT
Modified files:
/php4/pear/PHPDoc/filehandler PhpdocFileHandler.php
Log:
Sorry, whitespace only changes to follow the PEAR Coding conventions. Replaced tabs
with spaces.
Index: php4/pear/PHPDoc/filehandler/PhpdocF
hi everyone, ok i just DLed apache httpd server and put all the files in
the httpd folder and made the chages is the httpd.conf file for php to
work, but it just shows as text or trys to make me downlaod the site.
Whats going on? What can i do so it will recongnize php?
--
PHP General Mailing L
uw Sun Feb 18 07:48:48 2001 EDT
Modified files:
/php4/pear/PHPDoc/indexer PhpdocIndexer.php
Log:
Sorry, whitespace only changes to follow the PEAR Coding conventions. Replaced tabs
with spaces.
Index: php4/pear/PHPDoc/indexer/PhpdocIndexer.php
diff
When I write to a file with PHP, I get double line spacing when read on
a PC. Is there a way to handle this so that a text file can be created
by PHP and be read correctly by Linux or a WIN based computer?
In my PHP code, I have been using \r\n to duplicate the 0Dh 0Ah that a
WIN based computer
These tutorials were very helpful for me:
http://www.thickbook.com/extra/index.phtml?t=in
Jeff Oien
> hi everyone, ok i just DLed apache httpd server and put all the files in
> the httpd folder and made the chages is the httpd.conf file for php to
> work, but it just shows as text or trys to make
http://www.intershipper.net
I think they even have PHP code for using their system... Cheers...
O- ~ARK
CFO, Hmedicine.com, Inc. http://www.hmedicine.com
Do I listen to pop music because I'm miserable? Or am I miserable because I
listen to pop music?... ~Rob from "High Fi
ssb Sun Feb 18 08:23:03 2001 EDT
Modified files:
/php4/pear/DB common.php
Log:
* added "persistent" option
Index: php4/pear/DB/common.php
diff -u php4/pear/DB/common.php:1.36 php4/pear/DB/common.php:1.37
--- php4/pear/DB/common.php:1.36Thu Feb
ssb Sun Feb 18 08:24:00 2001 EDT
Modified files:
/php4/pear/DB oci8.php
Log:
* use "hostspec" dsn parameter as SID if specified
Index: php4/pear/DB/oci8.php
diff -u php4/pear/DB/oci8.php:1.17 php4/pear/DB/oci8.php:1.18
--- php4/pear/DB/oci8.php:1.1
hi, (sorry for cross-posting)
i'm currently investigating some reported problems with the
PHP 4 OCI8 interface. some people have reported SEGFAULTs and
"failed to rollback outstanding transactions" messages in
their apache error_log. sadly i cannot reproduce any of those
p
uw Sun Feb 18 08:29:22 2001 EDT
Modified files:
/php4/pear/PHPDoc/renderer PhpdocRendererObject.php
/php4/pear/PHPDoc/renderer/html PhpdocHTMLClassRenderer.php
PhpdocHTMLDocumentRenderer.php
On Sunday 18 February 2001 19:54, n e t b r a i n wrote:
> >> function change_sess(&$html_code){
> >>if(eregi("&flag=[0-9]{9}&PHPSESSID=[[:alnum:]]{32}",$html_code)){
> >>
> >> str_replace("&flag=[0-9]{9}&PHPSESSID=[[:alnum:]]{32}"," >>l() ;?>", $html_code);
> >
> >str_replace doesn't know ab
uw Sun Feb 18 08:31:09 2001 EDT
Modified files:
/php4/pear/PHPDoc/warning PhpdocWarning.php
Log:
Sorry, whitespace only changes to follow the PEAR Coding conventions. Replaced tabs
with spaces.
Index: php4/pear/PHPDoc/warning/PhpdocWarning.php
diff -
phanto Sun Feb 18 08:40:27 2001 EDT
Modified files:
/php4/ext/com CREDITS
Log:
added myself to CREDITS
Index: php4/ext/com/CREDITS
diff -u php4/ext/com/CREDITS:1.1 php4/ext/com/CREDITS:1.2
--- php4/ext/com/CREDITS:1.1Mon Nov 20 02:31:13 2000
+++ php4
Hello Dave,
On 17-Feb-01 01:52:57, you wrote:
>I haven't seen this issue discussed, sorry if I missed it:
>My question is why are the PHP database functions so unportable? Is there a
>reason why they have to be specific to, say MySQL. It seems to me (even
Different databases provide differen
phanto Sun Feb 18 08:49:05 2001 EDT
Modified files:
/php4/ext/com COM.cpp
Log:
@- Added new object VARIANT() to encapsulate values for use with
@ the COM and DOTNET module. Therefore it is now possible to pass
@ values by reference, convert php values
Hi, is there a quick way to create an array of integers, randomized and
without repeats?
e.g. if my set is 1 - 10, create an array whoese key values are 1 through
10, with corresponding key values as a random set of the same 1 through 10??
thanks in advance for any suggestions :)
andrew
--
PH
This worked:
SELECT * from that_table ORDER BY thetimestamp DESC LIMIT 1
Thanks to all for the help.
Brian Drexler
- Original Message -
From: Christian Reiniger <[EMAIL PROTECTED]>
To: Php-General <[EMAIL PROTECTED]>
Sent: Saturday, February 17, 2001 8:58 AM
Subject: Re: [PHP] Can I
Geetings and Salutations-
I am experiencing a similar problem, but only on two
similarly configured FreeBSD 4.0-Stable servers. Here
are the details...
We are running php-4.0.1p12, and it is built with
-imap=/usr/local specified in the log files.
In /var/log/messages, we have the following t
phanto Sun Feb 18 08:49:58 2001 EDT
Modified files:
/php4/ext/com conversion.c
Log:
added a few more variant types for zval <-> variant conversion
Index: php4/ext/com/conversion.c
diff -u php4/ext/com/conversion.c:1.6 php4/ext/com/conversion.c:1.7
--- ph
phanto Sun Feb 18 08:51:27 2001 EDT
Modified files:
/php4/ext/com typedef_VARIANT.c
Log:
export global constants for codepage and variant type
VT_* and CP_*
Index: php4/ext/com/typedef_VARIANT.c
diff -u php4/ext/com/typedef_VARIANT.c:1.6 php4/ext/com/t
uw Sun Feb 18 08:53:01 2001 EDT
Modified files:
/php4/pear/PHPDoc/xmlexporter PhpdocXMLClassExporter.php
PhpdocXMLDocumentExporter.php
PhpdocXMLExporter.php
Upgrade to the latest tarball from snaps.php.net
On Sun, 18 Feb 2001, Charles Peters wrote:
> Geetings and Salutations-
>
> I am experiencing a similar problem, but only on two
> similarly configured FreeBSD 4.0-Stable servers. Here
> are the details...
>
> We are running php-4.0.1p12, and it i
uw Sun Feb 18 08:56:18 2001 EDT
Modified files:
/php4/pear/PHPDoc/xmlreader PhpdocXMLReader.php
Log:
Sorry, whitespace only changes to follow the PEAR Coding conventions. Replaced tabs
with spaces.
Index: php4/pear/PHPDoc/xmlreader/PhpdocXMLReader.php
Thanks Rasmus,
I appreciate your quick response.
I would imagine that there was a know issue involving
this bug and the version of php that I was using?
Charles
--- Rasmus Lerdorf <[EMAIL PROTECTED]> wrote:
> Upgrade to the latest tarball from snaps.php.net
>
> On Sun, 18 Feb 2001, Charles P
Yes
On Sun, 18 Feb 2001, Charles Peters wrote:
> Thanks Rasmus,
>
> I appreciate your quick response.
>
> I would imagine that there was a know issue involving
> this bug and the version of php that I was using?
>
> Charles
>
>
> --- Rasmus Lerdorf <[EMAIL PROTECTED]> wrote:
> > Upgrade to the l
Greetings and Salutations Yall-
I am investigating the possible purchase of Code
Charge (info at http://www.php.org). Has anyone here
used the product, and do you have opinions about it.
Any comments would be appreciated.
Thanks,
Charles
__
Do
eschmid Sun Feb 18 08:59:19 2001 EDT
Modified files:
/php4/ext/mysql php_mysql.c
/php4/ext/interbase interbase.c
Log:
Typos in protos.
Index: php4/ext/mysql/php_mysql.c
diff -u php4/ext/mysql/php_mysql.c:1.69 php4/ext/mysql/php_mysql.c:1.70
--- php4/ex
You're welcome!
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Brian Drexler [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 19, 2001 1:57 AM
To: [EMAIL PROTECTED]; Php-Gene
uw Sun Feb 18 08:59:52 2001 EDT
Modified files:
/php4/pear/PHPDoc/xmlwriter PhpdocXMLWriter.php
Log:
Sorry, whitespace only changes to follow the PEAR Coding conventions. Replaced tabs
with spaces.
Index: php4/pear/PHPDoc/xmlwriter/PhpdocXMLWriter.php
You could use frames, then you wouldn't have to refresh ALL of the page
- Original Message -
From: Siim Einfeldt aka Itpunk <[EMAIL PROTECTED]>
To: Brian V Bonini <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTE
Just use \n. Both OS's understand this to be a linefeed and will behave
accordingly.
With the exception of a class that performs POP3 queries, I've never had
to use \r\n in my code.
Regards,
Toby Butzon
Todd Cary wrote:
>
> When I write to a file with PHP, I get double line spacing when read
Hi
I guess I was sleeping when this had happened but I still have to ask :
1. When were all of the php functions that hade a "_" in them renamed to
have a "-" instead?
For example "aspell-suggest" instead of "aspell_suggest".
2. When were these functions removed :
ada-commit,ada-c
Or maybe this is just the file name on the php.net site that
got me confused?
The listing is for _ but the file name is with an -
-Original Message-
From: Boaz Yahav [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 18, 2001 7:31 PM
To: PHP General (E-mail)
Subject: [PHP] PHP functions
Boaz Yahav wrote:
>
> Or maybe this is just the file name on the php.net site that
> got me confused?
The reason is, that the filenames are derived from refentry id's and
ther an underscore isn't allowed.
> The listing is for _ but the file name is with an -
Correct.
-Egon
> -Original
jon Sun Feb 18 09:47:44 2001 EDT
Modified files:
/php4/pear CODING_STANDARDS
Log:
Go back to listing the copyright years explicitly (instead of using a
range).
Index: php4/pear/CODING_STANDARDS
diff -u php4/pear/CODING_STANDARDS:1.4 php4/pear/CODING_S
thies Sun Feb 18 10:15:02 2001 EDT
Modified files:
/php4/ext/imap php_imap.c
Log:
fixed a possible double-free
Index: php4/ext/imap/php_imap.c
diff -u php4/ext/imap/php_imap.c:1.55 php4/ext/imap/php_imap.c:1.56
--- php4/ext/imap/php_imap.c:1.55
I've been using a PHP upload script to upload files to our server, but my
problem is this. I can't upload anything but JPG, GIF, and HTML files.
Anyone have any idea why? This is probably something simple that I'm just
overlooking, but please help.
Brian Drexler
--
PHP General Mailing List (
Some questions about how to get a whole bunch of fields in a form as
input to another page, i.e. *.cgi, or*.phpx:
1/ All fields, buttons, etc have to have different names?
2/ Using 'selected' on pulldowns automatically returns that
value
unless selected?
3/
Mike Yuen wrote:
> I'm got another person working for me on a site. He's a Mac user and for
> some reason, he can't seem to register as a new person. I know this
> problem isn't due to the large amount of traffic b/c it's a new site with
> 3 users max at any time.
>
> I haven't found any sim
sas Sun Feb 18 10:23:04 2001 EDT
Modified files:
/php4/ext/ircg config.m4
Log:
ircg creates a convenient script now. of course, this is incompatible
to older ircg versions. if someone else would have created ircg, I
probably would hate him.
In
The script you are using is probably checking the MIME type of the file
uploaded and rejecting any of the ones that are not one of the types you
listed. Look at or post some of the code you are using to find out if
this is the case.
Michael
Brian Drexler wrote:
> I've been using a PHP uplo
Hi Christian,
>$html_code = eregi_replace (..., $html_code);
arghhh ... I'm so stupid !! Yes, u're right ...
really, many thanks
max
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
thies Sun Feb 18 10:31:34 2001 EDT
Modified files:
/php4/ext/standard string.c
Log:
fixed buffer-overwrite
Index: php4/ext/standard/string.c
diff -u php4/ext/standard/string.c:1.188 php4/ext/standard/string.c:1.189
--- php4/ext/standard/string.c:1.188
davidg Sun Feb 18 10:45:25 2001 EDT
Modified files:
/php4/ext/midgard midgard.c
Log:
allow execution of 'normal' php scripts
Index: php4/ext/midgard/midgard.c
diff -u php4/ext/midgard/midgard.c:1.4 php4/ext/midgard/midgard.c:1.5
--- php4/ext/midgard/midga
thies Sun Feb 18 10:54:41 2001 EDT
Modified files:
/php4/ext/standard fsock.c
Log:
[p]fsockopen: fixed possible leak
Index: php4/ext/standard/fsock.c
diff -u php4/ext/standard/fsock.c:1.61 php4/ext/standard/fsock.c:1.62
--- php4/ext/standard/fsock.c:1.61
sas Sun Feb 18 11:03:36 2001 EDT
Modified files:
/php4/sapi/thttpd thttpd.c
Log:
Save 50% of the syscalls when writing the HTTP header.
Index: php4/sapi/thttpd/thttpd.c
diff -u php4/sapi/thttpd/thttpd.c:1.33 php4/sapi/thttpd/thttpd.c:1.34
--- php4/sapi
Ok this used to work but now I've done something to break it.
My info.php says that I have PHP support:
pdf
PDF Support enabled
PDFLib Version 3.03
CJK Font Support yes
In-memory PDF Creation Support yes
BUT when I try and run the clock test code, I get:
Fatal error: Call to undefined function
okay, i swear, this *must* be a FAQ. :-) I looked on php.net's FAQ and
php.faqts.com, but couldn't find it.
How do I use slashes to delimit query string (url) paramters?
i.e., I want
http://foo.com/name/paul
instead of
http://foo.com/?name=paul
Manuel Lemos does this on his php classes
Hi, I've compiled PHP as CGI in /usr/local/php/ . Does anyone know what I can write in
httpd.conf file?
Tanks
> "a" == andrew <[EMAIL PROTECTED]> writes:
> Hi, is there a quick way to create an array of integers, randomized
> and without repeats?
> e.g. if my set is 1 - 10, create an array whoese key values are 1
> through 10, with corresponding key values as a random set of the
> same 1 thro
Another thing to look for is JavaScript. There have been several sites I
have visited (I am also a big Mac user), that use a lot of JavaScript that
will break on IE 5 for the Mac.
--
Jesse Swensen
[EMAIL PROTECTED]
> From: Michael Stearne <[EMAIL PROTECTED]>
> Date: Sun, 18 Feb 2001 13:45:21 -0
- Original Message -
From: Michael Stearne <[EMAIL PROTECTED]>
To: Brian Drexler <[EMAIL PROTECTED]>
Cc: Php-General <[EMAIL PROTECTED]>
Sent: Sunday, February 18, 2001 1:55 PM
Subject: Re: [PHP] Uploading Files via PHP
> The script you are using is probably checking the MIME type of t
I got this from a book but given the fact that it would only search for
one type of information I modified it and it works great, but I wanted
to know what you think about it if anything. Could an array be maid to
trim it down?
if ($search_in == "1"){
$query1 = "SELECT * FROM FISH where ID L
As I mentioned in an earlier email. Mac users can't register for the
test site i'm building and I have no idea why this is. Here's some
information that may help diagnose this problem:
- The site is running on Apache1.3.14 on a Windows O/S.
- I'm not checking for browser type
- All authenticatio
I am looking for code that explains how to sum a value in a database based
on a current field retrieved from the database.
Example:
query = "select course_name, course_build, milestone, testcase, time_tested,
issue_status, comment,
bug_number, tested_by, date_tested from testissues where tes
hi,
how can i store an array in mysql ?
what i do now ( works fine )
a) transform the array to a § delimeted string
// $tempItem is a § dlimited stringexample: 4321§117§A123§42WQ§1243
b) $tempItem = serialize($tempItem);
c) store it in mysql-table
and i ge
Jeff Oien wrote:
> Just a curiosity. I installed and tested Manuel Lemos's
> PHP E-mail validation class. When I entered an address
> at the @wi.rr.com domain, no matter what I put before
> the domain, it would come back as valid. (That's the
> Wisconsin domain for Road Runner cable service.) Bu
1 - 100 of 158 matches
Mail list logo