Hi,
Thursday, December 5, 2002, 5:11:16 PM, you wrote:
RL> Jason Wong responded Wednesday, December 04, 2002 10:24 PM
RL> < On Thursday 05 December 2002 10:14, Roger Lewis wrote:
RL> < > Thanks for the suggestion. I'll try ini_set although I'm not yet
RL> certain
RL> < > of how to use it.
RL>
On Thursday 05 December 2002 15:44, Ben C. wrote:
> I am now getting the following error:
>
> Warning: Supplied argument is not a valid MySQL-Link resource in
> /home/httpd/vhosts/localhost/httpdocs/data/up.php
> on line 21
>
> Why do you think that is?
Try using mysql_error() after each of your m
please post lines 20 and 21, get rid of all @, the comma after url='$url'
and show your most recent code. Others have posted and given you good
advice, you should incorporate their suggestions.
hugh
- Original Message -
From: "Ben C." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wedn
On Thursday 05 December 2002 14:36, Manisha wrote:
> I want to create mySQL user thr phpMyAdmin. I inserted one record in
> mysql.user table and one in mysql.db table,
>
> testing with following program
>
>$conn = @mysql_connect ("localhost:/usr/home/nets/mysql/mysql-demo.sock",
> "manisha"
Hi,
make sure there's a "session_start();" on each page.
Your server should keep the session_id.If it doesn't try this:
HTH,
Bastian
Myrage schrieb:
> How do we pass sessions via post ?? I seem to lose the session once it has
> been submitted through the POST Method.
>
> Any help??
--
PH
I have incorporated most of the suggestions. My most recent code is:
-Original Message-
From: Hugh Danaher [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 05, 2002 12:07 AM
To: Ben C.
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Struggling with code
please post lines 20 and 21, get ri
Hugh, I took away the comma from $url and it works.
Everyone, Thanks for your help!
Ben
-Original Message-
From: Ben C. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 05, 2002 12:15 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Struggling with code
I have incorporated most of the su
Thanks Philip for the response.
I can to write in step by step for to explain well my situation.
1. my application work fine in Win32 system but I must to executed it also in
Linux and Mac env. It is possible. In Win32 in many case, I do not have
Apache and PHP install. It is possible to have ot
Great to hear it works!
I'd still consider using addslashes and the only way I've gotten it to work
is to write them in like the following:
url='".addslashes($url)."'
Looks messy but works. Oh, and stripslashes on the output too.
Good Night!
Hugh
- Original Message -
From: "Ben C."
Thanks Janson.
plaese write step by step how to do to confugure apache.
remeber this. I work in Win32 system and PHp worh as CGI.
I have created .htaccess like this:
php_value
auto_prepend_file="C:OPENFEDRA\Apache\htdocs\fedra\sv\cfg\systemvariables.php"
and httpd.conf modify in this direct
Dev,
Nice work!
Thanks for implementing the book's algorithm/proving it in PHP-PCRE, and I
do like your extension into an internal/external function.
I've not implemented your code (bookmarked for later) but some initial
comments:
- don't forget some of the other 'funnies' in the IP addressing sc
Ben, consider re-working this slightly:
$result = mysql_query($sql,$connection) or mysql_error("Couldn't execute
query.");
mysql_error() doesn't take any arguments (other than maybe a resource
identifier ($connection, in this case)): it simply outputs problems, which
allows you to diagnose what's
Hi all,
I have a page (to create a database) with X text fields called chpX (chp0,
chp1, chp2..Etc) that posts these variables to a php file.
I would like to know how can i get these values ? (I have also the $i
variable that tells me what is the max X)
Thanks,
Hacook
--
PHP General Mailing Li
Hi,
Background:
I've created a vacation-request application for our company's intranet.
When an employee requests a vacation, he has to list the name of another
employee who will 'fill in' for him while he is gone.
Before a vacation request can be saved in MySQL, I need to
On Thursday 05 December 2002 16:43, Hugh Danaher wrote:
> Great to hear it works!
> I'd still consider using addslashes and the only way I've gotten it to work
> is to write them in like the following:
> url='".addslashes($url)."'
> Looks messy but works.
Messy indeed ;) Why not $url = a
Are you saying this is coming from a form entry?
If so and you have PHP > 4.1 then use:
$_GET['chp1'] OR $_POST['chp1']
Depends if it is get or post data!!
If you have pre 4.1 use the var name eg. $chp1 etc etc
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED]
If you need PHP hosting with an exp
On Thursday 05 December 2002 17:29, Franco Pozzer wrote:
>
> plaese write step by step how to do to confugure apache.
>
> remeber this. I work in Win32 system and PHp worh as CGI.
I don't use PHP as CGI with Apache so I don't think I can help you here.
But ...
> I have created .htaccess like th
I use this function:
function sec_move_uploaded_file($tmp_name,$dir, $name) {
if(file_exists($dir.'/'.$name)) {
$ext=strrchr($name,'.');
$basename=substr($name,0,strlen($name)-strlen($ext));
$i=2;
while(file_exists($dir.'/'.$basename.$i.$ext) ) {
$i++;
"Hacook" <[EMAIL PROTECTED]> ha scritto nel messaggio
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all,
> I have a page (to create a database) with X text fields called chpX (chp0,
> chp1, chp2..Etc) that posts these variables to a php file.
> I would like to know how can i get these values ?
> for ($i=0; $i<=12; $i++)
> {
> echo "";
> echo "";
> }
the tag must stay out of the for loop. the syntax for
is
bye
Mattia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I have following problem:
i have one script (index.php) which displays information (menu items)
based on result from function check_valid_user(). This function checks
if there is session_is_registered("valid_user").
second script is for login.it saves into session
session_register("va
Hi,
Can I use the copy function to copy a file to a remote computer?
Ex:
// copy a file from my computer to a remote computer
copy('c:\teste.txt', '200.xxx.xx.xx/temp/teste.txt')
How can I do it?
Thanks in advance,
Evandro Sestrem
--
PHP General Mailing List (http://www.php.net/)
To unsubsc
I'm passing form variables from a script that is meant to display
information to be updated in a mysql database, and it sends these to a
script that updates the changed values. The problem is, I have a number
of the same field being passed. For example, I have two fields in an
html form - Res
No, you can use ftp functions.
Evandro Sestrem wrote:
Hi,
Can I use the copy function to copy a file to a remote computer?
Ex:
// copy a file from my computer to a remote computer
copy('c:\teste.txt', '200.xxx.xx.xx/temp/teste.txt')
How can I do it?
Thanks in advance,
Evandro Sestrem
> I'd love to use an array, but I don't think you can pass an array value
from
> a form and have it work on the update script - e.g. input
> name="Resource[0]"...
Ah, but you can... You can use exactly what you just wrote and have
$_POST['Resource'][0] in your processing script. Loop through that
> i have one script (index.php) which displays information (menu items)
> based on result from function check_valid_user(). This function checks
> if there is session_is_registered("valid_user").
>
> second script is for login.it saves into session
> session_register("valid_user").then it r
Thanks Jason.
I use PHP as CGI in Win32 system because It is most stable like Apache
module.
I have make a same code PHP like this follow that I try ini_set and
ini_aletr function instead of the -htaccess solution.
The code that try it is this:
$path";
echo ini_get("include_path");
echo"";
e
Show us your code and don't copy straight from books. ;-)
- Original Message -
From: "1LT John W. Holmes" <[EMAIL PROTECTED]>
To: "Martin Hudec" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, December 05, 2002 7:57 AM
Subject: Re: [PHP] sessions
> > i have one script (index.p
One more question... If I then wanted to do this for the other operations
(such as multiplication, division, etc), how would I do that?
- Original Message -
From: "John W. Holmes" <[EMAIL PROTECTED]>
To: "'Stephen'" <[EMAIL PROTECTED]>; "'Chris Wesley'"
<[EMAIL PROTECTED]>
Cc: "'PHP List'
Hello ,
okay here's the code...sorry forgot to post it
everything works in login.phpsession is registered...but in index,
it seems that session is empty...
login.php:
";
//reloads index.php (login.php is popup from index.php
echo "window.opener.location.reload();";
echo "setTimeout('windo
I don't know if this will fix anything or not but instead of using
check_valid_user(), try making the if statement say this:
is(!isset($_SESSION['valid_user))
{
echo "NOT LOGGED IN";
}
else
{
echo "LOGGED IN";
}
- Original Message -
From: "Martin Hudec" <[EMAIL PROTECTED]>
To: "1
thanks, works perfectly
- Original Message -
From: "Mattia" <[EMAIL PROTECTED]>
Newsgroups: php.general
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 05, 2002 12:41 PM
Subject: Re: Variables and http
>
> "Hacook" <[EMAIL PROTECTED]> ha scritto nel messaggio
> [EMAIL PROTECTED]">news:[
eriol --
Yes, a cron job would do the trick for a process that must run at fixed
and frequest intervals. The Windows scheduler might accomplish the same
thing.
Since we've already veered sharply off-topic, I'll go ahead and recommend
that you check out dyndns.org or the like; set up your address
> One more question... If I then wanted to do this for the other operations
> (such as multiplication, division, etc), how would I do that?
Assuming you've figured out how to do an array...
You'll have to loop through the values like in the code that others posted.
foreach($_POST['number'] as $n
Would u teach me how to setup the OpenSSL and the engine for the apache web
server in order to achieve the 128 bits SSL protection?
Actually, I have tried so many times but still failed to do so...
First of all, there were errors occurred when I compiled the Openssl engine,
It seemed looking for a
I know, PHP is executed server side, so it shouldn't matter about the computer, but...
I've got a basic log in script that takes username and password and does the typical
SELECT to find a match. If it's good, it sets some session variables and redirects to
a main page, otherwise redirects back
Hello,
"1LT John W. Holmes" <[EMAIL PROTECTED]> wrote:
[snip]
> So, I'm sure it's not the PHP script, so I'm looking for ideas of what I
> should check, settings wise, on the client computer? Any help is greatly
> appreciated.
[/snip]
Well, "my magic PHP 8-ball says..." Just kidding :)
Anyway, h
Indeed, now it works, I put the form tag by mistake...
Thanks,
Adrian
- Original Message -
From: "rija" <[EMAIL PROTECTED]>
To: "Adrian Partenie" <[EMAIL PROTECTED]>
Sent: Tuesday, December 03, 2002 11:30 PM
Subject: Re: [PHP] mysql, php, checkbox
> There are tags around What are
they
Have you checked:
Browser versions? (is the browser the same type/version as on the other
machines)
Is it a laptop? If so, are you using the internal keyboard with Numlock on?
Is the machine in question set-up on the network correctly, i.e. has it got
domain, gateway addresses etc setup - this wou
Hi,
I'm having a trouble with session vars, that i suspect that is related
to garbage collection system.
I start a session and make and continuos use of it, but sudently the
session vars are reseted, the time when this ocurs is variable, always
after passing the time of garbage recollection since t
Hi;
PHP isn't my strong language so I need your help. I'm writing a patch to a
shopping cart called fishcart < http://fishcart.org > The following code
works well in another page. I pass the variable $related to the page that
I'm patching:
$fcrp=new FC_SQL;
$fcrp->query("select relprod from
Hello guys
I'm sorry if this message disturbs anyone, I know it is completely off topic.
I've been thinking about open a C# mailing list for I hadn't been able to find a good
one so far. All I want to know is if there is enough people out there interested in
joining such list.
I posted this
So would I just put this?
foreach(%_POST['number'] as $num)
{
$output *= $num;
}
echo $output;
That's for multiplication.
- Original Message -
From: "1LT John W. Holmes" <[EMAIL PROTECTED]>
To: "Stephen" <[EMAIL PROTECTED]>
Cc: "PHP List" <[EMAIL PROTECTED]>
Sent: Thursday, December
Hello all,
I'm having a bit of a problem making a particular configuration with PHP
and Apache. Here's the deal:
I want to have php running with safe mode, so i define safe mode = On on
/etc/php.ini.
I have this script that i need to execute two programas, with exec().
So, in apache, i define a
Hi all,
I am trying to use getImageSize() on imagedata I am receiving in an
e-mail and collecting with imap_fetchstructure() et al. What I have in
my $image variable is just the actual image data - no headers or
anything, and of course getImageSize() doesn't work that way.
Now, the question is
On Thursday 05 December 2002 23:05, Stephen wrote:
> So would I just put this?
>
> foreach(%_POST['number'] as $num)
> {
> $output *= $num;
> }
> echo $output;
>
> That's for multiplication.
Yes. Wouldn't it have been quicker for you to try it than to ask?
BTW make sure that none of $num is z
Hey all,
I know this has been asked before, and I have tried many of the
solutions that were posted in the mailing archives, and also did some
googling. But I can't seem to eliminate some new line characters from a
string. Here is the scenario:
1. A user inputs some text into an form and sub
on 12/2/02 6:12 PM, Leif K-Brooks at [EMAIL PROTECTED] wrote:
> I'm having a weird problem. When I go to a page on my site, it often
> goes twice. I'm not sure if this is a client-side or server-side
> problem, but it doesn't happen on other sites. Is this a common
> problem, or am I making som
On Thursday 05 Dec 2002 3:48 pm, Joshua E Minnie wrote:
> A load of stuff..
I just read the fist few paragraphs and got bored;-)
but
Have you tried doing a str_replace for \n which is new line? just replate it
with a blank string
John
--
PHP General Mailing List (http://www.ph
Already tried that. Doesn't seem to change anything.
- Original Message -
From: "John Wards" <[EMAIL PROTECTED]>
To: "Joshua E Minnie" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, December 05, 2002 10:48 AM
Subject: Re: [PHP] Newline charactes causing problems
On Thursday 05
Or
$notes = preg_replace("/(\r)?\n/"," ",$_POST['notes']);
in case it's the \r that's actually messing you up and not the \n?
---John Holmes...
- Original Message -
From: "John Wards" <[EMAIL PROTECTED]>
To: "Joshua E Minnie" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, Dece
On Thursday 05 Dec 2002 3:54 pm, Joshua E Minnie wrote:
> Already tried that. Doesn't seem to change anything.
>
how about \r
John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am wondering if it has something to do with the way that MySQL is storing
the data. But I can't seem to find anything that is helping me when I
search on MySQL related strings.
+-+-+
| Joshua Minnie |Tel: 269.276.9690 |
| [EMAIL PROTECTED
Carlos Alberto Pinto Hurtado
IT ICA
(57 1) 2322181
(57 1) 2324698
Movil.(57 3) 310 6184251
-Mensaje original-
De: Victor Halla [mailto:[EMAIL PROTECTED]]
Enviado el: Wednesday, December 04, 2002 6:16 PM
Para: [EMAIL PROTECTED]
Asunto: [PHP] Problem with functions
Hi,
I have de foll
- Original Message -
I'm having a trouble with session vars, that i suspect that is related
to garbage collection system.
I start a session and make and continuos use of it, but sudently the
session vars are reseted, the time when this ocurs is variable, always
after passing the time of gar
[snip]
> function login($username)
> {
> global $valid_user;
> $valid_user = $username;
> session_register("valid_user");
> }
It _should_ work. My only guess is that maybe because you're registering
something inside of a function, it's messing up, even though the variable is
global. I don'
I am really sorry but i can't find any good mySQL good mailing list...
How can i make a little php function to check if a table exists ?
Thanks a lot,
Hacook
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
use mysql_list_tables();
HTH,
Bastian
Hacook schrieb:
> I am really sorry but i can't find any good mySQL good mailing list...
>
> How can i make a little php function to check if a table exists ?
>
> Thanks a lot,
> Hacook
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
Sorry, OpenSSL is base in FreeBSD, so I didn't have to set it up myself.
You can check www.openssl.org and www.apache.org. You still have to buy
a cert though. For that, try:
www.verisign.com
and www.instantssl.com --- seems alot cheaper, no experience with them
however
But chances are your be
Hi,
I am attempting to timeout a socket_read() that is part of a handshaking
process using socket_set_timeout(). Problem is it doesn't seem to work at
all. If I switch of the handshaking write on the server side the read just
sits there and doesn't time out at all. I have tried
socket_set_timeout(
I'm using php's built in functions, and i've made a very basic script
thats keeps reloading minute by minute and wen it was more than 24
minutes (1440 seconds) reloading in any moment the variables gets
reseted.
Also the last acced time from the file were the session data is stored
is updated every
What OS are you on?
---Quote---
Note: If you are using the default file-based session handler, your
filesystem must keep track of access times (atime). Windows FAT does not so
you will have to come up with another way to handle garbage collecting your
session if you are stuck with a FAT filesystem
Hi everybody,
The icons (.ico) are not displayed correctly by all the browsers (I.E. 5,
etc...).
After some research, it appears the only solution is to convert the .ico in
GIF or JPEG...
Do you know if a PHP script could do that conversion ?
Take a icon and create a GIF or JPEG file...
Thanks f
Hi,
apparently this does not work with socket_read() but only with higher level
socket functions (fread etc). However I have found a function called
socket_set_nonblock(socketname) which apparently does something very
similar, it prevents the socket_read from waiting to receive data. I simply
buil
I know I'm trying to re-invent the wheel, but it is because I don't know how
they do it. I set up a script to pull a ruleset from mysql and then loop
through each row in the set. I then check each row as it loops until I get
to the row number I want and start echoing rows. I create the row numbe
> I know I'm trying to re-invent the wheel, but it is because I don't
know
> how
> they do it. I set up a script to pull a ruleset from mysql and then
loop
> through each row in the set. I then check each row as it loops until
I
> get
> to the row number I want and start echoing rows. I create t
> -Original Message-
> From: Björn Schotte [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 05, 2002 6:42 PM
> To: Manuel Lemos
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; pear-
> [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED];
> [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject:
Hello everyone,
I have the following html code that is generated via a script:
ArtistTitleFile
SizeCheck
Dj Ummet
Pump This Party (extended Mix)
About 4.5 megabytes
Metalica
Enter Sandman
About 4.43 megabytes
only checked checkboxes are submitted therefore you have to number
the form fields if you want to keep the relationship between the arrays
- this should be easy enough if the form is generated by your code.
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From
my php code is working on one machine and not on another. I am now getting
the error
Warning: SQL error: [unixODBC][IBM][iSeries Access ODBC Driver]Error in host
server data stream., SQL state S1000 in SQLExecDirect
working machine: unixodbc 2.2.2-2 php-odbc4.1.2-7.2.4
non working:unixodbc
This is further to my post yesterday on Max File Size.
I was able to set upload_max_filesize to 790 and I can therefore upload
files up to that size. I would now like to increase that limit, but I am
limited by post_max_size which defaults to 8M. I can't seem to change the
value of post_max_
I'm having some problems with sessions on this project I am doing for this
one class. I know what I am doing with sessions on a certain level, as I
use them with ASP and JSP apps. I notice that when I do session_start() the
session SID or PHPSESSID doesnt appear until you refresh that page or
Hello again,
This is another PHP mathematical question. How can I display a bar over a
number (overline) if it's a repeating decimal? When the user types in 1 by
3, they get 0.. I want it to display as 0.3 with the 3
overlined. How can I do this keeping in mind that not all numbers wil
> I'm having some problems with sessions on this project I am doing for this
> one class. I know what I am doing with sessions on a certain level, as I
> use them with ASP and JSP apps. I notice that when I do session_start()
the
> session SID or PHPSESSID doesnt appear until you refresh that pag
Dara Dowd wrote:
Thanks for the advice lads but I realise I should have been clearer. I know about header(etc..) so displaying the download dialog isn't the problem, it's how to get to the file on the file server and then open it. The file server isn't a web server. This is probably ridiculously
> This is another PHP mathematical question. How can I display a bar over a
> number (overline) if it's a repeating decimal? When the user types in 1 by
> 3, they get 0.. I want it to display as 0.3 with the 3
> overlined. How can I do this keeping in mind that not all numbers will be
>
Continuing this even more...how would I use this same method only to
subtract?
What I'm doing right now would result in the following sitution.
The user types in 5 as their first number. The second number is 4. Instead
of returnin 1, it returns -9. It's subtracting the first number from 0, then
t
Much Gratefulness on my part! Finally, my server and I can catch our
breath.
Larry S. Brown
Dimension Networks, Inc.
(727) 723-8388
-Original Message-
From: John W. Holmes [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 05, 2002 12:47 PM
To: 'Larry Brown'; 'PHP List'
Subject: RE: [PH
Hi Rodrigo et al...
On Thursday 05 December 2002 16:09, Rodrigo Borges Pereira wrote:
> Hello all,
>
> directly in /etc/php.ini doesn't work either. I noticed PHP was compiled
> with --with-exec-dir=/usr/bin, but i suppose that what we define in
> php.ini (at least) overrides that.
I had hell wit
You simply need the absolute value of the difference. So taking Stephen's
example below..
$total = 0;
foreach( $_POST['nums'] as $number )
{
$total -= $number;// if users inputs 5 as first value result equals -5
$total = abs($total); // result now equals 5
}
- Original Message -
But then, if the user entered 5 - 6, it should be -1 but it'd return
positive one... Is there another way?
- Original Message -
From: "Kevin Stone" <[EMAIL PROTECTED]>
To: "Stephen" <[EMAIL PROTECTED]>; "Chris Wesley" <[EMAIL PROTECTED]>
Cc: "PHP List" <[EMAIL PROTECTED]>
Sent: Thursday,
--- Gareth Thomas <[EMAIL PROTECTED]> wrote:
> I am attempting to timeout a socket_read() that is part
> of a handshaking process using socket_set_timeout().
> Problem is it doesn't seem to work at all. If I switch of
> the handshaking write on the server side the read just
> sits there and doesn't
> But then, if the user entered 5 - 6, it should be -1 but it'd return
> positive one... Is there another way?
Come on, man... this is addition and subtraction. You can't figure it out?
> > You simply need the absolute value of the difference. So taking
Stephen's
> > example below..
> >
> > $tot
On Thu, 5 Dec 2002, Mans Jonasson wrote:
> Hi all,
> I am trying to use getImageSize() on imagedata I am receiving in an
> e-mail and collecting with imap_fetchstructure() et al. What I have in
> my $image variable is just the actual image data - no headers or
> anything, and of course getImageSiz
Is there a way to have errors in script not output to the screen? I have a
page that creates an error which really isn't a problem and I don't want
users to see the error message.
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If it is a function that you are getting an error on, just go ahead and put
a '@' sign before the function so for example @fopen(); or you can change
the error reporting in the php.ini file. I do believe there is an error
reporting function also, but off the top of my head I cant remember what it
I'm not too familiar with this method, but trying putting the @ symbol
in front of the statement.
ex:
$file = @fopen(.);
Hope this helps.
--Joseph Guhlin
http://www.josephguhlin.com/
Web Programmer / Unix Consultant / PHP Programmer
--
PHP General Mailing List (http://www.php.net/)
To
Hi,
I've ran into a problem using the passthru/exec commands with RH8. When
I try and run my program (or even "pwd", "ls", etc) the number '127' is
returned every_time. With passthru, the size of the optional return
array is 0. Can anyone fathom a guess at the problem? Is the 127 value
signifcant?
Ahhh... no reply necessary.
safe_mode :-o
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, 2002-12-05 at 14:32, vernon wrote:
> Is there a way to have errors in script not output to the screen? I have a
> page that creates an error which really isn't a problem and I don't want
> users to see the error message.
You can also use set_error_handler to deal with errors however you li
No, I wasn't going to ask that. But thanks for the info. :P
- Original Message -
From: "1LT John W. Holmes" <[EMAIL PROTECTED]>
To: "Stephen" <[EMAIL PROTECTED]>; "Kevin Stone" <[EMAIL PROTECTED]>
Cc: "PHP List" <[EMAIL PROTECTED]>
Sent: Thursday, December 05, 2002 3:14 PM
Subject: Re: [P
Hi!
I am trying to get out a value of an array that I have made from a query and
deliver the value into a variable. I have made this code. Am I totally lost?
while ($myrow = mysql_fetch_array($result));
{
$id = $myrow['id'];
$deltaker[] = array ($id);
}
$limit = count($deltaker);
$finn_v
I have a question
regarding PHP Safe-Mode and Ensim. On my master confing (/etc/php.ini) safe mode
is off. But on each domain and site I installed on the server the local config
file for that site turns safemode on. Doesn anyone know where Ensim puts
the config files? I've tried to find them
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
Maybe I should post this to the -install mlist, but it is not the
installation (./configure, make...) that causes problems, but the fact
that I want to keep dependencies. So - does anyone have a working $subj?
Thank you very much for any hi
Thanks Bahwi,
I agree with you regarding the client-side aspect.
But since we are talking about a regular web-based
application in php I think I will have to deal with
that.
The other security concerns are already addressed,
such as the use of SLL to encrypt the traffic and
possibly the use of a
Sorry, it was late at night. I'm glad you have the SSL and everything
else already taken care of.
What I meant was for you to build your own session system, so that it is
secure, instead of using PHP's built in session system. Someone once
said that it has a 1% chance of cleaning up the session
Hi,
Is anyone on the list using this package? I've searched and can
find no examples of its use, outside those provided on the OpenTracker
Website. Is it possible to use the package on multiple hosted sites? All
my virtuals show up as one site and the referers include my site.
Confu
For those that don't know what ensim is, its a virtual hosting software
(www.ensim.com),
Mike - There is another setting in /etc/httpd/conf/httpd.conf to set safe
mode off. I don't suggest you do this though.
I would suggest you use the ensim bulliten board for these questions IMOHO.
--
"Mike B
I have a hosted account. As such, I am unable to use the default location
for files when used with the include command. So could somebody tell me how
I can either make it go to a different directory, or to link to something
(and how to add the variable as the filename)?
Thank you in advance.
--
> Is there a way to have errors in script not output to the screen? I
have a
> page that creates an error which really isn't a problem and I don't
want
> users to see the error message.
If this is a production machine, you should have display.errors OFF in
php.ini
---John Holmes...
--
PHP Gen
1 - 100 of 119 matches
Mail list logo