If i had a php source, which had ways to generate code using 4digits, hw easy wud it b 2 convert 2 vb?
Printable View
If i had a php source, which had ways to generate code using 4digits, hw easy wud it b 2 convert 2 vb?
i found this but i dont know what its like as never got round to using it.
http://www.vbforums.com/showthread.php?threadid=283388
wud that change php to vb?Quote:
Originally posted by john tindell
i found this but i dont know what its like as never got round to using it.
http://www.vbforums.com/showthread.php?threadid=283388
What are you actually trying to do? Is it just for one time use, or do you actually want to have a converter?
What is it you want to convert anyway?
its a one time thing, and its algo to create unlock codes for lgs
If it's just a one time thing, post the PHP code here, and if it's not too long, one of us could probably convert it for you.
I did it myself, but now I need help convert c++ to php? is that possible
Converting C++ to PHP is a lot easier than converting PHP to VB, since C++ and PHP are very similiar in syntax.
If I posted what I wanted convereted, could it be done?
Maybe...let us try.....
Quote:
Originally posted by The Hobo
Converting C++ to PHP is a lot easier than converting PHP to VB, since C++ and PHP are very similiar in syntax.
Isn't it possible to call C++ functions with PHP? Or was that CGI or something....
(I am so embarresed that I don't know this by now...exam is in 6 weeks..:D)
Here it is, i would be so grateful if anyone can
It's way to much for me to be able to do right now. Maybe next week. But it doesn't look to hard. It's more or less to put an $ in front of all the variable names, then change the function callings and runctions a bit...
hmm....well if you can do it, whenever you have some spare time, i would be most grateful
Do you know any PHP at all? If you do. Why don't you give it a try? Then we can help you when you encounters any trouble?
nope I dont no the first thing about php, i was hoping there was a converter or something, I wanted to make an online calc using this algo
So what are you going to use it for? There is probably plenty of those on the internett allready...
wel actually no, there are only like 2-3 of them on the net, im going to use so people can calculate there unlock codes on the net in real time
actually converting c++ to php would probly be a little difficult, depending on what the code was doing
it generates codes through a 15 digit number
What kind of code is it it generates? Did you make the cpp file?
I'm sure you can find whatever you're looking for already as PHP on the net. And if you don't know PHP (and it seems you don't have any desire to know it), why do you want it in PHP?
Ok, I dont know php, I want to learn, but I need this asap, basically I need to make an online calc, so people can generate there codes in real time, there and then
But you need more then just the calc. If you only have that page, people can generate their numbers as much as they want. And what would that help you?
Yes thats what I want, if I gave you a link to one on a site, then would you be able 2 copy that?
http://www.uniquephones.com/unlock/index.php heres a link to once, would that be too hard to copy? Because the one does everything, thats like the best
It is probably compy protected....but if you don't care, why can't you just download it?
becuase when I try, i cant seem to get it 2 work!
Have you uploaded the PHP file to a server with PHP?
I use a cuteftp for uploading, do you have to use a specific php ftp, becuase when I upload php files they normally work with cuteftp
It has nothing to say about what FTP manager you use. But you have to hava a server that supporst PHP. And BTW I havn't looked at the code in that file, but it might use a database to load information too. Not sure...and you don't have that database.
yes my server supports php, umm I dont know about the database, if you look at http://nokiafree.org/free-nokia-unlock-codes/ this will be the easiest to copy, it send tis data to remote.php, which has no algo in it to generate the codes
I'm pretty sure getting 'free unlock codes' for a phone is illegal.. and you can't just copy a website that has something because you're only looking at and reading the PHP file's output, not the source of the file.
Nope unlocking is legal, unblocking is ilegal which can only be done via cable and not code. So it cant be copied?
No, the websites you provided cannot be copied unless you get the actual PHP files that they are using.
I don't know about the C++ code, but while overlooking it I noticed that it uses bytes, and I'm not sure if PHP even supports the use of bytes; I'm not even really sure what a byte to C++ is.
damn ok, den I have to find out if it can be convertered
Reckon you will be able to conver that source in2 php?Quote:
Originally posted by NoteMe
It's way to much for me to be able to do right now. Maybe next week. But it doesn't look to hard. It's more or less to put an $ in front of all the variable names, then change the function callings and runctions a bit...
It might happen that I could pull it off. But as I said, I have way to much to do at the moment, and I am not going to do all the work for you. And even if I wrote that to PHP, you would still need the rest of the page...and who is going to do that for you.
I bet if you sat down a weekend and tried to do it, you would pull it off too. First time I touched PHP, I did it just to help a friend making a search engine for his site. And I only used 2,5 days to learn everything I needed and make the search engine. So why don't you try it for your self.
And if you are to lazy for that, why not go to rentacoder or what that site was called again...;)
Ok, if you were to do it, I could make the page, I have one made for someting esle so i could copy that. But I will try and give it ago, know any good tutorials?
Try php.net