Re: [PHP] Request A Collection of YouTube Videos From Multiple User Accounts using YouTube API
Stuart, Let me clarify, I am using PHP to call/receive via the YouTube API and to format/display the return data within my PHP application. I believe that has a little something to do with PHP. Forgive my presumption if otherwise. -- Eric On Jan 7, 2009, at 4:40 AM, Stuart wrote: 2009/1/7 L. Herbert lherb...@iluvmydesign.com: Does anyone know if it is possible to get a collection of YouTube videos from multiple user accounts? If so, can you provide some insight and direction? Someone more knowledgeable than me on this topic indicated that it is only possible get a collection of YouTube videos on a per account basis. On its face this make sense to me but I'm just getting a second opinion. I realize I can loop requests via the API and format the results as needed, but was hoping for a more streamlined option. This question has nothing to do with PHP. I suggest you try the YouTube developers site - I'm sure there's a resource there that can help you... http://youtube.com/dev -Stuart -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Request A Collection of YouTube Videos From Multiple User Accounts using YouTube API
Stuart, PHP can do a great many things, but it cannot remotely change the functionality of a third party API. Is that part of your understanding of my request? To clarify further for you, I am simply asking my question here (in addition to other reference/discussion forums) to see if any developer who frequents this list may have some experience in this regard and offer some helpful insight. You obviously feel my question is out of place... I apologize for any discomfort this may have caused you. On Jan 7, 2009, at 5:19 AM, Stuart wrote: 2009/1/7 L. Herbert lherb...@iluvmydesign.com: Let me clarify, I am using PHP to call/receive via the YouTube API and to format/display the return data within my PHP application. I believe that has a little something to do with PHP. Forgive my presumption if otherwise. As I understand it you're wanting to request a collection of videos from multiple user accounts in a single API call. PHP cannot help you if the API does not support doing that, so you need to direct the question at people who maintain and use the API. PHP can do a great many things, but it cannot remotely change the functionality of a third party API. -Stuart -- http://stut.net/ On Jan 7, 2009, at 4:40 AM, Stuart wrote: 2009/1/7 L. Herbert lherb...@iluvmydesign.com: Does anyone know if it is possible to get a collection of YouTube videos from multiple user accounts? If so, can you provide some insight and direction? Someone more knowledgeable than me on this topic indicated that it is only possible get a collection of YouTube videos on a per account basis. On its face this make sense to me but I'm just getting a second opinion. I realize I can loop requests via the API and format the results as needed, but was hoping for a more streamlined option. This question has nothing to do with PHP. I suggest you try the YouTube developers site - I'm sure there's a resource there that can help you... http://youtube.com/dev -Stuart -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Request A Collection of YouTube Videos From Multiple User Accounts using YouTube API
Greetings all, Does anyone know if it is possible to get a collection of YouTube videos from multiple user accounts? If so, can you provide some insight and direction? Someone more knowledgeable than me on this topic indicated that it is only possible get a collection of YouTube videos on a per account basis. On its face this make sense to me but I'm just getting a second opinion. I realize I can loop requests via the API and format the results as needed, but was hoping for a more streamlined option. Thanks in advance -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] IE Problem Detecting Post Variables
I find the html/php option simpler and more accessible. I've got it working now. I only needed to use unique input names and test for the posted variable according to w3c standards. Here is the relevant w3c definition: When a pointing device is used to click on the image, the form is submitted and the click coordinates passed to the server. The x value is measured in pixels from the left of the image, and the y value in pixels from the top of the image. The submitted data includes name.x=x- value and name.y=y-value where name is the value of the name attribute, and x-value and y-value are the x and y coordinate values, respectively. PHP modifies the posted variable name to name_x, name_y to comply with PHP's variable naming convention requirements. Thanks to those all responded for pointing me in the right direction. On Jan 1, 2009, at 11:25 AM, Phpster wrote: What about using the onclick to set a js variable to be sent to the server? That should be more cross server compliant. Bastien Sent from my iPod On Dec 31, 2008, at 8:37 PM, L. Herbert lherb...@iluvmydesign.com wrote: Bastien, Thanks for your response. The curious thing is that the value is passed when using FF, but not passed when using IE. Here is the relevant form html: div id=switch-theme form action= method=post labelFlip It!/label input name=style type=image src=images/ switch-button-grey.gif title=Default Theme id=style1 value=default / input name=style type=image src=himages/ switch-button-default.gif title=Alternate Theme id=style2 value=alternate / /form /div The action attribute is left blank so the form posts to the current page. The theme switcher script is at the top of each page and intercepts the posted variables. Any thoughts? On Dec 31, 2008, at 11:02 AM, Phpster wrote: Try checking to see if the value was passed with var_dump($_REQUEST) Also try (!empty($_REQUEST['style'])) Bastien Sent from my iPod On Dec 31, 2008, at 10:24 AM, L. Herbert lherb...@iluvmydesign.com wrote: Hello all, Anyone have insight to share on the following issue: I have a simple theme switcher script that functions as expected in FF, Safari, etc. but does not work in IE 6 or 7. It appears that the posted form variables are not detected in IE. I am using the following check within the script: if(isset($_REQUEST['style'])) { $style = $_REQUEST['style']; } Thanks in advance for your assistance. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] IE Problem Detecting Post Variables
I stand corrected. On Jan 1, 2009, at 9:46 AM, Nisse Engström wrote: On Thu, 1 Jan 2009 03:17:01 -0500, L. Herbert wrote: On Dec 31, 2008, at 11:07 PM, Lupus Michaelis wrote: MSIE pushes input_name.x and input_name.y to the server, when the input is an image. Thanks! I see the issue clearly now. Oh well, time to modify my code to compensate for IE's non-standard behavior... Actually, that *is* standard behaviour. http://www.w3.org/TR/html401/interact/forms.html#h-17.4.1 /Nisse -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] IE Problem Detecting Post Variables
Thanks! I see the issue clearly now. Oh well, time to modify my code to compensate for IE's non-standard behavior... On Dec 31, 2008, at 11:07 PM, Lupus Michaelis wrote: L. Herbert a écrit : Each input is a submit button. MSIE pushes input_name.x and input_name.y to the server, when the input is an image. -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] IE Problem Detecting Post Variables
Jim, This is functionally correct since I swapped the default and alternate themes but left the button names the same. On Jan 1, 2009, at 12:55 AM, Jim Lucas wrote: L. Herbert wrote: I agree with your supposition. The problem is that the variable is passed in one instance with FF and not with IE. Thus my quandary. Here's the form html: div id=switch-theme form action= method=post labelFlip It!/label input name=style type=image src=images/switch-button- grey.gif title=Default Theme id=style1 value=default / input name=style type=image src=himages/switch-button- default.gif title=Alternate Theme id=style2 value=alternate / /form /div Any thoughts? I understand that you have it all working with FF, but just a one question... You have your grey button associated with your Default Theme button and you have your default button associated with your Alternate Theme button Is this correct? -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] IE Problem Detecting Post Variables
Hello all, Anyone have insight to share on the following issue: I have a simple theme switcher script that functions as expected in FF, Safari, etc. but does not work in IE 6 or 7. It appears that the posted form variables are not detected in IE. I am using the following check within the script: if(isset($_REQUEST['style'])) { $style = $_REQUEST['style']; } Thanks in advance for your assistance. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] IE Problem Detecting Post Variables
Bastien, Thanks for your response. The curious thing is that the value is passed when using FF, but not passed when using IE. Here is the relevant form html: div id=switch-theme form action= method=post labelFlip It!/label input name=style type=image src=images/switch-button- grey.gif title=Default Theme id=style1 value=default / input name=style type=image src=himages/switch-button- default.gif title=Alternate Theme id=style2 value=alternate / /form /div The action attribute is left blank so the form posts to the current page. The theme switcher script is at the top of each page and intercepts the posted variables. Any thoughts? On Dec 31, 2008, at 11:02 AM, Phpster wrote: Try checking to see if the value was passed with var_dump($_REQUEST) Also try (!empty($_REQUEST['style'])) Bastien Sent from my iPod On Dec 31, 2008, at 10:24 AM, L. Herbert lherb...@iluvmydesign.com wrote: Hello all, Anyone have insight to share on the following issue: I have a simple theme switcher script that functions as expected in FF, Safari, etc. but does not work in IE 6 or 7. It appears that the posted form variables are not detected in IE. I am using the following check within the script: if(isset($_REQUEST['style'])) { $style = $_REQUEST['style']; } Thanks in advance for your assistance. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] IE Problem Detecting Post Variables
I agree with your supposition. The problem is that the variable is passed in one instance with FF and not with IE. Thus my quandary. Here's the form html: div id=switch-theme form action= method=post labelFlip It!/label input name=style type=image src=images/switch-button-grey.gif title=Default Theme id=style1 value=default / input name=style type=image src=himages/switch-button- default.gif title=Alternate Theme id=style2 value=alternate / /form /div Any thoughts? On Dec 31, 2008, at 11:27 AM, c...@l-i-e.com wrote: Whatever is SENDING the request data is broken, almost for sure. PHP doesn't *do* much to the HTTP Request data except urldecode it for you. There's not much that can go wrong there. If your theme switcher, presumably in JS, isn't sending the data properly, there's not much PHP can do about it. If the quarterback throws the ball nowhere near the receiver, don't blame the receiver. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] IE Problem Detecting Post Variables
Each input is a submit button. On Dec 31, 2008, at 8:57 PM, Micah Gersten wrote: L. Herbert wrote: The problem is that the variable is passed in one instance with FF and not with IE. Thus my quandary. Here's the form html: div id=switch-theme form action= method=post labelFlip It!/label input name=style type=image src=images/switch-button-grey.gif title=Default Theme id=style1 value=default / input name=style type=image src=himages/switch-button-default.gif title=Alternate Theme id=style2 value=alternate / /form /div Any thoughts? How is this being submitted? Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php