]
Have you checked the rights the PHP-User has on the directory and file?
...ebird
O Ernest E. Vogelsinger
(\)http://www.1-at-web.at/
^ ICQ# 13394035
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
[snip]
You're missing a double quote at the gmdate phrase. Use
header("Expires: " . gmdate("D, d M Y H:i:s") . " GMT");
...ebird
O Ernest E. Vogelsinger
(\)http://www.1-at-web.at/
^ ICQ# 13394035
--
PHP G
to the 404 handler. Within the
404 handler, parse the url, extract the session id and parameters, and
execute the theapp.php file.
Just as an example,
...ebird
O Ernest E. Vogelsinger
(\)http://www.1-at-web.at/
^ ICQ# 13394035
--
PHP General Mailing List (http
ever tried or consideredmaking money
using the
medium of the internet? Are you marketing or promoting a business
opportunity or product
[trash]
...ebird
O Ernest E. Vogelsinger
(\)http://www.1-at-web.at/
^ ICQ# 13394035
195.130.35.5
SAVA.UTIC.NET.BA 195.130.35.3
NS.EU.NET192.16.202.11
NS.RIPE.NET 193.0.0.193
AUTH03.NS.UU.NET 198.6.1.83
MUNNARI.OZ.AU128.250.1.21
...ebird
O Ernest E. Vogelsinger
a filter, and
crashed being used as MIME plugin latest at the 6th page access.
...ebird
O Ernest E. Vogelsinger
(\)http://www.1-at-web.at/
^ ICQ# 13394035
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
implementations might not properly support these lengths.
...ebird
O Ernest E. Vogelsinger
(\)http://www.1-at-web.at/
^ ICQ# 13394035
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
and register the
data to be remembered with the session, it will be available when the
browser comes back again (and presents the appropriate PHPSESSID value, of
course).
...ebird
O Ernest E. Vogelsinger
(\)http://www.1-at-web.at/
^ ICQ# 13394035
--
PHP General Mailing
$str = "blah";
print $monday;
...ebird
O Ernest E. Vogelsinger
(\)http://www.1-at-web.at/
^ ICQ# 13394035
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To cont
for .php extensions:
Executable: %phppath%\php.exe %s %s
Both "%s" must exist, or PHP will do nothing at all.
...ebird
O Ernest E. Vogelsinger
(\)http://www.1-at-web.at/
^ ICQ# 13394035
--
PHP General Mailing List (http://www.php.net/)
To unsubsc
...ebird
O Ernest E. Vogelsinger
(\)http://www.1-at-web.at/
^ ICQ# 13394035
--
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]
manual talks about php4 syntax only. How am I going to do that?
[snip]
do nothing, PHP will assign the value for you.
...ebird
O Ernest E. Vogelsinger
(\)http://www.1-at-web.at/
^ ICQ# 13394035
--
PHP General Ma
d of "", this should work as intended...
...ebird
O Ernest E. Vogelsinger
(\)http://www.1-at-web.at/
^ ICQ# 13394035
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
At 19:07 22.02.2001, Joe Stump said:
[snip]
I'll take an extra bazillionth of a second to know for sure
I have what I need
[snip]
Do you really know _how_ right you are?
g
...ebird
O Ernest E
uot;l dS of F Y h:i:s A");
echo "a href=\"$PHP_SELF?gettime=";
// this line will work everywhere
echo rawurlencode($time);
// this line will work with MSIE only
// echo $time;
echo "\"";
echo $time;
echo "/abrgettime = $gettime";
?
/body/h
]
Visit PHPEd home page at http://www.soysal.com/PHPEd
...ebird
O Ernest E. Vogelsinger
(\)http://www.1-at-web.at/
^ ICQ# 13394035
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
.
http://www.myhost.com/myapp.php?rv=0987412...other parameters
Your application must ensure that the random value is as random as
possible. This makes the URL "unique" and will bypass any ill-behaved cache
(it won't help if the user hits the back button, of course...)
...ebir
"blah2",
"some_value2")));
print(showArray(null, $a);
?
this should recursively go into multi-dimensional arrays and construct an
output similar to your requirements.
...ebird
O Ernest E. Vogelsinger
r
Enter Network: input type="text" name="network" value="?=$network?"br
Enter Subnetmask: input type="text" name="subnet" value="?=$subnet?"br
input type="submit"
/form
/body
/html
[snip]
s_ip("210.176.142.255", "255.255.255.192", $REMOTE_ADDRESS))
{
header("403 Forbidden");
echo "h1Access Forbidden/h1You may not come here from outside our
domain";
exit();
}
process_domain_app();
?
...ebird
O Ernest E. Vogelsinger
(\)http:
;
session_start();
session_register($value);
}
?
...ebird
O Ernest E. Vogelsinger
(\)http://www.1-at-web.at/
^ ICQ# 13394035
--
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]
This is listed at the PHP home page, when clicking on mailing lists,
general/Archive(yes).
--
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 after the header. I need access to the xml blob.
[snip]
Not sure if this gives you the posted data, but you could try
$_SERVER['QUERY_STRING']. Or simply print_r the $_SERVER array to check if
it is available.
--
O Ernest E. Vogelsinger
;// create a string
echo $s;
echo \n{$a}x{$b}\n; // or print it directly
?
/pre
/code
Output for both cases:
1024x768
1024x768
--
O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing
.
--
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
you need.
--
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
www.pepiedesigns.com
Providing Solutions That Increase Productivity
Web Developement. Database. Hosting. Multimedia.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
--
O Ernest E
, 'preext')
starting with a dot
The group will contain the preextension.
--
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
ideas?
form name=\update\ method=\post\
action=\$PHP_SELF?action=changeid=$idq=input\
[snip]
Most certainly register_globals is off in your php.ini file. Try using
$_SERVER['PHP_SELF'] instead of $PHP_SELF.
--
O Ernest E. Vogelsinger
(\)ICQ
='myUsername';
should do it (untested on mySQL)
--
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
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
look like.
For example, in Internet Explorer, you may go to Extras/Options/Advanced
and specify to print (or not) background colors or images. In Netscape this
option exists in the preferences dialog.
There's no way for the page to override the agents settings.
--
O Ernest E. Vogelsinger
Hello visitor, you have seen this page ?php echo $_SESSION['count'];
? times.p
To continue, A HREF=visasida.phpclick here/A
--
O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
... not sure if it starts on 0 or 1
that is...
[snip]
preg_replace('([\x80-\xff])/e', '#'.ord('\1').';', $string_to_parse);
--
O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List
Renee Zellweger.
[snip]
$chars_in = array('Á',''á','É','é'); // you get it
$chars_out = array('A','a','E','e'); // this too
preg_replace($chars_in, $chars_out, $string_to_parse);
--
O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http
a single line instead of:
-line1
-line2
-line3
[snip]
Use nl2br(), something like:
echo 'textarea', nl2br(htmlentities($string)), '/textarea';
This should give you the results you need.
--
O Ernest E. Vogelsinger
(\)ICQ #13394035
its value outside the tag, without an
attribute, just plain:
Print 'textarea name=OrgAddress cols=44 rows=5 id=textarea',
htmlspecialchars($row['OrgName']),
'/textarea';
--
O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General
. but the value is displayed in
php-4.2.2 version.
[snip]
Perhaps the 4.2.2 server is configured with register_globals on, and the
4.3.0 has set this to off?
Try
?php echo $_REQUEST['abc']; ?
--
O Ernest E. Vogelsinger
(\)ICQ #13394035
we can't really tell too well :-)
[snip]
I believe you could even use md5() to encode the logon... would shield
everything too :)
--
O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http
); header(Content-Disposition:
attachment; filename=.basename($fname).;);
[snip]
The correct Content-type is application/octet-stream. Should work with that.
--
O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at
, even if
I populate all columns. If by chance your table structure will change
(using ALTER TABLE) your insert statement will break.
--
O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
--
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
(warning prone) and will be overwritten
immediately by the next error or warning. What you should do is something
like this:
global $php_errormsg;
$php_errormsg = null;
@run_your_script();
$err = $php_errormsg;
if ($err) ...
hth,
--
O Ernest E. Vogelsinger
(\)ICQ #13394035
At 11:13 29.01.2003, Sol spoke out and said:
[snip]
test
[snip]
testback
please provide detailed information how you received this mail so the it
can be shared with the list :)
--
O Ernest E. Vogelsinger
for, which corresponds to the SMTP envelope
RCPT address, not to the message's MIME To or Cc entries.
--
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 15:51 29.01.2003, Ysrael Guzmán spoke out and said:
[snip]
Warning: Failed opening 'cliente.php' for inclusion
(include_path='.;c:\php4\pear') in Unknown on line 0
[snip]
and?
--
O Ernest E. Vogelsinger
:-)
--
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
, with
register_globals on this value may be forged by passing the value as part
of the url. A lot of different possibilities arise.
--
O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
going on...
Did you mention the version? Possibly there's a special build here that
never allows to register globals? (config gurus chime in here please)
--
O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http
'], $_REQUEST['var2'], $_REQUEST['var3'])
I just want to use $var1, $var2, $var3
[snip]
You can always resort to
extract($_REQUEST);
--
O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General
quotes to
make it work correctly.
--
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]
PHP tries to help you - you can only compare data of the same type. So
PHP goes ahead and casts this for you, a string to int in this case.
If you compare it using === (typesafe comparison) you will get correct
results.
--
O Ernest E. Vogelsinger
(\)ICQ
is an escape
character telling PHP to take the next character literally. So if you want
a backslash you need to type 2 of them:
C:\Program Files\php == C:\\Program Files\\php
--
O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List
on the specific port?
--
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
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
your question?
--
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
that might
name-collide (which wouldn't be good anyway ;-), this will give you an
array with exactly one entry if any of the buttons are clicked, be it an
image (sample_a, sample_c) or a regular (sample_b) button.
--
O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at
']['button'].value='button_c'
/form
This will give you a $_REQUEST['button'] containing the button value. Note
though that this doesn't work if JS has been disabled in the browser, or if
the browser doesn't support JS at all.
--
O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http
?
[snip]
try to escape blanks and quotes:
rename(/tmp/foo\ \'n bar, /tmp/foobar);
generally you should escape all non-ascii characters in file names.
--
O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP
.php
engine=off returns an apache config error.
--
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
never
succeeds (except by chance that var1.var2.var3 result in 0.
--
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
Simply try
$hf = fopen($filename, w);
- Original Message -
From: Jason Jacobs [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 03, 2003 9:30 PM
Subject: [PHP] problems with fopen
Afternoon all.
I've been trying to write to a text file for a while. I opened it thusly:
the acknowledging mechanism
doesn't really work.
--
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
, too. And multiple!!!
exclamation!!! marks!!!
Yeah, that's someone I'd do business with.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
--
O Ernest E. Vogelsinger
(\)ICQ
to be synced
from MS Access to a CSV style export format, upload it to the server and
process it. There are a couple of examples how to handle CSV style data on
SourceForge, I believe.
--
O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General
],
//$morerows[country]=$morerows[amount];
$transactions[$row['dealercount']][$morerows['country']]
= $morerows['amount'];
}
}
Hope this helps,
--
O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP
the receiving variable might be undefined
if (array_key_exists('nonexisting_key', $array))
$test = $array['nonexisting_key'];
// this is a simple, elegant, and even self-documenting solution
$test = @$array['nonexisting_key'];
--
O Ernest E. Vogelsinger
(\)ICQ #13394035
the cookie
to begin with), the cookie has the value that it was set with.
[snip]
That's it - cookies will only be sent to the same domain (hostname) they
have been generated at. You cannot pass cookies between domains (hostnames).
--
O Ernest E
receives and sends time out.
#
Timeout 300
--
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
all possibilities for A being less or equal to B
// so there's only one more choice left - A is greater :)
return 1;
--
O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
could
du -s . (prints kilobytes)
du -s -b (prints bytes)
list($dusage, $dir) = explode(' ', `du -s -b .`);
echo sprintf('The current directory has %d kB (%d bytes)', $dusage / 1024,
$dusage);
--
O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at
stuff, e.g. a
chatroom for your partners.
All prices excl. VAT, of course. Additional National Fees may apply.
Just drop me a note...
--
O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
this guy is trying to deceive his own weak code, or he doesn't have
a clue of how PHP works. I'd reconsider hiring such a developer.
--
O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
.
--
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
- you would need to use either the $GLOBAL superglobal
array, or to declare them being global within the function that uses them.
--
O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
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
('$ostore[$i] = null', 'Deleted $i object values using store[idx] =
null');
$ostore = $ostore2;
runtest('unset($ostore[$i])', 'Deleted $i object values using
unset(store[idx])');
--
O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing
compliant message, including all headers, yourself. For more
information on MIME you should consult RFC822.
Do yourself a favour and check out the relevant PEAR classes (Mail/Mime and
Mail). http://pear.php.net/packages.php?catpid=14catname=Mail. Performs
just great ;-)
--
O Ernest E
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
allow functions to continue after they call
others... Maybe you mixed this up with gotos, these never return. Thanks to
Andi Gutman and Zeev Suraski that there's no goto in PHP *smile*
--
O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General
in June.
--
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
);
else
$x = sprintf(%f secs: %s\n, $time, $string);
}
// return either the time, or the profiling string
return $x;
}
--
O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General
();
for ($i = 0; $i 1; ++$i)
$n = getdate(time());
$end = microtime();
list($s0, $s1) = explode(' ', $start);
list($e0, $e1) = explode(' ', $end);
echo sprintf('hrThis page took %.2f seconds to generate',
($e0+$e1)-($s0+$s1));
--
O Ernest E. Vogelsinger
(\)ICQ #13394035
connection (in == out).
--
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
= $tee-call_method('say', 'Called say() (only
extended)', 4711);
echo 'hr';
echo 'Hello results: '; print_r($res_hello);
echo 'Say results: '; print_r($res_say);
?
--
O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List
they have
// the same class (or at least derived from).
if (is_object($hObj))
return (!count($this-arObj) || is_a($hObj,
get_class($this-arObj[0])));
return false;
}
--
O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at
.
[snip]
Try something like
if (!empty($_REQUEST['fieldname']))
dbupdate('fieldname');
http://www.php.net/manual/en/function.empty.php
--
O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP
a message to you, nor am I interested in any way in your services.
Please refrain from hooking into mailing lists and bombarding the
listmembers with absolutely unneccessary, unsolicited and impolite spams
camouflaged as auto-reply.
Thank you for consideration.
--
O Ernest E. Vogelsinger
looking for.
--
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
, 'r');
but this will always work unless the host portion of the URL cannot be
resolved.
You need to employ a method where you receive the MIME headers additional
to the page body. Have a look at cURL
(http://www.php.net/manual/en/ref.curl.php) how to do this.
HTH,
--
O Ernest E. Vogelsinger
]
This should work:
$result = null;
while (preg_match('!(.*).*?a.*?href\s*=\s*(.*?).*?(.*)!i', $html,
$aresult)) {
$result .= $aresult[1];
if ($aresult[2]) $result .= ' link name [' . $aresult[2] . ']';
$html = $aresult[3];
}
$result .= $html;
--
O Ernest E. Vogelsinger
(\)ICQ
];
}
$result .= $html;
--
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
] - postmatch (all after the closing /a).
Within the loop I use this array to modify the HTML code to read
(pre-match)#linked-text# [#url#]...
which is what you want, after all.
On Tue, 2003-06-03 at 11:59, Ernest E Vogelsinger wrote:
At 18:43 03.06.2003, Jackson Miller said
, the $replace_by array will contain the correct value.
--
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
want to impress your girlfriend?
*ducking away*
--
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
= , $sc-Get('other'), \n;
$sc-Set('m_a', 'new data for m_a');
$sc-Set('m_b', 'new data for m_b');
$sc-Set('other', 'new data for other');
echo m_a = , $sc-Get('m_a'), , m_b = , $sc-Get('m_b'),
, other = , $sc-Get('other'), \n;
--
O Ernest E. Vogelsinger
(\)ICQ #13394035
('H:i:s'), 'br /';
EOC;
eval($code);
The complexity is up to you ;-)
--
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
-Mailer: PHPSpam/ . phpversion() . \r\n,
[EMAIL PROTECTED]);
The last parameter is a sendmail parameter which may be omitted (doesn't
work in safe mode anyway, see http://www.php.net/manual/en/function.mail.php).
--
O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http
equivalent this also means you can transmit it as MIME header as well:
header('Refresh: 5;URL=http://www.microsoft.com;');
echo 'Transferring you to Microsoft in 5 seconds...';
exit;
HTH,
--
O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General
credentials to the server.
What you can do however is to somehow include the page contents in your PHP
output. In case the .htaccess-protected content is a simple html page you
could e.g. readfile() it, or process it in a similar way.
HTH,
--
O Ernest E. Vogelsinger
(\)ICQ
1 - 100 of 585 matches
Mail list logo