On Sat, 28 Apr 2001, Adrian D'Costa wrote:
> hi,
>
> I have listed the code below. I have the below table:
> | id | int(11) | | PRI | | auto_increment |
> | operator | varchar(30) | | | ||
> | email| varchar(35) | YES | |
On Saturday 28 April 2001 01:23, you wrote:
> It's /usr/local/lib/php.ini
NEW: Unix install paths changed
Please note that the PHP 4.0.5 release will have a new set of installation
paths for any Unix-like operating systems.
The default php.in path is now "/usr/local/etc" (previously "/usr/loca
Hi!
does anybody of you know like effect a connection to a db access, without use the
ODBC?
Thank you
Hi,
I would like to know how to run du command under PHP.
is this correct ??
exec ("du -ks /home/apache",$test[]);
echo $test[0]; --> I would like to print out the result in web browser
Thank you
Mark
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [E
On Saturday 28 April 2001 04:56, you wrote:
> Hi,
>
> I would like to know how to run du command under PHP.
>
> is this correct ??
>
> exec ("du -ks /home/apache",$test[]);
> echo $test[0]; --> I would like to print out the result in web browser
>
> Thank you
>
> Mark
u can use backtick, exe
can some one debug this script for me... it say's "Warning: Undefined
variable: total in PHP_poll.php on line 63"
thanxz alot!!!
http://www.ftls.org/php/ *
***/
// Necessary Variables:
$RESULT_FILE_NAME = "poll_dat
btw, i found that the configure option:
--with-config-file-path=PATH
is slightly misleading, as "PATH" to usually refers to a file
location. moreoever, php does not report if it fails to read
a php.ini. perhaps the text should be rewritten as:
--with-config-file-path=DIR
Steve
At 4/28/20
Dear folks,
I am composing a coding standards for our team. Bottom line, we are
using PEAR, object-oriented programming, extreme programming, and
PHPDoc. Below is the draft so far. I'd greatly appreciate it if
anybody care to give inputs on the document. Nevertheless, I hope
this could be useful
On Saturday 28 April 2001 00:36, [EMAIL PROTECTED] wrote:
> > > > IO 340 pages function references (copied from the manual) [2]
> > >
> > > That is wrong. Leon havent copied 340 pages from the manual. I
> > > should know this myself because I have finished the translation
> > > into German.
> >
>
i think the easiest way to see php setting is by running info.php script.
if it's not on your webserver, just create one php file with content like
this :
;
-toto-
idban secandri writes:
> On Saturday 28 April 2001 01:23, you wrote:
> > It's /usr/local/lib/php.ini
>
>
> NEW: Unix install p
Hi,
How do you add text vars together e.g.
$varone = "hello";
$vartwo = "world";
$varthree = ($varone, $vartwo);
Obviously the above example doesn't work so can someone tell me how to do this?
Thanks
Jamie Saunders
Mail: [EMAIL PROTECTED]
Web: http://jamie-s.co.uk
--
PHP General Mailing
Jamie Saunders wrote:
> How do you add text vars together e.g.
>
> $varone = "hello";
> $vartwo = "world";
>
> $varthree = ($varone, $vartwo);
$varthree = $varone . $vartwo;
although
$varthree = $varone . ' ' . $vartwo;
might be more appropriate.
regards
Wagner
--
"In place of infinity we usua
Hi all,
I've been trying for many hours to find information on this, but not having
much luck. What i want to do is have an index.php page, and then each link
on that page has a URL like index.php?linkidie. index.php?links etc
Can anyone point me in the right direction?
--
PHP Genera
php-general Digest 28 Apr 2001 10:54:53 - Issue 654
Topics (messages 50704 through 50746):
Re: online site builder
50704 by: Godd
Strange Question - Please Read This
50705 by: Chris Anderson
50709 by: Zak Greant
Why is this?
50706 by: Manesh
Re: line break
you might want to consider add the html PRE tag, to preserve the output
format.
Something like,
> exec ("du -ks /home/apache",$test[]);
echo " $test[0] ";
This will display the result in the browser, just as it does in the Unix
shell.
__John Monfort_
_+
On Sat, Apr 28, 2001 at 10:05:45AM +, yanto wrote:
>
> i think the easiest way to see php setting is by running info.php script.
> if it's not on your webserver, just create one php file with content like
> this :
> ;
-Egon
--
LinuxTag, Stuttgart, Germany: July 5-8 2001: http://www.linu
Hi all
I use sessions the authenticate users, but I seem to have a problem.
This is what happens:
1) A user logs in on PC one with his username and password. (So far so good)
2) Another user logs in with his details on the same computer --> He is
logged in with his details but the page displayed
How about something like.
'start_page.php'
Some HTML...
display screen 1
display screen 2
More HTML...
'index.php'
-Original Message-
From: Ben Quinn [mailto:[EMAIL PROTECTED]]
Sent: 28 April 2001 11:57
To: [EMAIL PROTECTED]
Subject: [PHP] Links
Hi all,
I've been trying for many
Hi!
I'm writting a PHP script which has to print the IP address of a
visitor, I'm using the variable $REMOTE_ADDR. I've seen it working on
other servers, but for me it doesn't work, if I visit the script I
allways get ip 127.0.0.1 and localhost as a name. The script is on a
webserver, not on m
Hi!
I wanted to get a txt files in a dircetory, I wrote the script using
opendir and readdir functions. But now I would like to sort the files
while I read them in. how could I solve this problem?
Greetings,
Johannes Rumpf
--
PHP General Mailing List (http://www.php.net/
Read them into an array then sort the array.
while more files
{
get file name
$arrFilenames[] = $filename;
$arrFilenames = array_sort($arrFilenames);
}
The above sorts the array each time a file is read as you requested,
however its more efficient to read them all in then sort
while mor
Do u have to resart ur comp after you change ur PHP.INI
--
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]
Not with Linux, in my experience at least.
- Kath
- Original Message -
From: "Manesh" <[EMAIL PROTECTED]>
To: "Taylor, Stewart" <[EMAIL PROTECTED]>; "'Johannes
Rumpf'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Saturday, April 28, 2001 8:56 AM
Subject: [PHP] PHP.INI
> Do u have to
Computer?
wow!
no, just restart your apache (whatever system you use)
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Manesh [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April
can someone gimme step by step direction on setting up a STMP server? i have
IIS5
--
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]
Can anyone tell me if this example would be considered a secure method for
authentication using sessions. The login page is a form to validate the user
and begin the session. The second bit of code is at the top of every page to
authenticate the user. I can't figure out if this is the best way.
Th
I suggest reading this:
http://www.newbienetwork.net/sections.php?op=viewarticle&artid=10
Jason Lotito
www.NewbieNetwork.net
> -Original Message-
> From: Manesh [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 27, 2001 8:24 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Database
>
>
>
Hello:
I'm relatively new to php and I want to use Interbase instead of MySQL.
I have found a problem loading the module php_interbase.dll , because it
always shows me an error
Unable to load dynamic library 'c:/php/extensions/php_interbase.dll'
I have modified the extension_dir in the php.i
I have install my apache_1.3.17 with php-4.0.4 as the following the steps
but I can not make the php active.
First I have download apache_1.3.17.tar.gz and php-4.0.4.tar.gz to the same directory.
1 gunzip apache_1.3.17.tar.gz
2 tar xvf apache_1.3.17.tar
3 gunzip php-4.0.4.tar.gz
4 tar
Hi,
How do you grab variables from a query string in a URL?
I've used this with ASP and it would be done as follows:
firstName = request.querystring("fName")
I've tried different variations of this in my PHP pages but I can't seem to
get it to work. I've looked in the PHP manual but can't fin
I get this kind of error when trying to connect to mysql -
http://myhost/~myname/baas.php
What migth be the problem? The error exists on all accounts.
PS: Drop a line to my private email as well
Hey,
completely OT i know...
In a few months when I put together for college, I'm considering doing a
dual-boot type system, with some windows OS, and also a unix OS. However, I
don't know that much about any free unix OS' that are out there. The two I
can think of to use would be Solaris and Li
try:
echo $fName;
they are loaded in the page automatically.
or..
loop HTTP_GET_VAR
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Jamie Saunders [mailto:[EMAIL PROTECTED
if register_globals setting is on (in php.ini) then $foo will be
available, otherwise use the predefined variable HTTP_GET_VARS :
index.php?foo=blah
print $foo;
print $HTTP_GET_VARS['foo'];
http://www.php.net/manual/en/language.variables.predefined.php
http://www.php.net/manual/en
Hi,
I have a form on one page with a text box called 'emailtext'. This gets
passed to a php script that gets info from a database (such as $name,
$email, etc) and mails selected email addresses; my problem is this:
Say, the form passes $emailtext as "Hello $name, how're you?", and this is
passe
Can you create an SSL connection directly through PHP? I'm trying to
integrate a form with a payment processing center, Authorize.net and I'm
running into a problem.
The documentation for what they call ADC Direct Response requires a secure
socket which I wrongfully assumed to mean posting from a
Hello all,
I am attempting to write a script which will compress a group of files on my server
into a zip file, and then set a password on the zip file. The code below is what I
have come up with:
Now, the problem is... the script finishes fine, and I get the "Zip file creation
complete" m
Hi, I wonder if there's a way to get the same result as with
call_user_func_array()on 4.0.1pl2 .
I need to do the following :
foreach($formArray as
$arrays){
foreach($arrays as $key =>
$value){
call_user_func_array
Hi, I wonder if there's a way to get the same result as with
call_user_func_array()
on 4.0.1pl2 .
I need to do the following :
foreach($formArray as $arrays){
foreach($arrays as $key => $value){
call_user_func_array($key, explode (",", $value)");
//Not working since I
Hi,
I'm submitting a phone number from an HTML form to a PHP page that examines
it to see if it's an integer:
form.html:
validate.php:
However, for some reason the script doesn't recognize the number as an
Integer - why is this and how can I remedy it?
Jamie Saunders
Mail: [EM
It's a string, not an integer. Try using is_numeric() instead. To see
what type it is, do this :
echo gettype($phonenumber); // prints string
You may want to strip all non-numbers first, just in case they enter :
333-333-
Something like :
$phonenumber = preg_replace('/[^0-9]/','
Hey there!
This is my absolutely first time posting in a newsgroup, so be nice please
; )
I've written a guestbook, and in an attempt to get the newest entries first
I reversed the guestbook-txt-file. Like so:
$tabell = file( "gjestebok.txt" );
$revtab = array_reverse( $tabell );
$antall = count
php-general Digest 28 Apr 2001 23:01:02 - Issue 655
Topics (messages 50747 through 50774):
Re: run du command uder php
50747 by: John Monfort
Re: Where is php.ini located by default?
50748 by: eschmid+sic.s.netic.de
Caching & Authentification
50749 by: Steve Haemel
Hello,
When I upload a file with php 4 and apache using the
call move_upload_file(-,-);
the file gets uploaded, but the file ( which is just a text file ) at
the server side contains
some extra lines at the top :
Content-Type: text/plain
i found this when surfing this morning
http://www.phpsucks.net/
--
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]
someone has way too much time on their hands...
what a dick.
> -Original Message-
> From: idban secandri [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, April 29, 2001 3:54 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] php suck
>
>
> i found this when surfing this morning
> http://www.phpsuck
> > i found this when surfing this morning
> > http://www.phpsucks.net/
> -Original Message-
> From: Daevid Vincent [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, April 28, 2001 5:53 PM
>
> someone has way too much time on their hands...
>
> what a dick.
>
Mockery is the biggest form of fla
After 25 years in the advertising business, I'd say the PHP Group has
a hell of a good copyright infringement and defamation case here.
The bums are in Manchester, England...
Jack
idban secandri wrote:
>
> i found this when surfing this morning
> http://www.phpsucks.net/
>
> --
> PHP General
I would doubt it if they are in America. But they are in England so it is
questionable. If they were in America, they are protected by parody laws.
AOL tried to shutdown www.aolsucks.com and lost. I think the only thing
they were able to do is to stop them from using directly taken AOL
copyrig
I guess the PHP Group has plenty of witnesses to support their case!
Chris
Jack Lauman wrote:
> After 25 years in the advertising business, I'd say the PHP Group has
> a hell of a good copyright infringement and defamation case here.
>
> The bums are in Manchester, England...
>
> Jack
>
> idban
hi, this one is stumping me!
assuming I return a mysql result set from an SQL query, with multiple
rows of:
field1, field2, field3
is it possible to use something like mysql_data_seek, but set the
pointer based on a specific text value of a field,
as opposed to specifying a row number?
chee
Can someone host my STMP server, or can i get a place to get one for free!
--
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]
Has anyone read this new book yet?
PHP and MySQL Web Development
by Luke Welling, Laura Thomson
http://www.amazon.com/exec/obidos/ASIN/0672317842/ref=ase_hotscrcomyourgui/1
07-0943347-2161363
Would be interested in hearing opinions.
Jeff Oien
--
PHP General Mailing List (http://www.php.net/)
Hi,
i want to make navigation links like the one given below
Top->Category1->SubCategory1->SubCategory1
-
This lies at the top of every page and indicates which category or subcategory the
user is in.
These are links. One way of doing it is to drill down
54 matches
Mail list logo