i try to upload videos to youtube using zend library , but i have a problem that i may upload a video that is already uploaded (duplicate) , so the youtube refuses to upload it , i need to know the id of the duplicate video that was uploaded before .
please if any body can help me...
thanks in advance
To codeproject.com forum,
This is question about script
As the script is released in 2004 there is no much online
documentation except those brief help file from author
Here is the one working example
but most other online installations are not functional as I suppose during
php version incompatibilities
and other sites..
So I am asking interested to review installation setup and examine this script and post some
suggestions with details, modifications or something?
I'm quiet new to the PHP language, tho I have mostly programmed in C# in .NET platforms. Now I want to get some experience with the opensource part of the web development.
I know the basic coding for PHP (the syntax), but I'm not sure about which app is the best to make dynamic PHP programming in (like MS Visual Studio for C#), which patterns is a most, which do I have to code by hand, and which can be autogenerated by the developer app?
Cheers, will look at the possibilities.
So, when you have to program a PHP web app by your own, do you hand code all patterns needed to control objects between each others? Like controlling FKs between relations.
yes I hand code it, including table/data relations. But I have what I guess would be a custom pattern I have developed over the years and find it able to adjust and handle any web/app I can toss at it while still being readable and flexible.
I don't know, however I think it can't be done because the results would be undefined.
Assume the MODELS table holds the following data:
If you do "SELECT DISTINCT field1 FROM MODELS" you would get 1, 5, and 7.
Now there are three rows with field1=1, which field2 value should contribute to the result?
Assuming "SELECT field2, DISTINCT(field1) FROM MODELS" would be accepted, the field2 values would be unpredictable, i.e. the query is ambiguous.
Things would make more sense if you would need, and were allowed to do, the following: "SELECT MAX(field2), DISTINCT(field1) FROM MODELS"
PS: this isn't a PHP question, it is a database related question, the MySQL forum would have been a better choice.