I feel like a reall dumbass in this area of website building.. I have no clue about any php or anything and thats why im posting in this Newbies section. I really hope to learn a little about php someday but for now I have 1 need.

I am trying to convert a php proxy to php5. Now if that is completely ridiculous and that was a REALLY retarded question that makes no since at all then please stop reading here and just post why that doesnt make since because I really do no nothing about php except its a computer language thats confusing as fuck (for me). Now if that wasnt a stupid question then good! i get 1 thing! So then how would I go about converting a giant php proxy script into php5? This person on irc said this when i asked:
[03:45] (SlashLife): Then call your PHP file .txt and make it being parsed by PHP4.

then he called me stupid and kick banned me (wtf?). Im not sure if he was just making fun of my stupidity or if he was really telling me something that would help me but i really didnt get...

Thanks in advance!

    This is a good project but it's not a good first project to learn on. You need to hire a consultant who can get your proxy working for you.

      how much would that be o.O

      I was hoping for an answer more along the lines of "download this program here and it will work" or even "just change anything that says this: to this:"... also on some other forums I got an answer of this to my question:

      "Someone correct me if I'm wrong but most code in php 4.x.x will work with php 5. Did you try just using the code with php5???"

      But I'm not sure what version of php I have and I didn't undestand what "try using the code with php5" means.

        Ok. Let's start from scratch.

        As you said, PHP is a programming language. Therefore, there are computer programs called "scripts" that are written in the PHP language.

        A script is written to run on a certain version of PHP.

        You told us that you want to convert your proxy from PHP4 to PHP5. That suggests to us that you had PHP4 on your old machine and you just got a new machine with PHP5 on it and you want to run your old proxy script (that you know works on PHP4).

        So when you say, "I'm not sure what version of php I have", then I would respond, "Then why do you want to convert your proxy to PHP5?"

        As for the last part of your email, you wrote, "I didn't undestand what "try using the code with php5" means." Here's what that means: Find a computer with PHP5 installed and try to run your proxy. If it works, then you don't need to fix it, change it, or convert it.

        So you need to find out what version of PHP you have on your computer. And you need to figure out why you want to convert your proxy from 4 to 5 if you don't even know which version of PHP you have installed.

          4 days later

          php4 is actually much better than php5 i think but that is just my opinion

            Write a Reply...