Mehmet,
If you can keep the scope ({and}) correct then you will have no problems.
However, it will get kinda slow after going deep enough.
chuck
- Original Message -
From: "Mehmet Kamil ERISEN" <[EMAIL PROTECTED]>
To: "php" <[EMAIL PROTECTED]>
Sent: Monday, December 17, 2001 10:07 PM
Su
Jack
$_GET is automatically global to all scopes. No need to globalize.
chuck
- Original Message -
From: "Jack Dempsey" <[EMAIL PROTECTED]>
To: "Michael Jurgens" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, December 17, 2001 10:49 PM
Subject: Re: [PHP] PHP 4.10: any way to
It depends on how you have magic quotes set up in your php.ini file. Mine
are set up as follows:
magic_quotes_gpc On On
magic_quotes_runtime Off Off
which I believe is the default, because I certainly never changed them.
I have never had a problem simply inserting or selecting html without the
n
Anyone have a php directory listing script that creates clickable links for
all items in folder list?
JJ
--
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: [E
i understand that, but if he extracts inside a function, those variables
will be in that scope.
if his auto_prepend file is simply 'extract($_GET)' then that'd be fine as
well
jack
-Original Message-
From: Charles Williams
[mailto:[EMAIL PROTECTED]]
Sent: Monday, December 17, 2001 5:59 P
Hey Guys,
Thanks a lot, I allways use some config files that I include in every page,
and with
"extract ($_REQUEST);" added to one of those files, almost all of my
problems are history.
I'm now working on getting $PHP_SELF etc back working, but that should work
out.
Amazing this newsgroup, thank
>
> Hi Bas!
>
> SSH is possible but complicated.
>
Not really, just create a tunnel...
-Sterling
--
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: [
scripts like this are widely available.
check: sourceforge.net/projects/phpfilemanager/
bvr.
On Mon, 17 Dec 2001 14:55:48 -0800, Jeremiah Jester wrote:
>Anyone have a php directory listing script that creates clickable links for
>all items in folder list?
>
>JJ
--
PHP General Mailing L
What is the syntax to set multiple name=value pairs in a cookie?
Thanks.
Zach Curtis
POPULUS
--
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 PROTE
> Does anyone know of an easy way to store html code in a mysql database,
and
> then retreive it, in such a way that it can display the page as if it were
a
> standard html page? Would using php be of benefit to me?
Figured it out. I completely forgot about two php functions that escape
prob
Ahh.. I was about to reply but nevermind. The two functions you're talking
about are addslashes() and stripslashes(). Yes those are very handy. :)
>
>
> > Does anyone know of an easy way to store html code in a mysql database,
> and
> > then retreive it, in such a way that it can display the
I don't know!
But if you're only accesing the cookie from PHP you could use
serialize()/unserialize()
or *sessions*, they both work even on full objects.
bvr.
On Mon, 17 Dec 2001 16:30:28 -0700, Zach Curtis wrote:
>What is the syntax to set multiple name=value pairs in a cookie?
>
>Thanks.
you can do this to get what u want:
foreach($_GET as $key => $val){
$$key = $val;
}
this is what u want to do, right? :)
>for all in $_GET
>{
>$[varname] = $_GET[varname]
>}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hello,
is it possible to register array in session .. something like that:
session_register("ex_array[field1]");
session_register("ex_array[field2]");
this example of course doesnt work :), so if anyone knows a solution, plz
tell
thx
--
PHP General Mailing List (http://www.php.net/)
To unsu
On Tue, 18 Dec 2001, Gregor Jaksa wrote:
> Hello,
>
> is it possible to register array in session .. something like that:
> session_register("ex_array[field1]");
> session_register("ex_array[field2]");
>
> this example of course doesnt work :), so if anyone knows a solution, plz
> tell
Why not j
Gregor Jaksa wrote:
> Hello,
>
> is it possible to register array in session .. something like that:
> session_register("ex_array[field1]");
> session_register("ex_array[field2]");
session_register("ex_array")
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [E
I'm running a script that times out durring a certian action.
Fatal error: Maximum execution time of 30 seconds exceeded in
/usr/local/web/htdocs/mail/functions.php on line 1200
The error logs say: php in free(): warning: recursive call.
The offending lines of code, and here's what really gets
Hi
One way is or if cookies aren't used try
$PHPSESSID seems to only get set if it comes back as a cookie
Tom
At 04:39 AM 18/12/01, Julio Nobrega Trabalhando wrote:
> Hi All,
>
> I have a few scripts using $PHPSESSID to softly disable cookies
>requirement on some pages. I just installed PH
Hello Jeremiah,
There is a variety of options to list files in a directory.
This will list sort files by date.
$file".date( "F d
Y H:i:s",$time)."
";
}
}
krsort($data);
while(list($key,$val) = each($data)){
echo $val;
}
?>
This one gets a tag out of a document
(.*)", $file, $title_array);
Hi!
There is in PHP some way to handle errors like in other languages,
I mean, something like this:
.
.
.
try to do
...
if error then do ...
.
.
.
I'm tired of reciving warnings :-(
--
Yoel Benitez Fonseca
--
PHP General Mailing List (http://www.php.net/)
To unsu
Ive been trying to get IMP 3.0 RC3 (web-based IMAP client) to work under
php / apache / imap2000 c-client.
When I install php 4.0.6 or 4.1.0 with apache 1.3.20 or 1.3.22 using
dso/apxs everything works except for one major problem:
After one is logged in (a session is opened) for a while (and
I cant seem to get my htaccess file to work. Can anyone help? Heres what i
have now:
AuthUserFile /var/www/html/private/ .htpasswd
AuthGroupFile /dev/null
AuthName PrivateDomain
AuthType Basic
require valid-user
I then type 'htpasswd -c .htpasswd myusername' and then set password.
Everything
i don't think you want that space inbetween private/ and .htpasswd
-Original Message-
From: Jeremiah Jester [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 18, 2001 12:38 AM
To: Php-General
Subject: [PHP] htaccess problems
I cant seem to get my htaccess file to work. Can anyone help?
Damn , i hate ftp'ing twas the simplest thing in development but noe i'm
trying to deploy!! Pleez help!
Getting an WARNING! ftp_put! PORT command succesfull on
also the file doesn't seem to be uploading!!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL P
Your code runs more than 30 seconds.
Try using set_time_limit(n) function.
Niklas
-Original Message-
From: Rick [mailto:[EMAIL PROTECTED]]
Sent: 18. joulukuuta 2001 2:46
To: [EMAIL PROTECTED]
Subject: [PHP] php in free()
I'm running a script that times out durring a certian action.
JNT> If I do this:
JNT> echo $PHPSESSID;
I've encountered the same when instaling the Mandrake Linux 8.1 with a
precompiled php - also 4.1.0.
Sessions just doesn't seem to work no matter how I access them.
I installed Redhat 7.1 on my server again, and left the problem for my
ISP.
Kind reg
101 - 126 of 126 matches
Mail list logo