Jump to content


php script on one domain ... display on 2nd domain


4 replies to this topic

#1 HEki_

    Young Padawan

  • Members
  • Pip
  • 165 posts

Posted 13 September 2007 - 03:40 AM

I have a random picture script that gets pictures from sql. is it posible that my friend shows this script on his domain on another server without the use of iframe??? i tried to use include 'http://mydomain.com/script.php' and i found out that this doesnt work ... any other option?

#2 Matt L

    Young Padawan

  • Members
  • Pip
  • 272 posts
  • Gender:Male
  • Location:Newcastle

Posted 13 September 2007 - 11:57 AM

Is it CHMOD'd to 777? Because that'll be the problem if you're on 2 seperate domains.

#3 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 14 September 2007 - 02:42 PM

http://php.net/manua...e.php#id2543210

#4 HEki_

    Young Padawan

  • Members
  • Pip
  • 165 posts

Posted 17 September 2007 - 02:29 AM

hm i tried everything and it still doesnt work :S
+ i am worried about the security ... i guess ill have to use an iframe ...

#5 HEki_

    Young Padawan

  • Members
  • Pip
  • 165 posts

Posted 17 September 2007 - 04:52 AM

is there a way to show this with xml or something?

em, i am using a costum wz_tooltip javascript tool, so when u rollover a picture it displays some info in a colored cloud (title or alt) ... and when i am using iframe, that cloud gets cut off where the iframe ends ... but if i use normal title option without the wz_tooltip, title doesnt get cut! full title is displayed ...

if i can get this wz_tooltip to show also as a full cloud i can use iframe method ... so how can i display this wz_tooltip as a normal hover title or alt option?

Edited by HEki_, 17 September 2007 - 05:16 AM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users