Bogdan Stancescu wrote:
You probably mis-typed something:
[EMAIL PROTECTED] ~]$ php
Content-type: text/html
X-Powered-By: PHP/4.3.11
is 0
Tried that, but notice the PHP Version, it is failing in PHP 4.1.2!
Erwin Kerk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
in the first sample, inf in the second sample.
The used PHP version is PHP 4.1.2 (CLI version)
Erwin Kerk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
pete M wrote:
The pattern
$pattern = 'font\-size:.*?\;';
throwns the error
eregi_replace(): REG_BADRPT
Well, this should work (tested and all )
$pattern="|font\-size:.*?;|si";
$txt = preg_replace( $pattern, "", $txt );
Erwin
--
---
nt-family:*\;';
$txt = eregi_replace($replace,'',$txt);
What I'm trying to do is match the font-size: and replace everything up
to the ; with '' ie nothing
dont work
Feel I'm so close ;-(
tia
Pete
Try this:
$pattern = 'font\-size:.*?\;';
Erwin Kerk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
somethinglike:
Erwin Kerk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
guess you're trying to get some data from the server after the page
load (problably by javascript), so this might be of help:
http://www.scss.com.au/family/andrew/webdesign/xmlhttprequest/
Erwin Kerk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi All,
I've seen a script somewhere which accepts a crontab file for input, and
then displays all jobs in a calendar-like screen. However, I forgot the
name. Searching Google didn't help me either.
Does anyone know the name (and if possible, an url) of this script?
Thanks in adva
Al wrote:
I've got a question about the following cronjob.
#At 3:01 our time, run backups
1 0 * * * /usr/local/bin/php
/www/r/rester/htdocs/auto_backup/back_em_up.php
>/www/r/rester/htdocs/auto_backup/cron.log 2>&1
#At 3:02 clean up sessions folder
2 0 * * * (find /www/r/rester/htdocs/sessions/
M. Sokolewicz wrote:
M. Sokolewicz wrote:
Lester Caine wrote:
John Holmes wrote:
> I switched from using the us2.php.net mirror to the us4.php.net
mirror
and things were fine.
That has been 'knobled' now.
At least now I know I'm not going mad ;)
it's because of an issue with the JS scripts. Ju
Yao, Minghua wrote:
Hi, all,
I am testing how to post form-data to a host using the following code
(test.php):
fputs($fp, "POST $path HTTP/1.1\n");
fputs($fp, "Host: $host\n");
fputs($fp, "Content-Type: multipart/form-data\n");
fputs
://%{HTTP_HOST}:81$1.php
Erwin Kerk
Webdeveloper
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Chris Shiflett wrote:
It loses all new data:
Because of this:
$_POST = unserialize(stripslashes($_POST['post']));
I think array_merge will fix this:
$_POST = array_merge($_POST,unserialize(stripslashes($_POST['post'])));
Erwin Kerk
Web Developer
--
PHP Genera
tiple windows (or frames) and sessions, is that
they wait for each other to close (not destrow, close) the session.
See http://www.php.net/manual/en/function.session-write-close.php for
more information.
Godd luck with this one.
Erwin Kerk
Web Developer
-BEGIN PGP SIGNATURE-
Version:
t; where oorder='".$o."' and
nname='".$n."' and total=$p
without the single quotes around $p
Erwin Kerk
Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Daniel Clark wrote:
&p=4.78
I wonder if a dot is a valid character for a URL adderss?
Yup. Just tried it, it works.
Erwin Kerk
Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Photos - easier uploading and sharing.
http://photos.yahoo.com/
I use HTML-kit all the time. Has a built-in ftp client, lots of plugins
available, in-program previews (via local webserver), and much more.
http://www.htmlkit.com
Erwin Kerk
Web Developer
--
PHP General Mailing List (http://www.php.net/)
Colin Eldridge wrote:
> Question: Is there a simple way for PHP to identify which host a
form > has come from?
Do the hosts have fixed ip's?
If Yes, you could use $_SERVER["REMOTE_ADDR"] do identify them...
Erwin Kerk
Web Developer
E: [EMAIL PROTECTED]
W: www.blixem.nl
-
have you tried:
so = window.open('',''); ??
Erwin Kerk
Web Developer
Rich Fox wrote:
I have a page with the following code:
<!--
so = window.open('','CompanyEdit');
so.location.reload();
window.close();
// -->
I have 'CompanyEdit
This should work:
https://url_locaion.org/prev_page.php?SID=$SID&uid=$uid&ELEM_ID=$id#tag
Erwin
Susan Ator wrote:
I am passing 3 pieces of information on every URL. For example:
https://url_location.org/page.php?SID=$SID&uid=$uid&ELEM_ID=$id
I need to be able to return to a previous page usin
similar.
check: http://www.php.net/manual/en/features.file-upload.put-method.php
Maybe something is similar is possible for POST, and for GET your could
use a rewrite rule in the httpd.conf file
Erwin Kerk
Web Architect
--
____
| __|_ ___ __ _(_)_ _
| _|| '_\ V V / | ' \
Try this (as found on php.net)
$str = 'Not Good';
if (($timestamp = strtotime($str)) === -1) {
echo "The string ($str) is bogus";
} else {
echo "$str == ". date('l dS of F Y h:i:s A',$timestamp);
}
Erwin Kerk
Web Developer @ BliXem.nl
Jason Wo
21 matches
Mail list logo