Welcome Guest ( Log In | Register )

Discover the best free computer help!
Learn more about Geeks to Go by taking the tour. Spyware, virus, trojan, fake security or privacy alerts? Read the malware cleaning guide.
      
 
Reply to this topicStart new topic
php issue, load image to not affect header redirect
helraizer
post Mar 30 2008, 11:07 AM
Post #1


New Member
*
Posts: 5
OS: Windows Vista



Hi folks,

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
Go to the top of the page
 
+Quote Post
Metallica
post Mar 31 2008, 02:38 AM
Post #2


Spyware Veteran
Group Icon
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.
Go to the top of the page
 
+Quote Post
helraizer
post 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
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Collapse

> Similar Topics

    Topic Title Replies / Views Topic Information
No New Posts  
4 / 94 16th August 2008 - 03:35 AM
victusdementis started - last by Essexboy
No New Posts
3 / 70 18th August 2008 - 04:32 AM
CutDown started - last by glen_m_32
No New Posts  
0 / 34 14th August 2008 - 08:43 AM
RaleighRick started - last by RaleighRick
No new  
21 / 164 18th August 2008 - 03:13 AM
Hodizzle started - last by fenzodahl512
No New Posts  
1 / 36 17th August 2008 - 03:53 AM
adleak started - last by Neil Jones

RSS 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.