![]() |
Might lead us to something good
hello i was bored so i started to make a script
but i just wrote some jibrish don't know if it will work or so i just thought i share it and maybe some one will see something i don't see and develop it to a working stage :P PHP Code:
no flame is needed i have never said it was a good script or so, this is how i learn by doing jibrish code :P thoughts and reedit of the code please share it here hehe just plain fun come on! you never know maybe someone posts a working code with a great use :P xD |
I'm not too sure on what this does, it makes no sense, but (not trying to flame) there are errors and unneeded sections of code.
PHP Code:
Jordan |
ty, well we will see what we end up with later on :P
|
Talking of unneeded code.
php Code:
Hehe. You'll never see that message! |
Quote:
how about PHP Code:
|
PHP Code:
|
see already we are making some changes :)
keep on going :D |
You're using rand incorrectly:
PHP Code:
PHP Code:
Also I don't see the point of calling session_start() inside the function? :) |
Thank you kalle for bringing us closer to making a good script :D
and the point of session_start() i know that yes not suppose to be inside there i just put it there so we have everything in same place :P sorry if that has confused some of you :) //let's keep this ball up in the air people you never know what we might do :) PHP Code:
:D |
Hmm your parameters on that iplog function doesn't really make sense as you're overriding them just below.
Also you may need to know that some of the _SERVER values such as HTTP_CACHE_CONTROL, HTTP_CLIENT_IP and HTTP_X_FORWARDED_FOR. Even HTTP_USER_AGENT may emit an E_NOTICE because its not required and requests sent to the script with eg. curl or custom made programs may not send get User-Agent header. Also the _GET['cookie'], unless its script specific and you want to get all the cookies then you should use the _COOKIE magic array ofcourse :) |
you are just full of knowledge :)
thanks mate! |
hmm, nice changes :) lets keep this going, we might get something interesting out of it :)
|
| All times are GMT. The time now is 08:47 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0