Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

php issue


  • Please log in to reply

#1
helraizer

helraizer

    New Member

  • Member
  • Pip
  • 5 posts
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

Edited by helraizer, 30 March 2008 - 11:08 AM.

  • 0

Advertisements


#2
Metallica

Metallica

    Spyware Veteran

  • GeekU Moderator
  • 32,980 posts
I'm not sure if I understood your question correctly, but wouldn't a "auto-refresh" solve your problem?
<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.
  • 0

#3
helraizer

helraizer

    New Member

  • Topic Starter
  • Member
  • Pip
  • 5 posts
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
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP