dontbeblocked Posted April 12, 2007 Share Posted April 12, 2007 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 ########## (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! Link to comment https://forums.phpfreaks.com/topic/46767-converting-to-php5-meh/ Share on other sites More sharing options...
craygo Posted April 12, 2007 Share Posted April 12, 2007 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??? Ray Link to comment https://forums.phpfreaks.com/topic/46767-converting-to-php5-meh/#findComment-227912 Share on other sites More sharing options...
dontbeblocked Posted April 12, 2007 Author Share Posted April 12, 2007 thanks for the quick response but i have no clue what version of php my proxy script is in. Also what do you mean by "using the code with php5"? Link to comment https://forums.phpfreaks.com/topic/46767-converting-to-php5-meh/#findComment-227918 Share on other sites More sharing options...
rxbanditboy1112 Posted April 12, 2007 Share Posted April 12, 2007 use phpinfo(); it'll tell you everything you need to know about your php Link to comment https://forums.phpfreaks.com/topic/46767-converting-to-php5-meh/#findComment-227943 Share on other sites More sharing options...
MadTechie Posted April 12, 2007 Share Posted April 12, 2007 I think it might be easier if we know "Why" you want to convert it to php5? error ? Link to comment https://forums.phpfreaks.com/topic/46767-converting-to-php5-meh/#findComment-227950 Share on other sites More sharing options...
dontbeblocked Posted April 12, 2007 Author Share Posted April 12, 2007 Is there no way of pm'ing people on this site? I wanted to pm you my script I have rxband but I couldn't find a pm button... Is there anyway we could IM? I have MSN and AIM but I didn't see you had any listed. Link to comment https://forums.phpfreaks.com/topic/46767-converting-to-php5-meh/#findComment-227959 Share on other sites More sharing options...
MadTechie Posted April 12, 2007 Share Posted April 12, 2007 click the speach bubble or Click here to PM rxbanditboy1112 why not just post it Oh use the [ code] tags Link to comment https://forums.phpfreaks.com/topic/46767-converting-to-php5-meh/#findComment-227963 Share on other sites More sharing options...
dontbeblocked Posted April 12, 2007 Author Share Posted April 12, 2007 I'm not seeing a speech bubble but I will post my script here later.. now I have to go to dinner. so bbl... Link to comment https://forums.phpfreaks.com/topic/46767-converting-to-php5-meh/#findComment-227979 Share on other sites More sharing options...
dontbeblocked Posted April 13, 2007 Author Share Posted April 13, 2007 here r the scripts so if theres anyway someone can convert them to php3, php4, or php 5 that would be awesome! index.php: http://pastebin.parentnode.org/7992 Index.inc.php script: http://pastebin.parentnode.org/7993 There is also a .css file but I don't know why you would need that. If you can help me more than just replying to this post I would be very glad if you could pm me here or: AIM- toxicity3440 MSN- colin3440@hotmail.com (not on much...) Link to comment https://forums.phpfreaks.com/topic/46767-converting-to-php5-meh/#findComment-228148 Share on other sites More sharing options...
btherl Posted April 13, 2007 Share Posted April 13, 2007 Based on a quick inspection, they will work in both php4 and php5. Forget about php3, that's VERY old. Have you tried running the script? If so, how? And if it failed, how did it fail? Link to comment https://forums.phpfreaks.com/topic/46767-converting-to-php5-meh/#findComment-228209 Share on other sites More sharing options...
trq Posted April 13, 2007 Share Posted April 13, 2007 Sorry, but I'm locking this topic. Not only do you fail ask any actual question, you curse, request help via pm (not the point of a forum) and ask people to write code for you. A read of the link in my signature might help you. If your not looking for help (please understand what help means) then your in the wrong forum. Link to comment https://forums.phpfreaks.com/topic/46767-converting-to-php5-meh/#findComment-228226 Share on other sites More sharing options...
Recommended Posts