see anything wrong, please help.
>
>
> SetLogging(1);
>
> Function AccessHit
> (
That's not how you define a function. Use:
function AccessHit() {
...
}
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
that it says that track_vars is always on now, simply remove that
line from your scripts and everything will work fine.
-Rasmus
--
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]
ould allow the link to be coded as src="http://site/cgi?opt1=val1;opt2=val2";> or whatever.
>
> I know that php 4.0.5 has a new ini directive for this, is there any way to
> change this on older versions of PHP?
That directive has been there for a long time.
-Rasmus
--
PHP
around this? Has anyone
> used XHTML and PHP together successfully, and if so how did you get around
> the previously mentioned problem? Any help woould be much appreciated,
> thanks in advance.
Completely false. PHP works fine with XHTML.
-Rasmus
--
PHP General Mailing List (ht
> I got a jpg-picture on my disk. Is there any way to find out the color
> of a pixel (let's say, I want to know, which color the pixel 1,12 on
> image img.jpg is.)
>
> Ideas ?
http://php.net/imagecolorat
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To
> How can i reverse the htmlspecialchars() functions?
> I can't seem to find a function for that.
There is no function to do that.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ight in PHP because it lacks multi-threading support.
>
> Any plans to add multi-threading capabilities to PHP?
Nope, but you can use the ticks feature to do some of this.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addition
way, I was asking Zeev, will PHP ever have multi-threading capabilities?
No, you asked the mailing list. Zeev's email address is [EMAIL PROTECTED]
And no, PHP is unlikely to have multi-threading anytime soon.
-Rasmus
--
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]
ently the most capable developers to bring
> multi-threading capability to PHP because they developed PHP current engine
> - Zend, my question still goes for them. After all they always seemed more
> reasonable and opened to my suggestions than you.
You are assuming they even read this mailing l
foreach($HTTP_POST_VARS as $key => $val) {
echo "$key: $val\n";
}
On Mon, 21 May 2001, Carlos Fernando Scheidecker Antunes wrote:
> Hello all,
>
> I'm trying to loop the $HTTP_POST_VARS variable like an array like this :
>
> $index = count($HTTP_POST_VARS);
>
> for($i=0; i < $index; i++) {
>
> What would be the syntax to trim 2 characters off of a given string?
$new = substr($old,0,-2);
--
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 PRO
> But I use PCRE functions, so I don't want to use ereg in one place and PCRE
> in another, so I tried:
>
> $file = preg_replace("#.*#i", "", $file);
'/.*?<\/script>/i'
-Rasmus
--
PHP General Mailing List (http://w
t of PHP (from snaps.php.net) then you can use imagecopyresampled()
to create thumbnails. It can be a bit slow if your originals are huge,
but the quality is very good.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [E
he resulting thumbnail isn't going to look
very good. Sometimes for thumbnails that is not an issue though.
imagecopyresampled() does a very nice job of scaling images without losing
quality, but you need GD2 to use it.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To
e
to layer multiple content filters on the same request.
-Rasmus
On Tue, 22 May 2001, Maxim Maletsky wrote:
> Hello gurus,
>
> does anyone know a way to make PHP and RUBY running together (parsing both
> the same file) ?
>
> This is what I tried to do:
>
> httpd.conf:
>
if($var1) is true if $var1 is set and has a non-0 and non-false value
if(isset($var1)) is true if $var1 is set to any value including 0 or false
if(!empty($var1)) is true if $var1 is set to anything except a null-string
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
Why not just use the imap extension which supports the NNTP protocol
natively?
On Wed, 26 Dec 2001, Fred wrote:
> I am attempting to use fsockopen to connect to a news server. I am able to
> successfully connect and authenticate. In fact, I can issue many commands
> without a hitch.
>
> I do
Well, PHP is not under the GPL. But you still don't need to buy any sort
of license.
-Rasmus
On Sat, 29 Dec 2001, Bogdan Stancescu wrote:
> LOL! You may want to read this for clarification:
> http://www.gnu.org/philosophy/free-sw.html
>
> Bogdan
>
> "Andrew V. R
Why not just use an auto_prepend rule in your config and prepend that bit
of PHP code automatically without touching the FrontPage-generated crap?
-Rasmus
On Mon, 7 Jan 2002, Miles Thompson wrote:
> I have a client which edits all his PHP pages as HTML files in MSFT Front
> Page. That
ows world). Don't go throwing 'native
> db' support around too much without backing it up with solid argument.
Michael, see ext/dbx - the abstraction doesn't get any more native than
that.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMA
's DECODE() statement for a blatant
example of this.
-Rasmus
--
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]
Use a while(list()=each()) loop.
On Thu, 10 Jan 2002, Ken Kinder wrote:
> Negative.
>
> On Thursday 10 January 2002 04:54 pm, Mark wrote:
> > On Thu, 10 Jan 2002 16:49:45 -0700, Ken Kinder wrote:
> > >That's what I had thought too, but no:
> > >
> > >Parse error: parse error, expecting `T_VARIAB
See http://php.net/overload
On Thu, 10 Jan 2002, Ken Kinder wrote:
> I have a second newbie question, and I promise I really did try to find this
> in the docs.
>
> Is there a method that can be called when an attribute or method is called
> that doesn't exist? A catch-all method?
>
> --
> PHP G
Well, just use the array index. ie.
$a = array(1,2,3,4,5);
foreach($a as $k=>$v) {
$a[$k]++;
}
This is obviously going to increment each element in the array, right?
Just do the same in your case.
One has to wonder why you are using arrays of objects though...
-Rasmus
his isn't working.
$sql = "SELECT * FROM tablename WHERE
tablename.column=".$_GET['criteria_integer'];
Or use {}'s properly if you insist on putting the variable inside the
quotes. Easier just to pop out and append it though.
-Rasmus
--
PHP General Mailing List (http:/
Well, does /usr/local/bin/php exist?
On Thu, 10 Jan 2002, Mehmet Kamil ERISEN wrote:
> hi,
> here is the question:
> I know I need to add a line like:
> #!/usr/local/bin/php
> to the begining of my php page followed by
> my code
> ?>
>
> Then set a cron job, so it runs.
>
> I have done all that
php -i >logfile
On Fri, 11 Jan 2002, Vaccius ITsec wrote:
>
> Hi,
>
> How does one redirect phpinfo into some logfile?
>
> Rgds,
> -PY
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> On Thu, 10 Jan 2002, Rasmus Lerdorf wrote:
>
> Thanks Rasmus, but I am not looking for a command line option.
>
> I need to pipe phpinfo() from a php script, running under apache.
> Normally, phpinfo() will just dump its output onto the browser;
> I want to redirect thos
.*? is a Perl'ism and only supported by the preg* functions. Use
preg_match() instead of ereg() and it will work.
-Rasmus
On Fri, 11 Jan 2002, Martin Towell wrote:
> what about ?
> ereg("(.*?)", $lineofhtml, $output);
>
> -Original Message-
> From: Kun
st add a simple check inside that while loop?
if($temprow['div_id'] != $home_div_id)
echo "" . $temprow['div_name'] . "\n";
Seems more logical to me than to mess with the array itself.
-Rasmus
--
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]
Google for something called PostToHost I wrote ages ago. Lots of
variations of that around. Basically you just fsockopen() to the site in
question and fputs() your request and POST data and then fgets() the
result.
-Rasmus
On Fri, 11 Jan 2002, Jeremy Reed wrote:
> Cold Fusion, as far as
Includes are not relative to your DocumentRoot. They are system paths. A
ScriptAlias would have absolutely no effect.
-Rasmus
On Sat, 12 Jan 2002, Richard Baskett wrote:
> Ok I have looked everywhere to try to figure out why I get the stupid
> warning:
>
> Warning: Failed open
would actually cause a graceful restart of Apache,
but I don't see how anything we do in PHP could cause spurious sig10's.
Get a backtrace of one of the sig11's. Without that there isn't much hope
of us tracking this down.
-Rasmus
--
PHP General Mailing List (http://www.php
MySQL has plenty of functions to return dates to you in any format you
specify. Please read
http://mysql.com/documentation/mysql/bychapter/manual_Reference.html#Date_and_time_functions
and pay special attention to the DATE_FORMAT() function.
-Rasmus
On Sun, 13 Jan 2002, Sander Peters wrote
.
-Rasmus
On Sun, 13 Jan 2002, DL Neil wrote:
> Rasmus,
>
> I have held several datetime-related conversations with people recently, and another
>series about 'when'/whether
> to use PHP or MySQL functionality.
>
> Here you are, "the man" of PHP, advising S
copies are faster if you don't change the copied data since no copy is
actually done. It is a shallow copy also know as a copy-on-write so you
should just pass a copy in your case, I bet.
-Rasmus
On Mon, 14 Jan 2002, Tino Didriksen wrote:
> Is it just me, or is working with referen
You call it broken, we call it finally making them POSIX-compliant.
Whatever floats your boat.
-Rasmus
On Mon, 14 Jan 2002, Manuel Lemos wrote:
> Hello,
>
> Alain Samoun wrote:
> >
> > Manuel:
> > What is broken with strtok() since php4.06? So far my code that use i
This doesn't appear to be a PHP question. Are you sure you are on the
right list?
On Sun, 13 Jan 2002, sundogcurt wrote:
> Hi! I'm storing a date in this format :
>
> 2002-01-13 11:08:40
> -mm-dd hh:mm:ss
>
> This is great because it gives me the date and the time, which I need.
> I want to
You don't mention which OS you are on, but usually apxs is found in the
apache-devel package. You probably didn't install that.
-Rasmus
On Mon, 14 Jan 2002, Jay Paulson wrote:
> I'm trying to compile php 4.1.1 and when it gets to the --with-apxs option it errors
>o
Grab the latest version of PHP. There is a new php.ini directive called
always_populate_raw_post_data
which when turned on forces all post data to be available through the
$HTTP_RAW_POST_DATA variable.
-Rasmus
On Tue, 15 Jan 2002, Daniel C. Sobral wrote:
> I have a little problem I have b
Redhat's apxs was broken years ago in RH 6.0 or some version like that.
But since then the apxs from the apache-devel package has been fine.
-Rasmus
On Tue, 15 Jan 2002, Simon Ritchie wrote:
> > I'm trying to compile php 4.1.1 and when it gets to the
> > --with-apxs opt
This has been discussed a number of times here. Apache will always inherit
the environment of the user that starts it. You should start it with a
clean environment. ie. add "env -i" to whatever script starts your httpd
server.
-Rasmus
On Tue, 15 Jan 2002, Michael Sims wrote:
> Thi
enario setting your error_reporting level to E_ALL will throw a
warning when you use an uninitialized $admin variable. That will prompt
you to initialize $admin correctly and thus be fine with register_globals
turned on.
I don't think it is quite as hard as everyone says to write
register_glob
T table.column FROM table WHERE criteria LIKE " . $myrow['variable'];
-Rasmus
--
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]
Fix your sendmail flags in your php.ini file to just queue up the mail.
On Wed, 16 Jan 2002, Ben Sinclair wrote:
> Is there a way to shorten the timeout for the mail() function? Currently it
> will wait too long when it is unable to send mail, causing the browser to
> appear to hang.
>
> --
> Be
o .inc files with an httpd.conf rule.
Allowing people to execute files that were meant to be included out of
context could end up being much more dangerous than simply having people
see the source.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
> On Wednesday, January 16, 2002, at 08:04 PM, Rasmus Lerdorf wrote:
>
> > No, it is safer to block access to .inc files with an httpd.conf rule.
> > Allowing people to execute files that were meant to be included out of
> > context could end up being much more dang
> while (list($opid, $ppid, $amount, $pname) = mysql_fetch_row($res)) {
> $eval = '$temp["'.$pname.'"] = $temp["'.$pname.'"] + '.$amount.';';
> eval($eval);
> $i++;
Whoa... W
That's how databases work. There is no implied ordering internally. An
order is only applied if you add an "order by" clause on a select.
-Rasmus
On Thu, 24 Jan 2002, Phil Schwarzmann wrote:
> When Im adding rows into my MySQL database using PHP, it seems to put
> the
ys
are the same. Where does this assumption come from? Hopefully not the
documentation.
-Rasmus
On Thu, 24 Jan 2002, Robert Ames wrote:
> This is the second time in as many weeks that we have been bitten by the
> fact that $_POST != $HTTP_POST_VARS; Attached is a real-world exampl
PHP does not support having multiple methods with the same name. Write a
single method and check the number of args in that.
-Rasmus
On Thu, 24 Jan 2002, Marc Swanson wrote:
> I'm not sure if this is a known feature in php.. but the following code will
> generate this warnin
http://www.php.net/manual/en/features.file-upload.php
$HTTP_POST_FILES or $_FILES
-Rasmus
On Fri, 25 Jan 2002, Gonzalez, Zara E wrote:
> To add on to this question, I have an upload script that I use on my site and
> now that I have registered globals off, I can't seem to fin
Try leaving off the --with-expat-dir switch completely. PHP comes with
its own expat.
On Fri, 25 Jan 2002, Ziying Sherwin wrote:
>
> We tried to install php 4.1.1 with wddx support on our Solaris 2.8 with
> gcc 3.0. We installed expat library 1.2 (download from
> http://www.jclark.com/xml/expat
google for gd-1.8.3gif
On Wed, 30 Jan 2002, Ed Lazor wrote:
> I'm trying to play with the gif functions this program supports. I'm
> having trouble finding it. Could someone e-mail it to me?
>
> Thanks,
>
> -Ed
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-
> can anone show me a good example how to use this function?
> I'm not really sure how it works
it only makes sense to use if your turn off user aborts.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comma
You can add modules on the fly today using dl() or semi-on-the-fly by
adding them to php.ini and just restarting the web server. You don't need
to recompile php to add any of these modules.
-Rasmus
On Thu, 31 Jan 2002, Kunal Jhunjhunwala wrote:
> Hey,
> I was wondering, if
e works for this problem. The SRM
project addresses this and when/if Apache2 ever gets stable and people
start using it, I am sure someone will write some pooling code.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
> On Fri, Feb 01, 2002 at 09:14:24AM -0800, Rasmus Lerdorf wrote:
> > > a) if Apache 2 is a single-process server (as opposed to Apache 1.x which
> > > forks a new process for a new request)
> >
> > It is a hybrid server which can be anything from one to the oth
http://php.net/substr
$rest = substr("abcdef", 0, -1); // returns "abcde"
-Rasmus
On Thu, 14 Feb 2002, marcbey wrote:
> hello php guys,
>
> how can i delete the last char in a string?
>
> thanx
>
>
> --
>
olely on the version of the GD
library PHP is linked against. GIF support was not removed from PHP. It
was removed from later versions of the GD library. Simply grab an older
version of GD which has GIF support and link PHP against that.
-Rasmus
--
PHP General Mailing List (http://www.php.net
ImageColorsForIndex() and ImageColorAt()
But you will PHP 4.1 for these functions to work with TrueColor images.
-Rasmus
On Tue, 19 Feb 2002, Baumann Reto wrote:
> Hi there
>
>
> I have to get an RGB value of a specified pixel in an JPEG image. This image
> uses 24bit per pi
This creates all the variables you asked for and also prints each one in a
column of a table.
foreach($row as $key=>$val) {
$$key = $val;
echo "$val";
}
-Rasmus
On Tue, 19 Feb 2002, Baloo :0) wrote:
> How can I assign automatically all fields of a database to a variab
This will give you the difference between the two dates in seconds:
$diff = strtotime(str_replace('-','/',$str1)) - strtotime(str_replace('-','/',$str));
-Rasmus
On Wed, 20 Feb 2002, Uma Shankari T. wrote:
>
>
>
> Hello,
>
> How
manipulation.
Probably an hour or two for any local UNIX hack to come up with exactly
what you need.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Grab a recent PHP release and in your php.ini file add:
always_populate_raw_post_data = On
-Rasmus
On Wed, 20 Feb 2002, Nicolas Boutet wrote:
> Hi all,
> I'm trying to make a script to get "application/octet-stream" datas from a
> java applet. The method used by the ap
> appreciated.
Dies? How so? Is it a segfault? If so, please get me a backtrace.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
fonts, a couple of AFM (Adobe Font Metric) fonts and also a
couple of TTF fonts all on the same PDF page.
-Rasmus
On Mon, 18 Feb 2002, Richard Lynch wrote:
> Please Cc: me on replies...
>
> I recently installed PHP 4.1.0 + PDF 4.0.1 on my development box.
>
> I can't seem to
Did you check the manual? Like php.net/delete perhaps which tells you the
PHP function that does this is actually called unlink().
-Rasmus
On Wed, 17 Apr 2002, jas wrote:
> How can I delete a file in php?
> thanks in advance,
> Jas
>
>
>
> --
> PHP General Mailing
Turn on the memory-limit option
On Wed, 17 Apr 2002, Dustin E. Childers wrote:
> Hello.
>
> I have found something interesting that can kill the server. I'm not sure if this is
>because of Apache or PHP. If you use PHP to send a header() inside of a while loop,
>the httpd process will begin to
loaded
in via php.ini.
-Rasmus
On Sat, 20 Apr 2002, Richard Lynch wrote:
> Please Cc: me as well...
>
> I'm having the devil of a time getting Ming and/or libswf to do a Bitmap...
>
>
> Short version:
> What's the most stable PHP+Ming version-compatible combo I can
virtual()
On Sun, 21 Apr 2002, Werner de Schepper wrote:
> Hello,
>
> I like to include the html-output of a perl script in my php-page. The perl
> script is on the same server as the php file, so I use de passthru(
> [docroot/path/perl-file] ) function to include de html output of the script
>
if($abc & 2) echo "2 Bloco\n";
if($abc & 4) echo "4 Sessao\n";
if($abc & 8) echo "8 Sistema\n";
-Rasmus
On Sun, 21 Apr 2002, albertonews wrote:
> I want this:
>
> 2 Bloco
> 4 Sessão
> 8 Sistema
>
> only this three
>
> b
$lines = file('filename');
foreach($lines as line) {
list($var,$val) = explode('=>',$line);
if(trim($var)=="'total'") $val = trim($val);
}
$val = $new_value;
$fp = fopen('filename','w');
fput
Read the error handling chapter in the documentation.
-Rasmus
On Mon, 22 Apr 2002, Jean-Rene Cormier wrote:
> Ok I'm trying to create a script that would allow users to bind to an
> LDAP server and we all know there's gonna be some people mistyping their
> password but whe
Also see extract() and import_request_variables()
Although, an upgrade to PHP 4.2.0 is not going to automatically disable
register_globals. Upgrading PHP does not overwrite the existing php.ini
file, so unless you ISP specifically changes this php.ini setting, nothing
will change.
-Rasmus
On
read php.net/substr
On Mon, 22 Apr 2002, Craig Westerman wrote:
> I have a string that ends in a comma. What is best method to remove the
> comma?
>
> Craig ><>
> [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
No you don't. You should go read the substr() docs as well:
substr($str,0,-1);
-Rasmus
On Mon, 22 Apr 2002, Tyler Longren wrote:
> First, you'll need to get the length of the str with the str_len() function.
> After you have that, use the substr() function like
No, this has not been implemented. I can't think of anything uglier and
less sensical than Code should be readable and not misleading.
-Rasmus
On Tue, 23 Apr 2002, Brinkman, Theodore wrote:
> Does anybody know if they completed the handling of the 'echo shortcut' to
No, you need to install Apache first if you want to build PHP as an Apache
module.
I'd suggest sticking with Apache 1.3.x for now though.
-Rasmus
On Wed, 24 Apr 2002, Michal Dvoracek wrote:
> Hello,
>
> i have problem with %subj%.
>
> It's possible to build php witho
Well, it isn't likely to be any faster, it just uses less runtime memory.
-Rasmus
On Wed, 24 Apr 2002, Jimmy Lantz wrote:
> Hi,
> I'm looking into the new version of PHP it says in the changelog
> "Highly improved performance with file uploads "
> Has there be
It works fine. Spell Header() right, or remove the header altogether so
you can see the error message. I predict you will see a message telling
you it couldn't open the font file.
-Rasmus
On Thu, 25 Apr 2002, zhaoxd wrote:
> hello,all:
>
> I have already installed gd-1.8.4 in
ed to add --with-apxs
-Rasmus
On Thu, 25 Apr 2002, Larry Brown wrote:
> I don't mean to be rude but as I mentioned in my post "After running
> ./configure make and make install...". Please review my post for the actual
> problem.
>
> Larry S. Brown MCSE
> Dimens
want other flags on this configure line. --with-mysql
is just an example.
===
Now why would you assume that you could build the Apache module version
without the --with-apxs flag?
-Rasmus
On Thu, 25 Apr 2002, Larry Brown wrote:
> I ended up using a port which eventually worked. I parsed
>zhaoxd
>
> > It works fine. Spell Header() right, or remove the header altogether so
> > you can see the error message. I predict you will see a message telling
> > you it couldn't open the font file.
> >
> > -Rasmus
> >
> &
You are better off reading the Security chapter in the PHP documentation.
That study-in-scarlet document is right on some points, but ill-informed
and misleading on others.
-Rasmus
On Thu, 25 Apr 2002, Erik Price wrote:
>
> On Thursday, April 25, 2002, at 10:06 AM, Nico van der Dussen
Please read http://www.php.net/manual/en/language.variables.scope.php
On Fri, 26 Apr 2002, Liam Gibbs wrote:
> I have a problem with my variables not being set. I
> have a file I use for constants and functions,
> structured like so:
>
> $this = "this";
> $that = "that";
> .
> .
> .
> function t
You need to use php_admin_flag for safe_mode.
But I wouldn't expect any effect here since you defaulted it to On and in
your httpd.conf you are turning it on... So what are you expecting to see
different?
-Rasmus
On Fri, 26 Apr 2002, Ashley M. Kirchner wrote:
>
> On our se
You forgot to do a session_start() in your a.php script. Also make sure
register_globals is turned on. If it isn't, use $_SESSION['userip'] in
b.php.
-Rasmus
On Fri, 26 Apr 2002, Deval Parikh wrote:
> hi,
> IF I am using this code in one script...
>
> a.p
Turn on register_globals in your php.ini file.
On Sat, 27 Apr 2002, baldey_uk wrote:
> Hello all, im not sure if its my installation or if on doing something wrong
> but i cant seem to use any of the variables from forms that i PUT to. Or any
> full stop! even
>
>
>
> doesnt out put anything. A
essage-
> From: Nathan [mailto:[EMAIL PROTECTED]]
> Sent: 27 April 2002 02:34
> To: Rasmus Lerdorf; [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [PHP] Variables not working
>
>
> Before you get carried away with registering globals, try echoing:
> $_SERVER["
4.3 will have better support courtesy of Wez's cool streams code.
-Rasmus
On Fri, 26 Apr 2002, [-^-!-%- wrote:
>
> Hello PHP Team !
>
> I was wondering if the latest PHP release had any improved support for SSL
> and secure connections.
>
> Are there any plans to ad
mail( $to, $From, $email, $message );
The argument to mail() are to, subject, message. See
http://www.php.net/manual/en/function.mail.php
The rest looks ok.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-with-mysql=/usr/local --with-apxs=/mypathtoapxs etc etc ..
>
> Still really confused..
>
> Chad
>
> -Original Message-
> From: Chad Day [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 02, 2002 2:52 PM
> To: Rasmus Lerdorf
> Cc: [EMAIL PROTECTED]
> Subject:
yup
On Tue, 30 Apr 2002, Charl wrote:
> Are PHP files indexed the same way as plain HTML files by search engines?
>
> -- Charl
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
PHP General Mailing List (http://www.php.net/)
Did you read the chapter in the manual on that?
On Fri, 3 May 2002, wong wrote:
> please help me
> how upload 5 file gif or jpeg together with php.
>
> RiZaL
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
PHP General Mail
Because your strtotime() call is returning 0. Replace the '-' with '/'
and I bet it would work.
-Rasmus
On Fri, 3 May 2002, ROBERT MCPEAK wrote:
> Running PHP3 on a Linux box and I've got trouble with date().
>
> Here's the code:
>
> $blah=2002-05
but this file isn't
actually all that bad)
Now find the line that starts with "DS" and change it so it says:
DSmail.mindspring.com
for example.
Then restart your sendmail. And now hocus-pocus-presto-shazzam, your
sendmail suddenly works great for all your apps, not just PHP.
-Rasm
See either extract() or import_request_variables() in the manual.
-Rasmus
On Mon, 6 May 2002, David J Jackson wrote:
> The code below works (but its ugly), but I know there has to be a why to
> grab all the $_POST[] at once and then parse them out?
>
> Isn't there a why for
Not until 4.3.
On Mon, 6 May 2002, Jonathan Rosenberg wrote:
> Does fopen() actually work for https connections? I thought this
> implementation was not yet released.
>
> > -Original Message-
> > From: Austin Marshall [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, May 06, 2002 9:40 PM
> >
Relax Dan, open source non-commercial PHP-related announcements of
interest to a lot of PHP users are welcome here.
-Rasmus
On Tue, 7 May 2002, Dan Hardiker wrote:
> > This is a minor bug fix release.
>
> Wasnt aware that php-general had incorporated a channel for product
&g
601 - 700 of 1659 matches
Mail list logo