PHP And Python!

Fait

Seasoned Veteran
Joined
Oct 15, 2010
Messages
4,407
Reaction score
561
FP$
2,054
Hey, I'm making A big project where users can watched TV Shows Or movies for free and also A few other ideas that might take off 

Anyway, PHP Will need to power some feature & Python will need to power in order to fetch the video I heard YouTube uses Python 

So how do I use python & PHP On one site 

Yahoo moved from perl to php this is possible
 
Are you sure you have enough knowledge in those languages if you're asking these questions? Not meaning to sound rude but I am just asking.
 
Ok, so what would you Tube be using or Kondoot to stream videos?

And is it possible to Use Two languages and still be able to allow users to use both features
 
If you have no idea how to do this then how will you code and design the site? You should use an already made software if you wish to do this.
 
It’s a Project im making soon
Im very good with php As for the erros its still in beta so im fixing these soon

And can I use Python with php (I know python can stream videos)
 
You don't know this answer so how do you think you will get on once it's been answered? Do you expect to be helped every second without taking half a second to look at Google for answers? Or even asking on the Python forum?

I don't think this project will work for you. Because you do not have the knowledge. Not being mean just giving you advice.
 
Spudster said:
It’s a Project im making soon
Im very good with php As for the erros its still in beta so im fixing these soon

And can I use Python with php (I know python can stream videos)

Have you ever checked the link i posted?

And learning two programming language at a time will make things worse. You won't learn any of them properly.
Concentrate on PHP properly. From what i see in your Forum, you don't seem to have LOT of knowledge in PHP. Try to learn it better. And it can do streaming better.
 
Ok, You have A point I do need to learn myself
What would be best to learn first PHP Or Python?

And @Kavin Yes I did check the link on how todo it with PHP
But I'm going to create A Site Simluar to Skype/Kondoot

Remember I'm still Learing but I'm starting to working things out

And This project won't be starting till I go though University To study Computer Science

Thought I will ask early
 
Spudster said:
Ok, You have A point I do need to learn myself
What would be best to learn first PHP Or Python?
First learn PHP. Once you learn it better, you will understand that you won't need Python.
 
Ok I'm going to google some PHP Tutorials 😀

So I can make A Big Site like Facebook,YouTube & Skype With PHP

Once I learn it more of course
 
Spudster said:
Ok I'm going to google some PHP Tutorials 😀

So I can make A Big Site like Facebook,YouTube & Skype With PHP

Once I learn it more of course

Practice it more. Just studying won't help to learn programming languages.
And if you want to become a good programmer, make sure you are good in what you learned so far. When i looked into your current project, i see lot of mistakes. You should learn HTML and CSS better.
 
It is in beta so it is very simple at the moment

What mistakes do you see I can fix them
 
Spudster said:
It is in beta so it is very simple at the moment

What mistakes do you see I can fix them

Through page source i can only see HTML code and not PHP (as PHP is server side script).

Here are the HTML errors i noticed.

Index:
1) You don't have Doctype declared, which is very essential for validating your code.
2) You don't have <html>, <head>, <body> and <title> code. Without them, HTML is nothing.
3) See "But Here Are Some Links For Now! </a>". It has a </a> whereas you haven't started a link through "a href" before that.
4) <div id=div>. You can't use an ID named "div". And it doesn't have an end div </div>.
5) You have used <style> ....... </style>. Whereas you can't just say <style>. Its should be like <style type="text/css">.

Login:
1) You used two <html> in start, whereas there should be only 1. Also at the end of code, there should be a </html>.
2) <head>, <body>, <title> are missing as well.
3) Doctype is missing as well.
4) <style> needs type as i previously said.
5) You can't enclose <style> and <meta> inside <center> tag.
6) You have started <center> in three places, whereas you haven't ended them with </center> anywhere.
7) Note that <center> is depreciated and you should try using <div align="center"> instead and end it with </div>.
8) You haven't started <body> but have a </body> in end.
9) If the code is end the input elements with />
10) You have started <p>, but haven't ended it anywhere.
11) You have started a form but don't have </form> to end it.

Register:
1) Same thing with doctype, <html>, <head>, <title>, <body>, <center>.
2) Declare meta within <head> element.


Your shoutbox page shows the files list. Which is really bad, considering anyone can get your files. Use an index.html or index.php.

And all the errors i spotted in index, login and register are present in the "Status" page too. Correct them as well.
 
Ok Programmers have to start somewhere

I Will fix those errors up soon
 
Most people have been saying to start with html as it is for begginers

Ok i will start with html first then contuie on with php



PS: I have moved the files to Another directory http://nintendocentral.info/dsirage/

Uploaded A Soon To Come forum on the index
 
I am confused. You said you're really good with PHP but now you're agreeing you need to start with HTML then move to PHP. Which is true but also don't learn HTML standalone. It won't get you anywhere without CSS.
 
Back
Top Bottom