|
-
Sep 2nd, 2008, 06:17 AM
#1
Thread Starter
Junior Member
How to make more than one php file running together
How to make more than one php file running together.
example :
when i run a.php then run b.php on same browser but different tab. when a.php run first then b.php must wait until a.php finish then b.php can running.
I want to know how a.php and b.php can run together in localhost.
-
Sep 4th, 2008, 10:50 PM
#2
Re: How to make more than one php file running together
what is it that your trying to accomplish?
If you want to pop b.php open in a new tab/window you can use javascript to do that.
My usual boring signature: Something
-
Sep 5th, 2008, 12:14 AM
#3
Frenzied Member
Re: How to make more than one php file running together
not really related to this oke's question, but .... Multi-Threading in PHP (like we had in asp.net for instance)....possible?
-
Sep 5th, 2008, 12:47 AM
#4
Re: How to make more than one php file running together
 Originally Posted by StrangerInBeijing
not really related to this oke's question, but .... Multi-Threading in PHP (like we had in asp.net for instance)....possible?
i think this is what he wants to do. a quick google search shows that php does not support multithreading whatsoever, but there seems to be some "fake" ways of doing it.
http://www.google.com/search?q=multi...ng+php&spell=1
My usual boring signature: Something
-
Sep 5th, 2008, 01:01 AM
#5
Frenzied Member
Re: How to make more than one php file running together
looks complicated.
I'd rather figure something out with Ajax. Actually I do that all the time.
-
Sep 5th, 2008, 01:07 AM
#6
Re: How to make more than one php file running together
If you want multi-threading then use JSP. There are no clean ways to do it in PHP and unless you really know what you are doing, trying could introduce serious security flaws into your application.
-
Sep 5th, 2008, 08:19 AM
#7
Re: How to make more than one php file running together
 Originally Posted by ade_ari_w0
when i run a.php then run b.php on same browser but different tab. when a.php run first then b.php must wait until a.php finish then b.php can running.
Impossible — page requests are totally independent.
As the others mentioned, if you explain exactly what it is that you need this for, we can suggest a better solution.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|