On Thu, 1 Nov 2001, Jason Murray wrote:
You'll also need to compile php as a standalone, and put as
the first line of your php script
#!/path/to/php -q
What if we need both version??
There's nothing stopping you running both.
How do you compile it for both?
Adrian
On Fri, 2 Nov 2001, David Robley wrote:
What if we need both version??
There's nothing stopping you running both.
How do you compile it for both?
Adrian
To do the cgi compile, use all the configure values you need EXCEPT
anything apache related. The compile will produce
Hi,
Is there somewhere on the PHP site that give a list of advantages, speed,
etc in comparsion with other similar programs. I have a client that is in
ASP and would like to move to PHP and need this info.
Thanks
Adrian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e
On Sat, 17 Nov 2001, Jason G. wrote:
You could check the list archives... This question flys by every week or
two...
Thanks, but browsing is one thing I am still to get used to :) I like
things in my mail box.
Adrian
-Jason Garber
IonZoft.com
At 01:41 PM 11/17/2001 +0530, Adrian
Erica
Can I suggest that you use PGP to send the information encrypted. There is
a wonderful script which can be found here:
http://www.phpuk.org/code.php
We use this on various sites to encrypt sensitive information
In terms of a server certificate, you will need this to protect the client
Johan
Here are a couple of links that should get you started:
http://www.zend.com/zend/spotlight/creatingpdfmay1.php
http://phpbuilder.com/columns/perugini20001026.php3
These should keep you busy for a while!
Ade
--- i n o v i c a h o s t i n g . c o m --
Powerful hosting from
I'd kind of ignored this whole thread thinking it was going on and on, but
in the end I have to say something :)
None of the other animals really captured my attention, but having an Ant
would be quite cool. Not because of the ant on its own, but it's usually a
whole bunch of ants that really
printing the html table. Can someone tell me what next I have to do
or some sample where I can study?
TIA
Adrian
| some image not needed
On Tue, 7 Aug 2001, Renze Munnik wrote:
On Tue, Aug 07, 2001 at 03:55:25PM +0530, Adrian D'Costa wrote:
Hi,
I am trying to get the ip address of any user browsing a particular page.
I tried $REMOTE_ADDR but that give me only the remote address. What would
be the best way
Is there any way to tell ImagePNG() to create PNG24 images instead of PNG8
images? Seems that ImageCreateFromPNG() can read PNG24, but ImagePNG()
writes only PNG8.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
you have GD 2.0.1 and PHP 4.0.6 or later for creating true-color
PNGs, per the manual:
http://php.net/manual/en/function.imagecreatetruecolor.php
-Andy
-Original Message-
From: Adrian Ciutureanu [mailto:[EMAIL PROTECTED]]
Is there any way to tell ImagePNG() to create PNG24
How do I get the text not to wrap and to preserve the formatting given by
the client.
Adrian
--
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
assume the use of the file upload name
'userfile', as used in the example above:
* $userfile - The temporary filename in which the uploaded file was
stored on the server machine.
* $userfile_name - The original name or path of the file on the
sender's system.
Adrian
Hi,
I got the answer from one earlier mail. I used nl2br(). It does just
what I want.
Adrian
On Fri, 24 Aug 2001, Adrian D'Costa wrote:
Hi,
I am creating a program for a newspaper to publish their article
online. There is a form what allows them to cut and past from their
editors
in netscape it is there with the
/br. I am sure I am doing something wrong, but where I don't know. Can
some one correct me?
TIA
Adrian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
. The script works fine if text in
the table is a single line. If it is multiply lines then it does not
display, but in the source code of the browser it is there, except /BR
flashing.
Adrian
Adrian D'Costa [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]
on what has been selected on the page (1-20,
21-40, etc) add that to the sql statement. My question is how?
Can someone guide me or give me some example.
TIA
Adrian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
on what has been selected on the page (1-20,
21-40, etc) add that to the sql statement. My question is how?
Can someone guide me or give me some example.
TIA
Adrian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
On Thu, 13 Sep 2001, Peter Houchin Sun Rentals STR Manager wrote:
php.ini mail related line:
sendmail_path = sendmail -t -i ;for unix only, may supply
arguments as well (default is 'sendmail -t -i')
I suggest you put the full path in the sendmai path.
Adrian
--
PHP
is that the ids will not be in squence.
Thanks
Adrian
--
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]
. Where did they go from there?
5. When did the leave the site?
Can some one tell me how to do it or if someone has done it the link. I
will not be using my system logs for this. It will be directly added from
the page they visit into a mysql table.
TIA
Adrian
--
PHP General Mailing
/table/center);
}
Adrian
On Thu, 13 Sep 2001 [EMAIL PROTECTED] wrote:
2 queries is ok imho, but let the database do all the work ;)
The first query should be a select count (*) QUERY for a count.
The second query should be the actual QUERY.
Eg
On Fri, 14 Sep 2001, GATop wrote:
Is there more like that?
Like what :)
Adrian
--
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]
table but
only put a hyperlink for the ones that have records in the topics table.
Any clues.
Adrian
--
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
wrong?
Adrian
=cscroll.php ===
?
define(CS_FORM, 0);
define(A-city, 0);
define(A-curr1, 1);
define(A-catalogo, 2);
define(A-hf, 3);
define(A-curr2, 4);
define(A-vitofferta, 5);
define(A-fh, 6);
class cscroll
{
var $data;
var $tcity;
var $tcurr1;
var $tcatalogo;
var
mentioned would give an idea. Each table has a
countryid (contid) and cityid (cityid). Here is the code, a pls do give
me a clue:)
TIA
Adrian
$tdate = date(Y . - . m . - . d);
// build search query
if ($vsearch == c || $vsearch == v || $vsearch == l) {
$searchStmt = select ;
}
// get
the and at the end of the statement.
It works for me.
Adrian
On Sun, 13 May 2001, midget2000x wrote:
I am writing a PHP application that will operate on a MySQL database. There
will be 4 types of forms (like catalog request, info request, etc.) calling
the code which writes the data
On 22 May 2001, Chris Searle wrote:
Adrian == Adrian D'Costa [EMAIL PROTECTED] writes:
Adrian // sql statement $searchStmt = select special.contid,
Adrian special.cityid, special.curr1, special.catalogo,
Adrian special.hf, special.curr2, special.vitofferta, special.fh
Hi Rasmus,
I was home sick with out this mailing list ;-) I found that this is the
only list that can get quick responses (most of the times).
I am glad it is up
Adrian
On Mon, 18 Jun 2001, Rasmus Lerdorf wrote:
We have re-enabled the PHP mailing lists. They are now running from
2 hotels.
What would be the best solution?
TIA
Adrian
--
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]
On Thu, 28 Jun 2001, CC Zona wrote:
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Adrian D'Costa) wrote:
1. Open the html file in read only mode
2. Start reading the html file till I encounter a td tag (I don't know
how to do this)
3. Grab that data after the td tag
anyone got a simple threaded message board where the poster doesn't have to
login but can leave there name. OR anyone modified the nuke forum so
anonymous users can leave their name?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hi,
I have a problem: if I use session_start(), the page will not cache. Is
that normal?
Adrian CIUTUREANU
Software Developer
--
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
Thanks a lot! It works.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 2 iulie 2001 16:43
To: [EMAIL PROTECTED]
Subject: Re: [PHP] sessions and cache
Hi Adrian!
On Mon, 02 Jul 2001, Adrian Ciutureanu wrote:
Hi,
I have a problem: if I use
Try this:
--upload.php--
?php
if (is_uploaded_file($userfile)) {
move_uploaded_file($userfile, $new_location/$userfile_name);
} else {
echo Possible file upload attack: filename '$userfile'.;
}
?
-Original Message-
From: Wilbert Enserink [mailto:[EMAIL
?
$textFileName = 'filename.txt';
$strToDel = the_string;
$s = implode('', file($textFileName));
$p = strpos($s, $strToDel);
$len = strlen($strToDel);
if($p) {
$s = substr($s, 0, $p) . substr($s, $p+$len);
Variables that are not checked are not send by default.
Try the code below and see what variables are posted.
form method=get action=chkbox.html
?for($i = 0; $i 10; $i++):?
input type=checkbox name=p?=$i? value=1p?=$i?br
?endfor?
input type=submit
/form
To process variables you may use
Hi all,
This is only a test. Sorry for any inconvenience.
adu
--
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]
http://php.net/manual/en/function.ucwords.php
-Original Message-
From: Jamie Saunders [mailto:[EMAIL PROTECTED]]
Sent: 4 iulie 2001 14:57
To: [EMAIL PROTECTED]
Subject: [PHP] capatalising letters
Hi,
I've got a list of strings in the following format:
item one
item two
try
ereg('^([a-z,A-Z,0-9]|_|-|\.)+@([a-z,A-Z,0-9]|_|-|\.)+\.([a-z,A-Z,0-9]|_
|-|\.){2,3}$', $email)
-Original Message-
From: Daniel Reichenbach [mailto:[EMAIL PROTECTED]]
Sent: 4 iulie 2001 15:05
To: Php-General
Subject: [PHP] preg_match
Hy,
i've got a string which looks
Here is something that happend to me: I forgot to tell Apache that .inc
files must be parsed by PHP. All works fine if you include a .inc file,
but if somebody guess .inc file name, he can see the content of that
file!
-Original Message-
From: David A Dickson [mailto:[EMAIL PROTECTED]]
window.location = 'http://url?yourVar=' + yourVar;
-Original Message-
From: Romeo Manzur [mailto:[EMAIL PROTECTED]]
Sent: 5 iulie 2001 07:56
To: [EMAIL PROTECTED]
Subject: [PHP] javascript var on a php var...
hi, I want to know how could I save a javascript variable on a php
$allowed_path = '/www/sites/mysite/teaching';
$file = realpath($file);
if(ereg(^$allowed_path, $file)) {
// it's OK
} else {
// possible attack!
}
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 4 iulie 2001 15:29
To: [EMAIL PROTECTED]
?=a1 = '$a1'bra2 = '$a2'?
:)
-Original Message-
From: Andy [mailto:[EMAIL PROTECTED]]
Sent: 5 iulie 2001 10:20
To: [EMAIL PROTECTED]
Subject: [PHP] Parse URL parameters
How can I parse parameters sent with the URL of an pgp site?
Example: I call the site with
http://php.net/realpath
$allowed_path = '/www/sites/mysite/teaching';
$file = realpath($file);
if(ereg(^$allowed_path, $file)) {
// it's OK
} else {
// possible attack!
}
-Original Message-
From: Steve Werby [mailto:[EMAIL PROTECTED]]
Sent: 5 iulie 2001 02:22
To:
select size=1 name=month
option value=0 selectedSelect month
option value=1January
. . .
/select
. . .
if(!$month) {
// please select month
} else {
// month selected
}
-Original Message-
From: Richard Kurth [mailto:[EMAIL PROTECTED]]
Sent: 5
Is any of the versions below more effective?
/** Version 1 **/
?
if($condition) {
// some big code
} else {
// other big code
}
?
/** Version 2 **/
?
if($condition) {
include 'file_with_some _big_code.php';
} else {
include
This is a good code. Read http://php.net/realpath
-Original Message-
From: Christopher Ostmo [mailto:[EMAIL PROTECTED]]
Sent: 5 iulie 2001 19:57
To: Adrian Ciutureanu
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Security of PHP code
Adrian Ciutureanu pressed the little lettered
An observation: I presume (in my code) that $allowed_path is a root of
an allowed path. So, files in subfolders of allowed_path are also
allowed.
-Original Message-
From: Christopher Ostmo [mailto:[EMAIL PROTECTED]]
Sent: 5 iulie 2001 19:57
To: Adrian Ciutureanu
Cc: [EMAIL PROTECTED
You probably want to make statistics for web pages. The most common way
to do that is to use a PHP script that outputs an image and writes to a
database some data. The code may look like this:
/** stat.php /
?
$query = INSERT INTO stats
(id,
maybe i don't undestand correctly but try:
$string = str_replace(br,\\n,$string);
i.e escape the escape character \\n
- Original Message -
From: Chad Day [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 06, 2001 4:38 PM
Subject: [PHP] addslashes problem ..
I have to use
http://php.net/array_unique
-Original Message-
From: Aaron Bennett [mailto:[EMAIL PROTECTED]]
Sent: 8 iulie 2001 08:52
To: [EMAIL PROTECTED]
Subject: [PHP] Getting any possible value inside an array
Hi everyone...
Does someone have a quick and dirty way of returning _any_
.
TIA
Adrian
--
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]
http://php.net/isset
-Original Message-
From: James Bartlett [mailto:[EMAIL PROTECTED]]
Sent: 9 iulie 2001 14:44
To: [EMAIL PROTECTED]
Subject: [PHP] Help with a variable
Hi,
Is there some way that I can check to see if a variable is present?
e.g.
if (variable is not
isset() function
- Original Message -
From: James Bartlett [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 09, 2001 12:43 PM
Subject: [PHP] Help with a variable
Hi,
Is there some way that I can check to see if a variable is present?
e.g.
if (variable is not present)
{
set
http://www.PostgreSQL.org
-Original Message-
From: kachaloo [mailto:[EMAIL PROTECTED]]
Sent: 9 iulie 2001 16:58
To: [EMAIL PROTECTED]
Subject: [PHP] mysql, interbase, etc
Hi,
Which db supports trigers and stored procedures and is
also free ? I
thought mysql supports
Hi,
On Mon, 9 Jul 2001 [EMAIL PROTECTED] wrote:
In addition, here's a POP3 class from the PHP Classes Repository...
Where :) I did not get anything.
Adrian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Hi,
Thanks. I found it and installed it. Maybe I need to hack around it to
add more functions such as address book and attachement like squirrelmail.
Adrian
On Mon, 9 Jul 2001, Bleue wrote:
There is a really good simple pop email client called rymo. Im not sure
where I found
On Mon, 9 Jul 2001, Max Pyziur wrote:
Thanks, but my specs are PHP4 and POP3
Adrian
The one which I use which matches your requirements (non-PHP, perl-module
driven) is NS WebMail, one which I use and gives basic webmail
capablities, though missing some desired functionality (sort on date
Use $HTTP_REFERER
http://php.net/manual/en/language.variables.predefined.php
-Original Message-
From: Jack [mailto:[EMAIL PROTECTED]]
Sent: 11 iulie 2001 01:23
To: [EMAIL PROTECTED]
Subject: [PHP] http header
Dear all folks,
I want to get the url of the previous page that my
That's IMPOSIBLE!
-Original Message-
From: James Bartlett [mailto:[EMAIL PROTECTED]]
Sent: 11 iulie 2001 05:27
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Variables
I have tried that also...it still does not want to work...
- Original Message -
From: Dallas K.
I'm afraid you'll have to run your upload script as a cgi.
try adding this to the top of your page:
#!/usr/bin/php
you'll probably have to change the file extention to .cgi and put the script
in your cgi-bin
(not sure about that).
you should change ISP ,unless it's a free one you're using.
?
$f = fopen($fileName, 'r');
$s = fread($f, 1024);
fclose($f);
$pageTitle = eregi_replace('.*title', '',
eregi_replace('/title.*', '', $s));
?
-Original Message-
From: Heiko Wilms [mailto:[EMAIL PROTECTED]]
Sent: 11 iulie 2001 13:32
To: [EMAIL
int setcookie (string name [, string value [, int expire [, string path
[, string domain [, int secure])
expire = time() + 3600*24*30;
Note that 'expire' is the client relative to GMT time. So, if the client
has the local time set to 01/01/1985, your cookie will be born dead ;)
you probably mean
$cookie_expire = time() + 86400 * 365;
-Original Message-
From: James Holloway [mailto:[EMAIL PROTECTED]]
Sent: 11 iulie 2001 16:02
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Cookie Expiry Dates?
Hi Jeff,
Yes, use time()
Example 86400 seconds in a
http://php.net/rename
-Original Message-
From: Randy Johnson [mailto:[EMAIL PROTECTED]]
Sent: 13 iulie 2001 20:53
To: Randy Johnson; Chris Lambert - WhiteCrown Networks;
[EMAIL PROTECTED]
Subject: [PHP] Rename a File?
How do I rename a file on Linux in PHP?
Thanks
Randy
http://www.w3.org/TR/WD-html40-970708/charset.html
-Original Message-
From: Mark Lo [mailto:[EMAIL PROTECTED]]
Sent: 12 iulie 2001 08:46
To: [EMAIL PROTECTED]
Subject: [PHP] charset
Hi,
What will the problem if i don't specific what charset to
use in the
metal tag. And
$result = mysql_db_query(database,select item1, item2 from table);
while ($row = mysql_fetch_array($result)) {
$myArray[$row['item1']] = $row['item2'];
}
-Original Message-
From: Martin Lucas [mailto:[EMAIL PROTECTED]]
Sent: 12 iulie 2001 16:25
To: '[EMAIL PROTECTED]'
foreach($oldArray as $a)) {
list($key, $value) = each($a);
$newArray[$key] = $value;
}
-Original Message-
From: Michael Champagne [mailto:[EMAIL PROTECTED]]
Sent: 12 iulie 2001 17:37
To: PHP General Mailing List
Subject: [PHP] Array problem in PHP. Please help.
squirrelmail). Any example
would be great
TIA
Adrian
--
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 all
Encryption is not something that I have had dealings in with PHP. I have a
potential client who wants to have customer account information (8000
records) stored on the internet (minus credit card information) and I was
wondering what options I have for encryption. My concern is that by
is to return the whole line split by the ;. I usually try
to avoid regexp (too lazy) but now I want to use it. The final result I
would need is: B42DA66C4EC07C9B572A58FC so that I can search
in the body of the message for the rest of the parts.
Any pointers would be helpful.
Adrian
Hi James,
I past that stage but stuck with messages that are MultiPart/Mixed. I
need to display the attachments and give the viewer to download or view if
possible.
Adrian
On Sun, 15 Jul 2001, James Tan wrote:
hi prachait saxena,
I'm trying to build the same too...
u can use
it is not reading the whole string. It seems to treat
the *boundary* part as another line. I read somewhere the perl
compatiable regexp can read a multiply line treating CRLF as part of the
line.
Any pointers
Adrian
On Sun, 15 Jul 2001, James Tan wrote:
hi,,
u could try using explode function
eg
Hi
I have some mailing list programming which we've used for quite some time.
However, one of my clients now has 660 people on the list and we are getting
a timeout error on the script and class.
I'm using the Mime type class from Manuel Lemos
I'd like to know how other people handle large
Richard
Thanks for this email. I have done that and used flush(); on the next page.
It does seem to be taking a long time and I was wondering if people use
other methods. For example, one of the scripts I have seen can use either
mail, sendmail, or smtp as options. I was wondering if going
$printerFriendlyContent = eregi_replace('img[^]*', '', $htmlContent);
You can also use
$printerFriendlyContent = eregi_replace('src=[^]*',
'src=images/spacer.gif', $htmlContent);
to preserve formatting (spacer.gif = 1x1 px transparent)
-Original Message-
From: [EMAIL PROTECTED]
OK Mark
Thanks for your reply. I'll have a look at this and see if I can use PHP
for managing the list of people, but use another app to send
Thanks again
ade
Honestly speaking, when mailing lists grow to (somewhere past trivial)
numbers that are large it's best to use software that is
How do you know it worked? :)
-Original Message-
From: Morten Winkler Jørgensen [mailto:[EMAIL PROTECTED]]
Sent: 17 iulie 2001 12:54
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Output (Urgent!)
How you want to get a value from client side to php on the
same page?
Well.
$MyArray['BUYVAL'] = 1.23;
-Original Message-
From: Sharat Hegde [mailto:[EMAIL PROTECTED]]
Sent: 17 iulie 2001 13:11
To: [EMAIL PROTECTED]
Subject: [PHP] Adding elements to an array
Hello,
I have a requirement to add elements to an associate array
dynamically based
on
This is wrong. It should be
Content-Type: multipart/mixed;
boundary=B42DA66C4EC07C9B572A58FC
I don't know why it is not reading the whole string. It seems to treat
the *boundary* part as another line.
It _is_ another line; it just happens to starts with
?
$s = 'somthing opentag1 .any content in between
.. closetag1 somthing else';
$opentag = 'opentag1';
$closetag = 'closetag1';
$other_content = 'the other content';
$content = ereg_replace(.*$opentag, '',
ereg_replace($closetag.*, '',
?
$c = 12.3456;
echo number_format($c, 2);
?
http://php.net/number_format
-Original Message-
From: Tim Olsen [mailto:[EMAIL PROTECTED]]
Sent: 18 iulie 2001 10:52
To: [EMAIL PROTECTED]
Subject: [PHP] formating numbers to two decimal points - money - best
ways
Hi,
I am trying to use the socket or readline functions but get a message:
call to undefined function readline(). Why? Is this not implemented in
4.0.6.
Adrian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
What would be the ideal setting to compile
Adrian
On Fri, 20 Jul 2001, E. Peter K. Chan wrote:
Seems the library hasn't been compiled into your installation or need to
change php.ini to point to the proper include folder. Try a search on
google.com for call to undefined function
--with-gd
--with-jpeg-dir=/usr --with-png --with-gdbm --enable-debugger
--enable-magic-quotes --enable-safe-mode --enable-track-vars --enable-ftp
--with-mysql --with-xml --enable-trans-sid --with-sockets
now adding --with-readline.
Is this ok?
Adrian
On Thu, 19 Jul 2001, Rasmus Lerdorf wrote
Hi,
I have now compiled php --with-readline and --with-sockets but I still get
the call to undefined function socket() what could be wrong.
Adrian
On Thu, 19 Jul 2001, Rasmus Lerdorf wrote:
Did you compile php using --with-readline ?
On Thu, 19 Jul 2001, Adrian D'Costa wrote:
Hi
Hi Peter,
I think the guru of php on the list can tell us what the problem is. I am
going to compile 4.0.4pl2 and see if I get that error. In fact I am
unable to access mysql now even though I have given --with-mysql.
Any clues
Adrian
On Fri, 20 Jul 2001, E. Peter K. Chan wrote:
Hi Adrian
Support disabled
Configuration File (php.ini) Path /etc
ZEND_DEBUG disabled
Thread Safety disabled
I did a make install and restarted my httpd. Lets forget the
readline() what about sockets? Why does that not work?
Adrian
Hi,
Thanks. I am more worried about the sockets. I installed it
--enable-sockets.
Adrian
On Sat, 21 Jul 2001, E. Peter K. Chan wrote:
Hi
Try going to the source directory ie where you unzipped the tarball for php.
May as well upgrade to php4.0.6 - that could save you some problems now
?
$recordsarray = file (../auto/records);
$remove = schopf.net ;
while(list($i, $line) = each($recordsarray)) {
if(ereg($remove, $line)) {
unset($recordsarray[$i]);
}
}
$newFileContent = implode('',
Hi,
It works now. I did a stupid mistake instead of putting --enable-sockets
I put --with-sockets g
Adrian
On Sat, 21 Jul 2001, E. Peter K. Chan wrote:
Hi
Try going to the source directory ie where you unzipped the tarball for php.
May as well upgrade to php4.0.6 - that could save you
Hi,
I know this subject had been discussed here before. Tried searching in
list.php.net, I get a message search not setup (or something).
I want to send html mails thru php using mail(). Could someone tell me
where I can study some scripts or tutorials.
TIA
Adrian
--
PHP General Mailing
into a table format
to look neater, below is a sample in text format. Any clues?
Destinazione Periodo Vitofferte
London 2001-07-31 Chf 385
Hammamet2001-07-28 Chf 999
Adrian
On Mon, 23 Jul 2001
http://php.net/require_once
-Original Message-
From: ROsen [mailto:[EMAIL PROTECTED]]
Sent: 23 iulie 2001 14:17
To: [EMAIL PROTECTED]
Subject: [PHP] Check for exist function
Hi,
How can I check, thath some function is declared and to do
not declare it
second time ( with
The question is how do I declare the html coding in the message part. Any
samples
Adrian
On Mon, 23 Jul 2001, Sandeep Hundal wrote:
well all you need to do is use part of the script i sent you.. and in the
header variable, uncomment the bit which says text/html and then you can
send html
--- example.php ---
?=$myText?
form method=post action=./example.php
input type=text name=myText value=?=$myText?br
input type=submit
/form
Denis Croombs [EMAIL PROTECTED] wrote in message
004701c11426$b94b7f10$[EMAIL
Hi,
How do I compile php to work as a stand alone. Right now it is working
thru the web but need to run it from a cron job.
TIA
Adrian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
EZEdit editor works 99% on client (JavaScript) and it works only in a IE5+
browser. You'll need ColdFusion only for remote file acces (commands like
insert picture).
Bob Clingan [EMAIL PROTECTED] wrote
Does anyone know of any WSIWYG editors that you can plug into a site using
PHP. I recently
Note that using strings without quotes generates a warning that is not
displayed in the default configuration of PHP. The message looks like
Warning: Use of undefined constant anyString - assumed 'anyString' in
test.php on line 3
(line 3: echo anyString;)
If you want to see these warnings, set
101 - 200 of 386 matches
Mail list logo