In PHP4.3.x
If I set a cookie with setcookie and send a location header immediately.
I find no problem for the task.
That is,
And testcookie can be found in the latter page.
However, I can't In PHP4.1.x
What's the problem?
A compromised method of using meta refresh of zero second is used.
--
yes,I think this is the script you're looking for.
However,This script requires you to have lcnt.txt existing at the time this script
runs.
--
Regards,
Ns_Andy, [EMAIL PROTECTED]
"Lee Herron" <[EMAIL PROTECTED]> wrote in message
005601c2cce4$48e59350$6501a8c0@bluewebc
Try the window.open method to popup a php page that does the desired job.
window.onunload=doRec
function doRec() {
window.open("writeToDB.php")
}
and writeToDb.php
window.close()
--
Regards,
Ns_Andy, [EMAIL PROTECTED]
"Edward Peloke" <[EMAIL PROTECTED]> wrote in
ic,
thanks all.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a.php
and I typed a.php?b=c
I expected c would be printed, What the problems have I made?
--
Regards,
Ns_Andy, [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Codepage can be used to set different encoding in ASP,
what about PHP?
--
Regards,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
please kill.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I've imap-2001a.tar downloaded,
but don't know how to get it work?
I am using Windows 2k ,
Can I have the steps of installation of imap?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
which method and object should I use?
and may I have some related examples?
--
Regards,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
perl: preg_match
'/\'"]+[\'"]?>/i'
or eregi
'\'"]+[\'"]?>'
--
Regards,
"Noodle Snacks" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> what would be a simple regular expression for ?
>
> for future reference are there any good references for them?
>
>
> --
what's its use and how to use(Example)?
Thanks
--
Regards,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
turns the second match
> }
>
> Also, your regular expression didn't cover all the possibility (eg:
> spaces between href and =. I might have overdone it with mine but, hey,
> I've got a turkey to cook and it's already late ;-)
>
> Cheers,
>
>
> Marco
$line = 'http://www.yahoo.com";>http://www.yahoo.com';
if (eregi("\"'])+([\"'])?>[^<>]+<\/a[
]*>",$line,$matches)) {
print (htmlspecialchars($matches[0]));
}
it works fine,
however if
$line .= 'Xwww.php.net';
is added before eregi,
it doesn't,what's wrong with my code?
--
Regards,
--
PHP Gen
if I want eregi to return false if the string contains < char,
for example,
"Ahttp://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Here's the code:
> $fp = @fopen ("a.txt")
> while ($buf = @fgets($fp,1024) {
> trim($buf)
> if (substr($buf,-1 == _\\_) {
i missed a )
if (substr($buf,-1) == _\\_) {
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I ,beginner of PHP, would like to ask what _\\_ means?
Here's the code:
$fp = @fopen ("a.txt")
while ($buf = @fgets($fp,1024) {
trim($buf)
if (substr($buf,-1 == _\\_) {
.
..
with the above code Two or more lines ended with \ will be joined,
for example,
aa\
a
become ,
aaa
--
eg
function &A() {..
What does & mean here?
I've the reference seen ,but I still don't understand too much.
Can anyone give me more examples of Returning References?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
17 matches
Mail list logo