/    Sign up×
Community /Pin to ProfileBookmark

response.end=what is the same in php?

is there somthing in php like the
response.end in asp

to post a comment
PHP

6 Comments(s)

Copy linkTweet thisAlerts:
@pyroDec 14.2003 — What does response.end do in ASP?
Copy linkTweet thisAlerts:
@pelegk1authorDec 15.2003 — for example if this is the asp page :

<?

response.write "a"

response.write "b"

response.write "c"

response.end

response.write "d"

response.write "e"

response.write "f"

?>

it will print only abc
Copy linkTweet thisAlerts:
@fredmvDec 15.2003 — Only a guess, but maybe [font=courier]exit[/font] is what you're looking for?[code=php]<?php
echo 'a';
echo 'b';
echo 'c';
exit;
echo 'd';
echo 'e';
echo 'f';
?>[/code]
Copy linkTweet thisAlerts:
@pelegk1authorDec 15.2003 — i think u correct
Copy linkTweet thisAlerts:
@fredmvDec 15.2003 — I don't write much PHP, but I'm fairly sure that's what you are looking for.
Copy linkTweet thisAlerts:
@pyroDec 15.2003 — Yes, fredmv is correct. You'll want to use [URL=http://us3.php.net/exit]exit[/URL] or [URL=http://us3.php.net/manual/en/function.die.php]die[/URL].
×

Success!

Help @pelegk1 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.26,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...