Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 478 Vote(s) - 3.44 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP Code Help

#1
I have some PHP code that is in need of some slight help.


Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.


The variable 'number' is 16 digits long, but in this context i only want it to print the first 6 digits.

Can anyone help?
Reply

#2
Thread moved from the Coding forum, accordingly to PHP.
Reply

#3
Use a string replacer/counter.
*********************
Reply

#4
Quote:(02-15-2020, 05:59 PM)hacxx Wrote:

[To see links please register here]

Use a string replacer/counter.
*********************

thanks, ill look into this
Reply

#5
I have a working snip but is in JS.
Reply

#6
Quote:(02-15-2020, 06:45 PM)hacxx Wrote:

[To see links please register here]

I have a working snip but is in JS.

would you mind sharing that?

Im still trying to figure this out and i dont have a lot of PHP knowledge
Reply

#7
It took a while to find because i only used once...


Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.


I'm using str.replace, it modifies a string, in this case /wws/info/ to nothing.
Reply

#8
Take a look at the

[To see links please register here]

function.

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.

Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through