|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Splash Page
I am currently accessing a script on a remote server via the fsockopen function. During the process I am echoing a message to the client saying that their query is being processed: echo "processing bla bla"; followed by the flush() function. Once the data is returned I have it print to the screen. What I would like to do is then erase the "processing bla bla" message. I can do this with JavaScript using <DIV>,detecting the Browser, etc. but I would prefer not to go this rout do to client side incompatibility with HTML4 specs on some browsers.
Does anyone know of a PHP function that can overwrite parsed data or that can reload the current script and allow me to pass the a variable containing the information received from the remote server? I have tried using the header function with PHP_SELF but I received error messages. Thanks |
|
#2
|
|||
|
|||
|
RE: Splash Page
Hmm..that's a tough one. You really aren't going to be able to do something like this with straight PHP. Remember, PHP is server side. The reason the header thing didn't work for you is that you have already outputted the headers and you can't output them again. You might just use javascript for browsers that support it and then have a page for other browsers...
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > Splash Page |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|
|