Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Need iframe in PHP, please help.
Old 06-30-2011, 07:40 AM Need iframe in PHP, please help.
Experienced Talker

Posts: 31
Trades: 0
I am currently using iframe to boost my youtube video views, EXAMPLE:

<IFRAME SRC='hxxp://youtube.com/VIDEO' SCROLLING='no' WIDTH='1' HEIGHT='1' FRAMEBORDER='no'></IFRAME>

I would like to know how to do the same thing in PHP?
Can someone please send me an example of an almost invisible iframe as above but only in PHP.

Sorry for bad English &
Thank you.
__________________

Please login or register to view this content. Registration is FREE
tokivoki is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-30-2011, 09:05 AM Re: Need iframe in PHP, please help.
lizciz's Avatar
Super Spam Talker

Posts: 807
Name: Mattias Nordahl
Location: Sweden
Trades: 0
You can't create iframes (or any other element for that matter) in php. You can use php to print out the iframe code but it will still just be plain html.

And if you want to make an iframe "invisible", i recommend that you move it outside the screen. Like this for example:
HTML Code:
<iframe src="your_url" style="position:absolute; top: -1000px; left: -1000px; width: 1px; height: 1px;"></iframe>
__________________
Your answers will only be as good as your question. Formulate it well and give all the necessary information.
lizciz is online now
Reply With Quote
View Public Profile Visit lizciz's homepage!
 
Old 06-30-2011, 09:10 AM Re: Need iframe in PHP, please help.
lizciz's Avatar
Super Spam Talker

Posts: 807
Name: Mattias Nordahl
Location: Sweden
Trades: 0
Oh, and you should probably check the licence agreement from youtube, to see if you're evan allowed to open "invisible" video clips. My guess is that you are not.
__________________
Your answers will only be as good as your question. Formulate it well and give all the necessary information.
lizciz is online now
Reply With Quote
View Public Profile Visit lizciz's homepage!
 
Old 06-30-2011, 10:32 AM Re: Need iframe in PHP, please help.
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,384
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
How annoying for visitors to your pages having an invisible "video" playing with no means to turn it of or silence it.
Obviously you have no consideration for the people who visit your pages.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 06-30-2011, 02:52 PM Re: Need iframe in PHP, please help.
Experienced Talker

Posts: 31
Trades: 0
Quote:
Originally Posted by lizciz View Post
You can't create iframes (or any other element for that matter) in php. You can use php to print out the iframe code but it will still just be plain html.

And if you want to make an iframe "invisible", i recommend that you move it outside the screen. Like this for example:
HTML Code:
<iframe src="your_url" style="position:absolute; top: -1000px; left: -1000px; width: 1px; height: 1px;"></iframe>
Thank you
Can you please show me the code to print out the iframe code in PHP.
__________________

Please login or register to view this content. Registration is FREE

Last edited by tokivoki; 06-30-2011 at 02:53 PM..
tokivoki is offline
Reply With Quote
View Public Profile
 
Old 06-30-2011, 03:23 PM Re: Need iframe in PHP, please help.
Super Spam Talker

Posts: 879
Name: Paul W
Trades: 0
echo '<iframe ...

Have you actually read the other responses? Are you aware of Youtube's counting methods?

a) no but don't care
b) ditto
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE


*** New:
Please login or register to view this content. Registration is FREE
PaulW is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Need iframe in PHP, please help.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.26251 seconds with 12 queries