in /etc/httpd/modules (the correct path for apache
extensions on RedHat), and in /usr/lib/apache (from the default compile).
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
; /usr/kerberos/lib/libcom_err.so.3 (0x4065c000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x4000)
libssl.so.0 => /usr/lib/libssl.so.0 (0x4065f000)
libcrypto.so.0 => /usr/lib/libcrypto.so.0 (0x4068c000)
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
y after this, the POSTed
variables correctly overriding their GET counterparts. The "=&" reference
is there for optimization - faster and less memory-consuming.
Wnat to have these global after all?
foreach ($_GET as $name => $value) {
global $$name;
$$name =& $value;
}
Have fun,
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
t($_GET[$val])) {
global $$val;
$$val = $_GET[$val];
}
}
The key element is not necessary here.
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
-consuming.
>
>Uh... isn't this what $_REQUEST is for??
[snip]
Yessir, exactly. However if you're going to fiddle around with $_GET
(checking for allowed input) while allowing any $_POST'ed data, you might
prefer this solution...
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
// works
echo $$key; // works
echo "Key 0: $0"// prints "$0", not the content (wrong)
echo $0;// error "unexpected T_DNUMBER"
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
At 20:40 06.11.2002, Jason Young spoke out and said:
[snip]
>register_globals is definately off..
>Maybe its a PHP miracle, as Ernest suggested.. maybe Rasmus or someone
>else on the PHP dev team has something to say about it, but it works..
&
"ftp://$user:$pass@;$ftphost$ftpfile", 'w');
if ($fp) {
fwrite($fp, $x, strlen($x));
fclose($fp);
header("Location: http://$wwwhost$wwwfile";);
}
else die('Cannot create file via FTP');
?>
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I will if I have to...)
[snip]
Would curl be an option? Do they have this?
You could, however, always write a tempfile, then exec your ftp client for
a transfer...
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP Gene
#x27;**user**';
$pass = '**pass**';
$ftphost = 'ftp_host';
$ftpfile = '/www/sample.html';
$fp = ftp_connect("$ftphost");
if ($fp) {
$login = ftp_login ($fp, $user, $pass);
ftp_delete ($fp, $ftpfile);
ftp_quit($fp);
}
else
ch of
nonäwhitespaces at the end of line:
ereg("([^\s]+)$", $dirline);
this should return "fantasy" for both cases you sent.
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
fiers, etc), and it doesn't suffer from MySQL's
self-admitted limitations, mainly the lack of stored procedures and triggers.
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To u
example:
ob_start();
print_r(your_array);
$result = ob_get_contents();
ob_end_clean();
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RL
it should point to... well, it just looks like this.
2) code your template like this:
This will result in something like
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
received AND rendered, at this time the
server has already forgotten about the request...
There cannot (CANNOT) be any interaction between client-side Javascript and
any server-side application. These two are effectively independent!
Hope this clears things up...
--
>O Ernest E. Vogelsing
oks as if you were allowed to open all files below
/home/cwiltgens, but not outside your home directory.
Could it be that the correct path for your statement _should_ be
/home/cwiltgens/.pix?
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PH
ot;;
$header .= "Reply-To: ".$sender_email."\r\n";
$header .= "MIME-Version: 1.0\r\n";
$header .= "Content-Type: text/html; charset=iso-8859-1\r\n";
$header .= "X-Priority: 1\r\n";
$header .= "X-Mailer: PHP / ".phpversion()."\r\n"
t;index.php");
>include($foo);
>
>...and IT worked every time. So the problem appears to be related to using
>concatenation in my include statement (?).
>
>Odd. Many thanks for the response!
----[snip]
Now _THAT'S_ odd - hmm.
nks, so you could:
$arwords = split(' ',$sentence);// make an array
$arwords = array_slice($arwords, 0, 4); // return the first 4 entries
echo join(' ', $arwords); // and show them
--
>O Ernest E. Vogelsinger
(
while(!file_exists("index.php") { usleep(100); clearstatcache(); }
while(filesize("index.php" < 10) { usleep(100); clearstatcache(); }
This will sleep for 0.1 seconds, not really notable. Note that I put the
call to clearstatcache() _after_ the sleep...
--
type
header, by setting the header yourself:
header('Content-type: text/vnd.wap.wml');
Have fun (and post the URL when finished .-) )
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.
one that's passed as an argument, and
leave the "original" $child unmodified!
Crosscheck all of your class code (and the code utilizing it) it you're
always passing references. Ref's work like a charm until you mess up at a
single location. Well, having made my way
browser from caching.
No-cache MIME headers are:
header('Pragma: no-cache');
header('Cache: none');
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ier.
I personally believe it's better to have compression be done at the web
server (refer to http://httpd.apache.org/docs-2.0/mod/mod_deflate.html).
It's more general then, after all...
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ure the ACL's are set correctly.
Usually Apache runs as "system", so make sure you're giving the "system"
user full rights (or at least r/w/d) to this directory.
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
ello.exe),
or simply use forward slashes (as c:/abc/hello.exe).
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
gzhandler($buffer, $mode);
}
But I doubt this would change anything here... ob_gzhandler _should_ return
some value. You have some output in the file do you?
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
ob_gzhandler($buffer, $mode);
}
But I believe the problem must be somewhere in the outer logic - the
callback you showed doesn't do any discrimination if it has a cache file or
not. Check here, I'd suggest...
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
But I can't figure out how to escape ?> so that the
> interpreter doesn't take it as the end of the script ! Any idea ?
[snip]
Try
echo '';
This should work (untested)
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
;t as well
if (array_key_exists(3))
echo $test_array[3];
Get the idea? IMHO it's complete overkill with PHP to predefine variables
since they're auto-initialized with NULL when used first. These notices are
only for the development cycle, to aid us in spotting a pro
At 16:48 08.11.2002, Tim Molendijk spoke out and said:
[snip]
>The problem is solved and I completely understand why now. This last thing
>is thanks to you Ernest.
[snip]
Glad it works - you're v
ficially deprecated". Functions or methods
accepting a reference are required to be "prototyped" that way - this helps
you not to "forget" to pass by reference. You really should modify your
functions using reference parameters when declaring them, if you're usi
r you're accessing... This might delay the actual flushing for what
reason ever. I don't believe PHP buffers files differently if they are
accessed using an fopen url wrapper.
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
). You just cannot pass constants:
function Product(&$language)
{
...
}
// ok, but gives a notice
Product();
// will fail
Product('ger');
If you keep your code like it is be warned that it may break with a future
version of PHP.
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
switch ($_POST['status']) {
case 'ADD':
break;
default:
echo 'Unsupported status!';
}
}
else echo 'No status sent!';
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
i set to off, i can't pass GET variables to other
>page. how can you pass GET variables to other page without setting
>register_globals=on?
What do you mean by "pass it on to other page"? I'm afraid I don't get you.
What are you trying to accomplish?
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
r have the abilty to pass A reference like "foo(&$a)" and have the
opportunity to choose at runtime if I want to use a reference here or not,
but it's how they say...
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
command displays the value buy
>this way is deprecated.
>How can i run the script without problems having register_globals=off?
$v) {
if ($parms) $parms .= '&';
$parms .= "$p=".urlencode($v);
}
?>
...
This will do what you want (untested, but should work)
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
[snip]
you need to restart apache since your php is a loaded module:
/usr/sbin/apachectl restart
--or--
/sbin/service/httpd restart
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (htt
This depends on the code - if you have a lot of comment, then it's usually
faster ;-)
Honestly - you need to profile this to get a real answer. If you have a
"library" with a bunch of functions it would be better to include only a
subset of functions when you need them.
--
&g
--[snip]
Make your command like this
c:/abc/hello.exe 2>&1
to see if some error is given... might be a problem with environment space?
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing
nd
therefore any tag should be closed.
Most ascii editors can be configured to discard trailing whitespaces; and
PHP will even ignore a newline character following immediately a closing tag:
--[html]-
Outside
Outside
--[html]-
will correctly produce this:
OutsideInsideOut
At 07:12 09.11.2002, conbud said:
[snip]
>Hi,
>In some of my URLs I have to pass variables through the URL like
>nav.php?page=about§ion=linux - when i do this and then scan my site for
>W3C validation I get this
>Line 40, column 28:
>
gt; d
)
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
right, and I was simply WRONG -
apologies for any misinformation.
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ing array should have:
$text = "And what did I tell you?";
list($one,$two,$three,$rest) = preg_split("/\s+/", $text, 4);
print($rest);
will correctly output "I tell you?"
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www
of elements _ahead_, just the number of elements
you want to receive - the "rest" will be in the last element.
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t;;
return $result;
}
$ubb = '[list]
[*] item 1 äöü line 1
item 1 line 2
[*] item 2
[*] item 3
[/list]';
echo ubb2ul($ubb);
?>
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ative_url points to the same script...
what browser make&model are you using? IE simply loops, without any error.
A small glitch: in case dirname($_SERVER['PHP_SELF']) is empty (root
directory), your header would look as:
http://www.yourdomain.com//relative.php
Note the
e javascript:
',
'document.location.href="', $url, '">',
'',
'',
'A nasty error has occurred. If you are not redirected ',
'to the correct page, click here to',
'continue (sorry folks)'
At 23:57 09.11.2002, Ernest E Vogelsinger said:
[snip]
>if ($we_found_an_error) {
>$url = 'http://' . $_SERVER['SERVER_NAME'] .
> '/my_error_handler.php?any_parameters_you_need';
>echo
re not redirected ',
'to the correct page, click here to',
'continue (sorry folks)',
'';
exit;
}
// else no error - continue
?>
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
meter on
mysql_connect specifies if PHP should use an existing link, or create a new
one.
You should decide whether you want to go with mysql_select_db() or
mysql_connect().
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a dynamic variable named target:
gets me
Notice: Undefined variable: target in /www/test/test.php on line 4
Do a grep for "target" on your source files.
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ch us 1/2 = 0.5 .
[snip]
Needs a lot of work before and after to check if things are right, but I
believe you get the idea...
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailin
iANPj4gDWVu
[...]
RHA0NjcxUFJGbzgtMTZsNDM=
--GU4wuTSk68F
The message should also end with a boundary, but most mail client's omit
this...
For more information consult RFC2045 ff about MIME
ftp://ftp.rfc-editor.org/in-notes/rfc2045.txt
Hope this helps,
--
>O
t the body
is already in a 7bit mail-ready representation. This is the default
value -- that is, "Content-Transfer-Encoding: 7BIT" is assumed if the
Content-Transfer-Encoding header field is not present.
[snip]
Therefore, for plaintext headings you
nce in curly brackets:
$sql = "SELECT *
FROM users
WHERE username='{$_SERVER['PHP_AUTH_USER']}' and
password='{$_SERVER['PHP_AUTH_PW']}'";
Note that I used single quotes within the array - it's for the paranoid
like me only
ystem, and retrieving an object
reference from the cache needs approx. 0.001 msec.
Just to tell you, not even the cache object is global - there is a public
wrapper function around it to return a reference to the global cache
object. Currently we have approx. 85,000 lines of code, and absol
ns, they get written to a file somewhere. Just make sure that this
"somewhere" is
a) read/writable by apache
b) not read/writable by anyone else
and you are (relatively) secure.
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t;i guess syntax isn't correct or what do you think ?!
[snip]
hmm - it's a little bit inefficient in terms of nanosecs, but syntactically
correct. You simply have 18 successive empty statements...
--
>O Ernest E. Vogelsinger
(\)ICQ #
go - what do you need?
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
At 15:15 11.11.2002, Clint Tredway spoke out and said:
[snip]
>Has anyone implemented credit card processing with surepay.com using
>PHP?
[snip]
Ehm - you mean FirePay, right?
--
>O Ernest E. Vo
yway to make it it one statement
>instead of $tmp = $foo->get("bar"); $tmp->getBaz(); -- lame --?
>Is their a config setting or something?
----[snip]
This is simply not supported in PHP...
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
>then extract it with a simple regular expression.
[snip]
Seems to work only on non-SCSI disks - running RHL 7.2 I get
# hdparm -i /dev/sda
/dev/sda:
operation not supported on SCSI disks
:(
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
nk should more correctly read
http://www.galapagosstudios.com/test2/viewdesigns.php#Garment?pri=1&sec=
http://www.galapagosstudios.com/test2/viewdesigns.php#Garment?pri=1&sec=1&sid=1
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
yeah, right... this afternoon they were still there I believe...
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 19:23 11.11.2002, James Johnson said:
[snip]
>test
[snip]
and? did you pass?
:)
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailin
login gets recorded in a SID that is part of a GET
request URI, this session can easily ba shared among others while it is
active. That wouldn't even be session "hijacking" as it is acceptable to
pass an URI along...
But that would be the topic of another thread.
Sorry for the lo
cancel, whatever). The server would then have a chance to take the
appropriate action.
>3). How do I mix php in a Java function?
You don't. PHP is a server side issue, Java runs at the client's (at least
in this scenario). The client browser starts the Java applet on behalf of
the HTM
d mode, specify your content
being an application/octet-stream:
header('Content-Type: application/octet-stream');
Of course, if you're serving an MSWord document (phew) you might have
MSWord open directly in the browser:
header('Content-Type: application/msword
m > $to) {
$x = $from; $from = $to; $to = $x;
}
$rslt = $to - $from; // number in seconds
return (int)($rslt / 86400); // return days (1d = 86400 secs)
}
Hope this helps,
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
to get "November"? from "time()"?
[snip]
:)) rtfm, again and again :))
1) http://www.php.net/manual/en/function.date.php
2) try this:
date('F', time());
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
url that causes the client to _try_ to refresh every
second. As long as the transfer is not finished, the popup script simply
replies with "204 No Content", so the browser would change nothing with the
popup. When the upload is eventually finished, the refresh request
succeeds, but the only stuff the client receives is a javascript closing
the popup...
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
$result .= preg_replace($re2, "\n", $arMatch[2]);
$string = $arMatch[3];
}
else break;
}
$result .= $string;
return $result;
}
This assumes that all are properly closed with . As said, I
didn't test, but it should work this or a similar way.
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
>/home/admin/hsReleaser.php on line 20
>
>But I am rather sure that the file does exist. If I open
>/home/admin/2002-11-12-Part1.mp3 it does exist.
[snip]
Maybe the open_basedir limitation is in effect, and /home/admin is outside
the allowed base directo
ww.perldoc.com/perl5.6/pod/perlre.html and eat this page -
you'll be a RegEx whiz in seconds (naahh - it takes a bit longer ;->)
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
cut here]
What error do you get? Make sure you're using the correct case - PHP is
case sensitive in variable names and associative index keys...
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ong symbol table (if it chooses to lookup the keywords first), or 800
times (if it looks up the entity table first).
Simply saves time...
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--[snip]
esp. in C++ you usually tend to use your own prefixes - something like 'm_'
for member variables, '_' for statics or locals, etc. It even goes further
using the hungarian notation (which I'm a great fan of).
--
>O
will be slower than a kaernel-based NAT) I'd
think of using CUrl to transparently handle post data as well as URI-based
queries.
One last word - I hope the forms you are targetting remotely are your
own... "handling" foreign forms and web pages could be interpreted as
stealing; one
d transmitted to the
client, therefore no headers can be sent anymore.
Remedy:
1) don't send data before you're done with the headers, or
2) Use output buffering (ob_start(), ob_end_flush()) to avoid data being
transmitted prematurely.
--
>O Ernest E. Vogelsinger
(\)ICQ #13
to a value where the error will be shown, e.g.
"error_reporting(E_ALL | ~E_NOTICE);"
This will override the INI file for the script instance
b) cluster your code with "echo" statements to see the value of certain
variables.
--
>O Ernest E. Vogelsinger
the name $users_file and $users_file_size (note the 's' after user).
Just in case that was no typo in your message...
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
fpassthru($file);
fclose($file);
}
Using this sequence will send the MIME header only if the file is available
and could be opened.
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
on RHL 7.2. Any clues?
Thanks, and sorry for OT
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ssume that the column holding the password is simnply named 'password',
not 'password(password)'.
while ($row = mysql_fetch_array($result)) {
$email = $row['email'];
$password = $row['password'];
--
>O Ernest E. Vog
rder deny,allow
deny from all
Allow from 10.10.10.0/24
Satisfy any
At 01:01 13.11.2002, Ernest E Vogelsinger said:
[snip]
>Hi folks,
>
>sorry, no PHP or else this time, just a quick OT question (don't want to
>need to subscribe to an
ngle
brackets). PHP will recognize this being an array, and you'll end up with
$myvar = array('select1','select2');
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
he2\htdocs\SAMS\Chapter24\member.php on line 5
[snip]
I believe the dot before the "c:" is the culprit. Remove it, restart Apache
and retry.
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PH
ent, so , , and others are matched
s - treat the input as a single line, don't stop at a newline
>also, do you see any direct "bugs slash features" in the current function?
Not that I'd be aware of...
>thanks in anticipation,
You're most welcome :)
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 01:59 13.11.2002, David Rice said:
[snip]
>On Tuesday, November 12, 2002, at 07:34 PM, Ernest E Vogelsinger wrote:
>>
>> Sure it is - just name the listbox control "myvar[]" (note the angle
>> brackets). PHP will recognize
e '[]' doesn't have to do with a PHP variable, it only tells PHP to
treat an _incoming_ parameter as an array.
What happens when PHP parses form data is something like:
variable is named "name"[] ?
yes - $_REFERENCE['name'] = array(v1, v2, v3);
no -
) {
>menuObj = eval (doc + elem + doc2);
> }
>
>I would be grateful for any tips.
>
>Thanks,
>Aaron
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
NI file. This must
point to a correct folder. I suspect it's set to /tmp but there's no /tmp
on Windows... Set it to any temporary directory of your choice, e.g. C:/TEMP.
Sessions should work then...
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vog
issue that trans_sid doesn't work when you do output
buffering with ob_gzhandler. If you want to use trans_sid you can do output
buffering, but cannot use the compressor. The reason is that PHP merges the
SID into the URIs _after_ the buffer callback has been executed.
--
>O Ernes
a
number of solutions you could apply, from simple to complicated. I'll be
happy to submit some ideas here; don't have the time right now, but I'll be
back soon ;-)
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General M
he "application/octet-stream" content type. Any browser should ask to
save this.
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
-
";
echo preg_replace('/[^a-zA-Z0-9]/',null,$string), '';
?>
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
s done:
0 0 * * * lynx -dump http://whatever/blah.php 2>&1 > /dev/null
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
401 - 500 of 595 matches
Mail list logo