El jue, 20-02-2003 a las 18:51, Matt Vos escribió:
So forward the ports (80,443) to a box that u can run a webserver on, then
you can user SSL.
It's an stand-alone firewall product, it's a box to be placed on a
customer, it's not a custom solution, so I cannot relay on another
machine. I need it
dear all,
hi!
i have a php script filecheck2.php in which i have written the
following code.
$fp = fopen(sundar.html, w);
fwrite($fp, htmlheadtitlediksha/title/headbodyh1i
solved problem!);
//fwrite($fp,/h1your login name is : $login/h1);
fwrite($fp,pre);
fwrite($fp,input type=button name=valid
hi everybody,
why isn't anybody replying my last mail subject button not
opening
regards,
diksha.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi all,
i want to organize some php code making by someone else for being good
looking and being understandable . for this work is there a any program?
thanks
mashar
At 05:13 21.02.2003, Jason Sheets said:
[snip]
MAC addresses are used for on a LAN and not the Internet. Using a MAC
address might work for identification on a LAN BUT in most operating
systems you can easily change the effective MAC address on the card.
hi Daniel,
AFAIK there are not many people with a good working mcrypt dll, if any at
all. In the past there have been more people asking for this, but I can't
remember something came out of it. So if you have one please let the group
know, many will be very interested. If you want to you can
Diksha,
It's very late in phpland perhaps all the coders have gone out for coffee.
However, perhaps button isn't what you want, try radio, submit or
checkbox.
Also, do a google search on html and button to see what's out there.
Cheers,
Hugh
- Original Message -
From: DIKSHA NEEL [EMAIL
indeed. Your problem is an html problem because when i launch your script with
IE, the button is there but with Netscape not... Netscape is more 'strict'
than IE. When there is a single end of /head missing for example you don't
see what you were trying to output...
So I do agree with Hugh.
Sergio
On Friday 21 February 2003 16:05, DIKSHA NEEL wrote:
i have a php script filecheck2.php in which i have written the
following code.
$fp = fopen(sundar.html, w);
fwrite($fp, htmlheadtitlediksha/title/headbodyh1i
solved problem!);
//fwrite($fp,/h1your login name is : $login/h1);
At 06:28 21.02.2003, Chris Cook said:
[snip]
I have used MAC address authentication using the arp table and it worked for
what I used it for, but it does only work over the local network and
spoofing is an issue. Using a cookie in conjuction with a MAC
On Friday 21 February 2003 16:21, DIKSHA NEEL wrote:
why isn't anybody replying my last mail subject button not
opening
It's quite rude to be asking questions like this. People reply if and when
they want to. If you want prompt support you should probably be paying
someone.
--
Jason Wong -
Diksha,
A quick google search shows that buttons are likely a javascript thing,
not an html or php thing. Also, I agree with Jason Wong in that form
action= method= and /form tags should be in your script too.
- Original Message -
From: DIKSHA NEEL [EMAIL PROTECTED]
To: [EMAIL
To avoid user error (remember, 90% of internet users are stupid and
illogical and don't know anything), just have drop down menus for the dates
and months and allow the user to enter in the year
then just do:
$mysqldate = $_POST[month].-.$_POST[date].-.$_POST[year];
-Original Message-
I apologize
the correct order is -MM-DD so you would do:
$mysqldate = $_POST[year].-.$_POST[month].-.$_POST[date];
-Original Message-
From: v0idnull [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 21, 2003 4:37 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Forms and MySql date
Hi there,
I was wondering if anyone could tell me what the difference is between PHP
4.2.1 and 4.2.3?? I am already aware of the POST exploit
(http://online.securityfocus.com/archive/1/283533/2002-07-19/2002-07-25/0)
in 4.2.1. How easy is it to actually expoloit this bug?
Are there any other
i have quite an easy question:
is there a way in PHP to trace the selection in a certain form-field?
i need this for building a simple html-edit application,
which allows a user to select his/her text within a field, and then click
'bold' for instance..the PHP should insert b before the
PHP is a server side language, you need a DHTML web based editor..
try this exellent FREE editor
http://www.interactivetools.com/products/htmlarea/
- Original Message -
From: Michiel van Heusden [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 21, 2003 9:46 AM
Subject:
In the ZIP extension, is plan to add a kind of zip_entry_crc32() whitch
return the crc32's entry?
Paolo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Now let's see your sundar.html would look like this after your
script and a little indenting
html
head
title
diksha
/title
/head
body
h1 i solved problem /h1
pre
Respected Mr. Jason Wong,
I am sorry you felt bad, but please let me add that
I had no intentions of being rude of anybody.
It just happened that today I did not find anybody on
the mailing list and asked the question casually out of
curiosity.And in reply wanted to know what are the normal
test
Hello,
I 've a problem with the LDAP charset, the special chars of an LDAP entry
aren't displayed right. I tried to convert it with the function
string ldap_t61_to_8859 ( string value)
but this function istn't avaliable. I have PHP 4.2.2 installed, and it
should be avaliable since 4.0.2.
Of
php-general Digest 21 Feb 2003 12:26:50 - Issue 1896
Topics (messages 136431 through 136482):
Re: string manipulation
136431 by: Leif K-Brooks
136432 by: Kelly Protsko
136433 by: Joachim Krebs
LDAP next prev howto
136434 by: Roger Thomas
Re: Class VS
I have never used patTemplate but from my experience Smarty is both fast and
robust (I now would not consider building a site without it)
Even given your scenario I would recommend that you at least consider using
a templating engine. Smarty is very quick and easy to set up so just have a
play!
So how are most people handling the situation you mentioned below? After
getting verfified in a https, how is the session information being passed
back to the http?
Jeff
- Original Message -
From: Ernest E Vogelsinger [EMAIL PROTECTED]
To: Jason Sheets [EMAIL PROTECTED]
Cc: Leo Spalteholz
David,
Is there any point using smarty on s small site? eg: website consists of 6/8
pages?
does it matter on the size of the site?
-awlad
- Original Message -
From: David Eisenhart [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 21, 2003 11:31 AM
Subject: [PHP] Re: smarty
respected mr.jason wong,
i hope you are no more annoyed with me!
looking forward to hearing from you.
regards,
diksha neel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Guram --
...and then Guram Mosashvili said...
%
% test
Do I have to? I do not support the idea of testing or condone its
activity; I feel that it unfairly pigeonholes the developing spirit
and hinders natural unfoldment.
[Yes, your test worked, but please don't do this ;-]
HTH HAND
:-D
--
At 12:56 21.02.2003, Guram Mosashvili said:
[snip]
test
[snip]
did it
--
O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List
Diksha --
...and then DIKSHA NEEL said...
%
% respected mr.jason wong,
%
% i hope you are no more annoyed with me!
% looking forward to hearing from you.
Let it go. As you spend more time on the 'net and in mailing lists you
will learn more about Netiquette, the Etiquette rules of the
hey david,
should she apologize to you know?? for apologizing twice?:-)
I'm sorry if offended anyone with this mail.
regards Wilbert
(counting down: 3 hrs to weekend)
- Original Message -
From: David T-G [EMAIL PROTECTED]
To: PHP General list [EMAIL PROTECTED]
Cc: DIKSHA NEEL
Hi... I got a big site, which is not very well constructed inside, and the
script began to throw (rather often, but NOT always) a fatal error Fatal
error: Allowed memory size of 8388608 bytes exhausted , every time in
different places. I wonder how should I debug that, as there is pretty much
Hello,
I have a problem with including a test.php into a test.shtml and passing
a variable to the test.shtml which should be processed in the test.php
the test.php document includes the following:
---
?php
if ($HTTP_GET_VARS['theValue'])
I think the problem is your php.ini setting
the global_variable,
by default, it is off,coz more secure,so if you want to access the variable,
you need $_POST[variable] or $_GET[variable], also, $_env[HTTP_GET_VARIABLE]
or $_env[HTTP_POST_VARIABLE]
check out the manual on the web
--
Sincerely
if my post variable is
$_POST[array]
How can I get the individual element of that array?
I found one way to do this is $two_array=$_POST[array],
but is there any other way to do so?
thx
--
Sincerely your;
pei_world ( .::IT::. )
--
PHP General Mailing List (http://www.php.net/)
To
I'm using sessions for authentication in a content management system and
experiencing rare but occasional problems with the session apparently
expiring unexpectedly. I've checked the manual and I've reviewed the session
configuration on the commericial host I'm using. I don't see anything wrong,
Hi,
i want to display a blob column, that contain a word object.
My database is Oracle Ver 8.1.7.
Php version is 4.2.3
How can i do this?
Thanks for your help.
Alper.
I think javascript would be your best option Michiel.
Michiel Van Heusden [EMAIL PROTECTED] schreef in bericht
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
i have quite an easy question:
is there a way in PHP to trace the selection in a certain form-field?
i need this for building a simple
can you show us the PHP code that you use to manage your session?
Lowell Allen [EMAIL PROTECTED] schreef in bericht
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I'm using sessions for authentication in a content management system and
experiencing rare but occasional problems with the session
I am asking because if you are using: session_set_cookie_params(), the
effect of this function only lasts for the duration of the script.
Lowell Allen [EMAIL PROTECTED] schreef in bericht
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I'm using sessions for authentication in a content management
$globalArray = $_POST['yourPostArray'];
$arrayCount = count($globalArray);
// this loops and prints all array values for the amount
// of values found with the count function above
for ($count = 0; $count $arrayCount; $count++) {
print $globalArray[$count];
}
goodluck :)
Pei_world [EMAIL
The DLL is being provided already, there is no need to compile your own
for windows. Windows users interested in using mcrypt can download the
required dll files at
http://ftp.proventum.net/pub/php/win32/misc/mcrypt/
This is noted in the manual at http://www.php.net/mcrypt
Jason
On Fri,
At 14:50 21.02.2003, pei_world spoke out and said:
[snip]
if my post variable is
$_POST[array]
How can I get the individual element of that array?
I found one way to do this is $two_array=$_POST[array],
but is there any other way to do so?
Awlad Hussain [EMAIL PROTECTED] wrote in message
00d801c2d9a7$05c5f360$0200a8c0@GATEWAY">news:00d801c2d9a7$05c5f360$0200a8c0@GATEWAY...
David,
Is there any point using smarty on s small site? eg: website consists of
6/8
pages?
If you are allready fluent with your template engine, yeah, why
Hi,
how can i sort names by first letter, like, show only names starting
with a, then b, c .. etc
tnx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ah thx Jason for the tips.
I'll go and have a look immediately.
Wilbert
- Original Message -
From: Jason Sheets [EMAIL PROTECTED]
To: W. Enserink [EMAIL PROTECTED]
Cc: Daniel Guerrier [EMAIL PROTECTED]; php user group
[EMAIL PROTECTED]
Sent: Friday, February 21, 2003 3:15 PM
Subject:
Thanks guys
I'll have ago with smarty, and let you guys know what I think :)
Have a nice day
-awlad
- Original Message -
From: rush [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 21, 2003 2:18 PM
Subject: Re: [PHP] Re: smarty vs. patTemplate vs. inclu
Awlad Hussain
Hello,
I need web application (PHP/MySQL) for small ads
(personal ads, that is advertisements to buy and
sell cars, houses etc).
Does anybody can give me useful hint.
Best regards,
Nenad Djordjevic mailto:[EMAIL PROTECTED]
Diyomi
go to http://www.hotscripts.com and do a search on classifieds under PHP
codes
-awlad
- Original Message -
From: Nenad Djordjevic [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 21, 2003 2:35 PM
Subject: [PHP] small ads system
Hello,
I need web application (PHP/MySQL)
From: Hans Prins [EMAIL PROTECTED]
can you show us the PHP code that you use to manage your session?
Sure. You say in a following post:
I am asking because if you are using: session_set_cookie_params(), the
effect of this function only lasts for the duration of the script.
I'm not using
how can i sort names by first letter, like, show only names starting
with a, then b, c .. etc
Where is the data? In an array? database? file?
If it's a database, then you can just do
SELECT * FROM table WHERE column LIKE 'a%'
or
SELECT * FROM table WHERE LEFT(column,1) = 'a'
---John
I need web application (PHP/MySQL) for small ads
(personal ads, that is advertisements to buy and
sell cars, houses etc).
http://www.phpwizard.net/projects/phpAds/
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello John,
Thank you for answer, but I need application for personal small ads.
I am looking for application which need to show categorized
personal small ads and needto allow on-line adding of
personal small ads (for everyone) and and
need to have some mechanism for ads administration.
I do
Thank you for answer, but I need application for personal small ads.
I am looking for application which need to show categorized
personal small ads and needto allow on-line adding of
personal small ads (for everyone) and and
need to have some mechanism for ads administration.
I do not
Here is an example array:
array(
array(1,2),
array(2,3),
array(3,1)
)
now suppose I get some form inputs with the value 1 and 1. I am trying to
find a way to figure out if the first coloumn is already in the table and if
so just add the second coloumn to the first. I
SELECT it out, send Word headers with header() and echo your data.
---John Holmes...
- Original Message -
From: M.ALPER KARASAHIN [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 21, 2003 8:53 AM
Subject: [PHP] Php Oracle Word object
Hi,
i want to display a blob
Currently I have some php code that displays a message if a connect to my
database fails. Is there anyway I
can get a more descriptive error message? So I can see exactly why my php
can't connect to the Database?
I am pretty sure that the username and password are correct and the username
exists
On Friday 21 February 2003 09:08, you wrote:
Here is an example array:
array(
array(1,2),
array(2,3),
array(3,1)
)
now suppose I get some form inputs with the value 1 and 1. I am trying to
find a way to figure out if the first coloumn is already in the table
I think a database session would be of more use to you since you would have
more control over the lifetime of the session etc
Lowell Allen [EMAIL PROTECTED] schreef in bericht
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
From: Hans Prins [EMAIL PROTECTED]
can you show us the PHP
did you try:
print mysql_error();
Ml [EMAIL PROTECTED] schreef in bericht
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Currently I have some php code that displays a message if a connect to my
database fails. Is there anyway I
can get a more descriptive error message? So I can see exactly why
Where exactly would I put the print mysql_error() ?
Here is the code...
?php
@ $db = mysql_pconnect(localhost, test1, test1)
or
die(body bgcolor='#00'
br
div align='center'table border='22'trtd
img src='./images/dbdownw.jpg'
/td/tr/table/div
I'm using sessions for authentication in a content management system and
experiencing rare but occasional problems with the session apparently
expiring unexpectedly. I've checked the manual and I've reviewed the
session
configuration on the commericial host I'm using. I don't see anything
Here is an example array:
array(
array(1,2),
array(2,3),
array(3,1)
)
now suppose I get some form inputs with the value 1 and 1. I am trying to
find a way to figure out if the first coloumn is already in the table and
if so just add the second coloumn to the
$db = mysql_pconnect(localhost, test1, test1) or die(mysql_error());
- Original Message -
From: ML [EMAIL PROTECTED]
To:
Sent: Friday, February 21, 2003 9:33 AM
Subject: [PHP] Re: Mysql DB connect failure
Where exactly would I put the print mysql_error() ?
Here is the code...
?php
Would you care to explain to the rest of the list how you intend to use
mysql_error () to return connection failure information?
It returns the text of the error message from previous MySQL operation
Description: string mysql_error ( [resource link_identifier])
Seems to me that without a
Where can I set the session data size?
Joe.
__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Would you care to explain to the rest of the list how you intend to use
mysql_error () to return connection failure information?
It returns the text of the error message from previous MySQL operation
Description: string mysql_error ( [resource link_identifier])
Seems to me that without a
I understand the implications this could cause and appreciate your concerns.
This is on a test machine on a secure network that I've set up just to get
me through the learning process. Eventually this form will be in a secure
area of the site that only staff have access to.
The script will add a
You were right Prins, I got the error:
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
So I guess I need to investigate what this means now...
Thanks!
-ML
Hans Prins [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Would you care to
Sessions have a list of options that can be set, but I don't see
anything remotely similar to a 'data size'.
What error are you getting, or please explain further in more detail.
Regards,
Jason k Larson
Joseph Bannon wrote:
Where can I set the session data size?
Joe.
On Fri, 21 Feb 2003 08:05:47 -0800 (PST), you wrote:
Where can I set the session data size?
AFAIK, the only limit to the amount of data stored in a session is the
filesize limit of the underlying OS. What's the problem exactly?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
I see that its looking for mysql.sock in /tmp/mysql.sock
but I searched on my system and only found mysql.sock in /var/lib/mysql/
is there a section where I need to change this setting? or a conf file?
Hans Prins [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Thanks rick, that is a much cleaner solution!
Rick Emery [EMAIL PROTECTED] wrote in message
009f01c2d9c1$51171d20$0500a8c0@honeybee">news:009f01c2d9c1$51171d20$0500a8c0@honeybee...
$db = mysql_pconnect(localhost, test1, test1) or die(mysql_error());
- Original Message -
From: ML
estoy tratando de programar un messenger en php y
sale este mensaje y no se como arreglarlo...no lo entiendo
Warning: MySQL Connection Failed: Unknown MySQL Server Host 'misitio.cl/' (2) in
/../messengerphp/cabesera.php on line 87
Warning: Supplied argument is not a valid MySQL-Link resource in
i want to pass variables to a shockwave-flash-file
currently that's working fine with
print PARAM NAME=movie
VALUE=\$movie?idlinks=$idlinksidcontent=$idcontentidknoppen=$idknoppen\
etc...
but passing the variables through GET makes iexplore think it's loading a
new *.swf-file
how to fix this?
From: 1LT John W. Holmes [EMAIL PROTECTED]
I'm using sessions for authentication in a content management system and
experiencing rare but occasional problems with the session apparently
expiring unexpectedly. I've checked the manual and I've reviewed the
session
configuration on the
What I do in these cases is either having PARAM name=movie.swf?var1=text
...
Or use a file (something.php) which spits text like var1=var2=.
Flash can read that file and get the variables
_
Marios Adamantopoulos
Senior Developer
Tonic
+44 (0)20 7691 2227
+44
Im having some more error checking issues :)
This time its with sending email using php.
Im absolutely sure that the email address is correct and that my IMAP module
is enabled for
php as I successfully read emails from my ISP. But when I sent an email
with:
mail($to, $subject, $body, $headers)
thanks for your reply
What I do in these cases is either having PARAM name=movie.swf?var1=text
the first thing you mention is exactly the problem I'm having since the
file.swf?var=xxx
makes iexplore reload it
Or use a file (something.php) which spits text like var1=var2=.
Flash can
estoy tratando de programar un messenger en php y
sale este mensaje y no se como arreglarlo...no lo entiendo
Warning: MySQL Connection Failed: Unknown MySQL Server Host 'misitio.cl/' (2) in
/../messengerphp/cabesera.php on line 87
Warning: Supplied argument is not a valid MySQL-Link
On Fri, Feb 21, 2003 at 09:03:18AM -0800, Rot Alvarez wrote:
Bueno gracias..ten??as tod al raz??n...pero haora sale esto:
Listado de tablas:
Warning: Supplied argument is not a valid MySQL result resource in
/../web/php_mysql.php on line 40
tiene cara de que le estas pasando algo no
Wilbert --
...and then W. Enserink said...
%
% hey david,
Hiya!
%
% should she apologize to you know?? for apologizing twice?:-)
*grin* Tee hee.
% I'm sorry if offended anyone with this mail.
D'oh! Sorry if *I* offended anyone with my reply! Or with this reply!
Or with my apology!
%
Hey PHP lovers,
I am creating dynamic drop down lists... I would like to have an
option appear in the drop down list, but have it greyed-out and not be
selectable... I know you can disable selects, but I don't think you can
disable individual options in selects... anyone have any ideas?
hi, i have 2 tables in oracle
create table Shop(
ordId NUMBER(7) NOT NULL PRIMARY KEY);
create table Customer(
ordId NUMBER(7) NOT NULL,
FOREIGN KEY (ordId) REFERENCES Orders(ordId) on delete cascade);
so, when i delete a row in shop, the corresponding row in customer will be
deleted.
so, i
hi, i have 2 tables in oracle
create table Shop(
ordId NUMBER(7) NOT NULL PRIMARY KEY);
create table Customer(
ordId NUMBER(7) NOT NULL,
FOREIGN KEY (ordId) REFERENCES Orders(ordId) on delete cascade);
so, when i delete a row in shop, the corresponding row in customer will be
deleted.
so, i
Anybody know of a good user registration system, using emailed web addresses for
verification of
email address?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 21 Feb 2003 10:37:42 -0700, you wrote:
Quoting Steven Kallstrom [EMAIL PROTECTED]:
I am creating dynamic drop down lists... I would like to have an
option appear in the drop down list, but have it greyed-out and not be
selectable... I know you can disable selects, but I don't
create table Shop(
ordId NUMBER(7) NOT NULL PRIMARY KEY);
create table Customer(
ordId NUMBER(7) NOT NULL,
FOREIGN KEY (ordId) REFERENCES Shop(ordId) on delete cascade);
so, when i delete a row in shop, the corresponding row in customer will be
deleted.
so, i have created a function in php to
I use cookies in my web applications, but have reached the 4 kB limit. So I
need to 'convert' all my cookies to session variables. Have got an idea how
I can create such for one variable, but here I have multi element cookies.
Reading the php manual gives me no idea on how to do this.
Here's the
I am getting bizarre results from ldap_errno and ldap_error. I am
using PHP 4.0.4pl1, iPlanet web server 4.1SP7 and iPlanet LDAP server
4.16. As a test I am trying to add an entry to LDAP that already
exists. The link and bind to LDAP work properly and the LDAP log show
the correct
Help, please -- I've just started looking at my first line of PHP code.
:)
A little background, I am *not really* a programmer: I went to art
school.
I have taught myself to develop web stuff in another language: Lasso,
but have no training.
In any case, I am looking through a php script
Hi,
I was looking through php.ini and noticed that show_error was set to Off. I
turned it On, and now I see these errors on one of my pages:
Notice: Use of undefined constant option - assumed 'option' in
/usr/local/apache/htdocs/tyler/encodeDecode.php on line 37
Notice: Undefined index: option
I've taken over a redhat server with apache/php4.1. I need to enable
register_argc_argv but I can't find the php.ini file (I've searched the
entire system).
Would creating a new php.ini file with only register_argc_argv line work?
Where's the default location for php.ini?
Default location is:
/usr/local/lib/php.ini
You can also do a:
locate php.ini
Good luck,
Tyler
- Original Message -
From: Kevin Paz [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 21, 2003 1:03 PM
Subject: [PHP] Cannot find php.ini
I've taken over a redhat server
The actual name of the variable in that message is display_errors, not
show_error.
tyler
- Original Message -
From: Tyler Longren [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 21, 2003 1:01 PM
Subject: [PHP] What do these errors mean?
Hi,
I was looking through
I was looking through php.ini and noticed that show_error was set to Off.
I
turned it On, and now I see these errors on one of my pages:
Notice: Use of undefined constant option - assumed 'option' in
/usr/local/apache/htdocs/tyler/encodeDecode.php on line 37
Notice: Undefined index: option
I've taken over a redhat server with apache/php4.1. I need to enable
register_argc_argv but I can't find the php.ini file (I've searched the
entire system).
Would creating a new php.ini file with only register_argc_argv line work?
Where's the default location for php.ini?
Load up a page
find / -iname php.ini
or create a page with
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
html
head
titleUntitled/title
/head
body
?echo(phpinfo());?
/body
/html
Save it and then call it form your webserver. It'll tell you where the ini
is.
=C=
* Cal Evans
* Stay
At 20:03 21.02.2003, Kevin Paz spoke out and said:
[snip]
I've taken over a redhat server with apache/php4.1. I need to enable
register_argc_argv but I can't find the php.ini file (I've searched the
entire system).
try (as root)
# update the
the default location for the php.ini file (if installed with the RPM's) is
/etc/php.ini
Jim
- Original Message -
From: Kevin Paz [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 21, 2003 11:03 AM
Subject: [PHP] Cannot find php.ini
I've taken over a redhat server with
1 - 100 of 149 matches
Mail list logo