Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average
Thread Closed 


[STAFF PLEASE DELETE THREAD] filter_list
Author
Message
[STAFF PLEASE DELETE THREAD] #1
-----------------------------------------------------
(This post was last modified: 07-06-2023, 01:40 PM by Tibo inc.)
~this post is fictitious; I am playing a persona~

[+] 1 user Likes Tibo inc's post

RE: PHP Code Help #2
Thread moved from the Coding forum, accordingly to PHP.
[Image: AD83g1A.png]

[+] 2 users Like mothered's post

RE: PHP Code Help #3
Use a string replacer/counter.
*********************
(This post was last modified: 02-15-2020, 05:59 PM by hacxx.)


RE: PHP Code Help #4
-----------------------------------------------------
(This post was last modified: 07-06-2023, 01:39 PM by Tibo inc.)
~this post is fictitious; I am playing a persona~

[+] 1 user Likes Tibo inc's post

RE: PHP Code Help #5
I have a working snip but is in JS.
(This post was last modified: 02-15-2020, 06:45 PM by hacxx.)


RE: PHP Code Help #6
-----------------------------------------------------
(This post was last modified: 07-06-2023, 01:39 PM by Tibo inc.)
~this post is fictitious; I am playing a persona~


RE: PHP Code Help #7
It took a while to find because i only used once...

Code:
var parser = document.createElement('a');
parser.href = ""+ myObj.items[x].link +"";
parser.pathname;
parser.hostname;
var str = ''+parser.pathname+'';
var res = str.replace("/wws/info/", "");

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


RE: PHP Code Help #8
Take a look at the substr() function.
Code:
substr($_GET['number'], 0, 6)

[+] 3 users Like chunky's post







Users browsing this thread: 1 Guest(s)