Pass by reference itself is not deprecated, just call-time
pass-by-reference.
I believe this means your calling line of code being prevented from
specifying that it should be invoked as pass-by-reference.
So,
function NormalPassByRefence(&$prmValue)
{
$prmValue ++;
}
$n
Hello,
We have a shopping cart developed in php and when the cart goes to SSL
the images do not show up in Netscape, only IE. The only way around this
is for me to copy all images into the ssl directory. This is very
inefficient. I know there is a way to have php read the files in SSL.
Any
Hi all,
i need to use an array in a session variable.
On a page i fill the Sessionvar :
$HTTP_SESSION_VARS["xy"] []=$whatever
(The var is registered with session_register("xy"))
I mean that the entry would made at the end of the array, is it not so?
But evrey time i proove the entries wi
It's a lame way, but it works,
I sure hope that someone can tell me how to do it in pure regexp.
like how can i 'search for next occurence' in ereg or any regexp() in PHP
-
";
echo "matched: $match\n";
}
?>
-
""David Balatero"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[E
romolo Thu Mar 29 23:36:22 2001 EDT
Modified files: (Branch: PHP_4_0_5)
/php4/ext/pgsql pgsql.c
Log:
pg_close was not closing the connection, making impossible to reopen it. Pls insert
in 4.0.5
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgs
php-general Digest 30 Mar 2001 07:32:53 - Issue 597
Topics (messages 46141 through 46237):
sessions broken when redirected?
46141 by: elists.elliston.net
46142 by: Jon Rosenberg
46144 by: KPortsmout.aol.com
46235 by: Derek Sivers
Pattern Replacing
46
I need a method to compile my php files to give them to a customer.
The main problem is that this customer have an account on a shared hosting
service and (I think) he can't install a compiler or something new on that
server.
Is it possible to encrypt my files ?
Plz HELP ASAP
Yours,
Marian
On Thu, Mar 29, 2001 at 09:54:27PM -, Ulf Wendel wrote:
> uwThu Mar 29 13:54:27 2001 EDT
>
> Added files:
> /php4/pearIT[X].xml
are u sure that [] are valid characters on all filesystens?
tc
--
PHP CVS Mailing List (http://www.php.net/)
On Fri, 30 Mar 2001 15:10, Randy Johnson wrote:
> Here is the scenario:
>
> I want to let my users download their history of transactions from a
> mysql database. I have that part working...they click a link a csv
> file is created for them to download. now here is my question.
>
> Is there a wa
I had this same problem and it constantly broke our whole site.
So I tried a different approach and this has been working great:
Instead of
Consider:
It works flawlessly, always, and maintains your session.
Because my site ( a shopping cart/store ) is so dependent on sessions, I
stopped us
Hello
What causes this error message is there a place to read a bit more about
session module?
Failed to initialize session module
Thank you
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To c
Hi All There
I am new to this mailing list
I had virtual domain hosted on my server with No. of users
With control panel of mine,I want to add Quota feature to my panel
By which users can check for there quota Through web for the amount of
space they are using
I am a baby for php so please h
I like it because is a very fast developement environement.
Ultradev = Dreamweaver + database and scripting capabilities (ASP,JSP,CFLM)
and now with this extension PHP (which uses Adodb
http://php.weblogs.com/ADODB)
Ovidiu
> -Original Message-
> From: Yasuo Ohgaki [mailto:[EMAIL PROTECT
I am using Apache 1.3.19 for Win32 and PHP 4.04 as a module. I would like to
retrieve, as a variable, the user name loged in the W2000 domain. Running
PHPINFO() function e it does not display USERNAME variable so I do not know
how to accomplish this task
Thanks
--
PHP General Mailing Lis
Philip Olson wrote:
> This place :
>http://www.ultraedit.com/downloads/additional.html
>
> Has very weak PHP representation.
I know, that's why I started working on a new wordfile.txt, based upon
one of theirs.
> Want to round up some ideas and upgrade this section as a hole?
Hm, why m
I'm not sure of the exact term, but what I want todo is run a function
in a loop so that it doesn't wait for the function to finish and goes
ahead and executes the next in loop.
For example:
5; $i++) {
run_this();
}
?>
run_this may contain some long mathematical computations that takes a
whi
adaniel Thu Mar 29 21:32:21 2001 EDT
Modified files:
/php4/pear/HTML Common.php
Log:
added a few methods to manipulate attributes
Index: php4/pear/HTML/Common.php
diff -u php4/pear/HTML/Common.php:1.7 php4/pear/HTML/Common.php:1.8
--- php4/pear/HTML/Common.
Here is the scenario:
I want to let my users download their history of transactions from a mysql
database. I have that part working...they click a link a csv file is
created for them to download. now here is my question.
Is there a way to have the file delete after they have downloaded it? Al
adaniel Thu Mar 29 21:30:58 2001 EDT
Modified files:
/php4/pear/HTML Table.php
Log:
minor change to toHtml
Index: php4/pear/HTML/Table.php
diff -u php4/pear/HTML/Table.php:1.5 php4/pear/HTML/Table.php:1.6
--- php4/pear/HTML/Table.php:1.5Fri Mar 23 2
On Fri, 30 Mar 2001 14:34, Mike Gifford wrote:
> Hello,
>
> For some reason I am now having real difficulties removing and parsing
> some XML files. I think that if I can just strip out the that
> I should be able to parse the XML (.CDF) file. This should do it:
> $pagetext = eregi_replac
Hello,
For some reason I am now having real difficulties removing and parsing some XML
files. I think that if I can just strip out the that I should be able
to parse the XML (.CDF) file. This should do it:
$pagetext = eregi_replace('','',$pagetext);
I've attached the whole CDF file at
Ok, i have a text file with lines that looks like this:
14```value```value2`value3
This would be fine, except...there are sometimes more than in other
columns, so id like it to be
14``value``value2``value3
So I can explode() it into a mysql database. Can anyone offer a regexp for
this
I am using the apache_lookup_uri function and I am having a problem.
I have PHP4 as an Apache module.
If I give the command:
$link = "http://www.mysite.com/";
$lookup_results = apache_lookup_uri($link);
And I output:
echo $lookup_results->uri;
echo $lookup_results->status;
I get:
/http:/
set_value(&$variable,$value)
{
$variable=value;
}
"Warning: Call-time pass-by-reference has been deprecated - argument passed
by value; If you would like to pass it by reference, modify the declaration
of [runtime function name](). If you would like to enable call-time
pass-by-referen
trying to get Apache to compile with this keeps failing, complaining about
"alloc.h" it seems. I notice that apache calls it "ap_alloc.h" now, but the
only reference in mod_auth _mysql is in:
apMakefile.tmpl: $(INCDIR)/alloc.h $(INCDIR)/buff.h \
but changing that doesn't fix the problem...
this
I have a document with in it, which I want to KEEP in
the document. (it's being read into $fp). How can I use strip_tags() to
remove all tags, but keep in the document? I tried
$filedata = strip_tags($filedata, "");
Then re-writing it to the file, but it still takes out the tag! Please help!
> -Original Message-
> From: Christian Dechery [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 29, 2001 6:23 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] MS SQL errors...
>
>
> why do MS SQL reports errors so poorly on PHP?
>
> you can do anything with those errors, they're useless...
why do MS SQL reports errors so poorly on PHP?
you can do anything with those errors, they're useless... and the worse
part is the actual important part of the error is in the warning, and not
on the contents of mssql_get_last_message(), where they should be...
and, worse... mssql_query() retu
> > After being eye-ball deep in documentation 8 hrs a day trying to learn
how
> > to do things with MySQL, Interbase, PHP, and CSS.. This list certinaly
is a
> > god-send. Not only do questions that are posted GET ANSWERED (questions
> > i've asked in other groups have a tendancy to go un-answer
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] ("David Balatero") wrote:
> So, I guess i need a regexp to remove all the
> \n and :space: chars.
Here are some ideas:
$out=preg_replace("/\s+/","",$in); //strip whitespace
or
$out=preg_replace("/\s+/"," ",$in); //replace whitespace with sing
> > Doesn't the command return 1 or 0 in success or failure?
>
> Not 1 or 0. It returns 0 or some other value. Almost the same,
> but not quite.
>
> > You may not have a result
> > Probably wrong but something like
> > if (mysql_query($query)) {
> > } else {
> > }
> > or you could die out mysql_
In article <9a0jpq$9bg$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] ("Stuart J. Browne") wrote:
> After being eye-ball deep in documentation 8 hrs a day trying to learn how
> to do things with MySQL, Interbase, PHP, and CSS.. This list certinaly is a
> god-send. Not only do questions that are posted G
I am reading in a comments file from a Perl program I have been using, and I
will be converting the comments' text files into a MySQL database...but that
is unimportant. In the files, I have something (after i strip_tags()) like
this:
##
$file = "
# 4
Name:
> I would use filesystem if I need performance and if I don't worry about
> management.
> I would use database if I need to manage lots of them and if images have
> attributes.
>
> Some older databases have really poor performance when LOB is used. If it
is the
> case, you might want to use combin
Try this:
http://hotwired.lycos.com/webmonkey/00/05/index2a.html
Jeff Oien
PHP >start here
http://www.webdesigns1.com/php/
> What is the best method for tracking a user through a website ?
>
> I want to assign a username to a user which I can call up at anytime.
> Should I use htaccess files an
> -Original Message-
> From: Stephan Ahonen [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 29, 2001 5:20 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Better way (if...elseif...else)
>
>
> > $val = array("000","050","100");
> > $val_name = array("Low","Medium","High");
> > $count = c
What is the best method for tracking a user through a website ?
I want to assign a username to a user which I can call up at anytime.
Should I use htaccess files and the systems environment variables, or
cookies ?
Cheers,
David.
---
Fed202 Solutions
www.fed202solutions.com
M
> How can I use exec() to create user account?
> I try to use exec("useradd testusr");
> but nothing happens,
> I have set the permission of useradd to (chmod useradd) but
still
> can't do the desired operation!!
Are you sure the user who is trying to create the user has permissions to
Where can I find a GD with GIF support (the new one only supports JPEG and
PNG)
Regards,
Pablo
""YoBro"" <[EMAIL PROTECTED]> escribió en el mensaje
9a0k9b$hdp$[EMAIL PROTECTED]">news:9a0k9b$hdp$[EMAIL PROTECTED]...
> Hello,
>
> Is it possible to have PHP resize an image on the server?
>
> Examp
> $val = array("000","050","100");
> $val_name = array("Low","Medium","High");
> $count = count($val);
> $counter = 0;
> while ($counter < $count)
> {
> if ($val[$counter] == $priority)
> {
> $selected = " selected";
> }
> echo " value=\"$val[$counter]\"$selected>$val_name[$counter]";
> $counter++
On Thu, 29 Mar 2001 23:35, Peter Van Dijck wrote:
> How do I rewrite 1 line in a file? I got the filename and the
> linenumber. i was playing around with fwrite but to find the line I had
> to do all sorts of gymnastics, I'm sure there must be a more elegant
> way...
> thanks for any hints!
> Pete
MG PUBLISHING
4865 HWY 138,R.R 1
ST-ANDREWS WEST
ONTARIO, KOC 2A0
1-800-301-8093
http://www.mgpublishing.net
PRESS RELEASE
CANADIAN SUBSIDY DIRECTORY YEAR 2001 EDITION
Legal Deposit-National Library of Canada
ISBN 2-922870-01-4..49.95
M.G. Publishi
HI
I have a directory that works like this.
The owner of each listing in the directory clicks on a little box
that appears before their name and info in the directory.
An Enter User Name and Password page is shown ( a simple form, can
look as you like)
The imbedded listing number is used
Using a GD that has GIF support, you can do this
http://www.foo.com/img.php3?image=test.gif&scale=4
// create an image object from the source file
$srcImg = imagecreatefromgif($DOCUMENT_ROOT . $image);
// create a (blank) smaller image object
$srcSize = getimagesize($DOCUMENT_ROOT . $image)
ok, so then read the image in using php's image functions, and use
imagecopyresized...you'll even find a post about thumbnails...
http://www.php.net/manual/en/function.imagecopyresized.php
-jack
Jason Murray wrote:
>
> > Perhaps i'm not following what you're trying to do, but why not
> > manip
I think I would have just killed myself if that were the case, I spent way
too long building this puppy to let it go so quickly :-)
Clayton Dukes
CCNA, CCDA, CCDP, CCNP
Internetwork Solutions Engineer
Internetwork Management Engineer
Thrupoint, Inc.
Tampa, FL
(c) 904.477.7825
(h) 904.292.1881
-
> Perhaps i'm not following what you're trying to do, but why not
> manipulate the height/width img tag attributes to make it look like a
> thumbnail, but then when displaying it for real, take them out?
Because then you have to download the entire large image.
Large images are bigger. :)
Jaso
On Fri, 30 Mar 2001 09:20, Clayton Dukes wrote:
> So, I went back through my command line history and found the culprit,
> if anyone's interested
>
> I typed:
> chmod 666 file.php *
>
> When I should have typed
> chmod 666 file.php*
>
> Damn, I love Unix :-)
Be thankful it was chmod, not some
Perhaps i'm not following what you're trying to do, but why not
manipulate the height/width img tag attributes to make it look like a
thumbnail, but then when displaying it for real, take them out? there
definitely have been posts about this (as usual, check the archives) and
i'm sure a little sea
Hello,
Is it possible to have PHP resize an image on the server?
Example.
If I upload a JPG file at about 40KB at 600x480 Resolution, but I only want
to display it as a small thumbnail. But if clicking the thumbnail it then
opens in a new window the full size version.
I have seen a auction site
On Thu, 29 Mar 2001 21:18, Martin E. Koss wrote:
> I have been trying to get a new column added to a table (vips) via a
> PHP script, but having exhausted all the things I can find, I'm still
> struggling. I've referred to TFM for all those who just can't wait to
> tell me
> to do so, and I believ
> > I wouldn't expect a programmer to walk in off the street and try to do
> > graphic design without having any concept of graphic design.
>
> ack! i do this very thing! one reason i rely on css and tables rather
> then graphics, that and it means less hits on my server :-)
>
> regarding this t
i know for multiple type values you can pass an array of info like this:
someone also recently posted something about this and passing an array;
try a search for that...
the other possibility is to just pass a long string with | as separators
then explode it later on before you submit...
like per
thanks, I found the discussions. How do I pass one large array?? As a
hidden input type on a form?
"Jack Dempsey" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> You could use sessions with arrays...there's been a discussion recently
> about arrays in sessions,
So, I went back through my command line history and found the culprit, if
anyone's interested
I typed:
chmod 666 file.php *
When I should have typed
chmod 666 file.php*
Damn, I love Unix :-)
Clayton Dukes
CCNA, CCDA, CCDP, CCNP
Internetwork Solutions Engineer
Internetwork Management Engin
You could use sessions with arrays...there's been a discussion recently
about arrays in sessions, and some good sample code...checkout the list
archives...
if you didn't want to use sessions you could just keep passing one large
array to your different php scripts and then passing that into your
d
someone recently posted a link to a benchmark test that was
done...there's never an absolute, but i do remember php w/zend as pretty
much whipping the competition...search the mailing list for the link if
you want to see for yourself...
-jack
David Hynes wrote:
>
> Hi,
>
> I'm new to PHP (well
David Hynes wrote:
> Hi,
>
> I'm new to PHP (well I used it years ago), and have been using Perl ever
> since.
>
> Someone told me that PHP is a lot more efficient than Perl, is this true ? I
> am developing a fairly large website using a MySQL database running on a
> cobalt RAQ3 server and so
Yes,
I've got it now.
Scared the crap out of me
I must have typo'd on a perm change, man that'll ruin your friggin day!
Clayton Dukes
CCNA, CCDA, CCDP, CCNP
Internetwork Solutions Engineer
Internetwork Management Engineer
Thrupoint, Inc.
Tampa, FL
(c) 904.477.7825
(h) 904.292.1881
- Or
what exactly are you trying to do? pass variables to a php script? then
use a form with POST or GET...not that simple? describe better what
you're doing then...
-jack
cam k wrote:
ok, I'll explain this a little better, bear with me. I have several forms
in different frames and one particular f
hi,
the best way to do this from a webserver (apache module) is to make php
write some script that crond later executes as root (or some other user).
anyway, you should triple check everything for security bugs... and
three times isn't enough :)
regards,
Nuno Silva
Brandon Orther wrote:
> H
Hi,
I'm new to PHP (well I used it years ago), and have been using Perl ever
since.
Someone told me that PHP is a lot more efficient than Perl, is this true ? I
am developing a fairly large website using a MySQL database running on a
cobalt RAQ3 server and so the speed of the scripts must be kep
"Jacky" <[EMAIL PROTECTED]> wrote:
> I have a vairable that stores email address value. I need to break it so
> that I will only get the dmain name bit to store in another variable so
> that
> I can redirect user to that domain, like if user email is [EMAIL PROTECTED]
> then I would like to break
Did the permissions get changed to something that nobody can no longer read?
Kirk
> - Original Message -
> From: Clayton Dukes
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Sent: Thursday, March 29, 2001 6:06 PM
> Subject: [PHP] Help!
>
>
> Arrrgh,
>
what exactly are you trying to do? pass variables to a php script? then
use a form with POST or GET...not that simple? describe better what
you're doing then...
-jack
cam k wrote:
>
> does anyone know how to pass values in javascript variables to php
> variables?? Or a workaround if no direct s
does anyone know how to pass values in javascript variables to php
variables?? Or a workaround if no direct solution...
--
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 administrat
Heh,
Thanks.
Btw, the web site I'm trying so frantically to fix has all the study materials for the
Cisco Certs, free of course :-)
http://www.gdd.net
Clayton Dukes
CCNA, CCDA, CCDP, CCNP
Internetwork Solutions Engineer
Internetwork Management Engineer
Thrupoint, Inc.
Tampa, FL
(c) 904.477.78
Arrrgh,
Something went haywire with my site a little while
ago, can somebody tell me why I'm getting:
Warning: Failed opening 'themes/JET/theme.php' for
inclusion
(include_path='.:/etc/httpd/conf/php:/home/www/web:/home/www/websites/acxiom/phonebook/phplib/php:/home/www/web/plug-ins/phpwe
> -Original Message-
> From: Morgan Curley [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 29, 2001 2:52 PM
> To: PHP-General List
> Subject: RE: [PHP] Better way (if...elseif...else)
>
>
> Make sure you reset $selected at the end of the while loop.
>
OoPs! Yes, reset $selected, hah
What are you wanting to print? Here's a set of examples that may help
understand what's happening with your code. In short, isset() is not
being used properly.
// if $var is set, this will return 1. if not set then it will return 0.
// essentially, you don't want to print this directly as you'
Make sure you reset $selected at the end of the while loop.
if HTML readability is a concern you can also do something like the
following( for static lists I find it easier this way ):
>Low
>Medium
>High
morgan
At 05:30 PM 3/29/2001 -0800, Jason Lotito wrote:
I'm having a problem with using cookies and flash.
When I pointed that the problem was _with_ cookie and flash, is when I
resolv the same program using a pure HTML interface.
The exact problem, is that the session number, keep on changing when
working with the flash interfase. This flash inter
I see one typo, is that the problem?
Kirk
> Hi! I have this weird thing happening here and I just can't
> see the problem.
> Can someone look at this and tell me if you see what is wrong?
> Code
> print isset($config["harvester_list"]) ."\n1\n";
> print isset($config["dow
this tutorial may help :
http://zend.com/zend/tut/authentication.php
regards,
philip
On Thu, 29 Mar 2001, Les Neste wrote:
> Hi all,
>
> We're all familiar with the skanky little box the web browser pops up to
> get your username/password in response to a 401 from the web server. What
> I
> -Original Message-
> From: Ashley M. Kirchner [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 29, 2001 1:56 PM
> To: PHP-General List
> Subject: [PHP] Better way (if...elseif...else)
>
>
>
> Is there a better way to write the following snippet:
>
> if ($priority == "000") {
Hi all,
We're all familiar with the skanky little box the web browser pops up to
get your username/password in response to a 401 from the web server. What
I want is the same functionality, except through a login web page instead.
I know how cookie-based or session-based logging in works with PH
uw Thu Mar 29 14:01:52 2001 EDT
Modified files:
/php4/pear package.dtd
Log:
- uuups, modified the package.dtd, undo
Index: php4/pear/package.dtd
diff -u php4/pear/package.dtd:1.3 php4/pear/package.dtd:1.4
--- php4/pear/package.dtd:1.3 Thu Mar 29 13:5
> -Original Message-
> From: Philip Hallstrom [mailto:[EMAIL PROTECTED]]
> Subject: Re: [PHP] problem uploading big (50MB) file
> Try replacing "100M" with it's byte equivalent. Or maybe it's
> kilobytes. One on of my systems they had "2M" and it wouldn't upload
> anything cause it did
you can use switch statements:
switch($priority){
case 000:
code here
break;
case med:
more code
break;
default:
in case none match use default
}
-jack
"Ashley M. Kirchner" wrote:
>
> I
One thing I would do different is:
switch ($fcol){
case 000:
break;
case 050:
break;
default:
break;
}
To me the switch/case code is easier to read/maintain.
I know that doesn't actually solve your repetition problem but it will make
it a little easier to look at.
John Guynn
This email
uw Thu Mar 29 13:54:27 2001 EDT
Added files:
/php4/pear IT[X].xml
Modified files:
/php4/pear package.dtd
Log:
- Added a package xml file for IT[X] templates
Index: php4/pear/package.dtd
diff -u php4/pear/package.dtd:1.2 php4/p
Is there a better way to write the following snippet:
if ($priority == "000") {
$fcol="high";
$pstr .= "High\n";
$pstr .= "Medium\n";
$pstr .= "Low\n";
} elseif ($priority == "050") {
$fcol="med";
$pstr .= "High\n";
$pstr .= "Medium\n";
Hi! I have this weird thing happening here and I just can't see the problem.
Can someone look at this and tell me if you see what is wrong?
Below is a code snippet I am using and the output from the code. As can
be seen in the output all the $config[*] stuff are set. The if statement still
gets
uw Thu Mar 29 13:49:15 2001 EDT
Added files:
/php4/pear/HTML IT_Error.php
Modified files:
/php4/pear/HTML IT.php ITX.php
Log:
- Pearified the error handling
Index: php4/pear/HTML/IT.php
diff -u php4/pear/HTML/IT.php:1.4
What is the layout of your table, the names of fields etc.
By the way, is it just one table?
If you provide me with this information, I think I will be able to solve
your problem...
// Tobias
""Denis Mettler"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
I do a similar thing on my machines, only instead of having a java daemon
that runs as root I chose to create a database that the php script can
insert user and other information into, then a perl script that is called
from cron that fetches from the database and does the necessary user adds.
Thi
555 W. University Suite 2, Mesa, Arizona 85205
Hi,
I’m looking for a shipping model
that we can use to integrate into our shopping cart. Does anyone know of any?
Thanks
Craig Cameron
-
Apex Digital
P
uw Thu Mar 29 13:26:53 2001 EDT
Modified files:
/php4/pear/Experimental/XML fo2pdf.php sql2xml.php sql2xml_ext.php
Log:
- added basic phpdoc doc comments
- lots of whitespaces
- renamed functions from get_xy to the PEAR getXY
Chregu, sorry for this c
Hello,
You can use set_time_limit(); at the top of your script to set the max time
limit. set_time_limit(0); will let it go forever, as I do not recommend
this until you test the script and know the it doesn't have an endless loop
or what not.
example:
-Original Message-
From: Gilles-
Hi,
I'm doing the exact same thing as you and I got the exact same problem. After
getting almost crazy with trying everything possible to run a script as root,
someone told me that I'm limited to the server permission. So I decided to
simply create a java deamon wich run as root. This deamon wait
Also consider something like :
The idea behind it is similar to this :
Info to know :
strrpos() : Find position of last occurrence of a char in a string
strpos() : Find position of first occurrence of a char in a string
Looks like you found substr() , it helps out for these sorts
Hi Clayton,
As I was writing, I confirmed every variable change
by a phpinfo() page.
Yes, to enforce changes in the php.ini file,
I stop and start the whole apache...
> -Original Message-
> From: Clayton Dukes [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 29, 2001 1:18 PM
>
This is set by max_execution_time, did you restart apache to re-read your
php.ini file?
Clayton Dukes
-
Download Free Essays, Term Papers and Cisco Training from http://www.gdd.net
- Original Message -
From: "Gil
Hi,
i have a mysql table with the fields name and categorie.
on my page search.php is a search mask where the visitor
can insert a miscellaneous keyword.
this keyword should be the categorie.
basicly, how can i handle the problem,
that the visitors keyword shows an output with all
the entrys in
Hi,
I'm using IE 5.01 to upload a big (~50MB) file to a form.
The form works well for small files.
If I try a big file, IE timeout after 30 seconds
saying "cannot find server or DNS error"
This same exact php code works for small files...
I've modified php.ini to
max_execution_time = 120
mem
Yes, the php.ini files is read when apache start.
py
At 03:53 PM 3/29/01 -0500, you wrote:
>In a message dated 29/03/2001 21:42:57 GMT Daylight Time,
>[EMAIL PROTECTED] writes:
>
><< If you have permission to modify php.ini, see the setting "display_errors"
> and the attached comments. You can t
uw Thu Mar 29 12:58:37 2001 EDT
Modified files:
/php4/pear/Experimental/HTMLMenu_Browser.php
Log:
- Added an optional prefix for menu entries
Index: php4/pear/Experimental/HTML/Menu_Browser.php
diff -u php4/pear/Experimental/HTML/Menu_Browser.ph
In a message dated 29/03/2001 21:42:57 GMT Daylight Time,
[EMAIL PROTECTED] writes:
<< If you have permission to modify php.ini, see the setting "display_errors"
and the attached comments. You can tell PHP to write these error messages to
a log file instead of to the browser.
Kirk >>
If I
H-
Thanks for the emails and reply.
Someone mentioned substr and after first failing with the attempt I went
to the PHP site and looked it up.
Here's code that works for what I'm trying to do.
$test = "tree, bird, nest, ";
$new = substr($test, 0, strlen($test)-2);
$new = "$new ";
Appreciate
> That's where I get $query from. It's been returned from a multiple
> select via a web form. I want to format this selected data into a query
> string so I can plug it into a SQL statement.
> Thanks for the input and if any one has any thoughts on the subject
> appreciate the assistance.
If t
1 - 100 of 226 matches
Mail list logo