php issue, load image to not affect header redirect |
![]() ![]() |
php issue, load image to not affect header redirect |
Mar 30 2008, 11:07 AM
Post
#1
|
|
|
New Member ![]() Posts: 5 OS: Windows Vista |
At the moment I have made a mini shoutbox that can be used on myspace, or similar. The image is then shown on the user's myspace and the form to post a comment can also be included too. As a hidden field they will put their myspace URL, which means that as soon as they post it goes to mysite but instantaneously redirects them to their myspace page. At the moment it does post the comment to the shoutbox... The problem I have is that on the site it posts to, normally holds/hosts the image (myspace_image.php) that pull the information from the database and adds it the shoutbox image (the image that is on their myspace). So since it doesn't load this picture before it is redirected when they post from myspace, their comment doesn't appear on the image until someone views/loads the myspace_image.php file even on the shoutbox page on my site.. Does anyone know how I can get around this? It somehow needs to load the image before it/as it redirects to their myspace, so that the comment appears on it. Hope that makes sense. Thanks for any suggestions, Sam This post has been edited by helraizer: Mar 30 2008, 11:08 AM |
|
|
Mar 31 2008, 02:38 AM
Post
#2
|
|
|
Spyware Veteran Posts: 19,434 From: Netherlands OS: XP Pro & Vista Ultimate |
I'm not sure if I understood your question correctly, but wouldn't a "auto-refresh" solve your problem?
CODE <meta http-equiv="Refresh" content="n;url"> n is the number of seconds to wait before loading the specified URL. url is an absolute URL to be loaded. |
|
|
Mar 31 2008, 09:44 AM
Post
#3
|
|
|
New Member ![]() Posts: 5 OS: Windows Vista |
Hey, thanks for the reply.
I am actually using the meta method currently and it seems to work well but the quickest is 0.5s but it has to load the page first. So I was wondering if there was a more efficient/quicker way? Sam |
|
|
![]() ![]() |
Similar Topics
| Topic Title | Replies / Views | Topic Information | |||||
|---|---|---|---|---|---|---|---|
![]() |
4 / 94 | 16th August 2008 - 03:35 AM victusdementis started - last by Essexboy |
|||||
![]() |
3 / 70 | 18th August 2008 - 04:32 AM CutDown started - last by glen_m_32 |
|||||
![]() |
0 / 34 | 14th August 2008 - 08:43 AM RaleighRick started - last by RaleighRick |
|||||
![]() |
21 / 164 | 18th August 2008 - 03:13 AM Hodizzle started - last by fenzodahl512 |
|||||
![]() |
1 / 36 | 17th August 2008 - 03:53 AM adleak started - last by Neil Jones |
|||||
|
Time is now: 20th August 2008 - 12:11 PM |
| Advertisements do not imply our endorsement of that product or service. The forum is run by volunteers who donate their time and expertise. We make every attempt to ensure that the help and advice posted is accurate and will not cause harm to your computer. However, we do not guarantee that they are accurate and they are to be used at your own risk. |